diff --git a/css/app.af80b787.css b/css/app.68feab09.css similarity index 73% rename from css/app.af80b787.css rename to css/app.68feab09.css index 7dbf0b7..679a350 100644 --- a/css/app.af80b787.css +++ b/css/app.68feab09.css @@ -1,4 +1,4 @@ #app,body,html{margin:0;padding:0;height:100%;width:100%}.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,.cm-s-style-mirror .CodeMirror-line>span::selection,.cm-s-style-mirror .CodeMirror-line>span>span::selection{background:#e0e0e0}.cm-s-style-mirror .CodeMirror-line::-moz-selection,.cm-s-style-mirror .CodeMirror-line>span::-moz-selection,.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,.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,.cm-s-style-mirror span.cm-number{color:#aa759f}.cm-s-style-mirror span.cm-attribute,.cm-s-style-mirror span.cm-property{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{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} -/*! 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,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#fff;list-style-type:decimal}@media screen{.str{color:#183691}.kwd{color:#a71d5d}.com{color:#969896}.lit,.typ{color:#0086b3}.clo,.opn,.pun{color:#333}.tag{color:navy}.atn{color:#795da3}.atv{color:#183691}.dec{color:#333}.var{color:teal}.fun{color:#900}}.container_night,.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-style-mirror span.cm-tag,.container_night .cm-s-xq-light span.cm-variable-2{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,.container_night .el-button.is-plain:hover{background:#1e1e1e;color:#f0f0f0;border:1px solid #f0f0f0}.container_night .el-button.is-plain:focus i,.container_night .el-button.is-plain:hover i{color:#f0f0f0}.container_night .about__dialog .el-dialog,.container_night .insert__dialog .el-dialog,.container_night .reset__dialog .el-dialog,.container_night .upload__dialog .el-dialog{background-color:#333}.container_night .about__dialog .el-dialog__body,.container_night .about__dialog .el-dialog__title,.container_night .about__dialog .el-form-item__label,.container_night .insert__dialog .el-dialog__body,.container_night .insert__dialog .el-dialog__title,.container_night .insert__dialog .el-form-item__label,.container_night .reset__dialog .el-dialog__body,.container_night .reset__dialog .el-dialog__title,.container_night .reset__dialog .el-form-item__label,.container_night .upload__dialog .el-dialog__body,.container_night .upload__dialog .el-dialog__title,.container_night .upload__dialog .el-form-item__label{color:#f0f0f0}.container_night .about__dialog .el-tabs__item,.container_night .insert__dialog .el-tabs__item,.container_night .reset__dialog .el-tabs__item,.container_night .upload__dialog .el-tabs__item{color:grey}.container_night .about__dialog .el-tabs__nav-wrap:after,.container_night .insert__dialog .el-tabs__nav-wrap:after,.container_night .reset__dialog .el-tabs__nav-wrap:after,.container_night .upload__dialog .el-tabs__nav-wrap:after{background-color:#84868b}.container_night .about__dialog .is-active,.container_night .insert__dialog .is-active,.container_night .reset__dialog .is-active,.container_night .upload__dialog .is-active{color:#f0f0f0}.container_night .about__dialog .el-upload-dragger,.container_night .insert__dialog .el-upload-dragger,.container_night .reset__dialog .el-upload-dragger,.container_night .upload__dialog .el-upload-dragger{background-color:#1e1e1e}.container_night .el-icon-document,.container_night .el-icon-download,.container_night .el-icon-refresh,.container_night .el-icon-s-grid,.container_night ::v-deep .el-icon-upload{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:0 20px;overflow-x:hidden!important;overflow-y:scroll!important}.CodeMirror-vscrollbar{width:0;height:0}.CodeMirror-wrap{padding-top:20px;padding-bottom:20px;box-sizing:border-box}.rich_media_content .code-snippet *,.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}.code-snippet__github{display:-webkit-box;display:-webkit-flex;display:flex;font-size:12px;margin:10px 8px;position:relative;height:auto;background-color:#f7f7f7;border-radius:8px}.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;-webkit-transition:background-color .3s;transition:background-color .3s}::-webkit-scrollbar-thumb,::-webkit-scrollbar-thumb:hover{background-color:rgba(144,146,152,.5)}.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}.loading-wrapper[data-v-a205efe8]{position:fixed;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.loading[data-v-a205efe8]{text-align:center;position:fixed;width:100%;height:100%;overflow:hidden;z-index:99999;background-color:#f2f2f2}.loading_night[data-v-a205efe8]{background-color:#303133}.loading-text[data-v-a205efe8]{font-size:18px;font-weight:700;margin-top:26px;color:#303133}.loading-anim[data-v-a205efe8]{display:inline-block;width:100px;height:100px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAAt1BMVEX///8AAABIz0hHzkdIzkhIz0hIz0hHzkdIzkhFz0VAz0BHzUdIz0hHzkdIzkhIzUhHzUdHzUdIzkhEzEREzERGz0ZIz0hHzUdIzkhIzUhHzkdHzkdHzUdGz0ZIzkhHzkdKzkpIzUhGzUZD00NIzUhGzUZIzkhIzkhHzkdHzkdIzkhHz0dIz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ialog{min-width:440px}.dialog-footer[data-v-68392714],.reset__dialog[data-v-68392714],.text[data-v-68392714]{text-align:center}.editor__header[data-v-54b819f8]{width:100%}.header__item[data-v-54b819f8]{margin:0 3px}.header__item_last[data-v-54b819f8]{margin-right:8px}.header__switch[data-v-54b819f8]{margin-left:8px}.mode__switch[data-v-54b819f8]{margin-left:24px;margin-right:24px;width:24px;height:24px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfkCA8GIhMOk9PvAAAIiUlEQVR42u2da2xURRTHb2KgkSAaQUMDjTWtZXvnzLZl1QbEpEQFrZvGSip8QEKEloKEtKINBJM2KOIjDfKyFkGkQg0PC1RBJEID2MCHShERU8AYniK1PGwwQjDXDyzYlL175z5298zc8z+f92R3fvufMzN37oymkUgkEolEIpFIJBKJRCKRSKQ4a8TdOUMgCAXwIpvKqlgVTOEvBJ9kuj441IdaJ0EKDgsWsSpYBd9DJxgx4jTfBXW8EsI5WdRqnis7FcKwgO2NiSBWtEANjGH3U0u6VGYKjGf10OYYRO/Yw2rhGWpXR9JHsVr41TMUPaOdzYdHqYVtdFD8NdgXFxQ9Yzer0AdTa1tXixp+Nu4wbsUpmBu6l1odB4xbcYxVZKZQ6/dS1iCoTgKMW/Ejn0YMeoiVso6kwYgE+449SyQ0TWOjYVuyYdyOj1mmr2FAGixGA+Nm/AGv+xdHMZxAhiPSeemP+xFHDUYYkfiLv+ovGBnQhBjHzViTM4S6KlzxCxT7AAcvkwJGJHiZ6u6YKxMOMMCAuSrjqJYOhwEGVNO4ClvUqFg75kiLwwAD3lDNHROlxmGAwZ9TyR0lsuMAAwwoIBzexA6ogTAvg5Xwu7tMej7hcL8ytbTnYiZbCFdcZDsOQdlrx0joTiaOYFHvb5STBR/CdccZW/X+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xg2B4qOxHoJxvhIuOUHTxRn2yEjd/4FPeA8HhehGbIXKOAyvlhSwnaxC1GolEIpFIJBKJRCKRSCQSiRQP/QdNKScmkVFL3QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0wOC0xNVQwNjozNDoxOSswMDowMJEcMckAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMDgtMTVUMDY6MzQ6MTkrMDA6MDDgQYl1AAAAAElFTkSuQmCC) no-repeat;background-size:cover;-webkit-transition:all .3s;transition:all .3s}.mode__switch_black[data-v-54b819f8]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAiYSURBVHja7Z1rbBVFFMc3MUI0iEbQSKARUx/YGB5WJaImNb5r01gNwgckRmgpSEgRJRBM2qCIjxDkoQiKCGoND6tUQSRi44PIhwqIFQNXI3R3zlyo5SHBKNGsH0DE0r07+7r3zOz/fz7fk3vP7545M2dnZywLgiAIgiAIgiAIgiAIgqCEZZ/3a397sF1GD4rxcrqYLsbRA3SbLPnlstZzEZ08SVyTrRTT5XL6mjrI9TZhiy20hKY6Fc7ViFrs6uiXraA59GUuBDmtRTSIu+2LEcmIyvTMjqKl1BoaRFf7guaJuxDXcIPTrTRP/hwbijNth5hNNyDCAQYoeoK+SgTFGSY/p7qDlyHavjBEgxRJwzht7TTz0IWIOg8Y/87H9lJdpiei30XUV9bnH8ZpKN/RBDA4E0c17SkUjNNQPqN7QcKyLHk7bSg0jNP2mn1luqe2RbSADYyTdkA+md6Bqkr+xAzHqcHLvimN2dHAEcYp+00+nioY7cXUxBjHSVtp98dQxct+pKo04KjRAsa/VmM6jpla4XDJpZkmrznqtcPhkivrMa/iNhFuMBBHdoauOMglVzxlWu0YozMOcsmV95lUO0bqjoNccu0y4IjHNomGbAXV0B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r6rahzBlF85A8SOvABZhVirDlvX0obEi/lixDnYFLg+QRyOHIsIh1lhtyaCo4kGIbphB6+aeKHI5iymudGhyG9igPEXYMQo+yqqpbV0KBSKTmp0HjXi5g+GdeUScb2olJNUznGgalnuDKG+iBoEQRAEQRAEQRAEQRAEJaF/AEZMopN1cswsAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTA4LTE1VDA2OjM0OjE5KzAwOjAwkRwxyQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wOC0xNVQwNjozNDoxOSswMDowMOBBiXUAAAAASUVORK5CYII=) no-repeat;background-size:cover}.top[data-v-54b819f8]{height:60px;padding:10px 20px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-right:0}.el-select[data-v-54b819f8]{margin-right:12px}.left-side[data-v-54b819f8]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.left-side[data-v-54b819f8],.right-side[data-v-54b819f8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.select-item-left[data-v-54b819f8]{float:left}.select-item-right[data-v-54b819f8]{float:right;color:#8492a6;font-size:13px}[data-v-70c50907] .el-dialog{min-width:420px}[data-v-4dd4e7e2] .el-dialog{width:55%;min-height:375px;min-width:440px}.tb-options[data-v-4dd4e7e2]{margin-bottom:20px}.input-table[data-v-4dd4e7e2] .el-input__inner{border-radius:0}.head-style[data-v-4dd4e7e2] .el-input__inner{background-color:#f2f2f2}.menu[data-v-a704a2f8]{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-a704a2f8]{margin-top:10px;min-width:200px;font-size:12px;line-height:20px;color:#333;cursor:pointer}.menu_item[data-v-a704a2f8]:first-of-type{margin-top:0}.menu_item[data-v-a704a2f8]:hover{background:#f0f0f0}.menu_item .btn-upload[data-v-a704a2f8],.menu_item span[data-v-a704a2f8]{display:inline-block;padding:4px 0;padding-left:24px;width:100%}.menu_item .btn-upload[data-v-a704a2f8]{margin:0;border:none;outline:none;background:transparent}.menu_item .btn-upload[data-v-a704a2f8]:hover{background:#aaa}.menu_item[data-v-a704a2f8] .el-upload{width:100%}.menu__group[data-v-a704a2f8]{padding-top:6px;padding-bottom:6px;border-bottom:1px solid #eee}.menu__group[data-v-a704a2f8]:last-of-type{border-bottom:none}li[data-v-a704a2f8]:hover{background-color:#1790ff}li[data-v-a704a2f8]{font-size:15px;list-style:none}[data-v-fc5ed8b0] .el-dialog{width:55%;min-height:615px;min-width:640px}[data-v-fc5ed8b0] .el-upload-dragger{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-flow:column;flex-flow:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;width:500px;height:360px}[data-v-fc5ed8b0] .el-upload-dragger .el-icon-upload{margin-top:0}[data-v-fc5ed8b0] .el-dialog__body{padding-bottom:50px}.upload-panel[data-v-fc5ed8b0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;text-align:center}.upload-panel .el-select[data-v-fc5ed8b0]{-webkit-align-self:flex-end;align-self:flex-end;margin:0 67.75px 20px;width:100px}.github-panel[data-v-fc5ed8b0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.setting-form[data-v-fc5ed8b0]{width:100%}.setting-form .el-form-item[data-v-fc5ed8b0]{margin:15px}.setting-form .el-form-item[data-v-fc5ed8b0]:last-child{text-align:right}.editor__header[data-v-7acf9643]{padding:0}.main-body[data-v-7acf9643]{padding-top:12px;overflow:hidden}.el-main[data-v-7acf9643]{padding:0;margin:20px;margin-top:0}.container[data-v-7acf9643],.el-main[data-v-7acf9643]{-webkit-transition:all .3s;transition:all .3s}.textarea-wrapper[data-v-7acf9643]{height:100%}.preview-wrapper_night[data-v-7acf9643]{overflow-y:inherit;position:relative;left:-3px}.preview-wrapper_night .preview[data-v-7acf9643]{background-color:#fff}#output-wrapper[data-v-7acf9643]{position:relative;-webkit-user-select:text;user-select:text}.loading-mask[data-v-7acf9643]{top:50%;width:376px;height:101%;padding-top:1px;font-size:15px;color:grey;background-color:#1e1e1e}.loading-mask .loading__img[data-v-7acf9643],.loading-mask[data-v-7acf9643]{position:absolute;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.loading-mask .loading__img[data-v-7acf9643]{top:330px;width:50px;height:50px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAAt1BMVEX///8AAABIz0hHzkdIzkhIz0hIz0hHzkdIzkhFz0VAz0BHzUdIz0hHzkdIzkhIzUhHzUdHzUdIzkhEzEREzERGz0ZIz0hHzUdIzkhIzUhHzkdHzkdHzUdGz0ZIzkhHzkdKzkpIzUhGzUZD00NIzUhGzUZIzkhIzkhHzkdHzkdIzkhHz0dIzUhK1UpHzUdC0EJHzkdHzkdIz0hH1UdHzUdGzkZIzUhJ20lD10NJzklIzkhIzkj////r6/fCAAAAO3RSTlMAACDvoEBg0MAwEI9fz9+A8JDgDx5Ff/r9i+VdbHSDkx9RTRdce+6q6brLb58YSBvtd0oScFTxBxM/v5xq7LMAAAABYktHRACIBR1IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4wwcCBssFsYwawAAAe9JREFUaN7t2tlywiAUBmABiQY1W6vWbna1i6Z2sYs97/9eNcQ6U40kEMhoh/824qeAxwSo1Wx2MUgimAAQLNNCAanDInWzCAUeahRxUsQx212NxGgaHhMq21sqCHIpdZFpRDoW2ROEtdpY/S1xu8XyEdZZ/BA8VcNbNO6wPIQbAK6akZa2v0rWN0mLk6+G+Gnr3O5qgnR1EjfOQviHCRS7yw02uyELwWGkbHAlCnGR3wkuM4WxLSuGkQNfmLYW5BDE8fUgXcHVXv9oYB45PoGBeQSd5ioaEHSWp+hA0DkMzSNoKFZKI78zuWsQuaA8l3BlEFnm2iL/FrlpZqanFbntZxmjO73IfdbVh31ERjQjj1LImEyYGMn+9xUjbELGKyRObviJI57CTzBdu/b8Ip7CDkkeQuIlQrffY5dB0rtvuqvINHnpqwISR8nTQsExSWbVW7ExSZ4jong1u2ZByJDu7kKsHszkCqQCIl+FLbKLyPtaefwwgWxEP2LvVixiEYtoQgqlHPJJC+XLLqoZRsyvpuKJB0R9XZiA18pfF+Yr3KqKS4qtcFeyVl/FrgNrlN8/aeTun3AlUh34aMPYsqcVOmWmsBMyW1Ysooi487nx/fhKThbwDdVvs0glpz0qObdSyQkchAOAQOUskU3h/AAe7qmqtAqp/QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0xMi0yOFQwODoyNzo0NCswMDowMPJYdAwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMTItMjhUMDg6Mjc6NDQrMDA6MDCDBcywAAAAAElFTkSuQmCC) no-repeat;background-size:cover}.loading-mask span[data-v-7acf9643]{position:absolute;left:50%;top:390px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.bounceInRight[data-v-7acf9643]{-webkit-animation-name:bounceInRight-data-v-7acf9643;animation-name:bounceInRight-data-v-7acf9643;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}[data-v-7acf9643] .preview-table{border-spacing:0}@-webkit-keyframes bounceInRight-data-v-7acf9643{0%,60%,75%,90%,to{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:none;transform:none}}@keyframes bounceInRight-data-v-7acf9643{0%,60%,75%,90%,to{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:none;transform:none}}[data-v-7acf9643]{box-sizing:border-box;margin:0;padding:0}button[data-v-7acf9643],input[data-v-7acf9643],textarea[data-v-7acf9643]{font-family:inherit}h1[data-v-7acf9643],h2[data-v-7acf9643],h3[data-v-7acf9643],h4[data-v-7acf9643],h5[data-v-7acf9643],h6[data-v-7acf9643]{font-weight:400}em[data-v-7acf9643]{font-style:normal!important}body[data-v-7acf9643],html[data-v-7acf9643]{height:100%;font-family:PingFang SC,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif}.el-message__icon[data-v-7acf9643]{display:none}.container[data-v-7acf9643]{height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.web-title[data-v-7acf9643]{margin:0 15px 0 5px}.web-icon[data-v-7acf9643]{width:auto;height:1.5rem;vertical-align:middle}#editor[data-v-7acf9643]{height:100%;display:block;border:none;width:100%;padding:10px}section[data-v-7acf9643]{height:100%}.main-body[data-v-7acf9643]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding-top:0}.ctrl[data-v-7acf9643]{-webkit-flex-basis:60px;flex-basis:60px;-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;-webkit-flex-shrink:1;flex-shrink:1}.ctrl[data-v-7acf9643],.preview-wrapper[data-v-7acf9643]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.preview-wrapper[data-v-7acf9643]{box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);padding:0;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;word-break:break-all;overflow-y:scroll}.main-section[data-v-7acf9643]{display:-webkit-box;display:-webkit-flex;display:flex;height:100%}.hint[data-v-7acf9643]{opacity:.6;margin:20px 0}.preview[data-v-7acf9643]{position:relative;margin:0 -20px;width:375px;padding:20px;font-size:14px;box-sizing:border-box;outline:none;box-shadow:0 0 60px rgba(0,0,0,.1)}.preview table[data-v-7acf9643]{margin-bottom:10px;border-collapse:collapse;display:table;width:100%!important}.el-form-item[data-v-7acf9643]{margin-bottom:0!important}.el-tooltip[data-v-7acf9643]{cursor:pointer}uni-page-body[data-v-7acf9643],uni-page-refresh[data-v-7acf9643]{display:block;box-sizing:border-box;width:100%;height:100%}.fade-enter[data-v-8e90ad4c],.fade-leave-to[data-v-8e90ad4c]{opacity:0}.fade-enter-to[data-v-8e90ad4c],.fade-leave[data-v-8e90ad4c]{opacity:1}.fade-enter-active[data-v-8e90ad4c],.fade-leave-active[data-v-8e90ad4c]{-webkit-transition:all 1s;transition:all 1s} -/*# sourceMappingURL=app.af80b787.css.map */ \ No newline at end of file +/*! 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,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#fff;list-style-type:decimal}@media screen{.str{color:#183691}.kwd{color:#a71d5d}.com{color:#969896}.lit,.typ{color:#0086b3}.clo,.opn,.pun{color:#333}.tag{color:navy}.atn{color:#795da3}.atv{color:#183691}.dec{color:#333}.var{color:teal}.fun{color:#900}}.container_night,.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-style-mirror span.cm-tag,.container_night .cm-s-xq-light span.cm-variable-2{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,.container_night .el-button.is-plain:hover{background:#1e1e1e;color:#f0f0f0;border:1px solid #f0f0f0}.container_night .el-button.is-plain:focus i,.container_night .el-button.is-plain:hover i{color:#f0f0f0}.container_night .about__dialog .el-dialog,.container_night .insert__dialog .el-dialog,.container_night .reset__dialog .el-dialog,.container_night .upload__dialog .el-dialog{background-color:#333}.container_night .about__dialog .el-dialog__body,.container_night .about__dialog .el-dialog__title,.container_night .about__dialog .el-form-item__label,.container_night .insert__dialog .el-dialog__body,.container_night .insert__dialog .el-dialog__title,.container_night .insert__dialog .el-form-item__label,.container_night .reset__dialog .el-dialog__body,.container_night .reset__dialog .el-dialog__title,.container_night .reset__dialog .el-form-item__label,.container_night .upload__dialog .el-dialog__body,.container_night .upload__dialog .el-dialog__title,.container_night .upload__dialog .el-form-item__label{color:#f0f0f0}.container_night .about__dialog .el-tabs__item,.container_night .insert__dialog .el-tabs__item,.container_night .reset__dialog .el-tabs__item,.container_night .upload__dialog .el-tabs__item{color:grey}.container_night .about__dialog .el-tabs__nav-wrap:after,.container_night .insert__dialog .el-tabs__nav-wrap:after,.container_night .reset__dialog .el-tabs__nav-wrap:after,.container_night .upload__dialog .el-tabs__nav-wrap:after{background-color:#84868b}.container_night .about__dialog .is-active,.container_night .insert__dialog .is-active,.container_night .reset__dialog .is-active,.container_night .upload__dialog .is-active{color:#f0f0f0}.container_night .about__dialog .el-upload-dragger,.container_night .insert__dialog .el-upload-dragger,.container_night .reset__dialog .el-upload-dragger,.container_night .upload__dialog .el-upload-dragger{background-color:#1e1e1e}.container_night .el-icon-document,.container_night .el-icon-download,.container_night .el-icon-refresh,.container_night .el-icon-s-grid,.container_night ::v-deep .el-icon-upload{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:0 20px;overflow-x:hidden!important;overflow-y:scroll!important}.CodeMirror-vscrollbar{width:0;height:0}.CodeMirror-wrap{padding-top:20px;padding-bottom:20px;box-sizing:border-box}.rich_media_content .code-snippet *,.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}.code-snippet__github{display:-webkit-box;display:-webkit-flex;display:flex;font-size:12px;margin:10px 8px;position:relative;height:auto;background-color:#f7f7f7;border-radius:8px}.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;-webkit-transition:background-color .3s;transition:background-color .3s}::-webkit-scrollbar-thumb,::-webkit-scrollbar-thumb:hover{background-color:rgba(144,146,152,.5)}.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}.loading-wrapper[data-v-a205efe8]{position:fixed;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.loading[data-v-a205efe8]{text-align:center;position:fixed;width:100%;height:100%;overflow:hidden;z-index:99999;background-color:#f2f2f2}.loading_night[data-v-a205efe8]{background-color:#303133}.loading-text[data-v-a205efe8]{font-size:18px;font-weight:700;margin-top:26px;color:#303133}.loading-anim[data-v-a205efe8]{display:inline-block;width:100px;height:100px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAAt1BMVEX///8AAABIz0hHzkdIzkhIz0hIz0hHzkdIzkhFz0VAz0BHzUdIz0hHzkdIzkhIzUhHzUdHzUdIzkhEzEREzERGz0ZIz0hHzUdIzkhIzUhHzkdHzkdHzUdGz0ZIzkhHzkdKzkpIzUhGzUZD00NIzUhGzUZIzkhIzkhHzkdHzkdIzkhHz0dIzUhK1UpHzUdC0EJHzkdHzkdIz0hH1UdHzUdGzkZIzUhJ20lD10NJzklIzkhIzkj////r6/fCAAAAO3RSTlMAACDvoEBg0MAwEI9fz9+A8JDgDx5Ff/r9i+VdbHSDkx9RTRdce+6q6brLb58YSBvtd0oScFTxBxM/v5xq7LMAAAABYktHRACIBR1IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4wwcCBssFsYwawAAAe9JREFUaN7t2tlywiAUBmABiQY1W6vWbna1i6Z2sYs97/9eNcQ6U40kEMhoh/824qeAxwSo1Wx2MUgimAAQLNNCAanDInWzCAUeahRxUsQx212NxGgaHhMq21sqCHIpdZFpRDoW2ROEtdpY/S1xu8XyEdZZ/BA8VcNbNO6wPIQbAK6akZa2v0rWN0mLk6+G+Gnr3O5qgnR1EjfOQviHCRS7yw02uyELwWGkbHAlCnGR3wkuM4WxLSuGkQNfmLYW5BDE8fUgXcHVXv9oYB45PoGBeQSd5ioaEHSWp+hA0DkMzSNoKFZKI78zuWsQuaA8l3BlEFnm2iL/FrlpZqanFbntZxmjO73IfdbVh31ERjQjj1LImEyYGMn+9xUjbELGKyRObviJI57CTzBdu/b8Ip7CDkkeQuIlQrffY5dB0rtvuqvINHnpqwISR8nTQsExSWbVW7ExSZ4jong1u2ZByJDu7kKsHszkCqQCIl+FLbKLyPtaefwwgWxEP2LvVixiEYtoQgqlHPJJC+XLLqoZRsyvpuKJB0R9XZiA18pfF+Yr3KqKS4qtcFeyVl/FrgNrlN8/aeTun3AlUh34aMPYsqcVOmWmsBMyW1Ysooi487nx/fhKThbwDdVvs0glpz0qObdSyQkchAOAQOUskU3h/AAe7qmqtAqp/QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0xMi0yOFQwODoyNzo0NCswMDowMPJYdAwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMTItMjhUMDg6Mjc6NDQrMDA6MDCDBcywAAAAAElFTkSuQmCC) no-repeat;background-size:cover}[data-v-68392714] .el-dialog{min-width:440px}.dialog-footer[data-v-68392714],.reset__dialog[data-v-68392714],.text[data-v-68392714]{text-align:center}.editor__header[data-v-54b819f8]{width:100%}.header__item[data-v-54b819f8]{margin:0 3px}.header__item_last[data-v-54b819f8]{margin-right:8px}.header__switch[data-v-54b819f8]{margin-left:8px}.mode__switch[data-v-54b819f8]{margin-left:24px;margin-right:24px;width:24px;height:24px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNR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k6q2yUyW5QuwLJLcd0ENeMFDdl5OgalINN9DiuIb2jvS4uuQJ/g1Kb2zR8zW/CmbDJVQ4Tio5BbRV4h/iG9HgqNP7ayRNg5fgdNJhtMJIItETSnJxtBABAkJACAgBISAEhIAQEAKCCAjr4I1QIxa8UfQqFgLiDEgnK7W9YlYKnQQkPkC6HOfuIiDxABJ2nDtMQDwHwjpcZe8kIF47xNUtmnCIgHjtkHpX2dsIiNcOcfVWuOV9zwSEirr0QPjZuPmDgDibGPKDkGE7b4bQ28AExOHSyVVoYBVQIBasAhrgKi2d0OIiASEgBISAEBACQkAIiIRA+FloEQuBCSEBcQeErWa6naxMF7yzgYA4AlLsKHMxAYnPWlal47WsSgJiH8hJiyY77yp7t0X2NUSgd5PtszoYyVV2i1NS+VtEoHf5XWcBpMYVkBaLwUIpEegNZKEFkB2ugJywADKWCPRusgILIFfsPwu5nTsD/omdPTOFCNzZbBcskDQ5ztxk4Y8N1PrRBqcrLAe+hY7yFloOel+h1o9WRUSOJ98E5XquaEY9F8pFroQNPkytH71r+Soph5PRkNdMwXyr4huHcxsOUEGP1W29mXCHhKnVY3dbm6m7QqXMAVazajqCKdGVZCi0JwRIA7W1aLeVDdvi7o5l1M72oFTHEccZNola2MkMuy0uOJp4gFrXKZQyj6E00zDXCyj7PUBxg2B4qOxHoJxvhIuOUHTxRn2yEjd/4FPeA8HhehGbIXKOAyvlhSwnaxC1GolEIpFIJBKJRCKRSCQSiRQP/QdNKScmkVFL3QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0wOC0xNVQwNjozNDoxOSswMDowMJEcMckAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMDgtMTVUMDY6MzQ6MTkrMDA6MDDgQYl1AAAAAElFTkSuQmCC) no-repeat;background-size:cover;-webkit-transition:all .3s;transition:all .3s}.mode__switch_black[data-v-54b819f8]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAAAABGdBTUEAALG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QDC5A3CmJC8itdxuK1KVmuNY4JlnsQWbXHMssyUeFFHHEyOR06oC1yh3bp8mGW2qFQc0QbHD51Flvnq6KfHrdLiPSa3HeAhL7ms7svJ0zS4nv5ii+NPtnekJzrnuoU+YYnjQ3u4lVbJaXSYFYz9Ri4BA1WTy9VvCkzclrT1siDLkg+TXXAYW8UIkDgzUwqLowUEAARAAARAAARAAARAAIQRELFHNIoGRWtUvYoFQMIB6aDqwH6rqQNAkgHSGdp3J4AkACRbEda3woNjAAkKROyJ5L0DQOLOkEi3aNJOAIkbyNJI3lsBJG4gkd4K973vGUBQ1LUHIkVi+QEgIReG2w8UB/V7oFjpbWAACdk6OU6rqM4uUzOqo1V0HK0TNBcBBEAABEAABEAABEA0BCIFtaiZwoIQQKIBkStkSaA1eoninQ0AEgpIVSjPVQCSDJCpoX1PBZDgQdvvE7JsJO/HfLyvBIGuIfvK72CkKN6F3ympz4BAVyDv+jxTb4jkvcUHSDUIdA3ZXJ+QbYrk/Scf7/eAQBfZZT4hO9peHNZ3ezH9kdt7picInP0vPuiDpCm05yaf4XANot9d2Jb5LgvLw/iV5b57vh5D9LuRyvHkch3VOkNVPTpDqVYqXAm77wpEv/v/8kcFaSxiyuuZI8P9im8CR8xsQ0HPVUeezjcQpwJRz43kg7yeFofhyk+Z3r6rahzBlF85A8SOvABZhVirDlvX0obEi/lixDnYFLg+QRyOHIsIh1lhtyaCo4kGIbphB6+aeKHI5iymudGhyG9igPEXYMQo+yqqpbV0KBSKTmp0HjXi5g+GdeUScb2olJNUznGgalnuDKG+iBoEQRAEQRAEQRAEQRAEJaF/AEZMopN1cswsAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTA4LTE1VDA2OjM0OjE5KzAwOjAwkRwxyQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wOC0xNVQwNjozNDoxOSswMDowMOBBiXUAAAAASUVORK5CYII=) no-repeat;background-size:cover}.top[data-v-54b819f8]{height:60px;padding:10px 20px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-right:0}.el-select[data-v-54b819f8]{margin-right:12px}.left-side[data-v-54b819f8]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.left-side[data-v-54b819f8],.right-side[data-v-54b819f8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.select-item-left[data-v-54b819f8]{float:left}.select-item-right[data-v-54b819f8]{float:right;color:#8492a6;font-size:13px}[data-v-70c50907] .el-dialog{min-width:420px}[data-v-4dd4e7e2] .el-dialog{width:55%;min-height:375px;min-width:440px}.tb-options[data-v-4dd4e7e2]{margin-bottom:20px}.input-table[data-v-4dd4e7e2] .el-input__inner{border-radius:0}.head-style[data-v-4dd4e7e2] .el-input__inner{background-color:#f2f2f2}.menu[data-v-a704a2f8]{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-a704a2f8]{margin-top:10px;min-width:200px;font-size:12px;line-height:20px;color:#333;cursor:pointer}.menu_item[data-v-a704a2f8]:first-of-type{margin-top:0}.menu_item[data-v-a704a2f8]:hover{background:#f0f0f0}.menu_item .btn-upload[data-v-a704a2f8],.menu_item span[data-v-a704a2f8]{display:inline-block;padding:4px 0;padding-left:24px;width:100%}.menu_item .btn-upload[data-v-a704a2f8]{margin:0;border:none;outline:none;background:transparent}.menu_item .btn-upload[data-v-a704a2f8]:hover{background:#aaa}.menu_item[data-v-a704a2f8] .el-upload{width:100%}.menu__group[data-v-a704a2f8]{padding-top:6px;padding-bottom:6px;border-bottom:1px solid #eee}.menu__group[data-v-a704a2f8]:last-of-type{border-bottom:none}li[data-v-a704a2f8]:hover{background-color:#1790ff}li[data-v-a704a2f8]{font-size:15px;list-style:none}[data-v-6b7f927f] .el-dialog{width:55%;min-height:615px;min-width:640px}[data-v-6b7f927f] .el-upload-dragger{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-flow:column;flex-flow:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;width:500px;height:360px}[data-v-6b7f927f] .el-upload-dragger .el-icon-upload{margin-top:0}[data-v-6b7f927f] .el-dialog__body{padding-bottom:50px}.upload-panel[data-v-6b7f927f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;text-align:center}.upload-panel .el-select[data-v-6b7f927f]{-webkit-align-self:flex-end;align-self:flex-end;margin:0 67.75px 20px;width:100px}.github-panel[data-v-6b7f927f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.github-panel.formCustom[data-v-6b7f927f]{width:100%}.github-panel .formCustomElInput[data-v-6b7f927f] .CodeMirror{border:1px solid #eee;height:300px!important;font-family:Fira Mono,DejaVu Sans Mono,Menlo,Consolas,Liberation Mono,Monaco,Lucida Console,monospace!important;line-height:20px}.github-panel .formCustomElInput[data-v-6b7f927f] .CodeMirror .CodeMirror-scroll{padding:10px}.setting-form[data-v-6b7f927f]{width:100%}.setting-form .el-form-item[data-v-6b7f927f]{margin:15px}.setting-form .el-form-item[data-v-6b7f927f]:last-child{text-align:right}.editor__header[data-v-7acf9643]{padding:0}.main-body[data-v-7acf9643]{padding-top:12px;overflow:hidden}.el-main[data-v-7acf9643]{padding:0;margin:20px;margin-top:0}.container[data-v-7acf9643],.el-main[data-v-7acf9643]{-webkit-transition:all .3s;transition:all .3s}.textarea-wrapper[data-v-7acf9643]{height:100%}.preview-wrapper_night[data-v-7acf9643]{overflow-y:inherit;position:relative;left:-3px}.preview-wrapper_night .preview[data-v-7acf9643]{background-color:#fff}#output-wrapper[data-v-7acf9643]{position:relative;-webkit-user-select:text;user-select:text}.loading-mask[data-v-7acf9643]{top:50%;width:376px;height:101%;padding-top:1px;font-size:15px;color:grey;background-color:#1e1e1e}.loading-mask .loading__img[data-v-7acf9643],.loading-mask[data-v-7acf9643]{position:absolute;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.loading-mask .loading__img[data-v-7acf9643]{top:330px;width:50px;height:50px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAAt1BMVEX///8AAABIz0hHzkdIzkhIz0hIz0hHzkdIzkhFz0VAz0BHzUdIz0hHzkdIzkhIzUhHzUdHzUdIzkhEzEREzERGz0ZIz0hHzUdIzkhIzUhHzkdHzkdHzUdGz0ZIzkhHzkdKzkpIzUhGzUZD00NIzUhGzUZIzkhIzkhHzkdHzkdIzkhHz0dIzUhK1UpHzUdC0EJHzkdHzkdIz0hH1UdHzUdGzkZIzUhJ20lD10NJzklIzkhIzkj////r6/fCAAAAO3RSTlMAACDvoEBg0MAwEI9fz9+A8JDgDx5Ff/r9i+VdbHSDkx9RTRdce+6q6brLb58YSBvtd0oScFTxBxM/v5xq7LMAAAABYktHRACIBR1IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4wwcCBssFsYwawAAAe9JREFUaN7t2tlywiAUBmABiQY1W6vWbna1i6Z2sYs97/9eNcQ6U40kEMhoh/824qeAxwSo1Wx2MUgimAAQLNNCAanDInWzCAUeahRxUsQx212NxGgaHhMq21sqCHIpdZFpRDoW2ROEtdpY/S1xu8XyEdZZ/BA8VcNbNO6wPIQbAK6akZa2v0rWN0mLk6+G+Gnr3O5qgnR1EjfOQviHCRS7yw02uyELwWGkbHAlCnGR3wkuM4WxLSuGkQNfmLYW5BDE8fUgXcHVXv9oYB45PoGBeQSd5ioaEHSWp+hA0DkMzSNoKFZKI78zuWsQuaA8l3BlEFnm2iL/FrlpZqanFbntZxmjO73IfdbVh31ERjQjj1LImEyYGMn+9xUjbELGKyRObviJI57CTzBdu/b8Ip7CDkkeQuIlQrffY5dB0rtvuqvINHnpqwISR8nTQsExSWbVW7ExSZ4jong1u2ZByJDu7kKsHszkCqQCIl+FLbKLyPtaefwwgWxEP2LvVixiEYtoQgqlHPJJC+XLLqoZRsyvpuKJB0R9XZiA18pfF+Yr3KqKS4qtcFeyVl/FrgNrlN8/aeTun3AlUh34aMPYsqcVOmWmsBMyW1Ysooi487nx/fhKThbwDdVvs0glpz0qObdSyQkchAOAQOUskU3h/AAe7qmqtAqp/QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0xMi0yOFQwODoyNzo0NCswMDowMPJYdAwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMTItMjhUMDg6Mjc6NDQrMDA6MDCDBcywAAAAAElFTkSuQmCC) no-repeat;background-size:cover}.loading-mask span[data-v-7acf9643]{position:absolute;left:50%;top:390px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.bounceInRight[data-v-7acf9643]{-webkit-animation-name:bounceInRight-data-v-7acf9643;animation-name:bounceInRight-data-v-7acf9643;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}[data-v-7acf9643] .preview-table{border-spacing:0}@-webkit-keyframes bounceInRight-data-v-7acf9643{0%,60%,75%,90%,to{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:none;transform:none}}@keyframes bounceInRight-data-v-7acf9643{0%,60%,75%,90%,to{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:none;transform:none}}[data-v-7acf9643]{box-sizing:border-box;margin:0;padding:0}button[data-v-7acf9643],input[data-v-7acf9643],textarea[data-v-7acf9643]{font-family:inherit}h1[data-v-7acf9643],h2[data-v-7acf9643],h3[data-v-7acf9643],h4[data-v-7acf9643],h5[data-v-7acf9643],h6[data-v-7acf9643]{font-weight:400}em[data-v-7acf9643]{font-style:normal!important}body[data-v-7acf9643],html[data-v-7acf9643]{height:100%;font-family:PingFang SC,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif}.el-message__icon[data-v-7acf9643]{display:none}.container[data-v-7acf9643]{height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.web-title[data-v-7acf9643]{margin:0 15px 0 5px}.web-icon[data-v-7acf9643]{width:auto;height:1.5rem;vertical-align:middle}#editor[data-v-7acf9643]{height:100%;display:block;border:none;width:100%;padding:10px}section[data-v-7acf9643]{height:100%}.main-body[data-v-7acf9643]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding-top:0}.ctrl[data-v-7acf9643]{-webkit-flex-basis:60px;flex-basis:60px;-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;-webkit-flex-shrink:1;flex-shrink:1}.ctrl[data-v-7acf9643],.preview-wrapper[data-v-7acf9643]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.preview-wrapper[data-v-7acf9643]{box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);padding:0;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;word-break:break-all;overflow-y:scroll}.main-section[data-v-7acf9643]{display:-webkit-box;display:-webkit-flex;display:flex;height:100%}.hint[data-v-7acf9643]{opacity:.6;margin:20px 0}.preview[data-v-7acf9643]{position:relative;margin:0 -20px;width:375px;padding:20px;font-size:14px;box-sizing:border-box;outline:none;box-shadow:0 0 60px rgba(0,0,0,.1)}.preview table[data-v-7acf9643]{margin-bottom:10px;border-collapse:collapse;display:table;width:100%!important}.el-form-item[data-v-7acf9643]{margin-bottom:0!important}.el-tooltip[data-v-7acf9643]{cursor:pointer}uni-page-body[data-v-7acf9643],uni-page-refresh[data-v-7acf9643]{display:block;box-sizing:border-box;width:100%;height:100%}.fade-enter[data-v-8e90ad4c],.fade-leave-to[data-v-8e90ad4c]{opacity:0}.fade-enter-to[data-v-8e90ad4c],.fade-leave[data-v-8e90ad4c]{opacity:1}.fade-enter-active[data-v-8e90ad4c],.fade-leave-active[data-v-8e90ad4c]{-webkit-transition:all 1s;transition:all 1s} +/*# sourceMappingURL=app.68feab09.css.map */ \ No newline at end of file diff --git a/css/app.68feab09.css.map b/css/app.68feab09.css.map new file mode 100644 index 0000000..fd3f266 --- /dev/null +++ b/css/app.68feab09.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///src/App.vue?7c55","webpack:///src/App.vue","webpack:///src/assets/less/style-mirror.css","webpack:///src/assets/less/github-v2.min.css","webpack:///src/assets/less/theme.less","webpack:///src/assets/less/codeTheme/wechat-code-block.less","webpack:///src/assets/less/codeTheme/github-code-block.less","webpack:///src/App.vue?94fb","webpack:///src/components/Loading.vue?11ef","webpack:///src/components/Loading.vue","webpack:///src/components/CodemirrorEditor/resetDialog.vue?0518","webpack:///src/components/CodemirrorEditor/resetDialog.vue","webpack:///src/components/CodemirrorEditor/header.vue?ef81","webpack:///src/components/CodemirrorEditor/header.vue","webpack:///src/components/CodemirrorEditor/aboutDialog.vue?c081","webpack:///src/components/CodemirrorEditor/aboutDialog.vue","webpack:///src/components/CodemirrorEditor/insertForm.vue?64e1","webpack:///src/components/CodemirrorEditor/insertForm.vue","webpack:///src/components/CodemirrorEditor/rightClickMenu.vue?856c","webpack:///src/components/CodemirrorEditor/rightClickMenu.vue","webpack:///src/components/CodemirrorEditor/uploadImgDialog.vue?aaca","webpack:///src/components/CodemirrorEditor/uploadImgDialog.vue","webpack:///src/pages/index/view/CodemirrorEditor.vue?9332","webpack:///src/pages/index/view/CodemirrorEditor.vue","webpack:///src/pages/index/view/CodemirrorEditor.vue?792d","webpack:///src/assets/less/app.less","webpack:///src/pages/index/src/pages/index/index.vue"],"names":[],"mappings":"AAQA,eAGE,QAAA,CACA,SAAA,CACA,WAAA,CACA,UCPF,CCGA,8BACE,UAAW,CACX,cAAe,CACf,gBACF,CAEA,sCACE,YAAa,CACb,UAAW,CACX,qBAAsB,CACtB,2BAA6B,CAC7B,2BACF,CAEA,2CACE,kBACF,CAEA,4JAGE,kBACF,CAEA,2KAGE,kBACF,CAEA,uCACE,kBAAmB,CACnB,cACF,CAEA,4CACE,aACF,CAMA,6FACE,aACF,CAEA,sCACE,6BACF,CAEA,mCACE,WACF,CAMA,kEACE,aACF,CAEA,yEAEE,aACF,CAEA,mCACE,aACF,CAEA,kCACE,aACF,CAEA,oCACE,aACF,CAEA,sCACE,aACF,CAEA,sCACE,aACF,CAEA,+BACE,aACF,CAEA,mCACE,aACF,CAEA,+BACE,UACF,CAEA,gCACE,aACF,CAEA,iCAGE,yBAA0B,CAC1B,kCAA2B,CAA3B,0BAA2B,CAC3B,qCAA8B,CAA9B,6BACF,CAEA,qDACE,kBACF,CAEA,+CACE,uBAAiC,CACjC,yCACF;;ACjIA,mHAAmH,CACnH,aACE,qFACqB,CACrB,kBACF,CACA,KACE,UACF,CACA,YACE,YAAa,CACb,eAAgB,CAChB,UACF,CACA,4D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A,oBAAA,CAAA,YAAA,CACA,2BAAA,CAAA,4BAAA,CAAA,6BAAA,CAAA,qBFLF,CEQA,4BACE,mBFNF,CESA,2BACE,UAAA,CACA,aAAA,CACA,qBFPF,CEUA,yBACE,WAAA,CACA,aAAA,CACA,WAAA,CACA,UAAA,CACA,YFRF,CEWA,yBACE,WFTF,CEYA,4BACE,mBAAA,CAAA,oBAAA,CAAA,YAAA,CACA,2BAAA,CAAA,4BAAA,CAAA,6BAAA,CAAA,qBAAA,CACA,aFVF,CEaA,uBACE,uBAAA,CAAA,eAAA,CACA,kBAAA,CAAA,mBAAA,CAAA,WAAA,CACA,qBAAA,CAAA,aFTF,CEcA,yDAJE,mBAAA,CAAA,oBAAA,CAAA,YAAA,CACA,wBAAA,CAAA,0BAAA,CAAA,kBFFF,CEKA,kCACE,yCAAA,CACA,SAAA,CAEA,uBAAA,CAAA,8BAAA,CAAA,sBAAA,CAEA,oBAAA,CACA,iBFZF,CEeA,+BACE,mBAAA,CAAA,oBAAA,CAAA,YAAA,CACA,WFbF,CEgBA,uBACE,UAAA,CACA,aFdF,CEiBA,0BACE,iBAAA,CACA,cAAA,CACA,WAAA,CACA,YAAA,CACA,cAAA,CACA,qBAAA,CACA,YAAA,CACA,kCFfF,CEkBA,gCACE,kBAAA,CACA,wBAAA,CACA,aAAA,CACA,oBFhBF,CEoBA,+BACE,yBFjBF,CEoBA,6BACE,cFlBF,CEqBA,iEAEE,aAAA,CACA,qBAAA,CACA,UAAA,CACA,WFnBF,CGjFA,6DAEA,SACA,CACA,6DAEA,SACA,CACA,wEAEA,yBAAA,CAAA,iBACA","file":"app.68feab09.css","sourcesContent":["\n\n\n\n\n\n\n// 仿 uniapp 外层全屏\nhtml,\nbody,\n#app {\n margin: 0;\n padding: 0;\n height: 100%;\n width: 100%;\n}\n","/* 每个页面公共css */\n@import url(\"./assets/less/style-mirror.css\");\n@import url(\"./assets/less/github-v2.min.css\");\n.container_night {\n background-color: #333333;\n}\n.container_night .el-main {\n background-color: #333333;\n}\n.container_night .CodeMirror {\n caret-color: gray;\n color: gray;\n background-color: #1e1e1e;\n box-shadow: inset 0 0 0 1px rgba(100, 37, 37, 0.102);\n}\n.container_night .output_night .preview {\n background-color: #1e1e1e;\n box-shadow: 0 0 70px rgba(0, 0, 0, 0.3);\n}\n.container_night .output_night .preview-wrapper {\n background-color: #1e1e1e;\n box-shadow: inset 0 0 0 1px rgba(233, 231, 231, 0.102);\n}\n.container_night .output_night .code-snippet__fix {\n background-color: #eeeeee;\n}\n.container_night .cm-s-style-mirror .CodeMirror-matchingbracket {\n color: #f0f0f0 !important;\n background: #1e1e1e !important;\n}\n.container_night .cm-s-xq-light span.cm-variable-2,\n.container_night .cm-s-style-mirror span.cm-tag {\n color: gray;\n}\n.container_night .cm-s-xq-light .CodeMirror-activeline-background {\n background-color: transparent;\n}\n.container_night .cm-s-xq-light span.cm-string {\n color: #8e9eb9;\n}\n.container_night .cm-s-xq-light span.cm-link {\n color: #84868b;\n}\n.container_night .editor__header {\n background-color: #3c3c3c;\n}\n.container_night .el-button {\n color: #f0f0f0;\n background-color: #1e1e1e;\n border: 1px solid transparent;\n}\n.container_night .el-button.is-plain:focus,\n.container_night .el-button.is-plain:hover {\n background: #1e1e1e;\n color: #f0f0f0;\n border: 1px solid #f0f0f0;\n}\n.container_night .el-button.is-plain:focus i,\n.container_night .el-button.is-plain:hover i {\n color: #f0f0f0;\n}\n.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 {\n background-color: #333333;\n}\n.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 {\n color: #f0f0f0;\n}\n.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 {\n color: #f0f0f0;\n}\n.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 {\n color: gray;\n}\n.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 {\n background-color: #84868b;\n}\n.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 {\n color: #f0f0f0;\n}\n.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 {\n background-color: #1e1e1e;\n}\n.container_night ::v-deep .el-icon-upload,\n.container_night .el-icon-download,\n.container_night .el-icon-refresh,\n.container_night .el-icon-s-grid,\n.container_night .el-icon-document {\n color: #f0f0f0;\n}\n.container_night ::-webkit-scrollbar {\n background-color: #1e1e1e;\n}\n.CodeMirror {\n padding-bottom: 0;\n height: 100% !important;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);\n font-size: 14px;\n font-family: \"PingFang SC\", BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif !important;\n}\n.CodeMirror-vscrollbar:focus {\n outline: none;\n}\n.CodeMirror-scroll {\n padding: 0 20px;\n overflow-x: hidden !important;\n overflow-y: scroll !important;\n}\n.CodeMirror-vscrollbar {\n width: 0px;\n height: 0px;\n}\n.CodeMirror-wrap {\n padding-top: 20px;\n padding-bottom: 20px;\n box-sizing: border-box;\n}\n/*wechat code block*/\n.rich_media_content .code-snippet *,\n.rich_media_content .code-snippet__wechat * {\n max-width: 1000% !important;\n}\n.code-snippet__wechat {\n word-wrap: break-word !important;\n font-size: 14px;\n margin: 10px 8px;\n color: #333;\n position: relative;\n background-color: rgba(27, 31, 35, 0.05);\n border: 1px solid #f0f0f0;\n border-radius: 2px;\n display: flex;\n line-height: 24px;\n}\n.code-snippet__wechat .code-snippet__line-index {\n counter-reset: line;\n flex-shrink: 0;\n height: 100%;\n padding: 1em;\n list-style-type: none;\n}\n.code-snippet__wechat .code-snippet__line-index li {\n list-style-type: none;\n text-align: right;\n}\n.code-snippet__wechat .code-snippet__line-index li::before {\n min-width: 1.5em;\n text-align: right;\n left: -2.5em;\n counter-increment: line;\n content: counter(line);\n display: inline;\n color: rgba(0, 0, 0, 0.15);\n}\n.code-snippet__wechat pre {\n overflow-x: auto;\n padding: 1em 1em 1em 1em;\n white-space: normal;\n flex: 1;\n -webkit-overflow-scrolling: touch;\n}\n.code-snippet__wechat code {\n text-align: left;\n font-size: 14px;\n white-space: pre;\n display: flex;\n position: relative;\n font-family: Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n}\n.code-snippet__wechat ul li {\n list-style: none;\n}\n/*github code block*/\n.code-snippet__github {\n display: flex;\n font-size: 12px;\n margin: 10px 8px;\n position: relative;\n height: auto;\n background-color: #f7f7f7;\n border-radius: 8px;\n}\n.code-snippet__github .code-snippet__line-index {\n display: none;\n}\n.code-snippet__github .code__pre {\n display: grid;\n position: relative;\n counter-reset: line;\n overflow-x: auto;\n padding: 1em;\n white-space: normal;\n flex: 1;\n line-height: 20px;\n font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;\n -webkit-overflow-scrolling: touch;\n}\n.code-snippet__github pre {\n display: inline-block;\n font-size: 12px;\n}\n.code-snippet__github code {\n display: flex;\n position: relative;\n padding-right: 8px;\n text-align: left;\n white-space: pre;\n font-family: Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n}\n.code-snippet__github code::before {\n display: none;\n}\n.code-snippet__github ul li {\n list-style: none;\n}\n::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n background-color: #fff;\n}\n::-webkit-scrollbar-track {\n border-radius: 6px;\n background-color: rgba(200, 200, 200, 0.3);\n}\n::-webkit-scrollbar-thumb {\n border-radius: 6px;\n background-color: rgba(144, 146, 152, 0.5);\n transition: background-color 0.3s;\n}\n::-webkit-scrollbar-thumb:hover {\n background-color: rgba(144, 146, 152, 0.5);\n}\n/* CSS-hints */\n.CodeMirror-hints {\n position: absolute;\n z-index: 10;\n overflow: hidden;\n list-style: none;\n margin: 0;\n padding: 2px;\n border-radius: 4px;\n background-color: #ffffff;\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n min-width: 200px;\n font-size: 12px;\n font-family: monospace;\n max-height: 20em;\n overflow-y: auto;\n color: #333333;\n}\n.CodeMirror-hint {\n margin: 0;\n margin-top: 10px;\n padding: 4px 6px;\n border-radius: 2px;\n white-space: pre;\n color: black;\n cursor: pointer;\n}\n.CodeMirror-hint:first-of-type {\n margin-top: 0;\n}\n.CodeMirror-hint:hover {\n background: #f0f0f0;\n}\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*/\n\n.cm-s-style-mirror.CodeMirror {\n color: #444;\n font-size: 16px;\n line-height: 25px;\n}\n\n.cm-s-style-mirror .CodeMirror-scroll {\n padding: 20px;\n width: 100%;\n box-sizing: border-box;\n overflow-x: hidden !important;\n overflow-y: scroll !important;\n}\n\n.cm-s-style-mirror div.CodeMirror-selected {\n background: #e0e0e0;\n}\n\n.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 {\n background: #e0e0e0;\n}\n\n.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 {\n background: #e0e0e0;\n}\n\n.cm-s-style-mirror .CodeMirror-gutters {\n background: #f5f5f5;\n border-right: 0px;\n}\n\n.cm-s-style-mirror .CodeMirror-guttermarker {\n color: #ac4142;\n}\n\n.cm-s-style-mirror .CodeMirror-guttermarker-subtle {\n color: #b0b0b0;\n}\n\n.cm-s-style-mirror .CodeMirror-linenumber {\n color: #b0b0b0;\n}\n\n.cm-s-style-mirror .CodeMirror-cursor {\n border-left: 1px solid #505050;\n}\n\n.cm-s-style-mirror span.cm-comment {\n color: green;\n}\n\n.cm-s-style-mirror span.cm-atom {\n color: #aa759f;\n}\n\n.cm-s-style-mirror span.cm-number {\n color: #aa759f;\n}\n\n.cm-s-style-mirror span.cm-property,\n.cm-s-style-mirror span.cm-attribute {\n color: #90a959;\n}\n\n.cm-s-style-mirror span.cm-keyword {\n color: #023a52;\n}\n\n.cm-s-style-mirror span.cm-string {\n color: #e46918;\n}\n\n.cm-s-style-mirror span.cm-variable {\n color: #90a959;\n}\n\n.cm-s-style-mirror span.cm-variable-2 {\n color: #00695f;\n}\n\n.cm-s-style-mirror span.cm-variable-3 {\n color: #2e6e8a;\n}\n\n.cm-s-style-mirror span.cm-def {\n color: #d28445;\n}\n\n.cm-s-style-mirror span.cm-bracket {\n color: #202020;\n}\n\n.cm-s-style-mirror span.cm-tag {\n color: #000;\n}\n\n.cm-s-style-mirror span.cm-link {\n color: #b26a00;\n}\n\n.cm-s-style-mirror span.cm-error {\n /* background: #ac4142;\n color: #f5f5f5; */\n text-decoration: underline;\n text-decoration-style: wavy;\n text-decoration-color: #df8d8e;\n}\n\n.cm-s-style-mirror .CodeMirror-activeline-background {\n background: #dddcdc;\n}\n\n.cm-s-style-mirror .CodeMirror-matchingbracket {\n color: rgb(32, 32, 32) !important;\n background-color: rgba(0, 0, 0, 0.1) !important;\n}\n","/*! Color themes for Google Code Prettify | MIT License | github.com/jmblog/color-themes-for-google-code-prettify */\n.prettyprint {\n font-family: Menlo, Bitstream Vera Sans Mono, DejaVu Sans Mono, Monaco,\n Consolas, monospace;\n border: 0 !important;\n}\n.pln {\n color: #333;\n}\nol.linenums {\n margin-top: 0;\n margin-bottom: 0;\n color: #ccc;\n}\nli.L0,\nli.L1,\nli.L2,\nli.L3,\nli.L4,\nli.L5,\nli.L6,\nli.L7,\nli.L8,\nli.L9 {\n padding-left: 1em;\n background-color: #fff;\n list-style-type: decimal;\n}\n@media screen {\n .str {\n color: #183691;\n }\n .kwd {\n color: #a71d5d;\n }\n .com {\n color: #969896;\n }\n .typ {\n color: #0086b3;\n }\n .lit {\n color: #0086b3;\n }\n .pun {\n color: #333;\n }\n .opn {\n color: #333;\n }\n .clo {\n color: #333;\n }\n .tag {\n color: navy;\n }\n .atn {\n color: #795da3;\n }\n .atv {\n color: #183691;\n }\n .dec {\n color: #333;\n }\n .var {\n color: teal;\n }\n .fun {\n color: #900;\n }\n}\n","@nightBgColor: #333333;\n@nightPreviewColor: #1e1e1e;\n@nightHeaderColor: #3c3c3c;\n@nightCodeMirrorColor: #1e1e1e;\n@nightActiveCodeMirrorColor: gray;\n@nightFontColor: gray;\n@nightLinkColor: #8e9eb9;\n@nightLinkTextColor: #84868b;\n@nightWhiteColor: #f0f0f0;\n@nightButtonBg: #1e1e1e;\n@nightButtonHoverColor: #84868b;\n@nightLineColor: #84868b;\n\n.container_night {\n background-color: @nightBgColor;\n\n .el-main {\n background-color: @nightBgColor;\n }\n\n .CodeMirror {\n caret-color: @nightFontColor;\n color: @nightFontColor;\n background-color: @nightCodeMirrorColor;\n box-shadow: inset 0 0 0 1px rgba(100, 37, 37, 0.102);\n }\n\n .output_night {\n .preview {\n background-color: @nightPreviewColor;\n box-shadow: 0 0 70px rgba(0, 0, 0, 0.3);\n }\n\n .preview-wrapper {\n background-color: @nightCodeMirrorColor;\n box-shadow: inset 0 0 0 1px rgba(233, 231, 231, 0.102);\n }\n\n .code-snippet__fix {\n background-color: rgb(238, 238, 238);\n }\n }\n\n .cm-s-style-mirror .CodeMirror-matchingbracket {\n color: @nightWhiteColor !important;\n background: rgb(30, 30, 30) !important;\n }\n\n .cm-s-xq-light span.cm-variable-2,\n .cm-s-style-mirror span.cm-tag {\n color: @nightFontColor;\n }\n\n .cm-s-xq-light .CodeMirror-activeline-background {\n background-color: transparent;\n }\n\n .cm-s-xq-light span.cm-string {\n color: @nightLinkColor;\n }\n\n .cm-s-xq-light span.cm-link {\n color: @nightLinkTextColor;\n }\n\n .editor__header {\n background-color: @nightHeaderColor;\n }\n\n .el-button {\n color: @nightWhiteColor;\n background-color: @nightCodeMirrorColor;\n border: 1px solid transparent;\n }\n\n .el-button.is-plain:focus,\n .el-button.is-plain:hover {\n background: @nightButtonBg;\n color: @nightWhiteColor;\n border: 1px solid @nightWhiteColor;\n\n i {\n color: @nightWhiteColor;\n }\n }\n\n .insert__dialog,\n .about__dialog,\n .reset__dialog,\n .upload__dialog {\n .el-dialog {\n background-color: @nightBgColor;\n }\n\n .el-dialog__body {\n color: @nightWhiteColor;\n }\n\n .el-dialog__title,\n .el-form-item__label {\n color: @nightWhiteColor;\n }\n\n .el-tabs__item {\n color: @nightActiveCodeMirrorColor;\n }\n\n .el-tabs__nav-wrap::after {\n background-color: @nightLineColor;\n }\n\n .is-active {\n color: @nightWhiteColor;\n }\n\n .el-upload-dragger {\n background-color: @nightButtonBg;\n }\n }\n\n ::v-deep .el-icon-upload,\n .el-icon-download,\n .el-icon-refresh,\n .el-icon-s-grid,\n .el-icon-document {\n color: @nightWhiteColor;\n }\n\n ::-webkit-scrollbar {\n background-color: @nightCodeMirrorColor;\n }\n}\n\n.CodeMirror {\n padding-bottom: 0;\n height: 100% !important;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);\n font-size: 14px;\n font-family: \"PingFang SC\", BlinkMacSystemFont, Roboto, \"Helvetica Neue\",\n sans-serif !important;\n}\n\n.CodeMirror-vscrollbar:focus {\n outline: none;\n}\n\n.CodeMirror-scroll {\n padding: 0 20px;\n overflow-x: hidden !important;\n overflow-y: scroll !important;\n}\n\n.CodeMirror-vscrollbar {\n width: 0px;\n height: 0px;\n}\n\n.CodeMirror-wrap {\n padding-top: 20px;\n padding-bottom: 20px;\n box-sizing: border-box;\n}\n","/*wechat code block*/\n.rich_media_content .code-snippet *,\n.rich_media_content .code-snippet__wechat * {\n max-width: 1000% !important;\n}\n\n.code-snippet__wechat {\n word-wrap: break-word !important;\n font-size: 14px;\n margin: 10px 8px;\n color: #333;\n position: relative;\n background-color: rgba(27, 31, 35, 0.05);\n border: 1px solid #f0f0f0;\n border-radius: 2px;\n display: flex;\n line-height: 24px;\n}\n\n.code-snippet__wechat .code-snippet__line-index {\n counter-reset: line;\n flex-shrink: 0;\n height: 100%;\n padding: 1em;\n list-style-type: none;\n}\n\n.code-snippet__wechat .code-snippet__line-index li {\n list-style-type: none;\n text-align: right;\n}\n\n.code-snippet__wechat .code-snippet__line-index li::before {\n min-width: 1.5em;\n text-align: right;\n left: -2.5em;\n counter-increment: line;\n content: counter(line);\n display: inline;\n color: rgba(0, 0, 0, 0.15);\n}\n\n.code-snippet__wechat pre {\n overflow-x: auto;\n padding: 1em 1em 1em 1em;\n white-space: normal;\n flex: 1;\n -webkit-overflow-scrolling: touch;\n}\n\n.code-snippet__wechat code {\n text-align: left;\n font-size: 14px;\n white-space: pre;\n display: flex;\n position: relative;\n font-family: Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n}\n\n.code-snippet__wechat ul li {\n list-style: none;\n}\n","@import url(\"../github-v2.min.css\");\n/*github code block*/\n.code-snippet__github {\n display: flex;\n font-size: 12px;\n margin: 10px 8px;\n position: relative;\n height: auto;\n background-color: #f7f7f7;\n border-radius: 8px;\n\n .code-snippet__line-index {\n display: none;\n }\n\n .code__pre {\n display: grid;\n position: relative;\n counter-reset: line;\n overflow-x: auto;\n padding: 1em;\n white-space: normal;\n flex: 1;\n line-height: 20px;\n font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;\n -webkit-overflow-scrolling: touch;\n }\n\n pre {\n display: inline-block;\n font-size: 12px;\n }\n\n code {\n display: flex;\n position: relative;\n padding-right: 8px;\n text-align: left;\n white-space: pre;\n font-family: Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n &::before {\n display: none;\n }\n }\n\n ul li {\n list-style: none;\n }\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* 每个页面公共css */\n@import url(\"./assets/less/style-mirror.css\");\n@import url(\"./assets/less/theme.less\");\n@import url(\"./assets/less/code-theme.less\");\n::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n background-color: #fff;\n}\n\n::-webkit-scrollbar-track {\n border-radius: 6px;\n background-color: rgba(200, 200, 200, 0.3);\n}\n\n::-webkit-scrollbar-thumb {\n border-radius: 6px;\n background-color: rgba(144, 146, 152, 0.5);\n transition: background-color 0.3s;\n}\n\n::-webkit-scrollbar-thumb:hover {\n background-color: rgba(144, 146, 152, 0.5);\n}\n/* CSS-hints */\n.CodeMirror-hints {\n position: absolute;\n z-index: 10;\n overflow: hidden;\n list-style: none;\n\n margin: 0;\n padding: 2px;\n\n border-radius: 4px;\n background-color: #ffffff;\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n min-width: 200px;\n font-size: 12px;\n font-family: monospace;\n\n max-height: 20em;\n overflow-y: auto;\n color: #333333;\n}\n\n.CodeMirror-hint {\n margin: 0;\n margin-top: 10px;\n padding: 4px 6px;\n border-radius: 2px;\n white-space: pre;\n color: black;\n cursor: pointer;\n}\n.CodeMirror-hint:first-of-type {\n margin-top: 0;\n}\n.CodeMirror-hint:hover {\n background: #f0f0f0;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n.loading-wrapper {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n}\n.loading {\n text-align: center;\n position: fixed;\n width: 100%;\n height: 100%;\n overflow: hidden;\n z-index: 99999;\n background-color: #f2f2f2;\n}\n\n.loading_night {\n background-color: #303133;\n}\n\n.loading-text {\n font-size: 18px;\n font-weight: bold;\n margin-top: 26px;\n color: #303133;\n}\n\n.loading-anim {\n display: inline-block;\n width: 100px;\n height: 100px;\n background: url(\"../assets/images/favicon.png\") no-repeat;\n background-size: cover;\n}\n",".loading-wrapper {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n}\n.loading {\n text-align: center;\n position: fixed;\n width: 100%;\n height: 100%;\n overflow: hidden;\n z-index: 99999;\n background-color: #f2f2f2;\n}\n.loading_night {\n background-color: #303133;\n}\n.loading-text {\n font-size: 18px;\n font-weight: bold;\n margin-top: 26px;\n color: #303133;\n}\n.loading-anim {\n display: inline-block;\n width: 100px;\n height: 100px;\n background: url(\"../assets/images/favicon.png\") no-repeat;\n background-size: cover;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/deep/ .el-dialog {\n min-width: 440px;\n}\n.reset__dialog {\n text-align: center;\n}\n\n.text {\n text-align: center;\n}\n\n.dialog-footer {\n text-align: center;\n}\n"," /deep/ .el-dialog {\n min-width: 440px;\n}\n.reset__dialog {\n text-align: center;\n}\n.text {\n text-align: center;\n}\n.dialog-footer {\n text-align: center;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.editor__header {\n width: 100%;\n}\n.header__item {\n margin: 0 3px;\n}\n.header__item_last {\n margin-right: 8px;\n}\n.header__switch {\n margin-left: 8px;\n}\n.mode__switch {\n margin-left: 24px;\n margin-right: 24px;\n width: 24px;\n height: 24px;\n background: url(\"../../assets/images/night.png\") no-repeat;\n background-size: cover;\n transition: all 0.3s;\n}\n.mode__switch_black {\n background: url(\"../../assets/images/light.png\") no-repeat;\n background-size: cover;\n}\n.top {\n height: 60px;\n padding: 10px 20px;\n display: flex;\n align-items: center;\n margin-right: 0;\n}\n.el-select {\n margin-right: 12px;\n}\n.left-side {\n display: flex;\n align-items: center;\n flex: 1;\n}\n.right-side {\n display: flex;\n align-items: center;\n}\n\n/*\n.preview table tr:nth-child(even){\n background: rgb(250, 250, 250);\n}\n */\n.select-item-left {\n float: left;\n}\n\n.select-item-right {\n float: right;\n color: #8492a6;\n font-size: 13px;\n}\n",".editor__header {\n width: 100%;\n}\n.header__item {\n margin: 0 3px;\n}\n.header__item_last {\n margin-right: 8px;\n}\n.header__switch {\n margin-left: 8px;\n}\n.mode__switch {\n margin-left: 24px;\n margin-right: 24px;\n width: 24px;\n height: 24px;\n background: url(\"../../assets/images/night.png\") no-repeat;\n background-size: cover;\n transition: all 0.3s;\n}\n.mode__switch_black {\n background: url(\"../../assets/images/light.png\") no-repeat;\n background-size: cover;\n}\n.top {\n height: 60px;\n padding: 10px 20px;\n display: flex;\n align-items: center;\n margin-right: 0;\n}\n.el-select {\n margin-right: 12px;\n}\n.left-side {\n display: flex;\n align-items: center;\n flex: 1;\n}\n.right-side {\n display: flex;\n align-items: center;\n}\n/*\n.preview table tr:nth-child(even){\n background: rgb(250, 250, 250);\n}\n */\n.select-item-left {\n float: left;\n}\n.select-item-right {\n float: right;\n color: #8492a6;\n font-size: 13px;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/deep/ .el-dialog {\n min-width: 420px;\n}\n"," /deep/ .el-dialog {\n min-width: 420px;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/deep/ .el-dialog {\n width: 55%;\n min-height: 375px;\n min-width: 440px;\n}\n.tb-options {\n margin-bottom: 20px;\n}\n\n.input-table ::v-deep .el-input__inner {\n border-radius: 0;\n}\n\n.head-style /deep/ .el-input__inner {\n background-color: #f2f2f2;\n}\n"," /deep/ .el-dialog {\n width: 55%;\n min-height: 375px;\n min-width: 440px;\n}\n.tb-options {\n margin-bottom: 20px;\n}\n.input-table ::v-deep .el-input__inner {\n border-radius: 0;\n}\n.head-style /deep/ .el-input__inner {\n background-color: #f2f2f2;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.menu {\n position: absolute;\n border-radius: 4px;\n background-color: #ffffff;\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n z-index: 9999;\n}\n\n.menu_item {\n margin-top: 10px;\n min-width: 200px;\n font-size: 12px;\n line-height: 20px;\n color: #333333;\n cursor: pointer;\n &:first-of-type {\n margin-top: 0;\n }\n &:hover {\n background: #f0f0f0;\n }\n span,\n .btn-upload {\n display: inline-block;\n padding: 4px 0;\n padding-left: 24px;\n width: 100%;\n }\n .btn-upload {\n margin: 0;\n border: none;\n outline: none;\n background: transparent;\n }\n .btn-upload:hover {\n background: #aaaaaa;\n }\n ::v-deep .el-upload {\n width: 100%;\n }\n}\n\n.menu__group {\n padding-top: 6px;\n padding-bottom: 6px;\n border-bottom: 1px solid #eeeeee;\n &:last-of-type {\n border-bottom: none;\n }\n}\n\nli:hover {\n background-color: #1790ff;\n}\n\nli {\n font-size: 15px;\n list-style: none;\n}\n",".menu {\n position: absolute;\n border-radius: 4px;\n background-color: #ffffff;\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n z-index: 9999;\n}\n.menu_item {\n margin-top: 10px;\n min-width: 200px;\n font-size: 12px;\n line-height: 20px;\n color: #333333;\n cursor: pointer;\n}\n.menu_item:first-of-type {\n margin-top: 0;\n}\n.menu_item:hover {\n background: #f0f0f0;\n}\n.menu_item span,\n.menu_item .btn-upload {\n display: inline-block;\n padding: 4px 0;\n padding-left: 24px;\n width: 100%;\n}\n.menu_item .btn-upload {\n margin: 0;\n border: none;\n outline: none;\n background: transparent;\n}\n.menu_item .btn-upload:hover {\n background: #aaaaaa;\n}\n.menu_item ::v-deep .el-upload {\n width: 100%;\n}\n.menu__group {\n padding-top: 6px;\n padding-bottom: 6px;\n border-bottom: 1px solid #eeeeee;\n}\n.menu__group:last-of-type {\n border-bottom: none;\n}\nli:hover {\n background-color: #1790ff;\n}\nli {\n font-size: 15px;\n list-style: none;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/deep/ .el-dialog {\n width: 55%;\n min-height: 615px;\n min-width: 640px;\n}\n/deep/ .el-upload-dragger {\n display: flex;\n flex-flow: column;\n justify-content: center;\n width: 500px;\n height: 360px;\n .el-icon-upload {\n margin-top: 0;\n }\n}\n/deep/ .el-dialog__body {\n padding-bottom: 50px;\n}\n.upload-panel {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n .el-select {\n align-self: flex-end;\n margin: 0 67.75px 20px;\n width: 100px;\n }\n}\n\n.github-panel {\n display: flex;\n justify-content: center;\n &.formCustom {\n width: 100%;\n }\n .formCustomElInput {\n /deep/ .CodeMirror {\n border: 1px solid #eee;\n height: 300px !important;\n font-family: \"Fira Mono\", \"DejaVu Sans Mono\", Menlo, Consolas, \"Liberation Mono\", Monaco, \"Lucida Console\", monospace !important;\n line-height: 20px;\n .CodeMirror-scroll {\n padding: 10px;\n }\n }\n }\n}\n\n.setting-form {\n width: 100%;\n\n .el-form-item {\n margin: 15px;\n }\n\n .el-form-item:last-child {\n text-align: right;\n }\n}\n"," /deep/ .el-dialog {\n width: 55%;\n min-height: 615px;\n min-width: 640px;\n}\n /deep/ .el-upload-dragger {\n display: flex;\n flex-flow: column;\n justify-content: center;\n width: 500px;\n height: 360px;\n}\n /deep/ .el-upload-dragger .el-icon-upload {\n margin-top: 0;\n}\n /deep/ .el-dialog__body {\n padding-bottom: 50px;\n}\n.upload-panel {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n}\n.upload-panel .el-select {\n align-self: flex-end;\n margin: 0 67.75px 20px;\n width: 100px;\n}\n.github-panel {\n display: flex;\n justify-content: center;\n}\n.github-panel.formCustom {\n width: 100%;\n}\n.github-panel .formCustomElInput /deep/ .CodeMirror {\n border: 1px solid #eee;\n height: 300px !important;\n font-family: \"Fira Mono\", \"DejaVu Sans Mono\", Menlo, Consolas, \"Liberation Mono\", Monaco, \"Lucida Console\", monospace !important;\n line-height: 20px;\n}\n.github-panel .formCustomElInput /deep/ .CodeMirror .CodeMirror-scroll {\n padding: 10px;\n}\n.setting-form {\n width: 100%;\n}\n.setting-form .el-form-item {\n margin: 15px;\n}\n.setting-form .el-form-item:last-child {\n text-align: right;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.editor__header {\n padding: 0;\n}\n","@import url(\"../../../assets/less/github-v2.min.css\");\n* {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n}\ninput,\nbutton,\ntextarea {\n font-family: inherit;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-weight: normal;\n}\nem {\n font-style: normal !important;\n}\nhtml,\nbody {\n height: 100%;\n font-family: \"PingFang SC\", BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif;\n}\n.el-message__icon {\n display: none;\n}\n.container {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n.web-title {\n margin: 0 15px 0 5px;\n}\n.web-icon {\n width: auto;\n height: 1.5rem;\n vertical-align: middle;\n}\n#editor {\n height: 100%;\n display: block;\n border: none;\n width: 100%;\n padding: 10px;\n}\nsection {\n height: 100%;\n}\n.main-body {\n display: flex;\n flex-direction: column;\n padding-top: 0;\n}\n.ctrl {\n flex-basis: 60px;\n flex-grow: 1;\n flex-shrink: 1;\n display: flex;\n align-items: center;\n}\n.preview-wrapper {\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);\n padding: 0;\n align-items: center;\n justify-content: center;\n display: flex;\n word-break: break-all;\n overflow-y: scroll;\n}\n.main-section {\n display: flex;\n height: 100%;\n}\n.hint {\n opacity: 0.6;\n margin: 20px 0;\n}\n.preview {\n position: relative;\n margin: 0 -20px;\n width: 375px;\n padding: 20px;\n font-size: 14px;\n box-sizing: border-box;\n outline: none;\n box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);\n}\n.preview table {\n margin-bottom: 10px;\n border-collapse: collapse;\n display: table;\n width: 100% !important;\n}\n/* ele ui */\n.el-form-item {\n margin-bottom: 0 !important;\n}\n.el-tooltip {\n cursor: pointer;\n}\nuni-page-body,\nuni-page-refresh {\n display: block;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.main-body {\n padding-top: 12px;\n overflow: hidden;\n}\n.el-main {\n transition: all 0.3s;\n padding: 0;\n margin: 20px;\n margin-top: 0;\n}\n.container {\n transition: all 0.3s;\n}\n.textarea-wrapper {\n height: 100%;\n}\n.preview-wrapper_night {\n overflow-y: inherit;\n position: relative;\n left: -3px;\n .preview {\n background-color: #fff;\n }\n}\n#output-wrapper {\n position: relative;\n user-select: text;\n}\n.loading-mask {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 376px;\n height: 101%;\n padding-top: 1px;\n font-size: 15px;\n color: gray;\n background-color: #1e1e1e;\n .loading__img {\n position: absolute;\n left: 50%;\n top: 330px;\n width: 50px;\n height: 50px;\n transform: translate(-50%, -50%);\n background: url(\"../../../assets/images/favicon.png\") no-repeat;\n background-size: cover;\n }\n span {\n position: absolute;\n left: 50%;\n top: 390px;\n transform: translate(-50%, -50%);\n }\n}\n.bounceInRight {\n animation-name: bounceInRight;\n animation-duration: 1s;\n animation-fill-mode: both;\n}\n/deep/ .preview-table {\n border-spacing: 0px;\n}\n\n@keyframes bounceInRight {\n 0%,\n 60%,\n 75%,\n 90%,\n 100% {\n transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n 0% {\n opacity: 0;\n transform: translate3d(3000px, 0, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(-25px, 0, 0);\n }\n 75% {\n transform: translate3d(10px, 0, 0);\n }\n 90% {\n transform: translate3d(-5px, 0, 0);\n }\n 100% {\n transform: none;\n }\n}\n","* {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n}\n\ninput,\nbutton,\ntextarea {\n font-family: inherit;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-weight: normal;\n}\n\nem {\n font-style: normal !important;\n}\n\nhtml,\nbody {\n height: 100%;\n font-family: \"PingFang SC\", BlinkMacSystemFont, Roboto, \"Helvetica Neue\",\n sans-serif;\n}\n\n.el-message__icon {\n display: none;\n}\n\n.container {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n\n.web-title {\n margin: 0 15px 0 5px;\n}\n\n.web-icon {\n width: auto;\n height: 1.5rem;\n vertical-align: middle;\n}\n\n#editor {\n height: 100%;\n display: block;\n border: none;\n width: 100%;\n padding: 10px;\n}\n\nsection {\n height: 100%;\n}\n\n.main-body {\n display: flex;\n flex-direction: column;\n padding-top: 0;\n}\n\n.ctrl {\n flex-basis: 60px;\n flex-grow: 1;\n flex-shrink: 1;\n display: flex;\n align-items: center;\n}\n\n.preview-wrapper {\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);\n padding: 0;\n align-items: center;\n justify-content: center;\n display: flex;\n word-break: break-all;\n overflow-y: scroll;\n}\n\n.main-section {\n display: flex;\n height: 100%;\n}\n\n.hint {\n opacity: 0.6;\n margin: 20px 0;\n}\n\n.preview {\n position: relative;\n margin: 0 -20px;\n width: 375px;\n padding: 20px;\n font-size: 14px;\n box-sizing: border-box;\n outline: none;\n box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);\n}\n\n.preview table {\n margin-bottom: 10px;\n border-collapse: collapse;\n display: table;\n width: 100% !important;\n}\n\n/* ele ui */\n.el-form-item {\n margin-bottom: 0 !important;\n}\n\n.el-tooltip {\n cursor: pointer;\n}\n\nuni-page-body,\nuni-page-refresh {\n display: block;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n}\n","\n\n\n\n\n"]} \ No newline at end of file diff --git a/css/app.af80b787.css.map b/css/app.af80b787.css.map deleted file mode 100644 index ea7b75c..0000000 --- a/css/app.af80b787.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///src/App.vue?7c55","webpack:///src/App.vue","webpack:///src/assets/less/style-mirror.css","webpack:///src/assets/less/github-v2.min.css","webpack:///src/assets/less/theme.less","webpack:///src/assets/less/codeTheme/wechat-code-block.less","webpack:///src/assets/less/codeTheme/github-code-block.less","webpack:///src/App.vue?94fb","webpack:///src/components/Loading.vue?11ef","webpack:///src/components/Loading.vue","webpack:///src/components/CodemirrorEditor/resetDialog.vue?0518","webpack:///src/components/CodemirrorEditor/resetDialog.vue","webpack:///src/components/CodemirrorEditor/header.vue?ef81","webpack:///src/components/CodemirrorEditor/header.vue","webpack:///src/components/CodemirrorEditor/aboutDialog.vue?c081","webpack:///src/components/CodemirrorEditor/aboutDialog.vue","webpack:///src/components/CodemirrorEditor/insertForm.vue?64e1","webpack:///src/components/CodemirrorEditor/insertForm.vue","webpack:///src/components/CodemirrorEditor/rightClickMenu.vue?856c","webpack:///src/components/CodemirrorEditor/rightClickMenu.vue","webpack:///src/components/CodemirrorEditor/uploadImgDialog.vue?e925","webpack:///src/components/CodemirrorEditor/uploadImgDialog.vue","webpack:///src/pages/index/view/CodemirrorEditor.vue?9332","webpack:///src/pages/index/view/CodemirrorEditor.vue","webpack:///src/pages/index/view/CodemirrorEditor.vue?792d","webpack:///src/assets/less/app.less","webpack:///src/pages/index/src/pages/index/index.vue"],"names":[],"mappings":"AAQA,eAGE,QAAA,CACA,SAAA,CACA,WAAA,CACA,UCPF,CCGA,8BACE,UAAW,CACX,cAAe,CACf,gBACF,CAEA,sCACE,YAAa,CACb,UAAW,CACX,qBAAsB,CACtB,2BAA6B,CAC7B,2BACF,CAEA,2CACE,kBACF,CAEA,4JAGE,kBACF,CAEA,2KAGE,kBACF,CAEA,uCACE,kBAAmB,CACnB,cACF,CAEA,4CACE,aACF,CAMA,6FACE,aACF,CAEA,sCACE,6BACF,CAEA,mCACE,WACF,CAMA,kEACE,aACF,CAEA,yEAEE,aACF,CAEA,mCACE,aACF,CAEA,kCACE,aACF,CAEA,oCACE,aACF,CAEA,sCACE,aACF,CAEA,sCACE,aACF,CAEA,+BACE,aACF,CAEA,mCACE,aACF,CAEA,+BACE,UACF,CAEA,gCACE,aACF,CAEA,iCAGE,yBAA0B,CAC1B,kCAA2B,CAA3B,0BAA2B,CAC3B,qCAA8B,CAA9B,6BACF,CAEA,qDACE,kBACF,CAEA,+CACE,uBAAi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AAA,CACA,2BAAA,CAAA,4BAAA,CAAA,6BAAA,CAAA,qBFLF,CEQA,4BACE,mBFNF,CESA,2BACE,UAAA,CACA,aAAA,CACA,qBFPF,CEUA,yBACE,WAAA,CACA,aAAA,CACA,WAAA,CACA,UAAA,CACA,YFRF,CEWA,yBACE,WFTF,CEYA,4BACE,mBAAA,CAAA,oBAAA,CAAA,YAAA,CACA,2BAAA,CAAA,4BAAA,CAAA,6BAAA,CAAA,qBAAA,CACA,aFVF,CEaA,uBACE,uBAAA,CAAA,eAAA,CACA,kBAAA,CAAA,mBAAA,CAAA,WAAA,CACA,qBAAA,CAAA,aFTF,CEcA,yDAJE,mBAAA,CAAA,oBAAA,CAAA,YAAA,CACA,wBAAA,CAAA,0BAAA,CAAA,kBFFF,CEKA,kCACE,yCAAA,CACA,SAAA,CAEA,uBAAA,CAAA,8BAAA,CAAA,sBAAA,CAEA,oBAAA,CACA,iBFZF,CEeA,+BACE,mBAAA,CAAA,oBAAA,CAAA,YAAA,CACA,WFbF,CEgBA,uBACE,UAAA,CACA,aFdF,CEiBA,0BACE,iBAAA,CACA,cAAA,CACA,WAAA,CACA,YAAA,CACA,cAAA,CACA,qBAAA,CACA,YAAA,CACA,kCFfF,CEkBA,gCACE,kBAAA,CACA,wBAAA,CACA,aAAA,CACA,oBFhBF,CEoBA,+BACE,yBFjBF,CEoBA,6BACE,cFlBF,CEqBA,iEAEE,aAAA,CACA,qBAAA,CACA,UAAA,CACA,WFnBF,CGjFA,6DAEA,SACA,CACA,6DAEA,SACA,CACA,wEAEA,yBAAA,CAAA,iBACA","file":"app.af80b787.css","sourcesContent":["\n\n\n\n\n\n\n// 仿 uniapp 外层全屏\nhtml,\nbody,\n#app {\n margin: 0;\n padding: 0;\n height: 100%;\n width: 100%;\n}\n","/* 每个页面公共css */\n@import url(\"./assets/less/style-mirror.css\");\n@import url(\"./assets/less/github-v2.min.css\");\n.container_night {\n background-color: #333333;\n}\n.container_night .el-main {\n background-color: #333333;\n}\n.container_night .CodeMirror {\n caret-color: gray;\n color: gray;\n background-color: #1e1e1e;\n box-shadow: inset 0 0 0 1px rgba(100, 37, 37, 0.102);\n}\n.container_night .output_night .preview {\n background-color: #1e1e1e;\n box-shadow: 0 0 70px rgba(0, 0, 0, 0.3);\n}\n.container_night .output_night .preview-wrapper {\n background-color: #1e1e1e;\n box-shadow: inset 0 0 0 1px rgba(233, 231, 231, 0.102);\n}\n.container_night .output_night .code-snippet__fix {\n background-color: #eeeeee;\n}\n.container_night .cm-s-style-mirror .CodeMirror-matchingbracket {\n color: #f0f0f0 !important;\n background: #1e1e1e !important;\n}\n.container_night .cm-s-xq-light span.cm-variable-2,\n.container_night .cm-s-style-mirror span.cm-tag {\n color: gray;\n}\n.container_night .cm-s-xq-light .CodeMirror-activeline-background {\n background-color: transparent;\n}\n.container_night .cm-s-xq-light span.cm-string {\n color: #8e9eb9;\n}\n.container_night .cm-s-xq-light span.cm-link {\n color: #84868b;\n}\n.container_night .editor__header {\n background-color: #3c3c3c;\n}\n.container_night .el-button {\n color: #f0f0f0;\n background-color: #1e1e1e;\n border: 1px solid transparent;\n}\n.container_night .el-button.is-plain:focus,\n.container_night .el-button.is-plain:hover {\n background: #1e1e1e;\n color: #f0f0f0;\n border: 1px solid #f0f0f0;\n}\n.container_night .el-button.is-plain:focus i,\n.container_night .el-button.is-plain:hover i {\n color: #f0f0f0;\n}\n.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 {\n background-color: #333333;\n}\n.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 {\n color: #f0f0f0;\n}\n.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 {\n color: #f0f0f0;\n}\n.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 {\n color: gray;\n}\n.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 {\n background-color: #84868b;\n}\n.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 {\n color: #f0f0f0;\n}\n.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 {\n background-color: #1e1e1e;\n}\n.container_night ::v-deep .el-icon-upload,\n.container_night .el-icon-download,\n.container_night .el-icon-refresh,\n.container_night .el-icon-s-grid,\n.container_night .el-icon-document {\n color: #f0f0f0;\n}\n.container_night ::-webkit-scrollbar {\n background-color: #1e1e1e;\n}\n.CodeMirror {\n padding-bottom: 0;\n height: 100% !important;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);\n font-size: 14px;\n font-family: \"PingFang SC\", BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif !important;\n}\n.CodeMirror-vscrollbar:focus {\n outline: none;\n}\n.CodeMirror-scroll {\n padding: 0 20px;\n overflow-x: hidden !important;\n overflow-y: scroll !important;\n}\n.CodeMirror-vscrollbar {\n width: 0px;\n height: 0px;\n}\n.CodeMirror-wrap {\n padding-top: 20px;\n padding-bottom: 20px;\n box-sizing: border-box;\n}\n/*wechat code block*/\n.rich_media_content .code-snippet *,\n.rich_media_content .code-snippet__wechat * {\n max-width: 1000% !important;\n}\n.code-snippet__wechat {\n word-wrap: break-word !important;\n font-size: 14px;\n margin: 10px 8px;\n color: #333;\n position: relative;\n background-color: rgba(27, 31, 35, 0.05);\n border: 1px solid #f0f0f0;\n border-radius: 2px;\n display: flex;\n line-height: 24px;\n}\n.code-snippet__wechat .code-snippet__line-index {\n counter-reset: line;\n flex-shrink: 0;\n height: 100%;\n padding: 1em;\n list-style-type: none;\n}\n.code-snippet__wechat .code-snippet__line-index li {\n list-style-type: none;\n text-align: right;\n}\n.code-snippet__wechat .code-snippet__line-index li::before {\n min-width: 1.5em;\n text-align: right;\n left: -2.5em;\n counter-increment: line;\n content: counter(line);\n display: inline;\n color: rgba(0, 0, 0, 0.15);\n}\n.code-snippet__wechat pre {\n overflow-x: auto;\n padding: 1em 1em 1em 1em;\n white-space: normal;\n flex: 1;\n -webkit-overflow-scrolling: touch;\n}\n.code-snippet__wechat code {\n text-align: left;\n font-size: 14px;\n white-space: pre;\n display: flex;\n position: relative;\n font-family: Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n}\n.code-snippet__wechat ul li {\n list-style: none;\n}\n/*github code block*/\n.code-snippet__github {\n display: flex;\n font-size: 12px;\n margin: 10px 8px;\n position: relative;\n height: auto;\n background-color: #f7f7f7;\n border-radius: 8px;\n}\n.code-snippet__github .code-snippet__line-index {\n display: none;\n}\n.code-snippet__github .code__pre {\n display: grid;\n position: relative;\n counter-reset: line;\n overflow-x: auto;\n padding: 1em;\n white-space: normal;\n flex: 1;\n line-height: 20px;\n font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;\n -webkit-overflow-scrolling: touch;\n}\n.code-snippet__github pre {\n display: inline-block;\n font-size: 12px;\n}\n.code-snippet__github code {\n display: flex;\n position: relative;\n padding-right: 8px;\n text-align: left;\n white-space: pre;\n font-family: Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n}\n.code-snippet__github code::before {\n display: none;\n}\n.code-snippet__github ul li {\n list-style: none;\n}\n::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n background-color: #fff;\n}\n::-webkit-scrollbar-track {\n border-radius: 6px;\n background-color: rgba(200, 200, 200, 0.3);\n}\n::-webkit-scrollbar-thumb {\n border-radius: 6px;\n background-color: rgba(144, 146, 152, 0.5);\n transition: background-color 0.3s;\n}\n::-webkit-scrollbar-thumb:hover {\n background-color: rgba(144, 146, 152, 0.5);\n}\n/* CSS-hints */\n.CodeMirror-hints {\n position: absolute;\n z-index: 10;\n overflow: hidden;\n list-style: none;\n margin: 0;\n padding: 2px;\n border-radius: 4px;\n background-color: #ffffff;\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n min-width: 200px;\n font-size: 12px;\n font-family: monospace;\n max-height: 20em;\n overflow-y: auto;\n color: #333333;\n}\n.CodeMirror-hint {\n margin: 0;\n margin-top: 10px;\n padding: 4px 6px;\n border-radius: 2px;\n white-space: pre;\n color: black;\n cursor: pointer;\n}\n.CodeMirror-hint:first-of-type {\n margin-top: 0;\n}\n.CodeMirror-hint:hover {\n background: #f0f0f0;\n}\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*/\n\n.cm-s-style-mirror.CodeMirror {\n color: #444;\n font-size: 16px;\n line-height: 25px;\n}\n\n.cm-s-style-mirror .CodeMirror-scroll {\n padding: 20px;\n width: 100%;\n box-sizing: border-box;\n overflow-x: hidden !important;\n overflow-y: scroll !important;\n}\n\n.cm-s-style-mirror div.CodeMirror-selected {\n background: #e0e0e0;\n}\n\n.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 {\n background: #e0e0e0;\n}\n\n.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 {\n background: #e0e0e0;\n}\n\n.cm-s-style-mirror .CodeMirror-gutters {\n background: #f5f5f5;\n border-right: 0px;\n}\n\n.cm-s-style-mirror .CodeMirror-guttermarker {\n color: #ac4142;\n}\n\n.cm-s-style-mirror .CodeMirror-guttermarker-subtle {\n color: #b0b0b0;\n}\n\n.cm-s-style-mirror .CodeMirror-linenumber {\n color: #b0b0b0;\n}\n\n.cm-s-style-mirror .CodeMirror-cursor {\n border-left: 1px solid #505050;\n}\n\n.cm-s-style-mirror span.cm-comment {\n color: green;\n}\n\n.cm-s-style-mirror span.cm-atom {\n color: #aa759f;\n}\n\n.cm-s-style-mirror span.cm-number {\n color: #aa759f;\n}\n\n.cm-s-style-mirror span.cm-property,\n.cm-s-style-mirror span.cm-attribute {\n color: #90a959;\n}\n\n.cm-s-style-mirror span.cm-keyword {\n color: #023a52;\n}\n\n.cm-s-style-mirror span.cm-string {\n color: #e46918;\n}\n\n.cm-s-style-mirror span.cm-variable {\n color: #90a959;\n}\n\n.cm-s-style-mirror span.cm-variable-2 {\n color: #00695f;\n}\n\n.cm-s-style-mirror span.cm-variable-3 {\n color: #2e6e8a;\n}\n\n.cm-s-style-mirror span.cm-def {\n color: #d28445;\n}\n\n.cm-s-style-mirror span.cm-bracket {\n color: #202020;\n}\n\n.cm-s-style-mirror span.cm-tag {\n color: #000;\n}\n\n.cm-s-style-mirror span.cm-link {\n color: #b26a00;\n}\n\n.cm-s-style-mirror span.cm-error {\n /* background: #ac4142;\n color: #f5f5f5; */\n text-decoration: underline;\n text-decoration-style: wavy;\n text-decoration-color: #df8d8e;\n}\n\n.cm-s-style-mirror .CodeMirror-activeline-background {\n background: #dddcdc;\n}\n\n.cm-s-style-mirror .CodeMirror-matchingbracket {\n color: rgb(32, 32, 32) !important;\n background-color: rgba(0, 0, 0, 0.1) !important;\n}\n","/*! Color themes for Google Code Prettify | MIT License | github.com/jmblog/color-themes-for-google-code-prettify */\n.prettyprint {\n font-family: Menlo, Bitstream Vera Sans Mono, DejaVu Sans Mono, Monaco,\n Consolas, monospace;\n border: 0 !important;\n}\n.pln {\n color: #333;\n}\nol.linenums {\n margin-top: 0;\n margin-bottom: 0;\n color: #ccc;\n}\nli.L0,\nli.L1,\nli.L2,\nli.L3,\nli.L4,\nli.L5,\nli.L6,\nli.L7,\nli.L8,\nli.L9 {\n padding-left: 1em;\n background-color: #fff;\n list-style-type: decimal;\n}\n@media screen {\n .str {\n color: #183691;\n }\n .kwd {\n color: #a71d5d;\n }\n .com {\n color: #969896;\n }\n .typ {\n color: #0086b3;\n }\n .lit {\n color: #0086b3;\n }\n .pun {\n color: #333;\n }\n .opn {\n color: #333;\n }\n .clo {\n color: #333;\n }\n .tag {\n color: navy;\n }\n .atn {\n color: #795da3;\n }\n .atv {\n color: #183691;\n }\n .dec {\n color: #333;\n }\n .var {\n color: teal;\n }\n .fun {\n color: #900;\n }\n}\n","@nightBgColor: #333333;\n@nightPreviewColor: #1e1e1e;\n@nightHeaderColor: #3c3c3c;\n@nightCodeMirrorColor: #1e1e1e;\n@nightActiveCodeMirrorColor: gray;\n@nightFontColor: gray;\n@nightLinkColor: #8e9eb9;\n@nightLinkTextColor: #84868b;\n@nightWhiteColor: #f0f0f0;\n@nightButtonBg: #1e1e1e;\n@nightButtonHoverColor: #84868b;\n@nightLineColor: #84868b;\n\n.container_night {\n background-color: @nightBgColor;\n\n .el-main {\n background-color: @nightBgColor;\n }\n\n .CodeMirror {\n caret-color: @nightFontColor;\n color: @nightFontColor;\n background-color: @nightCodeMirrorColor;\n box-shadow: inset 0 0 0 1px rgba(100, 37, 37, 0.102);\n }\n\n .output_night {\n .preview {\n background-color: @nightPreviewColor;\n box-shadow: 0 0 70px rgba(0, 0, 0, 0.3);\n }\n\n .preview-wrapper {\n background-color: @nightCodeMirrorColor;\n box-shadow: inset 0 0 0 1px rgba(233, 231, 231, 0.102);\n }\n\n .code-snippet__fix {\n background-color: rgb(238, 238, 238);\n }\n }\n\n .cm-s-style-mirror .CodeMirror-matchingbracket {\n color: @nightWhiteColor !important;\n background: rgb(30, 30, 30) !important;\n }\n\n .cm-s-xq-light span.cm-variable-2,\n .cm-s-style-mirror span.cm-tag {\n color: @nightFontColor;\n }\n\n .cm-s-xq-light .CodeMirror-activeline-background {\n background-color: transparent;\n }\n\n .cm-s-xq-light span.cm-string {\n color: @nightLinkColor;\n }\n\n .cm-s-xq-light span.cm-link {\n color: @nightLinkTextColor;\n }\n\n .editor__header {\n background-color: @nightHeaderColor;\n }\n\n .el-button {\n color: @nightWhiteColor;\n background-color: @nightCodeMirrorColor;\n border: 1px solid transparent;\n }\n\n .el-button.is-plain:focus,\n .el-button.is-plain:hover {\n background: @nightButtonBg;\n color: @nightWhiteColor;\n border: 1px solid @nightWhiteColor;\n\n i {\n color: @nightWhiteColor;\n }\n }\n\n .insert__dialog,\n .about__dialog,\n .reset__dialog,\n .upload__dialog {\n .el-dialog {\n background-color: @nightBgColor;\n }\n\n .el-dialog__body {\n color: @nightWhiteColor;\n }\n\n .el-dialog__title,\n .el-form-item__label {\n color: @nightWhiteColor;\n }\n\n .el-tabs__item {\n color: @nightActiveCodeMirrorColor;\n }\n\n .el-tabs__nav-wrap::after {\n background-color: @nightLineColor;\n }\n\n .is-active {\n color: @nightWhiteColor;\n }\n\n .el-upload-dragger {\n background-color: @nightButtonBg;\n }\n }\n\n ::v-deep .el-icon-upload,\n .el-icon-download,\n .el-icon-refresh,\n .el-icon-s-grid,\n .el-icon-document {\n color: @nightWhiteColor;\n }\n\n ::-webkit-scrollbar {\n background-color: @nightCodeMirrorColor;\n }\n}\n\n.CodeMirror {\n padding-bottom: 0;\n height: 100% !important;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);\n font-size: 14px;\n font-family: \"PingFang SC\", BlinkMacSystemFont, Roboto, \"Helvetica Neue\",\n sans-serif !important;\n}\n\n.CodeMirror-vscrollbar:focus {\n outline: none;\n}\n\n.CodeMirror-scroll {\n padding: 0 20px;\n overflow-x: hidden !important;\n overflow-y: scroll !important;\n}\n\n.CodeMirror-vscrollbar {\n width: 0px;\n height: 0px;\n}\n\n.CodeMirror-wrap {\n padding-top: 20px;\n padding-bottom: 20px;\n box-sizing: border-box;\n}\n","/*wechat code block*/\n.rich_media_content .code-snippet *,\n.rich_media_content .code-snippet__wechat * {\n max-width: 1000% !important;\n}\n\n.code-snippet__wechat {\n word-wrap: break-word !important;\n font-size: 14px;\n margin: 10px 8px;\n color: #333;\n position: relative;\n background-color: rgba(27, 31, 35, 0.05);\n border: 1px solid #f0f0f0;\n border-radius: 2px;\n display: flex;\n line-height: 24px;\n}\n\n.code-snippet__wechat .code-snippet__line-index {\n counter-reset: line;\n flex-shrink: 0;\n height: 100%;\n padding: 1em;\n list-style-type: none;\n}\n\n.code-snippet__wechat .code-snippet__line-index li {\n list-style-type: none;\n text-align: right;\n}\n\n.code-snippet__wechat .code-snippet__line-index li::before {\n min-width: 1.5em;\n text-align: right;\n left: -2.5em;\n counter-increment: line;\n content: counter(line);\n display: inline;\n color: rgba(0, 0, 0, 0.15);\n}\n\n.code-snippet__wechat pre {\n overflow-x: auto;\n padding: 1em 1em 1em 1em;\n white-space: normal;\n flex: 1;\n -webkit-overflow-scrolling: touch;\n}\n\n.code-snippet__wechat code {\n text-align: left;\n font-size: 14px;\n white-space: pre;\n display: flex;\n position: relative;\n font-family: Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n}\n\n.code-snippet__wechat ul li {\n list-style: none;\n}\n","@import url(\"../github-v2.min.css\");\n/*github code block*/\n.code-snippet__github {\n display: flex;\n font-size: 12px;\n margin: 10px 8px;\n position: relative;\n height: auto;\n background-color: #f7f7f7;\n border-radius: 8px;\n\n .code-snippet__line-index {\n display: none;\n }\n\n .code__pre {\n display: grid;\n position: relative;\n counter-reset: line;\n overflow-x: auto;\n padding: 1em;\n white-space: normal;\n flex: 1;\n line-height: 20px;\n font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;\n -webkit-overflow-scrolling: touch;\n }\n\n pre {\n display: inline-block;\n font-size: 12px;\n }\n\n code {\n display: flex;\n position: relative;\n padding-right: 8px;\n text-align: left;\n white-space: pre;\n font-family: Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n &::before {\n display: none;\n }\n }\n\n ul li {\n list-style: none;\n }\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* 每个页面公共css */\n@import url(\"./assets/less/style-mirror.css\");\n@import url(\"./assets/less/theme.less\");\n@import url(\"./assets/less/code-theme.less\");\n::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n background-color: #fff;\n}\n\n::-webkit-scrollbar-track {\n border-radius: 6px;\n background-color: rgba(200, 200, 200, 0.3);\n}\n\n::-webkit-scrollbar-thumb {\n border-radius: 6px;\n background-color: rgba(144, 146, 152, 0.5);\n transition: background-color 0.3s;\n}\n\n::-webkit-scrollbar-thumb:hover {\n background-color: rgba(144, 146, 152, 0.5);\n}\n/* CSS-hints */\n.CodeMirror-hints {\n position: absolute;\n z-index: 10;\n overflow: hidden;\n list-style: none;\n\n margin: 0;\n padding: 2px;\n\n border-radius: 4px;\n background-color: #ffffff;\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n min-width: 200px;\n font-size: 12px;\n font-family: monospace;\n\n max-height: 20em;\n overflow-y: auto;\n color: #333333;\n}\n\n.CodeMirror-hint {\n margin: 0;\n margin-top: 10px;\n padding: 4px 6px;\n border-radius: 2px;\n white-space: pre;\n color: black;\n cursor: pointer;\n}\n.CodeMirror-hint:first-of-type {\n margin-top: 0;\n}\n.CodeMirror-hint:hover {\n background: #f0f0f0;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n.loading-wrapper {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n}\n.loading {\n text-align: center;\n position: fixed;\n width: 100%;\n height: 100%;\n overflow: hidden;\n z-index: 99999;\n background-color: #f2f2f2;\n}\n\n.loading_night {\n background-color: #303133;\n}\n\n.loading-text {\n font-size: 18px;\n font-weight: bold;\n margin-top: 26px;\n color: #303133;\n}\n\n.loading-anim {\n display: inline-block;\n width: 100px;\n height: 100px;\n background: url(\"../assets/images/favicon.png\") no-repeat;\n background-size: cover;\n}\n",".loading-wrapper {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n}\n.loading {\n text-align: center;\n position: fixed;\n width: 100%;\n height: 100%;\n overflow: hidden;\n z-index: 99999;\n background-color: #f2f2f2;\n}\n.loading_night {\n background-color: #303133;\n}\n.loading-text {\n font-size: 18px;\n font-weight: bold;\n margin-top: 26px;\n color: #303133;\n}\n.loading-anim {\n display: inline-block;\n width: 100px;\n height: 100px;\n background: url(\"../assets/images/favicon.png\") no-repeat;\n background-size: cover;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/deep/ .el-dialog {\n min-width: 440px;\n}\n.reset__dialog {\n text-align: center;\n}\n\n.text {\n text-align: center;\n}\n\n.dialog-footer {\n text-align: center;\n}\n"," /deep/ .el-dialog {\n min-width: 440px;\n}\n.reset__dialog {\n text-align: center;\n}\n.text {\n text-align: center;\n}\n.dialog-footer {\n text-align: center;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.editor__header {\n width: 100%;\n}\n.header__item {\n margin: 0 3px;\n}\n.header__item_last {\n margin-right: 8px;\n}\n.header__switch {\n margin-left: 8px;\n}\n.mode__switch {\n margin-left: 24px;\n margin-right: 24px;\n width: 24px;\n height: 24px;\n background: url(\"../../assets/images/night.png\") no-repeat;\n background-size: cover;\n transition: all 0.3s;\n}\n.mode__switch_black {\n background: url(\"../../assets/images/light.png\") no-repeat;\n background-size: cover;\n}\n.top {\n height: 60px;\n padding: 10px 20px;\n display: flex;\n align-items: center;\n margin-right: 0;\n}\n.el-select {\n margin-right: 12px;\n}\n.left-side {\n display: flex;\n align-items: center;\n flex: 1;\n}\n.right-side {\n display: flex;\n align-items: center;\n}\n\n/*\n.preview table tr:nth-child(even){\n background: rgb(250, 250, 250);\n}\n */\n.select-item-left {\n float: left;\n}\n\n.select-item-right {\n float: right;\n color: #8492a6;\n font-size: 13px;\n}\n",".editor__header {\n width: 100%;\n}\n.header__item {\n margin: 0 3px;\n}\n.header__item_last {\n margin-right: 8px;\n}\n.header__switch {\n margin-left: 8px;\n}\n.mode__switch {\n margin-left: 24px;\n margin-right: 24px;\n width: 24px;\n height: 24px;\n background: url(\"../../assets/images/night.png\") no-repeat;\n background-size: cover;\n transition: all 0.3s;\n}\n.mode__switch_black {\n background: url(\"../../assets/images/light.png\") no-repeat;\n background-size: cover;\n}\n.top {\n height: 60px;\n padding: 10px 20px;\n display: flex;\n align-items: center;\n margin-right: 0;\n}\n.el-select {\n margin-right: 12px;\n}\n.left-side {\n display: flex;\n align-items: center;\n flex: 1;\n}\n.right-side {\n display: flex;\n align-items: center;\n}\n/*\n.preview table tr:nth-child(even){\n background: rgb(250, 250, 250);\n}\n */\n.select-item-left {\n float: left;\n}\n.select-item-right {\n float: right;\n color: #8492a6;\n font-size: 13px;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/deep/ .el-dialog {\n min-width: 420px;\n}\n"," /deep/ .el-dialog {\n min-width: 420px;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/deep/ .el-dialog {\n width: 55%;\n min-height: 375px;\n min-width: 440px;\n}\n.tb-options {\n margin-bottom: 20px;\n}\n\n.input-table ::v-deep .el-input__inner {\n border-radius: 0;\n}\n\n.head-style /deep/ .el-input__inner {\n background-color: #f2f2f2;\n}\n"," /deep/ .el-dialog {\n width: 55%;\n min-height: 375px;\n min-width: 440px;\n}\n.tb-options {\n margin-bottom: 20px;\n}\n.input-table ::v-deep .el-input__inner {\n border-radius: 0;\n}\n.head-style /deep/ .el-input__inner {\n background-color: #f2f2f2;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.menu {\n position: absolute;\n border-radius: 4px;\n background-color: #ffffff;\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n z-index: 9999;\n}\n\n.menu_item {\n margin-top: 10px;\n min-width: 200px;\n font-size: 12px;\n line-height: 20px;\n color: #333333;\n cursor: pointer;\n &:first-of-type {\n margin-top: 0;\n }\n &:hover {\n background: #f0f0f0;\n }\n span,\n .btn-upload {\n display: inline-block;\n padding: 4px 0;\n padding-left: 24px;\n width: 100%;\n }\n .btn-upload {\n margin: 0;\n border: none;\n outline: none;\n background: transparent;\n }\n .btn-upload:hover {\n background: #aaaaaa;\n }\n ::v-deep .el-upload {\n width: 100%;\n }\n}\n\n.menu__group {\n padding-top: 6px;\n padding-bottom: 6px;\n border-bottom: 1px solid #eeeeee;\n &:last-of-type {\n border-bottom: none;\n }\n}\n\nli:hover {\n background-color: #1790ff;\n}\n\nli {\n font-size: 15px;\n list-style: none;\n}\n",".menu {\n position: absolute;\n border-radius: 4px;\n background-color: #ffffff;\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n z-index: 9999;\n}\n.menu_item {\n margin-top: 10px;\n min-width: 200px;\n font-size: 12px;\n line-height: 20px;\n color: #333333;\n cursor: pointer;\n}\n.menu_item:first-of-type {\n margin-top: 0;\n}\n.menu_item:hover {\n background: #f0f0f0;\n}\n.menu_item span,\n.menu_item .btn-upload {\n display: inline-block;\n padding: 4px 0;\n padding-left: 24px;\n width: 100%;\n}\n.menu_item .btn-upload {\n margin: 0;\n border: none;\n outline: none;\n background: transparent;\n}\n.menu_item .btn-upload:hover {\n background: #aaaaaa;\n}\n.menu_item ::v-deep .el-upload {\n width: 100%;\n}\n.menu__group {\n padding-top: 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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/deep/ .el-dialog {\n width: 55%;\n min-height: 615px;\n min-width: 640px;\n}\n/deep/ .el-upload-dragger {\n display: flex;\n flex-flow: column;\n justify-content: center;\n width: 500px;\n height: 360px;\n .el-icon-upload {\n margin-top: 0;\n }\n}\n/deep/ .el-dialog__body {\n padding-bottom: 50px;\n}\n.upload-panel {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n .el-select {\n align-self: flex-end;\n margin: 0 67.75px 20px;\n width: 100px;\n }\n}\n\n.github-panel {\n display: flex;\n justify-content: center;\n}\n\n.setting-form {\n width: 100%;\n\n .el-form-item {\n margin: 15px;\n }\n\n .el-form-item:last-child {\n text-align: right;\n }\n}\n"," /deep/ .el-dialog {\n width: 55%;\n min-height: 615px;\n min-width: 640px;\n}\n /deep/ .el-upload-dragger {\n display: flex;\n flex-flow: column;\n justify-content: center;\n width: 500px;\n height: 360px;\n}\n /deep/ .el-upload-dragger .el-icon-upload {\n margin-top: 0;\n}\n /deep/ .el-dialog__body {\n padding-bottom: 50px;\n}\n.upload-panel {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n}\n.upload-panel .el-select {\n align-self: flex-end;\n margin: 0 67.75px 20px;\n width: 100px;\n}\n.github-panel {\n display: flex;\n justify-content: center;\n}\n.setting-form {\n width: 100%;\n}\n.setting-form .el-form-item {\n margin: 15px;\n}\n.setting-form .el-form-item:last-child {\n text-align: right;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.editor__header {\n padding: 0;\n}\n","@import url(\"../../../assets/less/github-v2.min.css\");\n* {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n}\ninput,\nbutton,\ntextarea {\n font-family: inherit;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-weight: normal;\n}\nem {\n font-style: normal !important;\n}\nhtml,\nbody {\n height: 100%;\n font-family: \"PingFang SC\", BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif;\n}\n.el-message__icon {\n display: none;\n}\n.container {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n.web-title {\n margin: 0 15px 0 5px;\n}\n.web-icon {\n width: auto;\n height: 1.5rem;\n vertical-align: middle;\n}\n#editor {\n height: 100%;\n display: block;\n border: none;\n width: 100%;\n padding: 10px;\n}\nsection {\n height: 100%;\n}\n.main-body {\n display: flex;\n flex-direction: column;\n padding-top: 0;\n}\n.ctrl {\n flex-basis: 60px;\n flex-grow: 1;\n flex-shrink: 1;\n display: flex;\n align-items: center;\n}\n.preview-wrapper {\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);\n padding: 0;\n align-items: center;\n justify-content: center;\n display: flex;\n word-break: break-all;\n overflow-y: scroll;\n}\n.main-section {\n display: flex;\n height: 100%;\n}\n.hint {\n opacity: 0.6;\n margin: 20px 0;\n}\n.preview {\n position: relative;\n margin: 0 -20px;\n width: 375px;\n padding: 20px;\n font-size: 14px;\n box-sizing: border-box;\n outline: none;\n box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);\n}\n.preview table {\n margin-bottom: 10px;\n border-collapse: collapse;\n display: table;\n width: 100% !important;\n}\n/* ele ui */\n.el-form-item {\n margin-bottom: 0 !important;\n}\n.el-tooltip {\n cursor: pointer;\n}\nuni-page-body,\nuni-page-refresh {\n display: block;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.main-body {\n padding-top: 12px;\n overflow: hidden;\n}\n.el-main {\n transition: all 0.3s;\n padding: 0;\n margin: 20px;\n margin-top: 0;\n}\n.container {\n transition: all 0.3s;\n}\n.textarea-wrapper {\n height: 100%;\n}\n.preview-wrapper_night {\n overflow-y: inherit;\n position: relative;\n left: -3px;\n .preview {\n background-color: #fff;\n }\n}\n#output-wrapper {\n position: relative;\n user-select: text;\n}\n.loading-mask {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 376px;\n height: 101%;\n padding-top: 1px;\n font-size: 15px;\n color: gray;\n background-color: #1e1e1e;\n .loading__img {\n position: absolute;\n left: 50%;\n top: 330px;\n width: 50px;\n height: 50px;\n transform: translate(-50%, -50%);\n background: url(\"../../../assets/images/favicon.png\") no-repeat;\n background-size: cover;\n }\n span {\n position: absolute;\n left: 50%;\n top: 390px;\n transform: translate(-50%, -50%);\n }\n}\n.bounceInRight {\n animation-name: bounceInRight;\n animation-duration: 1s;\n animation-fill-mode: both;\n}\n/deep/ .preview-table {\n border-spacing: 0px;\n}\n\n@keyframes bounceInRight {\n 0%,\n 60%,\n 75%,\n 90%,\n 100% {\n transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n 0% {\n opacity: 0;\n transform: translate3d(3000px, 0, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(-25px, 0, 0);\n }\n 75% {\n transform: translate3d(10px, 0, 0);\n }\n 90% {\n transform: translate3d(-5px, 0, 0);\n }\n 100% {\n transform: none;\n }\n}\n","* {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n}\n\ninput,\nbutton,\ntextarea {\n font-family: inherit;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-weight: normal;\n}\n\nem {\n font-style: normal !important;\n}\n\nhtml,\nbody {\n height: 100%;\n font-family: \"PingFang SC\", BlinkMacSystemFont, Roboto, \"Helvetica Neue\",\n sans-serif;\n}\n\n.el-message__icon {\n display: none;\n}\n\n.container {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n\n.web-title {\n margin: 0 15px 0 5px;\n}\n\n.web-icon {\n width: auto;\n height: 1.5rem;\n vertical-align: middle;\n}\n\n#editor {\n height: 100%;\n display: block;\n border: none;\n width: 100%;\n padding: 10px;\n}\n\nsection {\n height: 100%;\n}\n\n.main-body {\n display: flex;\n flex-direction: column;\n padding-top: 0;\n}\n\n.ctrl {\n flex-basis: 60px;\n flex-grow: 1;\n flex-shrink: 1;\n display: flex;\n align-items: center;\n}\n\n.preview-wrapper {\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);\n padding: 0;\n align-items: center;\n justify-content: center;\n display: flex;\n word-break: break-all;\n overflow-y: scroll;\n}\n\n.main-section {\n display: flex;\n height: 100%;\n}\n\n.hint {\n opacity: 0.6;\n margin: 20px 0;\n}\n\n.preview {\n position: relative;\n margin: 0 -20px;\n width: 375px;\n padding: 20px;\n font-size: 14px;\n box-sizing: border-box;\n outline: none;\n box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);\n}\n\n.preview table {\n margin-bottom: 10px;\n border-collapse: collapse;\n display: table;\n width: 100% !important;\n}\n\n/* ele ui */\n.el-form-item {\n margin-bottom: 0 !important;\n}\n\n.el-tooltip {\n cursor: pointer;\n}\n\nuni-page-body,\nuni-page-refresh {\n display: block;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n}\n","\n\n\n\n\n"]} \ No newline at end of file diff --git a/index.html b/index.html index 8b7307b..edd0ce0 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -微信 Markdown 编辑器 | Doocs 开源社区
\ No newline at end of file +微信 Markdown 编辑器 | Doocs 开源社区
\ No newline at end of file diff --git a/js/app.55eacff9.js b/js/app.55eacff9.js deleted file mode 100644 index 69ffcd5..0000000 --- a/js/app.55eacff9.js +++ /dev/null @@ -1,4 +0,0 @@ -(function(e){function t(t){for(var n,a,c=t[0],s=t[1],l=t[2],d=0,f=[];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){o.opts=s(o.opts,e)},this.hasFootnotes=function(){return 0!==r.length},this.getRenderer=function(e){r=[],i=0,a=o.buildTheme(o.opts.theme);var t=new g.a.Renderer;return t.heading=function(e,t){switch(t){case 1:return"

").concat(e,"

");case 2:return"

").concat(e,"

");case 3:return"

").concat(e,"

");default:return"

").concat(e,"

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

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

")),"

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

").concat(e,"

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

")},t.image=function(e,t,o){var r="";o&&(r="
").concat(o,"
"));var i=l("figure"),a=l(n?"image":"image_org");return"
').concat(o,'').concat(r,"
")},t.link=function(t,o,n){if(t.startsWith("https://mp.weixin.qq.com"))return'").concat(n,"");if(t===n)return n;if(e){var r=u(o||n,t);return"").concat(n,"[").concat(r,"]")}return"").concat(n,"")},t.strong=function(e){return"").concat(e,"")},t.em=function(e){return''.concat(e,"")},t.table=function(e,t){return'
").concat(e,"").concat(t,"
")},t.tablecell=function(e,t){return"").concat(e,"")},t.hr=function(){return'
'},t}},b=h,v=o("56b3"),C=o.n(v),k='# 示例文章:Google 搜索的即时自动补全功能究竟是如何“工作”的?\n> Google 搜索**自动补全功能**的强大,相信不少朋友都能感受到,它帮助我们更快地“补全”我们所要输入的搜索关键字。那么,它怎么知道我们要输入什么内容?它又是如何工作的?在这篇文章里,我们一起来看看。\n\n## 使用自动补全\nGoogle 搜索的自动补全功能可以在 Google 搜索应用的大多数位置使用,包括 [Google](https://www.google.com/) 主页、适用于 IOS 和 Android 的 Google 应用,我们只需要在 Google 搜索框上开始键入关键字,就可以看到联想词了。\n\n![](https://gitee.com/yanglbme/resource/raw/master/doocs-md/juejin.gif)\n\n在上图示例中,我们可以看到,输入关键字 `juej`,Google 搜索会联想到“掘金”、“掘金小册”、“绝句”等等,好处就是,我们无须输入完整的关键字即可轻松完成针对这些 topics 的搜索。\n\n谷歌搜索的自动补全功能对于使用移动设备的用户来说特别有用,用户可以轻松在难以键入的小屏幕上完成搜索。当然,对于移动设备用户和台式机用户而言,这都节省了大量的时间。根据 Google 官方报告,自动补全功能可以减少大约 25% 的打字,累积起来,预计每天可以节省 200 多年的打字时间。是的,每天!\n\n> 注意,本文所提到的“**联想词**”与“**预测**”,是同一个意思。\n\n## 基于“预测”而非“建议”\nGoogle 官方将自动补全功能称之为“预测”,而不是“建议”,为什么呢?其实是有充分理由的。自动补全功能是为了**帮助用户完成他们打算进行的搜索**,而不是建议用户要执行什么搜索。\n\n那么,Google 是如何确定这些“预测”的?其实,Google 会根据趋势搜索 [trends](https://trends.google.com/trends/?geo=US) 给到我们这些“预测”。简单来说,哪个热门、哪个搜索频率高,就更可能推给我们。当然,这也与我们当前所处的位置以及我们的搜索历史相关。\n\n另外,这些“预测”也会随着我们键入的关键字的变更而更改。例如,当我们把键入的关键字从 `juej` 更改为 `juex` 时,与“掘金”相关的预测会“消失”,同时,与“觉醒”、“决心”相关联的词会出现。\n\n![](https://gitee.com/yanglbme/resource/raw/master/doocs-md/juex.gif)\n\n## 为什么看不到某些联想词?\n如果我们在输入某个关键字时看不到联想词,那么表明 Google 的算法可能检测到:\n\n- 这个关键字不是热门字词;\n- 搜索的字词太新了,我们可能需要等待几天或几周才能看到联想词;\n- 这是一个侮辱性或敏感字词,这个搜索字词违反了 Google 的相关政策。更加详细的情况,可以了解 [Google 搜索自动补全政策](https://support.google.com/websearch/answer/7368877)。\n\n## 为什么会看到某些不当的联想词?\nGoogle 拥有专门设计的系统,可以自动捕获不适当的预测结果而不显示出来。然而,Google 每天需要处理数十亿次搜索,这意味着 Google 每天会显示数十亿甚至上百亿条预测。再好的系统,也可能存在缺陷,不正确的预测也可能随时会出现。\n\n我们作为 Google 搜索的用户,如果认定某条预测违反了相关的搜索自动补全政策,可以进行举报反馈,点击右下角“**举报不当的联想查询**”并勾选相关选项即可。\n\n![](https://gitee.com/yanglbme/resource/raw/master/doocs-md/report.gif)\n\n## 如何实现自动补全算法?\n目前,Google 官方似乎并没有公开搜索自动补全的算法实现,但是业界在这方面已经有了不少研究。\n\n一个好的自动补全器必须是快速的,并且在用户键入下一个字符后立即更新联想词列表。**自动补全器的核心是一个函数,它接受输入的前缀,并搜索以给定前缀开头的词汇或语句列表**。通常来说,只需要返回少量的数目即可。\n\n接下来,我们先从一个简单且低效的实现开始,并在此基础上逐步构建更高效的方法。\n\n### 词汇表实现\n一个**简单粗暴的实现方式**是:顺序查找词汇表,依次检查每个词汇,看它是否以给定的前缀开头。\n\n但是,此方法需要将前缀与每个词汇进行匹配检查,若词汇量较少,这种方式可能勉强行得通。但是,如果词汇量规模较大,效率就太低了。\n\n一个**更好的实现方式是**:让词汇按字典顺序排序。借助二分搜索算法,可以快速搜索有序词汇表中的前缀。由于二分搜索的每一步都会将搜索的范围减半,因此,总的搜索时间与词汇表中单词数量的对数成正比,即时间复杂度是 `O(log N)`。二分搜索的性能很好,但有没有更好的实现呢?当然有,往下看。\n\n### 前缀树实现\n通常来说,许多词汇都以相同的前缀开头,比如 `need`、`nested` 都以 `ne` 开头,`seed`、`speed` 都以 `s` 开头。要是为每个单词分别存储公共前缀似乎很浪费。\n\n![](https://gitee.com/yanglbme/resource/raw/master/doocs-md/pretree.png)\n\n前缀树是一种利用公共前缀来加速补全速度的数据结构。前缀树在节点树中排列一组单词,单词沿着从根节点到叶子节点的路径存储,树的层次对应于前缀的字母位置。\n\n前缀的补全是顺着前缀定义的路径来查找的。例如,在上图的前缀树中,前缀 `ne` 对应于从子节点取左边缘 `N` 和唯一边缘 `E` 的路径。然后可以通过继续遍历从 `E` 节点可以达到的所有叶节点来生成补全列表。在图中,`ne` 的补全可以是两个分支:`-ed` 和 `-sted`。如果在数中找不到由前缀定义的路径,则说明词汇表中不包含以该前缀开头的单词。\n\n### 有限状态自动机(DFA)实现\n前缀树可以有效处理公共前缀,但是,对于其他共享词部分,仍会分别存储在每个分支中。比如,后缀 `ed`、`ing`、`tion` 在英文单词中特别常见。在上一个例子中,`e`、`d` 分别存放在了每一个分支上。\n\n有没有一种方法可以更加节省存储空间呢?有的,那就是 DFA。\n\n
\n
\n\n在上面的例子中,单词 `need`、`nested`、`seed` 和 `speed` 仅由 9 个节点组成,而上一张图中的前缀树包含了 17 个节点。\n\n可以看出,最小化前缀树 DFA 可以在很大程度上减少数据结构的大小。即使词汇量很大,最小化 DFA 通常也适合在内存中存储,避免昂贵的磁盘访问是实现快速自动补全的关键。\n\n### 一些扩展\n上面介绍了如何利用合理的数据结构实现基本的自动补全功能。这些数据结构可以通过多种方式进行扩展,从而改善用户体验。\n\n通常,满足特定前缀的词汇可能很多,而用户界面上能够显示的却不多,我们更希望能显示最常搜索或者最有价值的词汇。这通常可以通过为词汇表中的每个单词增加一个代表单词值的**权重** `weight`,并且按照权重高低来排序自动补全列表。\n\n- 对于排序后的词汇表来说,在词汇表每个元素上增加 `weight` 属性并不难;\n- 对于前缀树来说,将 `weight` 存储在叶子节点中,也是很简单的一个实现;\n- 对于 `DFA` 来说,则较为复杂。因为一个叶子节点可以通过多条路径到达。一种解决方案是将权重关联到路径而不是叶子节点。\n\n目前有不少开源库都提供了这个功能,比如主流的搜索引擎框架 [Elasticsearch](https://www.elastic.co/products/elasticsearch)、[Solr](https://lucene.apache.org/solr/) 等,基于此,我们可以实现高效而强大的自动补全功能。\n\n#### 推荐阅读\n- [阿里又一个 20k+ stars 开源项目诞生,恭喜 fastjson!](https://mp.weixin.qq.com/s/RNKDCK2KoyeuMeEs6GUrow)\n- [刷掉 90% 候选人的互联网大厂海量数据面试题(附题解 + 方法总结)](https://mp.weixin.qq.com/s/rjGqxUvrEqJNlo09GrT1Dw)\n- [好用!期待已久的文本块功能究竟如何在 Java 13 中发挥作用?](https://mp.weixin.qq.com/s/kalGv5T8AZGxTnLHr2wDsA)\n- [2019 GitHub 开源贡献排行榜新鲜出炉!微软谷歌领头,阿里跻身前 12!](https://mp.weixin.qq.com/s/_q812aGD1b9QvZ2WFI0Qgw)\n\n---\n\n欢迎关注我的公众号“**Doocs开源社区**”,原创技术文章第一时间推送。\n\n
\n \n
\n\n',y=k,S="/*\n 按Ctrl+F可格式化\n*/\n/* 一级标题样式 */\nh1 {\n}\n/* 二级标题样式 */\nh2 {\n}\n/* 三级标题样式 */\nh3 {\n}\n/* 四级标题样式 */\nh4 {\n}\n/* 图片样式 */\nimage {\n}\n/* 引用样式 */\nblockquote {\n}\n/* 引用段落样式 */\nblockquote_p {\n}\n/* 段落样式 */\np {\n}\n/* 行内代码样式 */\ncodespan {\n}\n/* 粗体样式 */\nstrong {\n}\n/* 链接样式 */\nlink {\n}\n/* 微信链接样式 */\nwx_link {\n}\n/* 有序列表样式 */\nol {\n}\n/* 无序列表样式 */\nul {\n}\n/* 列表项样式 */\nli {\n}\n",x=S,w=o("3835"),O=(o("4160"),o("159b"),o("498a"),o("4de4"),o("b64b"),o("fb6a"),o("d3b7"),o("3ca3"),o("ddb0"),o("2b3d"),o("a630"),o("caad"),o("2532"),o("4fad"),{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":"8px",color:"rgba(0,0,0,0.5)",background:"#f7f7f7",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":"8px",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("325b"),T=o.n(_),E=o("4fc3"),$=o.n(E),I=o("d238"),M=o.n(I);function j(e){return function(t){var o=JSON.parse(JSON.stringify(e));return o.block.h1["border-bottom"]="2px solid ".concat(t),o.block.h2["background"]=t,o.block.h3["border-left"]="3px solid ".concat(t),o.block.h4["color"]=t,o.inline.strong["color"]=t,o}}var R=function(e,t){var o=JSON.parse(JSON.stringify(e));return o.block.h1["border-bottom"]="2px solid ".concat(t),o.block.h2["background"]=t,o.block.h3["border-left"]="3px solid ".concat(t),o.block.h4["color"]=t,o.inline.strong["color"]=t,o};function A(e){return function(t){var o=JSON.parse(JSON.stringify(e));return o.block.h1["font-size"]="".concat(1.14*t,"px"),o.block.h2["font-size"]="".concat(1.1*t,"px"),o.block.h3["font-size"]="".concat(t,"px"),o.block.h4["font-size"]="".concat(t,"px"),o}}var G=j(O),H=A(O);function z(e,t,o){var n=JSON.parse(JSON.stringify(o));return n.block.h1["border-bottom"]="2px solid ".concat(t),n.block.h2["background"]=t,n.block.h3["border-left"]="3px solid ".concat(t),n.block.h4["color"]=t,n.inline.strong["color"]=t,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.block.ul=Object.assign(n.block.ul,e.ul),n.block.ol=Object.assign(n.block.ol,e.ol),n.inline.listitem=Object.assign(n.inline.listitem,e.li),n}function N(e){var t,o;while(-1!==(t=e.indexOf("/*"))&&-1!==(o=e.indexOf("*/")))e=e.substring(0,t)+e.substring(o+2);var n={},r=function(){var t=e.indexOf("{"),o=e.indexOf("}");function r(e){var t={};return e.forEach((function(e){var o=e.indexOf(":"),n=e.substring(0,o).trim(),r=e.substring(o+1).trim();t[n]=r})),t}var i=e.substring(t+1,o).split(";").map((function(e){return e.trim()})).filter((function(e){return e.length>0}));i=r(i);var a=e.substring(0,t).split(",").map((function(e){return e.trim()}));a.forEach((function(e){n[e]||(n[e]={}),Object.keys(i).forEach((function(t){n[e][t]=i[t]}))})),e=e.slice(o+1).trim()};while(e.length>0&&-1!==e.indexOf("{")&&-1!==e.indexOf("}"))r();return n}function q(e,t){var o=e.getValue(0);o?localStorage.setItem(t,o):localStorage.removeItem(t)}function D(e){var t=T.a.format(e,{parser:"markdown",plugins:[$.a]});return t}function V(e){var t=T.a.format(e,{parser:"css",plugins:[M.a]});return t}function F(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pre",t=document.getElementsByClassName("code__pre");t.length>0&&t.forEach((function(t){t.style.whiteSpace=e}))}function K(e){var t=document.createElement("a");t.download="content.md",t.style.display="none";var o=new Blob([e]);t.href=URL.createObjectURL(o),document.body.appendChild(t),t.click(),document.body.removeChild(t)}function L(){var e=document.querySelector("#output");r(e);var t=e.innerHTML,o=document.createElement("a");o.download="content.html",o.style.display="none";var n=new Blob(['
'.concat(t,"
")]);function r(e){switch(!0){case t(e):case o(e):case n(e):case i(e):e.setAttribute("style",U(e));default:}function t(e){return"SECTION"===e.tagName&&Array.from(e.classList).includes("code-snippet__github")}function o(e){return"PRE"===e.tagName&&Array.from(e.classList).includes("code__pre")}function n(e){return"CODE"===e.tagName&&Array.from(e.classList).includes("prettyprint")}function i(e){return"SPAN"===e.tagName&&(n(e.parentElement)||n(e.parentElement.parentElement))}e.children.length&&Array.from(e.children).forEach((function(e){return r(e)}))}o.href=URL.createObjectURL(n),document.body.appendChild(o),o.click(),document.body.removeChild(o)}function B(e){for(var t=e.data,o=e.rows,n=e.cols,r="",i=[],a=0;a1?a-1:a;1===a?i.push("---\t"):i.push(t["k_".concat(s,"_").concat(c)]||"")}r+=i.join("\t|\t"),r+="\t|\n"}return r}var P=function(e){return new Promise((function(t,o){var n=new FileReader;n.readAsDataURL(e),n.onload=function(){return t(n.result.split(",").pop())},n.onerror=function(e){return o(e)}}))};function Q(e){var t=/\.(gif|jpg|jpeg|png|GIF|JPG|PNG)$/.test(e.name);if(!t)return{ok:!1,msg:"请上传 JPG/PNG/GIF 格式的图片"};var o=5,n=e.size/1024/1024<=o;return n?{ok:!0}:{ok:!1,msg:"由于公众号限制,图片大小不能超过 ".concat(o,"M")}}function U(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["width","height"],o=getComputedStyle(e,null);return Object.entries(o).filter((function(e){var n=Object(w["a"])(e,1),r=n[0];return o.getPropertyValue(r)&&!t.includes(r)})).map((function(e){var t=Object(w["a"])(e,2),o=t[0],n=t[1];return"".concat(o,":").concat(n,";")})).join("")}r["default"].use(d["a"]);var J={wxRenderer:null,output:"",html:"",editor:null,cssEditor:null,currentFont:"",currentSize:"",currentColor:"",citeStatus:0,nightMode:!1,codeTheme:"github",rightClickMenuVisible:!1},W={setEditorValue:function(e,t){e.editor.setValue(t)},setCssEditorValue:function(e,t){e.cssEditor.setValue(t)},setWxRendererOptions:function(e,t){e.wxRenderer.setOptions(t)},setCiteStatus:function(e,t){e.citeStatus=t,localStorage.setItem("citeStatus",t)},setCurrentFont:function(e,t){e.currentFont=t,localStorage.setItem("fonts",t)},setCurrentSize:function(e,t){e.currentSize=t,localStorage.setItem("size",t)},setCurrentColor:function(e,t){e.currentColor=t,localStorage.setItem("color",t)},setCurrentCodeTheme:function(e,t){e.codeTheme=t,localStorage.setItem("codeTheme",t)},setRightClickMenuVisible:function(e,t){e.rightClickMenuVisible=t},themeChanged:function(e){e.nightMode=!e.nightMode,localStorage.setItem("nightMode",e.nightMode)},initEditorState:function(e){e.currentFont=localStorage.getItem("fonts")||f.builtinFonts[0].value,e.currentColor=localStorage.getItem("color")||f.colorOption[0].value,e.currentSize=localStorage.getItem("size")||f.sizeOption[2].value,e.codeTheme=localStorage.getItem("codeTheme")||f.codeThemeOption[0].value,e.citeStatus="true"===localStorage.getItem("citeStatus"),e.nightMode="true"===localStorage.getItem("nightMode"),e.wxRenderer=new b({theme:G(e.currentColor),fonts:e.currentFont,size:e.currentSize,status:e.citeStatus})},initEditorEntity:function(e){var t=document.getElementById("editor");t.value||(t.value=localStorage.getItem("__editor_content")||D(y)),e.editor=C.a.fromTextArea(t,{mode:"text/x-markdown",theme:"xq-light",lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,autoCloseBrackets:!0,extraKeys:{"Ctrl-F":function(e){var t=D(e.getValue(0));localStorage.setItem("__editor_content",t),e.setValue(t)},"Ctrl-S":function(e){}}})},initCssEditorEntity:function(e){var t=document.getElementById("cssEditor");t.value||(t.value=localStorage.getItem("__css_content")||x),e.cssEditor=C.a.fromTextArea(t,{mode:"css",theme:"style-mirror",lineNumbers:!1,lineWrapping:!0,matchBrackets:!0,autofocus:!0,extraKeys:{"Ctrl-F":function(e){var t=V(e.getValue(0));localStorage.setItem("__css_content",t),e.setValue(t)},"Ctrl-S":function(e){}}})},editorRefresh:function(e){var t=g()(e.editor.getValue(0),{renderer:e.wxRenderer.getRenderer(e.citeStatus)});t=t.replace(/(style=".*?)"/,'$1;margin-top: 0"'),e.citeStatus&&(t+=e.wxRenderer.buildFootnotes(),t+=e.wxRenderer.buildAddition()),e.output=t},clearEditorToDefault:function(e){var t=D(y);e.editor.setValue(t),e.cssEditor.setValue(x)}},Y=new d["a"].Store({state:J,mutations:W,actions:{}}),Z=o("5c96"),X=o.n(Z);o("0fae");r["default"].component(Z["Message"].name,Z["Message"]),r["default"].prototype.$loading=Z["Loading"].service,r["default"].prototype.$message=Z["Message"];o("a7be"),o("8d7e"),o("7b00"),o("959b"),o("10b2"),o("8c33"),o("31c5"),o("9b74"),o("111b");var ee=o("8c4f"),te=function(){var e=this,t=e.$createElement,o=e._self._c||t;return e.loading?o("transition",{attrs:{name:"fade"}},[o("loading")],1):o("codemirror-editor")},oe=[],ne=o("3a5e"),re=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"container",class:{container_night:e.nightMode}},[o("el-container",[o("el-header",{staticClass:"editor__header"},[o("editor-header",{ref:"header",on:{refresh:e.onEditorRefresh,cssChanged:e.cssChanged,download:e.downloadEditorContent,export:e.exportEditorContent,showCssEditor:function(t){e.showCssEditor=!e.showCssEditor},"show-about-dialog":function(t){e.aboutDialogVisible=!0},"show-dialog-form":function(t){e.dialogFormVisible=!0},"show-dialog-upload-img":function(t){e.dialogUploadImgVisible=!0},startCopy:function(t){e.isCoping=!0,e.backLight=!0},endCopy:e.endCopy}})],1),o("el-main",{staticClass:"main-body"},[o("el-row",{staticClass:"main-section"},[o("el-col",{staticClass:"codeMirror-wrapper",attrs:{span:12},nativeOn:{contextmenu:function(t){return t.preventDefault(),e.openMenu(t)}}},[o("textarea",{directives:[{name:"model",rawName:"v-model",value:e.source,expression:"source"}],attrs:{id:"editor",type:"textarea",placeholder:"Your markdown text here."},domProps:{value:e.source},on:{input:function(t){t.target.composing||(e.source=t.target.value)}}})]),o("el-col",{ref:"preview",staticClass:"preview-wrapper",class:{"preview-wrapper_night":e.nightMode&&e.isCoping},attrs:{span:12,id:"preview"}},[o("section",{class:{output_night:e.nightMode&&!e.backLight},attrs:{id:"output-wrapper"}},[o("div",{staticClass:"preview"},[o("section",{attrs:{id:"output"},domProps:{innerHTML:e._s(e.output)}}),e.nightMode&&e.isCoping?o("div",{staticClass:"loading-mask"},[o("div",{staticClass:"loading__img"}),o("span",[e._v("正在生成")])]):e._e()])])]),o("transition",{attrs:{name:"custom-classes-transition","enter-active-class":"bounceInRight"}},[o("el-col",{directives:[{name:"show",rawName:"v-show",value:e.showCssEditor,expression:"showCssEditor"}],staticClass:"cssEditor-wrapper",attrs:{id:"cssBox",span:12}},[o("textarea",{attrs:{id:"cssEditor",type:"textarea",placeholder:"Your custom css here."}})])],1)],1)],1)],1),o("upload-img-dialog",{on:{close:function(t){e.dialogUploadImgVisible=!1},beforeUpload:e.beforeUpload,uploadImage:e.uploadImage,uploaded:e.uploaded},model:{value:e.dialogUploadImgVisible,callback:function(t){e.dialogUploadImgVisible=t},expression:"dialogUploadImgVisible"}}),o("about-dialog",{model:{value:e.aboutDialogVisible,callback:function(t){e.aboutDialogVisible=t},expression:"aboutDialogVisible"}}),o("insert-form-dialog",{model:{value:e.dialogFormVisible,callback:function(t){e.dialogFormVisible=t},expression:"dialogFormVisible"}}),o("right-click-menu",{attrs:{left:e.mouseLeft,top:e.mouseTop},on:{menuTick:e.onMenuEvent,closeMenu:e.closeRightClickMenu},model:{value:e.rightClickMenuVisible,callback:function(t){e.rightClickMenuVisible=t},expression:"rightClickMenuVisible"}})],1)},ie=[],ae=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("el-container",{staticClass:"top is-dark"},[o("div",{staticClass:"left-side"},[o("el-tooltip",{attrs:{effect:e.effect,content:"上传图片",placement:"bottom-start"}},[o("i",{staticClass:"el-icon-upload",attrs:{size:"medium"},on:{click:function(t){return e.$emit("show-dialog-upload-img")}}})]),o("el-tooltip",{staticClass:"header__item",attrs:{effect:e.effect,content:"导出 Markdown 文档",placement:"bottom-start"}},[o("i",{staticClass:"el-icon-download",attrs:{size:"medium"},on:{click:function(t){return e.$emit("download")}}})]),o("el-tooltip",{staticClass:"header__item",attrs:{effect:e.effect,content:"导出 HTML 页面",placement:"bottom-start"}},[o("i",{staticClass:"el-icon-document",attrs:{size:"medium"},on:{click:function(t){return e.$emit("export")}}})]),o("el-tooltip",{staticClass:"header__item",attrs:{effect:e.effect,content:"重置页面",placement:"bottom-start"}},[o("i",{staticClass:"el-icon-refresh",attrs:{size:"medium"},on:{click:function(t){e.showResetConfirm=!0}}})]),o("el-tooltip",{staticClass:"header__item header__item_last",attrs:{effect:e.effect,content:"插入表格",placement:"bottom-start"}},[o("i",{staticClass:"el-icon-s-grid",attrs:{size:"medium"},on:{click:function(t){return e.$emit("show-dialog-form")}}})]),o("el-select",{attrs:{size:"mini",placeholder:"选择字体",clearable:""},on:{change:e.fontChanged},model:{value:e.selectFont,callback:function(t){e.selectFont=t},expression:"selectFont"}},e._l(e.config.builtinFonts,(function(t){return o("el-option",{key:t.value,style:{fontFamily:t.value},attrs:{label:t.label,value:t.value}},[o("span",{staticClass:"select-item-left"},[e._v(e._s(t.label))]),o("span",{staticClass:"select-item-right"},[e._v("Abc")])])})),1),o("el-select",{attrs:{size:"mini",placeholder:"选择段落字号",clearable:""},on:{change:e.sizeChanged},model:{value:e.selectSize,callback:function(t){e.selectSize=t},expression:"selectSize"}},e._l(e.config.sizeOption,(function(t){return o("el-option",{key:t.value,attrs:{label:t.label,value:t.value}},[o("span",{staticClass:"select-item-left"},[e._v(e._s(t.label))]),o("span",{staticClass:"select-item-right"},[e._v(e._s(t.desc))])])})),1),o("el-select",{attrs:{size:"mini",placeholder:"选择颜色",clearable:""},on:{change:e.colorChanged},model:{value:e.selectColor,callback:function(t){e.selectColor=t},expression:"selectColor"}},e._l(e.config.colorOption,(function(t){return o("el-option",{key:t.value,attrs:{label:t.label,value:t.value}},[o("span",{staticClass:"select-item-left"},[e._v(e._s(t.label))]),o("span",{staticClass:"select-item-right"},[e._v(e._s(t.desc))])])})),1),o("el-tooltip",{attrs:{content:"自定义颜色",effect:e.effect,placement:"top"}},[o("el-color-picker",{attrs:{size:"mini","show-alpha":""},on:{change:e.colorChanged},model:{value:e.selectColor,callback:function(t){e.selectColor=t},expression:"selectColor"}})],1),o("el-tooltip",{attrs:{content:"微信外链自动转为文末引用",effect:e.effect,placement:"top"}},[o("el-switch",{staticClass:"header__switch",attrs:{"active-color":"#67c23a","inactive-color":"#dcdfe6"},on:{change:e.statusChanged},model:{value:e.citeStatus,callback:function(t){e.citeStatus=t},expression:"citeStatus"}})],1)],1),o("div",{staticClass:"right-side"},[o("el-tooltip",{staticClass:"item",attrs:{effect:e.effect,content:"自定义CSS样式",placement:"left"}},[o("el-button",{attrs:{type:e.btnType,plain:"",size:"medium",icon:"el-icon-setting"},on:{click:e.customStyle}})],1),o("el-button",{attrs:{type:e.btnType,plain:"",size:"medium",placement:"bottom-start"},on:{click:e.copy}},[e._v("复制")]),o("el-button",{staticClass:"about",attrs:{type:e.btnType,plain:"",size:"medium"},on:{click:function(t){return e.$emit("show-about-dialog")}}},[e._v("关于")]),o("el-tooltip",{attrs:{content:e.btnContent,effect:e.effect,placement:"bottom-start"}},[e.nightMode?o("div",{staticClass:"mode__switch mode__switch_black",on:{click:e.themeChanged}}):o("div",{staticClass:"mode__switch",on:{click:e.themeChanged}})])],1),o("resetDialog",{attrs:{showResetConfirm:e.showResetConfirm},on:{confirm:e.confirmReset,close:e.cancelReset}})],1)},ce=[],se=o("1da1"),le=(o("96cf"),o("466b")),ue=o.n(le);function de(){for(var e=document.getElementById("output"),t=e.getElementsByTagName("img"),o=0;o安全设置->私人令牌」中生成")])],1),o("el-form-item",[o("el-button",{attrs:{type:"primary"},on:{click:e.saveGiteeConfiguration}},[e._v("保存配置")])],1)],1)],1),o("el-tab-pane",{staticClass:"github-panel",attrs:{label:"GitHub 图床",name:"github"}},[o("el-form",{staticClass:"setting-form",attrs:{model:e.formGitHub,"label-position":"right","label-width":"140px"}},[o("el-form-item",{attrs:{label:"GitHub 仓库",required:!0}},[o("el-input",{attrs:{placeholder:"如:github.com/yanglbme/resource"},model:{value:e.formGitHub.repo,callback:function(t){e.$set(e.formGitHub,"repo","string"===typeof t?t.trim():t)},expression:"formGitHub.repo"}})],1),o("el-form-item",{attrs:{label:"分支"}},[o("el-input",{attrs:{placeholder:"如:release,可不填,默认 master"},model:{value:e.formGitHub.branch,callback:function(t){e.$set(e.formGitHub,"branch","string"===typeof t?t.trim():t)},expression:"formGitHub.branch"}})],1),o("el-form-item",{attrs:{label:"Token",required:!0}},[o("el-input",{attrs:{"show-password":"",placeholder:"如:cc1d0c1426d0fd0902bd2d7184b14da61b8abc46"},model:{value:e.formGitHub.accessToken,callback:function(t){e.$set(e.formGitHub,"accessToken","string"===typeof t?t.trim():t)},expression:"formGitHub.accessToken"}}),o("el-link",{attrs:{type:"primary",href:"https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token",target:"_blank"}},[e._v("如何获取 GitHub Token?")])],1),o("el-form-item",[o("el-button",{attrs:{type:"primary"},on:{click:e.saveGitHubConfiguration}},[e._v("保存配置")])],1)],1)],1),o("el-tab-pane",{staticClass:"github-panel",attrs:{label:"阿里云 OSS",name:"aliOSS"}},[o("el-form",{staticClass:"setting-form",attrs:{model:e.formAliOSS,"label-position":"right","label-width":"140px"}},[o("el-form-item",{attrs:{label:"AccessKey ID",required:!0}},[o("el-input",{attrs:{placeholder:"如:LTAI4GdoocsmdoxUf13ylbaNHk"},model:{value:e.formAliOSS.accessKeyId,callback:function(t){e.$set(e.formAliOSS,"accessKeyId","string"===typeof t?t.trim():t)},expression:"formAliOSS.accessKeyId"}})],1),o("el-form-item",{attrs:{label:"AccessKey Secret",required:!0}},[o("el-input",{attrs:{"show-password":"",placeholder:"如:cc1d0c142doocs0902bd2d7md4b14da6ylbabc46"},model:{value:e.formAliOSS.accessKeySecret,callback:function(t){e.$set(e.formAliOSS,"accessKeySecret","string"===typeof t?t.trim():t)},expression:"formAliOSS.accessKeySecret"}})],1),o("el-form-item",{attrs:{label:"Bucket",required:!0}},[o("el-input",{attrs:{placeholder:"如:doocs"},model:{value:e.formAliOSS.bucket,callback:function(t){e.$set(e.formAliOSS,"bucket","string"===typeof t?t.trim():t)},expression:"formAliOSS.bucket"}})],1),o("el-form-item",{attrs:{label:"Bucket 所在区域",required:!0}},[o("el-input",{attrs:{placeholder:"如:oss-cn-shenzhen"},model:{value:e.formAliOSS.region,callback:function(t){e.$set(e.formAliOSS,"region","string"===typeof t?t.trim():t)},expression:"formAliOSS.region"}})],1),o("el-form-item",{attrs:{label:"自定义 CDN 域名",required:!1}},[o("el-input",{attrs:{placeholder:"如:https://imagecdn.alidaodao.com,可不填"},model:{value:e.formAliOSS.cdnHost,callback:function(t){e.$set(e.formAliOSS,"cdnHost","string"===typeof t?t.trim():t)},expression:"formAliOSS.cdnHost"}})],1),o("el-form-item",{attrs:{label:"存储路径"}},[o("el-input",{attrs:{placeholder:"如:img,可不填,默认为根目录"},model:{value:e.formAliOSS.path,callback:function(t){e.$set(e.formAliOSS,"path","string"===typeof t?t.trim():t)},expression:"formAliOSS.path"}}),o("el-link",{attrs:{type:"primary",href:"https://help.aliyun.com/document_detail/31883.html",target:"_blank"}},[e._v("如何使用阿里云 OSS?")])],1),o("el-form-item",[o("el-button",{attrs:{type:"primary"},on:{click:e.saveAliOSSConfiguration}},[e._v("保存配置")])],1)],1)],1),o("el-tab-pane",{staticClass:"github-panel",attrs:{label:"腾讯云 COS",name:"txCOS"}},[o("el-form",{staticClass:"setting-form",attrs:{model:e.formTxCOS,"label-position":"right","label-width":"140px"}},[o("el-form-item",{attrs:{label:"SecretId",required:!0}},[o("el-input",{attrs:{placeholder:"如:AKIDnQp1w3DOOCSs8F5MDp9tdoocsmdUPonW3"},model:{value:e.formTxCOS.secretId,callback:function(t){e.$set(e.formTxCOS,"secretId","string"===typeof t?t.trim():t)},expression:"formTxCOS.secretId"}})],1),o("el-form-item",{attrs:{label:"SecretKey",required:!0}},[o("el-input",{attrs:{"show-password":"",placeholder:"如:ukLmdtEJ9271f3DOocsMDsCXdS3YlbW0"},model:{value:e.formTxCOS.secretKey,callback:function(t){e.$set(e.formTxCOS,"secretKey","string"===typeof t?t.trim():t)},expression:"formTxCOS.secretKey"}})],1),o("el-form-item",{attrs:{label:"Bucket",required:!0}},[o("el-input",{attrs:{placeholder:"如:doocs-3212520134"},model:{value:e.formTxCOS.bucket,callback:function(t){e.$set(e.formTxCOS,"bucket","string"===typeof t?t.trim():t)},expression:"formTxCOS.bucket"}})],1),o("el-form-item",{attrs:{label:"Bucket 所在区域",required:!0}},[o("el-input",{attrs:{placeholder:"如:ap-guangzhou"},model:{value:e.formTxCOS.region,callback:function(t){e.$set(e.formTxCOS,"region","string"===typeof t?t.trim():t)},expression:"formTxCOS.region"}})],1),o("el-form-item",{attrs:{label:"自定义 CDN 域名",required:!1}},[o("el-input",{attrs:{placeholder:"如:https://imagecdn.alidaodao.com,可不填"},model:{value:e.formTxCOS.cdnHost,callback:function(t){e.$set(e.formTxCOS,"cdnHost","string"===typeof t?t.trim():t)},expression:"formTxCOS.cdnHost"}})],1),o("el-form-item",{attrs:{label:"存储路径"}},[o("el-input",{attrs:{placeholder:"如:img,可不填,默认根目录"},model:{value:e.formTxCOS.path,callback:function(t){e.$set(e.formTxCOS,"path","string"===typeof t?t.trim():t)},expression:"formTxCOS.path"}}),o("el-link",{attrs:{type:"primary",href:"https://cloud.tencent.com/document/product/436/38484",target:"_blank"}},[e._v("如何使用腾讯云 COS?")])],1),o("el-form-item",[o("el-button",{attrs:{type:"primary"},on:{click:e.saveTxCOSConfiguration}},[e._v("保存配置")])],1)],1)],1),o("el-tab-pane",{staticClass:"github-panel",attrs:{label:"七牛云 Kodo",name:"qiniu"}},[o("el-form",{staticClass:"setting-form",attrs:{model:e.formQiniu,"label-position":"right","label-width":"140px"}},[o("el-form-item",{attrs:{label:"AccessKey",required:!0}},[o("el-input",{attrs:{placeholder:"如:6DD3VaLJ_SQgOdoocsyTV_YWaDmdnL2n8EGx7kG"},model:{value:e.formQiniu.accessKey,callback:function(t){e.$set(e.formQiniu,"accessKey","string"===typeof t?t.trim():t)},expression:"formQiniu.accessKey"}})],1),o("el-form-item",{attrs:{label:"SecretKey",required:!0}},[o("el-input",{attrs:{"show-password":"",placeholder:"如:qgZa5qrvDOOcsmdKStD1oCjZ9nB7MDvJUs_34SIm"},model:{value:e.formQiniu.secretKey,callback:function(t){e.$set(e.formQiniu,"secretKey","string"===typeof t?t.trim():t)},expression:"formQiniu.secretKey"}})],1),o("el-form-item",{attrs:{label:"Bucket",required:!0}},[o("el-input",{attrs:{placeholder:"如:md"},model:{value:e.formQiniu.bucket,callback:function(t){e.$set(e.formQiniu,"bucket","string"===typeof t?t.trim():t)},expression:"formQiniu.bucket"}})],1),o("el-form-item",{attrs:{label:"Bucket 对应域名",required:!0}},[o("el-input",{attrs:{placeholder:"如:https://images.123ylb.cn"},model:{value:e.formQiniu.domain,callback:function(t){e.$set(e.formQiniu,"domain","string"===typeof t?t.trim():t)},expression:"formQiniu.domain"}})],1),o("el-form-item",{attrs:{label:"存储区域",required:!0}},[o("el-input",{attrs:{placeholder:"如:z2"},model:{value:e.formQiniu.region,callback:function(t){e.$set(e.formQiniu,"region","string"===typeof t?t.trim():t)},expression:"formQiniu.region"}})],1),o("el-form-item",{attrs:{label:"存储路径",required:!1}},[o("el-input",{attrs:{placeholder:"如:img,可不填,默认为根目录"},model:{value:e.formQiniu.path,callback:function(t){e.$set(e.formQiniu,"path","string"===typeof t?t.trim():t)},expression:"formQiniu.path"}}),o("el-link",{attrs:{type:"primary",href:"https://developer.qiniu.com/kodo",target:"_blank"}},[e._v("如何使用七牛云 Kodo?")])],1),o("el-form-item",[o("el-button",{attrs:{type:"primary"},on:{click:e.saveQiniuConfiguration}},[e._v("保存配置")])],1)],1)],1)],1)],1)},Fe=[],Ke={props:{value:{type:Boolean,default:!1}},data:function(){return{formGitHub:{repo:"",branch:"",accessToken:""},formGitee:{repo:"",branch:"",accessToken:""},formAliOSS:{accessKeyId:"",accessKeySecret:"",bucket:"",region:"",path:"",cdnHost:""},formTxCOS:{secretId:"",secretKey:"",bucket:"",region:"",path:"",cdnHost:""},formQiniu:{accessKey:"",secretKey:"",bucket:"",domain:"",region:""},options:[{value:"default",label:"默认"},{value:"gitee",label:"Gitee"},{value:"github",label:"GitHub"},{value:"aliOSS",label:"阿里云"},{value:"txCOS",label:"腾讯云"},{value:"qiniu",label:"七牛云"}],imgHost:"default"}},created:function(){localStorage.getItem("githubConfig")&&(this.formGitHub=JSON.parse(localStorage.getItem("githubConfig"))),localStorage.getItem("giteeConfig")&&(this.formGitee=JSON.parse(localStorage.getItem("giteeConfig"))),localStorage.getItem("aliOSSConfig")&&(this.formAliOSS=JSON.parse(localStorage.getItem("aliOSSConfig"))),localStorage.getItem("txCOSConfig")&&(this.formTxCOS=JSON.parse(localStorage.getItem("txCOSConfig"))),localStorage.getItem("imgHost")&&(this.imgHost=localStorage.getItem("imgHost"))},methods:{changeImgHost:function(){localStorage.setItem("imgHost",this.imgHost),this.$message.success("已成功切换图床")},saveGitHubConfiguration:function(){if(this.formGitHub.repo&&this.formGitHub.accessToken)localStorage.setItem("githubConfig",JSON.stringify(this.formGitHub)),this.$message.success("保存成功");else{var e=this.formGitHub.repo?"token":"GitHub 仓库";this.$message.error("参数「​".concat(e,"」不能为空"))}},saveGiteeConfiguration:function(){if(this.formGitee.repo&&this.formGitee.accessToken)localStorage.setItem("giteeConfig",JSON.stringify(this.formGitee)),this.$message.success("保存成功");else{var e=this.formGitee.repo?"私人令牌":"Gitee 仓库";this.$message.error("参数「​".concat(e,"」不能为空"))}},saveAliOSSConfiguration:function(){this.formAliOSS.accessKeyId&&this.formAliOSS.accessKeySecret&&this.formAliOSS.bucket&&this.formAliOSS.region?(localStorage.setItem("aliOSSConfig",JSON.stringify(this.formAliOSS)),this.$message.success("保存成功")):this.$message.error("阿里云 OSS 参数配置不全")},saveTxCOSConfiguration:function(){this.formTxCOS.secretId&&this.formTxCOS.secretKey&&this.formTxCOS.bucket&&this.formTxCOS.region?(localStorage.setItem("txCOSConfig",JSON.stringify(this.formTxCOS)),this.$message.success("保存成功")):this.$message.error("腾讯云 COS 参数配置不全")},saveQiniuConfiguration:function(){this.formQiniu.accessKey&&this.formQiniu.secretKey&&this.formQiniu.bucket&&this.formQiniu.domain&&this.formQiniu.region?(localStorage.setItem("qiniuConfig",JSON.stringify(this.formQiniu)),this.$message.success("保存成功")):this.$message.error("七牛云 Kodo 参数配置不全")},beforeImageUpload:function(e){var t=Q(e);if(!t.ok)return this.$message.error(t.msg),!1;var o=localStorage.getItem("imgHost");o=o||"default",localStorage.setItem("imgHost",o);var n=localStorage.getItem("".concat(o,"Config")),r="default"==o||n;return!!r||(this.$message.error("请先配置 ".concat(o," 图床参数")),!1)},uploadImage:function(e){this.$emit("uploadImage",e.file)}}},Le=Ke,Be=(o("e925"),Object(c["a"])(Le,Ve,Fe,!1,null,"fc5ed8b0",null)),Pe=Be.exports,Qe=(o("4d90"),o("25f0"),o("b65f"),o("bc3a")),Ue=o.n(Qe),Je=Ue.a.create({baseURL:"",timeout:1e4});Je.interceptors.request.use((function(e){return/^(post)|(put)|(delete)$/i.test(e.method)&&e.data&&e.data.upload&&(e.headers["Content-Type"]="multipart/form-data"),e}),(function(e){Promise.reject(e)})),Je.interceptors.response.use((function(e){return e.data?e.data:Promise.reject(e)}),(function(e){return Promise.reject(e)}));var We=Je,Ye={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"]},Ze={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"]},Xe=o("3452"),et=o.n(Xe),tt=o("9b15"),ot=o.n(tt),nt=o("3438"),rt=o.n(nt),it=o("653c"),at=o.n(it),ct=o("ec26"),st=o("f744");function lt(e){var t,o,n,r;for(t="",n=e.length,o=0;o=1&&r<=127?t+=e.charAt(o):r>2047?(t+=String.fromCharCode(224|r>>12&15),t+=String.fromCharCode(128|r>>6&63),t+=String.fromCharCode(128|r>>0&63)):(t+=String.fromCharCode(192|r>>6&31),t+=String.fromCharCode(128|r>>0&63));return t}var ut="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1);function dt(e){var t,o,n,r,i,a;n=e.length,o=0,t="";while(o>2),t+=ut.charAt((3&r)<<4),t+="==";break}if(i=e.charCodeAt(o++),o==n){t+=ut.charAt(r>>2),t+=ut.charAt((3&r)<<4|(240&i)>>4),t+=ut.charAt((15&i)<<2),t+="=";break}a=e.charCodeAt(o++),t+=ut.charAt(r>>2),t+=ut.charAt((3&r)<<4|(240&i)>>4),t+=ut.charAt((15&i)<<2|(192&a)>>6),t+=ut.charAt(63&a)}return t}function ft(e){return e=e.replace(/\+/g,"-"),e=e.replace(/\//g,"_"),e}function mt(e,t){if(e){var o="github"===t?Ye:Ze,n=o.username,r=o.repoList,i=o.branch,a=o.accessTokenList,c=Math.floor(Math.random()*a.length),s=a[c].replace("doocsmd",""),l=Math.floor(Math.random()*r.length),u=r[l];return{username:n,repo:u,branch:i,accessToken:s}}var d=JSON.parse(localStorage.getItem("".concat(t,"Config"))),f=d.repo.replace("https://".concat(t,".com/"),"").replace("http://".concat(t,".com/"),"").replace("".concat(t,".com/"),"").split("/");return{username:f[0],repo:f[1],branch:d.branch||"master",accessToken:d.accessToken}}function pt(){var e=new Date,t=e.getFullYear(),o=(e.getMonth()+1).toString().padStart(2,"0"),n=e.getDate().toString().padStart(2,"0");return"".concat(t,"/").concat(o,"/").concat(n)}function gt(e){var t=(new Date).getTime(),o=e.split(".")[1];return"".concat(t,"-").concat(Object(ct["a"])(),".").concat(o)}function ht(e,t){return bt.apply(this,arguments)}function bt(){return bt=Object(se["a"])(regeneratorRuntime.mark((function e(t,o){var n,r,i,a,c,s,l,u,d,f,m,p;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n="default"===localStorage.getItem("imgHost"),r=mt(n,"github"),i=r.username,a=r.repo,c=r.branch,s=r.accessToken,l=pt(),u="https://api.github.com/repos/".concat(i,"/").concat(a,"/contents/").concat(l,"/"),d=gt(o),e.next=7,We({url:u+d,method:"put",headers:{Authorization:"token ".concat(s)},data:{content:t,branch:c,message:"Upload by ".concat(window.location.href)}});case 7:return f=e.sent,m="raw.githubusercontent.com/".concat(i,"/").concat(a,"/").concat(c,"/"),p="cdn.jsdelivr.net/gh/".concat(i,"/").concat(a,"@").concat(c,"/"),e.abrupt("return",n?f.data.content.download_url.replace(m,p):f.data.content.download_url);case 11:case"end":return e.stop()}}),e)}))),bt.apply(this,arguments)}function vt(e,t){return Ct.apply(this,arguments)}function Ct(){return Ct=Object(se["a"])(regeneratorRuntime.mark((function e(t,o){var n,r,i,a,c,s,l,u,d,f;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n="default"===localStorage.getItem("imgHost"),r=mt(n,"gitee"),i=r.username,a=r.repo,c=r.branch,s=r.accessToken,l=pt(),u=gt(o),d="https://gitee.com/api/v5/repos/".concat(i,"/").concat(a,"/contents/").concat(l,"/").concat(u),e.next=7,We({url:d,method:"POST",data:{content:t,branch:c,access_token:s,message:"Upload by ".concat(window.location.href)}});case 7:return f=e.sent,e.abrupt("return",encodeURI(f.data.content.download_url));case 9:case"end":return e.stop()}}),e)}))),Ct.apply(this,arguments)}function kt(e,t,o){var n=JSON.stringify(o),r=dt(lt(n)),i=et.a.HmacSHA1(r,t),a=i.toString(et.a.enc.Base64);return"".concat(e,":").concat(ft(a),":").concat(r)}function yt(e){return St.apply(this,arguments)}function St(){return St=Object(se["a"])(regeneratorRuntime.mark((function e(t){var o,n,r,i,a,c,s,l,u,d,f;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=JSON.parse(localStorage.getItem("qiniuConfig")),n=o.accessKey,r=o.secretKey,i=o.bucket,a=o.region,c=o.path,s=o.domain,l=kt(n,r,{scope:i,deadline:Math.trunc((new Date).getTime()/1e3)+3600}),u=c?"".concat(c,"/"):"",d=u+gt(t.name),f=st["a"](t,d,l,{},{region:a}),e.abrupt("return",new Promise((function(e,t){f.subscribe({next:function(e){console.log(e)},error:function(e){t(e.message)},complete:function(t){e("".concat(s,"/").concat(t.key))}})})));case 6:case"end":return e.stop()}}),e)}))),St.apply(this,arguments)}function xt(e,t){return wt.apply(this,arguments)}function wt(){return wt=Object(se["a"])(regeneratorRuntime.mark((function e(t,o){var n,r,i,a,c,s,l,u,d,f,m,p;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=gt(o),r=JSON.parse(localStorage.getItem("aliOSSConfig")),i=r.region,a=r.bucket,c=r.accessKeyId,s=r.accessKeySecret,l=r.cdnHost,u=r.path,d=at()(t,"base64"),f="".concat(u,"/").concat(n),m=new ot.a({region:i,bucket:a,accessKeyId:c,accessKeySecret:s}),e.prev=5,e.next=8,m.put(f,d);case 8:if(p=e.sent,""!=l){e.next=11;break}return e.abrupt("return",p.url);case 11:return e.abrupt("return","".concat(l,"/").concat(""==u?n:f));case 14:return e.prev=14,e.t0=e["catch"](5),e.abrupt("return",Promise.reject(e.t0));case 17:case"end":return e.stop()}}),e,null,[[5,14]])}))),wt.apply(this,arguments)}function Ot(e){return _t.apply(this,arguments)}function _t(){return _t=Object(se["a"])(regeneratorRuntime.mark((function e(t){var o,n,r,i,a,c,s,l,u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=gt(t.name),n=JSON.parse(localStorage.getItem("txCOSConfig")),r=n.secretId,i=n.secretKey,a=n.bucket,c=n.region,s=n.path,l=n.cdnHost,u=new rt.a({SecretId:r,SecretKey:i}),e.abrupt("return",new Promise((function(e,n){u.putObject({Bucket:a,Region:c,Key:"".concat(s,"/").concat(o),Body:t},(function(t,r){t?n(t):e(l?""==s?"".concat(l,"/").concat(o):"".concat(l,"/").concat(s,"/").concat(o):"https://".concat(r.Location))}))})));case 4:case"end":return e.stop()}}),e)}))),_t.apply(this,arguments)}function Tt(e,t){var o=localStorage.getItem("imgHost");switch(!o&&localStorage.setItem("imgHost","default"),o){case"aliOSS":return xt(e,t.name);case"txCOS":return Ot(t);case"qiniu":return yt(t);case"gitee":return vt(e,t.name);case"github":return ht(e,t.name);default:return ht(e,t.name)}}var Et={fileUpload:Tt};o("f9d4");var $t={data:function(){return{showCssEditor:!1,aboutDialogVisible:!1,dialogUploadImgVisible:!1,dialogFormVisible:!1,isCoping:!1,isImgLoading:!1,backLight:!1,timeout:null,changeTimer:null,source:"",mouseLeft:0,mouseTop:0}},components:{editorHeader:Se,aboutDialog:Ee,insertFormDialog:Ae,rightClickMenu:De,uploadImgDialog:Pe},computed:Object(n["a"])({},Object(d["c"])({wxRenderer:function(e){return e.wxRenderer},output:function(e){return e.output},editor:function(e){return e.editor},cssEditor:function(e){return e.cssEditor},currentSize:function(e){return e.currentSize},currentColor:function(e){return e.currentColor},nightMode:function(e){return e.nightMode},rightClickMenuVisible:function(e){return e.rightClickMenuVisible}})),created:function(){var e=this;this.initEditorState(),this.$nextTick((function(){e.initEditor(),e.initCssEditor(),e.onEditorRefresh()}))},methods:Object(n["a"])({initEditor:function(){var e=this;this.initEditorEntity(),this.editor.on("change",(function(t,o){e.changeTimer&&clearTimeout(e.changeTimer),e.changeTimer=setTimeout((function(){e.onEditorRefresh(),q(e.editor,"__editor_content")}),300)})),this.editor.on("paste",(function(t,o){if(o.clipboardData&&o.clipboardData.items&&!e.isImgLoading)for(var n=0,r=o.clipboardData.items.length;n=65&&t.keyCode<=90||189===t.keyCode)&&e.showHint(t)})),this.cssEditor.on("update",(function(t){e.cssChanged(),q(e.cssEditor,"__css_content")}))},cssChanged:function(){var e=N(this.cssEditor.getValue(0)),t=H(this.currentSize.replace("px",""));t=z(e,this.currentColor,t),this.setWxRendererOptions({theme:t}),this.onEditorRefresh()},beforeUpload:function(e){var t=Q(e);if(!t.ok)return this.$message.error(t.msg),!1;var o=localStorage.getItem("imgHost");o=o||"default",localStorage.setItem("imgHost",o);var n=localStorage.getItem("".concat(o,"Config")),r="default"==o||n;return!!r||(this.$message.error("请先配置 ".concat(o," 图床参数")),!1)},uploadImage:function(e){var t=this;this.isImgLoading=!0,P(e).then((function(o){Et.fileUpload(o,e).then((function(e){t.uploaded(e)})).catch((function(e){t.$message.error(e.message)}))})).catch((function(e){t.$message.error(e.message)})),this.isImgLoading=!1},uploaded:function(e){if(e){this.dialogUploadImgVisible=!1;var t=this.editor.getCursor(),o=e,n="![](".concat(o,")");this.editor.replaceSelection("\n".concat(n,"\n"),t),this.$message.success("图片上传成功"),this.onEditorRefresh()}else this.$message.error("上传图片未知异常")},leftAndRightScroll:function(){var e=this,t=function(t){var r,i;clearTimeout(e.timeout),"preview"===t?(r=e.$refs.preview.$el,i=document.getElementsByClassName("CodeMirror-scroll")[0],e.editor.off("scroll",o),e.timeout=setTimeout((function(){e.editor.on("scroll",o)}),300)):"editor"===t&&(r=document.getElementsByClassName("CodeMirror-scroll")[0],i=e.$refs.preview.$el,i.removeEventListener("scroll",n,!1),e.timeout=setTimeout((function(){i.addEventListener("scroll",n,!1)}),300));var a=r.scrollTop/(r.scrollHeight-r.offsetHeight),c=a*(i.scrollHeight-i.offsetHeight);i.scrollTo(0,c)},o=function(){t("editor")},n=function(){t("preview")};this.$refs.preview.$el.addEventListener("scroll",n,!1),this.editor.on("scroll",o)},onEditorRefresh:function(){this.editorRefresh(),setTimeout((function(){return PR.prettyPrint()}),0)},endCopy:function(){var e=this;this.backLight=!1,setTimeout((function(){e.isCoping=!1}),800)},downloadEditorContent:function(){K(this.editor.getValue(0))},exportEditorContent:function(){this.$nextTick((function(){L()}))},importMarkdownContent:function(){var e=this,t=document.getElementById("menu"),o=document.createElement("input");o.type="file",o.name="filename",o.accept=".txt,.md",t.appendChild(o),o.onchange=function(){if(o.files){var t=o.files[0];if(/\.(txt|TXT|MD|md)$/.test(t.name)){var n=new FileReader;n.readAsText(t),n.onload=function(t){var o=t.target.result;o=D(o),o&&(localStorage.setItem("__editor_content",o),e.editor.setValue(o),e.$message.success("文档导入成功"))}}else e.$message.error("不支持的文档格式")}},o.click(),t.removeChild(o)},formatContent:function(){var e=D(this.editor.getValue(0));localStorage.setItem("__editor_content",e),this.editor.setValue(e)},openMenu:function(e){var t=105,o=this.$el.getBoundingClientRect().left,n=this.$el.offsetWidth,r=n-t,i=e.clientX-o;this.mouseLeft=Math.min(r,i),this.mouseTop=e.clientY+10,this.$store.commit("setRightClickMenuVisible",!0)},closeRightClickMenu:function(){this.$store.commit("setRightClickMenuVisible",!1)},onMenuEvent:function(e){switch(e){case"pageReset":this.$refs.header.showResetConfirm=!0;break;case"insertPic":this.dialogUploadImgVisible=!0;break;case"download":this.downloadEditorContent();break;case"export":this.exportEditorContent();break;case"insertTable":this.dialogFormVisible=!0;break;case"importMarkdown":this.importMarkdownContent();break;case"formatMarkdown":this.formatContent();break;default:break}}},Object(d["b"])(["initEditorState","initEditorEntity","setWxRendererOptions","editorRefresh","initCssEditorEntity"])),mounted:function(){var e=this;setTimeout((function(){e.leftAndRightScroll(),PR.prettyPrint()}),300)}},It=$t,Mt=(o("9332"),o("792d"),o("a903"),Object(c["a"])(It,re,ie,!1,null,"7acf9643",null)),jt=Mt.exports,Rt={name:"App",components:{Loading:ne["default"],CodemirrorEditor:jt},data:function(){return{loading:!0}},mounted:function(){var e=this;setTimeout((function(){e.loading=!1}),100)}},At=Rt,Gt=(o("537d"),Object(c["a"])(At,te,oe,!1,null,"8e90ad4c",null)),Ht=Gt.exports;r["default"].use(ee["a"]);var zt=[{path:"/",name:"index",component:Ht}],Nt=new ee["a"]({mode:"history",base:"/md/",routes:zt}),qt=Nt;r["default"].use(X.a),r["default"].config.productionTip=!1,u.mpType="app";var Dt=new r["default"](Object(n["a"])({router:qt,store:Y},u));Dt.$mount("#app")},6:function(e,t){},6396:function(e,t,o){},"64e1":function(e,t,o){"use strict";o("536a")},6849:function(e,t,o){},"695a":function(e,t,o){},7:function(e,t){},"792d":function(e,t,o){"use strict";o("ce42")},"7c55":function(e,t,o){"use strict";o("c163")},8:function(e,t){},"84a2":function(e,t,o){},"856c":function(e,t,o){"use strict";o("af5f")},9:function(e,t){},9332:function(e,t,o){"use strict";o("de14")},"94fb":function(e,t,o){"use strict";o("6849")},"9a2f":function(e,t,o){},a903:function(e,t,o){"use strict";o("119a")},aae9:function(e,t,o){"use strict";o.d(t,"a",(function(){return n})),o.d(t,"b",(function(){return r}));var n=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},r=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"loading",attrs:{id:"loading"}},[o("div",{staticClass:"loading-wrapper"},[o("div",{staticClass:"loading-anim"}),o("div",{staticClass:"loading-text"},[e._v("致力于让 Markdown 编辑更简单")])])])}]},aeb6:function(e,t,o){},af5f:function(e,t,o){},c081:function(e,t,o){"use strict";o("84a2")},c163:function(e,t,o){},cb57:function(e,t,o){"use strict";var n=o("eff7"),r=o.n(n);t["default"]=r.a},ce42:function(e,t,o){},de14:function(e,t,o){},e925:function(e,t,o){"use strict";o("aeb6")},ea8f:function(e,t,o){},ef81:function(e,t,o){"use strict";o("ea8f")},eff7:function(e,t){}}); -//# sourceMappingURL=app.55eacff9.js.map \ No newline at end of file diff --git a/js/app.55eacff9.js.map b/js/app.55eacff9.js.map deleted file mode 100644 index d4840f6..0000000 --- a/js/app.55eacff9.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/CodemirrorEditor/resetDialog.vue?d122","webpack:///./src/components/Loading.vue?c5f2","webpack:///./src/components/Loading.vue?6b1c","webpack:///./src/pages/index/index.vue?17c6","webpack:///./src/App.vue?989e","webpack:///./src/App.vue?a938","webpack:///./src/assets/scripts/config.js","webpack:///./src/assets/scripts/renderers/wx-renderer.js","webpack:///./src/assets/scripts/default-content.js","webpack:///./src/assets/scripts/themes/default-theme-css.js","webpack:///./src/assets/scripts/themes/default-theme.js","webpack:///./src/assets/scripts/util.js","webpack:///./src/store/index.js","webpack:///./src/plugins/element/index.js","webpack:///./src/pages/index/index.vue?11e6","webpack:///./src/pages/index/view/CodemirrorEditor.vue?e7f3","webpack:///./src/components/CodemirrorEditor/header.vue?0a3b","webpack:///./src/assets/scripts/converter.js","webpack:///./src/components/CodemirrorEditor/resetDialog.vue?b639","webpack:///src/components/CodemirrorEditor/resetDialog.vue","webpack:///./src/components/CodemirrorEditor/resetDialog.vue?340c","webpack:///./src/components/CodemirrorEditor/resetDialog.vue?f816","webpack:///src/components/CodemirrorEditor/header.vue","webpack:///./src/components/CodemirrorEditor/header.vue?0ac3","webpack:///./src/components/CodemirrorEditor/header.vue?f48c","webpack:///./src/components/CodemirrorEditor/aboutDialog.vue?4559","webpack:///src/components/CodemirrorEditor/aboutDialog.vue","webpack:///./src/components/CodemirrorEditor/aboutDialog.vue?6527","webpack:///./src/components/CodemirrorEditor/aboutDialog.vue?caf5","webpack:///./src/components/CodemirrorEditor/insertForm.vue?35da","webpack:///src/components/CodemirrorEditor/insertForm.vue","webpack:///./src/components/CodemirrorEditor/insertForm.vue?29b1","webpack:///./src/components/CodemirrorEditor/insertForm.vue?6765","webpack:///./src/components/CodemirrorEditor/rightClickMenu.vue?abef","webpack:///src/components/CodemirrorEditor/rightClickMenu.vue","webpack:///./src/components/CodemirrorEditor/rightClickMenu.vue?ef55","webpack:///./src/components/CodemirrorEditor/rightClickMenu.vue?3f9f","webpack:///./src/components/CodemirrorEditor/uploadImgDialog.vue?9129","webpack:///src/components/CodemirrorEditor/uploadImgDialog.vue","webpack:///./src/components/CodemirrorEditor/uploadImgDialog.vue?d9e6","webpack:///./src/components/CodemirrorEditor/uploadImgDialog.vue?2b80","webpack:///./src/api/fetch.js","webpack:///./src/api/config.js","webpack:///./src/assets/scripts/tokenTools.js","webpack:///./src/api/file.js","webpack:///src/pages/index/view/CodemirrorEditor.vue","webpack:///./src/pages/index/view/CodemirrorEditor.vue?db4d","webpack:///./src/pages/index/view/CodemirrorEditor.vue?1fb7","webpack:///src/pages/index/index.vue","webpack:///./src/pages/index/index.vue?d479","webpack:///./src/pages/index/index.vue","webpack:///./src/router/index.js","webpack:///./src/main.js","webpack:///./src/components/CodemirrorEditor/insertForm.vue?0676","webpack:///./src/pages/index/view/CodemirrorEditor.vue?262d","webpack:///./src/App.vue?e247","webpack:///./src/components/CodemirrorEditor/rightClickMenu.vue?da5b","webpack:///./src/pages/index/view/CodemirrorEditor.vue?a86f","webpack:///./src/App.vue?e8fb","webpack:///./src/pages/index/view/CodemirrorEditor.vue?595a","webpack:///./src/components/Loading.vue?0305","webpack:///./src/components/CodemirrorEditor/aboutDialog.vue?b81b","webpack:///./src/components/Loading.vue?a8a7","webpack:///./src/components/CodemirrorEditor/uploadImgDialog.vue?59e0","webpack:///./src/components/CodemirrorEditor/header.vue?ae28"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","component","render","_vm","this","_h","$createElement","_c","_self","attrs","staticRenderFns","script","builtinFonts","label","sizeOption","desc","colorOption","codeThemeOption","form","rows","cols","WxRenderer","opts","ENV_STRETCH_IMAGE","footnotes","footnoteIndex","styleMapping","CODE_FONT_FAMILY","merge","base","extend","assign","buildTheme","themeTpl","mapping","BASE","fonts","size","ele","inline","style","base_block","block","getStyles","tokenName","addition","arr","dict","join","addFootnote","title","link","buildFootnotes","footnoteArray","map","x","buildAddition","setOptions","newOpts","hasFootnotes","getRenderer","status","theme","renderer","marked","Renderer","heading","text","level","paragraph","indexOf","replace","blockquote","code","lang","codeLines","split","line","codeTheme","codespan","listitem","list","ordered","start","segments","image","href","subText","figureStyles","imgStyles","startsWith","ref","strong","em","table","header","body","tablecell","flags","hr","DEFAULT_CONTENT","DEFAULT_CSS_CONTENT","color","BASE_BLOCK","margin","h1","display","padding","h2","background","h3","h4","blockquote_p","overflow","border","width","image_org","ol","ul","figure","wx_link","thead","td","footnote","figcaption","setColorWithTemplate","template","custom_theme","JSON","parse","stringify","setColorWithCustomTemplate","setFontSizeWithTemplate","fontSize","setColor","default_theme","setFontSize","customCssWithTemplate","jsonString","li","css2json","css","open","close","substring","json","lbracket","rbracket","toObject","array","ret","forEach","e","index","trim","declarations","filter","selectors","selector","keys","saveEditorContent","editor","content","getValue","localStorage","setItem","removeItem","formatDoc","doc","prettier","format","parser","plugins","prettierMarkdown","formatCss","prettierCss","fixCodeWhiteSpace","preDomList","document","getElementsByClassName","pre","whiteSpace","downloadMD","downLink","createElement","download","blob","Blob","URL","createObjectURL","appendChild","click","removeChild","exportHTML","element","querySelector","setStyles","htmlStr","innerHTML","isSection","isPre","isCode","isSpan","setAttribute","getElementStyles","tagName","Array","from","classList","includes","parentElement","children","child","createTable","currRow","rowIdx","toBase64","file","Promise","resolve","reject","reader","FileReader","readAsDataURL","onload","pop","onerror","error","checkImage","isValidSuffix","test","ok","msg","maxSize","isLt5M","excludes","styles","getComputedStyle","entries","getPropertyValue","Vue","use","Vuex","state","wxRenderer","output","html","cssEditor","currentFont","currentSize","currentColor","citeStatus","nightMode","rightClickMenuVisible","mutations","setEditorValue","setValue","setCssEditorValue","setWxRendererOptions","setCiteStatus","setCurrentFont","setCurrentSize","setCurrentColor","setCurrentCodeTheme","setRightClickMenuVisible","themeChanged","initEditorState","getItem","config","initEditorEntity","editorDom","getElementById","CodeMirror","fromTextArea","lineNumbers","lineWrapping","styleActiveLine","autoCloseBrackets","extraKeys","initCssEditorEntity","cssEditorDom","matchBrackets","autofocus","editorRefresh","clearEditorToDefault","Store","actions","Message","$loading","Loading","service","$message","staticClass","class","container_night","on","onEditorRefresh","cssChanged","downloadEditorContent","exportEditorContent","$event","showCssEditor","aboutDialogVisible","dialogFormVisible","dialogUploadImgVisible","isCoping","backLight","endCopy","nativeOn","preventDefault","openMenu","directives","rawName","expression","domProps","target","composing","source","output_night","_s","_v","_e","beforeUpload","uploadImage","uploaded","model","callback","$$v","mouseLeft","mouseTop","onMenuEvent","closeRightClickMenu","effect","$emit","showResetConfirm","fontChanged","selectFont","_l","font","fontFamily","sizeChanged","selectSize","colorChanged","selectColor","statusChanged","btnType","customStyle","copy","btnContent","confirmReset","cancelReset","solveWeChatImage","clipboardDiv","images","getElementsByTagName","getAttribute","height","removeAttribute","solveHtml","res","juice","inlineContent","inlinePseudoElements","preserveImportant","slot","props","type","Boolean","default","computed","selectCodeTheme","components","resetDialog","methods","codeThemeChanged","val","setTimeout","focus","getSelection","removeAllRanges","range","setStartBefore","firstChild","setEndAfter","lastChild","addRange","execCommand","showClose","message","offset","duration","clear","mounted","staticStyle","onRedirect","url","rowNum","colNum","row","col","tableData","$set","insertTable","replaceSelection","left","top","menuItem","item","onMouseDown","Number","menu","closeCB","changeImgHost","imgHost","beforeImageUpload","formGitee","saveGiteeConfiguration","formGitHub","saveGitHubConfiguration","formAliOSS","saveAliOSSConfiguration","formTxCOS","saveTxCOSConfiguration","formQiniu","saveQiniuConfiguration","repo","branch","accessToken","accessKeyId","accessKeySecret","bucket","region","path","cdnHost","secretId","secretKey","accessKey","domain","options","created","success","checkResult","isValidHost","params","axios","baseURL","timeout","interceptors","request","method","upload","headers","response","githubConfig","username","repoList","accessTokenList","giteeConfig","utf16to8","str","out","len","charCodeAt","charAt","String","fromCharCode","base64EncodeChars","base64encode","c1","c2","c3","safe64","base64","getConfig","useDefault","platform","tokenIndex","Math","floor","random","repoIndex","customConfig","repoUrl","getDir","date","Date","year","getFullYear","month","getMonth","toString","padStart","day","getDate","getDateFilename","filename","currentTimestamp","getTime","fileSuffix","uuidv4","ghFileUpload","dir","dateFilename","fetch","Authorization","location","githubResourceUrl","cdnResourceUrl","download_url","giteeUpload","access_token","encodeURI","getQiniuToken","putPolicy","policy","encoded","hash","CryptoJS","HmacSHA1","encodedSigned","enc","Base64","qiniuUpload","token","scope","deadline","trunc","observable","qiniu","subscribe","next","console","log","err","complete","aliOSSFileUpload","buffer","Buffer","client","OSS","put","txCOSFileUpload","cos","COS","SecretId","SecretKey","putObject","Bucket","Region","Key","Body","Location","fileUpload","isImgLoading","changeTimer","editorHeader","aboutDialog","insertFormDialog","rightClickMenu","uploadImgDialog","$nextTick","initEditor","clipboardData","items","kind","isValid","initCssEditor","cm","showHint","leftAndRightScroll","clearTimeout","removeEventListener","previewScrollCB","addEventListener","scrollTo","scrollCB","$refs","preview","$el","editorScrollCB","importMarkdownContent","input","accept","onchange","files","readAsText","txt","formatContent","min","maxLeft","clientY","$store","commit","PR","prettyPrint","CodemirrorEditor","loading","VueRouter","routes","router","process","ElementUI","productionTip","App","mpType","app","store","$mount","_m"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,I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IAAS3e,GAAK,EAAK,IAC9Cse,GAAOI,OAAOC,aAAa,IAAS3e,GAAK,EAAK,KAGlD,OAAOse,EA0CT,IAAMM,GACJ,mEACwB,IAAIpQ,OAC3B,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,EACD,IACC,GACA,GACA,EACD,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,IACC,GACA,GACA,GACA,GACA,GACA,GACA,EACD,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,IACC,GACA,GACA,GACA,GACA,GACA,EACD,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,IACC,GACA,GACA,GACA,GACA,GAEI,SAASqQ,GAAaR,GAC3B,IAAIC,EAAKlgB,EAAGmgB,EACRO,EAAIC,EAAIC,EACZT,EAAMF,EAAI/f,OACVF,EAAI,EACJkgB,EAAM,GACN,MAAOlgB,EAAImgB,EAAK,CAEd,GADAO,EAA2B,IAAtBT,EAAIG,WAAWpgB,KAChBA,GAAKmgB,EAAK,CACZD,GAAOM,GAAkBH,OAAOK,GAAM,GACtCR,GAAOM,GAAkBH,QAAa,EAALK,IAAa,GAC9CR,GAAO,KACP,MAGF,GADAS,EAAKV,EAAIG,WAAWpgB,KAChBA,GAAKmgB,EAAK,CACZD,GAAOM,GAAkBH,OAAOK,GAAM,GACtCR,GAAOM,GAAkBH,QAAc,EAALK,IAAa,GAAY,IAALC,IAAc,GACpET,GAAOM,GAAkBH,Q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SAER,IAAMC,GAAS,CACb,CACEtK,KAAM,IACNxc,KAAM,QACNyB,UAAWwJ,KAIT8b,GAAS,IAAIF,QAAU,CAC3BlmB,KAAM,UACN0C,KAAM2jB,OACNF,YAGaC,MCHfvW,aAAIC,IAAIwW,KAERzW,aAAI4B,OAAO8U,eAAgB,EAE3BC,EAAIC,OAAS,MAEb,IAAMC,GAAM,IAAI7W,aAAJ,gBACVuW,UACAO,SACGH,IAELE,GAAIE,OAAO,S,6EC5BX,W,sGCAA,W,oCCAA,W,+ECAA,W,oDCAA,W,oCCAA,W,2DCAA,W,sGCAA,IAAI7lB,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAsBH,EAAIK,MAAMD,GAAO,OAAOJ,EAAI6lB,GAAG,IACnGtlB,EAAkB,CAAC,WAAa,IAAIP,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAAC6R,YAAY,UAAU3R,MAAM,CAAC,GAAK,YAAY,CAACF,EAAG,MAAM,CAAC6R,YAAY,mBAAmB,CAAC7R,EAAG,MAAM,CAAC6R,YAAY,iBAAiB7R,EAAG,MAAM,CAAC6R,YAAY,gBAAgB,CAACjS,EAAI6T,GAAG,gC,gFCDlS,W,yDCAA,yBAAiV,eAAG,G,gFCApV,W,yDCAA,W","file":"js/app.55eacff9.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/md/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./resetDialog.vue?vue&type=style&index=0&id=68392714&lang=less&scoped=true&\"","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=style&index=0&id=a205efe8&lang=less&scoped=true&\"","import { render, staticRenderFns } from \"./Loading.vue?vue&type=template&id=a205efe8&scoped=true&\"\nimport script from \"./Loading.vue?vue&type=script&lang=js&\"\nexport * from \"./Loading.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Loading.vue?vue&type=style&index=0&id=a205efe8&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a205efe8\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=8e90ad4c&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=41a4af61&\"\nvar script = {}\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=less&\"\nimport style1 from \"./App.vue?vue&type=style&index=1&lang=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export default {\n builtinFonts: [\n {\n label: \"无衬线\",\n value:\n \"-apple-system-font,BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB , Microsoft YaHei UI , Microsoft YaHei ,Arial,sans-serif\",\n },\n {\n label: \"衬线\",\n value:\n \"Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif\",\n },\n ],\n sizeOption: [\n {\n label: \"12px\",\n value: \"12px\",\n desc: \"更小\",\n },\n {\n label: \"13px\",\n value: \"13px\",\n desc: \"稍小\",\n },\n {\n label: \"14px\",\n value: \"14px\",\n desc: \"推荐\",\n },\n {\n label: \"15px\",\n value: \"15px\",\n desc: \"稍大\",\n },\n {\n label: \"16px\",\n value: \"16px\",\n desc: \"更大\",\n },\n ],\n colorOption: [\n {\n label: \"经典蓝\",\n value: \"rgba(15, 76, 129, 1)\",\n desc: \"最新流行\",\n },\n {\n label: \"翡翠绿\",\n value: \"rgba(0, 152, 116, 1)\",\n desc: \"优雅清新\",\n },\n {\n label: \"活力橘\",\n value: \"rgba(250, 81, 81, 1)\",\n desc: \"热情活泼\",\n },\n ],\n codeThemeOption: [\n {\n label: \"微信\",\n value: \"wechat\",\n desc: \"默认样式\",\n },\n {\n label: \"GitHub\",\n value: \"github\",\n desc: \"精简风格\",\n },\n ],\n form: {\n rows: 1,\n cols: 1,\n },\n};\n","import marked from \"marked\";\nclass WxRenderer {\n constructor(opts) {\n this.opts = opts;\n let ENV_STRETCH_IMAGE = true;\n\n let footnotes = [];\n let footnoteIndex = 0;\n let styleMapping = null;\n\n const CODE_FONT_FAMILY =\n \"Menlo, Operator Mono, Consolas, Monaco, monospace\";\n\n let merge = (base, extend) => Object.assign({}, base, extend);\n\n this.buildTheme = (themeTpl) => {\n let mapping = {};\n let base = merge(themeTpl.BASE, {\n \"font-family\": this.opts.fonts,\n \"font-size\": this.opts.size,\n });\n for (let ele in themeTpl.inline) {\n if (themeTpl.inline.hasOwnProperty(ele)) {\n let style = themeTpl.inline[ele];\n mapping[ele] = merge(themeTpl.BASE, style);\n }\n }\n\n let base_block = merge(base, {});\n for (let ele in themeTpl.block) {\n if (themeTpl.block.hasOwnProperty(ele)) {\n let style = themeTpl.block[ele];\n if (ele === \"code\") {\n style[\"font-family\"] = CODE_FONT_FAMILY;\n }\n mapping[ele] = merge(base_block, style);\n }\n }\n return mapping;\n };\n\n let getStyles = (tokenName, addition) => {\n let arr = [];\n let dict = styleMapping[tokenName];\n if (!dict) return \"\";\n for (const key in dict) {\n arr.push(key + \":\" + dict[key]);\n }\n return `style=\"${arr.join(\";\") + (addition || \"\")}\"`;\n };\n\n let addFootnote = (title, link) => {\n footnotes.push([++footnoteIndex, title, link]);\n return footnoteIndex;\n };\n\n this.buildFootnotes = () => {\n let footnoteArray = footnotes.map((x) => {\n if (x[1] === x[2]) {\n return `[${x[0]}]: ${x[1]}
`;\n }\n return `[${x[0]}] ${x[1]}: ${x[2]}
`;\n });\n return `

引用链接

${footnoteArray.join(\"\\n\")}

`;\n };\n\n this.buildAddition = () => {\n return `\n \n `;\n };\n\n this.setOptions = (newOpts) => {\n this.opts = merge(this.opts, newOpts);\n };\n\n this.hasFootnotes = () => footnotes.length !== 0;\n\n this.getRenderer = (status) => {\n footnotes = [];\n footnoteIndex = 0;\n\n styleMapping = this.buildTheme(this.opts.theme);\n let renderer = new marked.Renderer();\n\n renderer.heading = (text, level) => {\n switch (level) {\n case 1:\n return `

${text}

`;\n case 2:\n return `

${text}

`;\n case 3:\n return `

${text}

`;\n default:\n return `

${text}

`;\n }\n };\n renderer.paragraph = (text) => {\n if (text.indexOf(\"${text}

`;\n };\n\n renderer.blockquote = (text) => {\n text = text.replace(//g, `

`);\n return `

${text}
`;\n };\n renderer.code = (text, lang) => {\n text = text.replace(//g, \">\");\n const codeLines = text\n .split(\"\\n\")\n .map(\n (line) =>\n `${\n line || \" \"\n }`\n );\n const codeTheme = \"github\";\n return `\n
\n
\n                        ${codeLines.join(\"\")}\n                    
\n
\n `;\n };\n renderer.codespan = (text, lang) =>\n `${text}`;\n renderer.listitem = (text) =>\n `<%s/>${text}`;\n\n renderer.list = (text, ordered, start) => {\n text = text.replace(/<\\/*p.*?>/g, \"\");\n let segments = text.split(`<%s/>`);\n if (!ordered) {\n text = segments.join(\"•\");\n return `

${text}

`;\n }\n text = segments[0];\n for (let i = 1; i < segments.length; i++) {\n text = text + i + \".\" + segments[i];\n }\n return `

${text}

`;\n };\n renderer.image = (href, title, text) => {\n let subText = \"\";\n if (text) {\n subText = `
${text}
`;\n }\n let figureStyles = getStyles(\"figure\");\n let imgStyles = getStyles(ENV_STRETCH_IMAGE ? \"image\" : \"image_org\");\n return `
\"${text}\"/${subText}
`;\n };\n renderer.link = (href, title, text) => {\n if (href.startsWith(\"https://mp.weixin.qq.com\")) {\n return `${text}`;\n }\n if (href === text) {\n return text;\n }\n if (status) {\n let ref = addFootnote(title || text, href);\n return `${text}[${ref}]`;\n }\n return `${text}`;\n };\n renderer.strong = (text) =>\n `${text}`;\n renderer.em = (text) =>\n `${text}`;\n renderer.table = (header, body) =>\n `
${header}${body}
`;\n renderer.tablecell = (text, flags) =>\n `${text}`;\n renderer.hr = () =>\n `
`;\n return renderer;\n };\n }\n}\nexport default WxRenderer;\n","const DEFAULT_CONTENT = `# 示例文章:Google 搜索的即时自动补全功能究竟是如何“工作”的?\n> Google 搜索**自动补全功能**的强大,相信不少朋友都能感受到,它帮助我们更快地“补全”我们所要输入的搜索关键字。那么,它怎么知道我们要输入什么内容?它又是如何工作的?在这篇文章里,我们一起来看看。\n\n## 使用自动补全\nGoogle 搜索的自动补全功能可以在 Google 搜索应用的大多数位置使用,包括 [Google](https://www.google.com/) 主页、适用于 IOS 和 Android 的 Google 应用,我们只需要在 Google 搜索框上开始键入关键字,就可以看到联想词了。\n\n![](https://gitee.com/yanglbme/resource/raw/master/doocs-md/juejin.gif)\n\n在上图示例中,我们可以看到,输入关键字 \\`juej\\`,Google 搜索会联想到“掘金”、“掘金小册”、“绝句”等等,好处就是,我们无须输入完整的关键字即可轻松完成针对这些 topics 的搜索。\n\n谷歌搜索的自动补全功能对于使用移动设备的用户来说特别有用,用户可以轻松在难以键入的小屏幕上完成搜索。当然,对于移动设备用户和台式机用户而言,这都节省了大量的时间。根据 Google 官方报告,自动补全功能可以减少大约 25% 的打字,累积起来,预计每天可以节省 200 多年的打字时间。是的,每天!\n\n> 注意,本文所提到的“**联想词**”与“**预测**”,是同一个意思。\n\n## 基于“预测”而非“建议”\nGoogle 官方将自动补全功能称之为“预测”,而不是“建议”,为什么呢?其实是有充分理由的。自动补全功能是为了**帮助用户完成他们打算进行的搜索**,而不是建议用户要执行什么搜索。\n\n那么,Google 是如何确定这些“预测”的?其实,Google 会根据趋势搜索 [trends](https://trends.google.com/trends/?geo=US) 给到我们这些“预测”。简单来说,哪个热门、哪个搜索频率高,就更可能推给我们。当然,这也与我们当前所处的位置以及我们的搜索历史相关。\n\n另外,这些“预测”也会随着我们键入的关键字的变更而更改。例如,当我们把键入的关键字从 \\`juej\\` 更改为 \\`juex\\` 时,与“掘金”相关的预测会“消失”,同时,与“觉醒”、“决心”相关联的词会出现。\n\n![](https://gitee.com/yanglbme/resource/raw/master/doocs-md/juex.gif)\n\n## 为什么看不到某些联想词?\n如果我们在输入某个关键字时看不到联想词,那么表明 Google 的算法可能检测到:\n\n- 这个关键字不是热门字词;\n- 搜索的字词太新了,我们可能需要等待几天或几周才能看到联想词;\n- 这是一个侮辱性或敏感字词,这个搜索字词违反了 Google 的相关政策。更加详细的情况,可以了解 [Google 搜索自动补全政策](https://support.google.com/websearch/answer/7368877)。\n\n## 为什么会看到某些不当的联想词?\nGoogle 拥有专门设计的系统,可以自动捕获不适当的预测结果而不显示出来。然而,Google 每天需要处理数十亿次搜索,这意味着 Google 每天会显示数十亿甚至上百亿条预测。再好的系统,也可能存在缺陷,不正确的预测也可能随时会出现。\n\n我们作为 Google 搜索的用户,如果认定某条预测违反了相关的搜索自动补全政策,可以进行举报反馈,点击右下角“**举报不当的联想查询**”并勾选相关选项即可。\n\n![](https://gitee.com/yanglbme/resource/raw/master/doocs-md/report.gif)\n\n## 如何实现自动补全算法?\n目前,Google 官方似乎并没有公开搜索自动补全的算法实现,但是业界在这方面已经有了不少研究。\n\n一个好的自动补全器必须是快速的,并且在用户键入下一个字符后立即更新联想词列表。**自动补全器的核心是一个函数,它接受输入的前缀,并搜索以给定前缀开头的词汇或语句列表**。通常来说,只需要返回少量的数目即可。\n\n接下来,我们先从一个简单且低效的实现开始,并在此基础上逐步构建更高效的方法。\n\n### 词汇表实现\n一个**简单粗暴的实现方式**是:顺序查找词汇表,依次检查每个词汇,看它是否以给定的前缀开头。\n\n但是,此方法需要将前缀与每个词汇进行匹配检查,若词汇量较少,这种方式可能勉强行得通。但是,如果词汇量规模较大,效率就太低了。\n\n一个**更好的实现方式是**:让词汇按字典顺序排序。借助二分搜索算法,可以快速搜索有序词汇表中的前缀。由于二分搜索的每一步都会将搜索的范围减半,因此,总的搜索时间与词汇表中单词数量的对数成正比,即时间复杂度是 \\`O(log N)\\`。二分搜索的性能很好,但有没有更好的实现呢?当然有,往下看。\n\n### 前缀树实现\n通常来说,许多词汇都以相同的前缀开头,比如 \\`need\\`、\\`nested\\` 都以 \\`ne\\` 开头,\\`seed\\`、\\`speed\\` 都以 \\`s\\` 开头。要是为每个单词分别存储公共前缀似乎很浪费。\n\n![](https://gitee.com/yanglbme/resource/raw/master/doocs-md/pretree.png)\n\n前缀树是一种利用公共前缀来加速补全速度的数据结构。前缀树在节点树中排列一组单词,单词沿着从根节点到叶子节点的路径存储,树的层次对应于前缀的字母位置。\n\n前缀的补全是顺着前缀定义的路径来查找的。例如,在上图的前缀树中,前缀 \\`ne\\` 对应于从子节点取左边缘 \\`N\\` 和唯一边缘 \\`E\\` 的路径。然后可以通过继续遍历从 \\`E\\` 节点可以达到的所有叶节点来生成补全列表。在图中,\\`ne\\` 的补全可以是两个分支:\\`-ed\\` 和 \\`-sted\\`。如果在数中找不到由前缀定义的路径,则说明词汇表中不包含以该前缀开头的单词。\n\n### 有限状态自动机(DFA)实现\n前缀树可以有效处理公共前缀,但是,对于其他共享词部分,仍会分别存储在每个分支中。比如,后缀 \\`ed\\`、\\`ing\\`、\\`tion\\` 在英文单词中特别常见。在上一个例子中,\\`e\\`、\\`d\\` 分别存放在了每一个分支上。\n\n有没有一种方法可以更加节省存储空间呢?有的,那就是 DFA。\n\n
\n
\n\n在上面的例子中,单词 \\`need\\`、\\`nested\\`、\\`seed\\` 和 \\`speed\\` 仅由 9 个节点组成,而上一张图中的前缀树包含了 17 个节点。\n\n可以看出,最小化前缀树 DFA 可以在很大程度上减少数据结构的大小。即使词汇量很大,最小化 DFA 通常也适合在内存中存储,避免昂贵的磁盘访问是实现快速自动补全的关键。\n\n### 一些扩展\n上面介绍了如何利用合理的数据结构实现基本的自动补全功能。这些数据结构可以通过多种方式进行扩展,从而改善用户体验。\n\n通常,满足特定前缀的词汇可能很多,而用户界面上能够显示的却不多,我们更希望能显示最常搜索或者最有价值的词汇。这通常可以通过为词汇表中的每个单词增加一个代表单词值的**权重** \\`weight\\`,并且按照权重高低来排序自动补全列表。\n\n- 对于排序后的词汇表来说,在词汇表每个元素上增加 \\`weight\\` 属性并不难;\n- 对于前缀树来说,将 \\`weight\\` 存储在叶子节点中,也是很简单的一个实现;\n- 对于 \\`DFA\\` 来说,则较为复杂。因为一个叶子节点可以通过多条路径到达。一种解决方案是将权重关联到路径而不是叶子节点。\n\n目前有不少开源库都提供了这个功能,比如主流的搜索引擎框架 [Elasticsearch](https://www.elastic.co/products/elasticsearch)、[Solr](https://lucene.apache.org/solr/) 等,基于此,我们可以实现高效而强大的自动补全功能。\n\n#### 推荐阅读\n- [阿里又一个 20k+ stars 开源项目诞生,恭喜 fastjson!](https://mp.weixin.qq.com/s/RNKDCK2KoyeuMeEs6GUrow)\n- [刷掉 90% 候选人的互联网大厂海量数据面试题(附题解 + 方法总结)](https://mp.weixin.qq.com/s/rjGqxUvrEqJNlo09GrT1Dw)\n- [好用!期待已久的文本块功能究竟如何在 Java 13 中发挥作用?](https://mp.weixin.qq.com/s/kalGv5T8AZGxTnLHr2wDsA)\n- [2019 GitHub 开源贡献排行榜新鲜出炉!微软谷歌领头,阿里跻身前 12!](https://mp.weixin.qq.com/s/_q812aGD1b9QvZ2WFI0Qgw)\n\n---\n\n欢迎关注我的公众号“**Doocs开源社区**”,原创技术文章第一时间推送。\n\n
\n \n
\n\n`;\nexport default DEFAULT_CONTENT;\n","const DEFAULT_CSS_CONTENT = `/*\n 按Ctrl+F可格式化\n*/\n/* 一级标题样式 */\nh1 {\n}\n/* 二级标题样式 */\nh2 {\n}\n/* 三级标题样式 */\nh3 {\n}\n/* 四级标题样式 */\nh4 {\n}\n/* 图片样式 */\nimage {\n}\n/* 引用样式 */\nblockquote {\n}\n/* 引用段落样式 */\nblockquote_p {\n}\n/* 段落样式 */\np {\n}\n/* 行内代码样式 */\ncodespan {\n}\n/* 粗体样式 */\nstrong {\n}\n/* 链接样式 */\nlink {\n}\n/* 微信链接样式 */\nwx_link {\n}\n/* 有序列表样式 */\nol {\n}\n/* 无序列表样式 */\nul {\n}\n/* 列表项样式 */\nli {\n}\n`;\nexport default DEFAULT_CSS_CONTENT;\n","export default {\n BASE: {\n \"text-align\": \"left\",\n color: \"#3f3f3f\",\n \"line-height\": \"1.75\",\n },\n BASE_BLOCK: {\n margin: \"1em 8px\",\n },\n block: {\n // 一级标题样式\n h1: {\n \"font-size\": \"1.2em\",\n \"text-align\": \"center\",\n \"font-weight\": \"bold\",\n display: \"table\",\n margin: \"2em auto 1em\",\n padding: \"0 1em\",\n \"border-bottom\": \"2px solid rgba(0, 152, 116, 0.9)\",\n },\n\n // 二级标题样式\n h2: {\n \"font-size\": \"1.2em\",\n \"text-align\": \"center\",\n \"font-weight\": \"bold\",\n display: \"table\",\n margin: \"4em auto 2em\",\n padding: \"0 0.2em\",\n background: \"rgba(0, 152, 116, 0.9)\",\n color: \"#fff\",\n },\n\n // 三级标题样式\n h3: {\n \"font-weight\": \"bold\",\n \"font-size\": \"1.1em\",\n margin: \"2em 8px 0.75em 0\",\n \"line-height\": \"1.2\",\n \"padding-left\": \"8px\",\n \"border-left\": \"3px solid rgba(0, 152, 116, 0.9)\",\n },\n\n // 四级标题样式\n h4: {\n \"font-weight\": \"bold\",\n \"font-size\": \"1em\",\n margin: \"2em 8px 0.5em\",\n color: \"rgba(66, 185, 131, 0.9)\",\n },\n\n // 段落样式\n p: {\n margin: \"1.5em 8px\",\n \"letter-spacing\": \"0.1em\",\n },\n\n // 引用样式\n blockquote: {\n \"font-style\": \"normal\",\n \"border-left\": \"none\",\n padding: \"1em\",\n \"border-radius\": \"8px\",\n color: \"rgba(0,0,0,0.5)\",\n background: \"#f7f7f7\",\n margin: \"2em 8px\",\n },\n\n blockquote_p: {\n \"letter-spacing\": \"0.1em\",\n color: \"rgb(80, 80, 80)\",\n \"font-size\": \"1em\",\n display: \"block\",\n },\n\n code: {\n \"font-size\": \"80%\",\n overflow: \"auto\",\n color: \"#333\",\n \"white-space\": \"pre\",\n background: \"rgb(247, 247, 247)\",\n \"border-radius\": \"8px\",\n padding: \"10px\",\n \"line-height\": \"1.5\",\n border: \"1px solid rgb(236,236,236)\",\n margin: \"20px 0\",\n },\n\n image: {\n \"border-radius\": \"4px\",\n display: \"block\",\n margin: \"0.1em auto 0.5em\",\n width: \"100% !important\",\n },\n\n image_org: {\n \"border-radius\": \"4px\",\n display: \"block\",\n },\n\n ol: {\n \"margin-left\": \"0\",\n \"padding-left\": \"1em\",\n },\n\n ul: {\n \"margin-left\": \"0\",\n \"padding-left\": \"1em\",\n \"list-style\": \"circle\",\n },\n\n footnotes: {\n margin: \"0.5em 8px\",\n \"font-size\": \"80%\",\n },\n\n figure: {\n margin: \"1.5em 8px\",\n },\n },\n inline: {\n listitem: {\n \"text-indent\": \"-1em\",\n display: \"block\",\n margin: \"0.2em 8px\",\n },\n\n codespan: {\n \"font-size\": \"90%\",\n \"white-space\": \"pre\",\n color: \"#d14\",\n background: \"rgba(27,31,35,.05)\",\n padding: \"3px 5px\",\n \"border-radius\": \"4px\",\n },\n\n link: {\n color: \"#576b95\",\n },\n\n wx_link: {\n color: \"#576b95\",\n \"text-decoration\": \"none\",\n },\n\n // 字体加粗样式\n strong: {\n color: \"rgba(15, 76, 129, 0.9)\",\n \"font-weight\": \"bold\",\n },\n\n table: {\n \"border-collapse\": \"collapse\",\n \"text-align\": \"center\",\n margin: \"1em 8px\",\n },\n\n thead: {\n background: \"rgba(0, 0, 0, 0.05)\",\n \"font-weight\": \"bold\",\n },\n\n td: {\n border: \"1px solid #dfdfdf\",\n padding: \"0.25em 0.5em\",\n },\n\n footnote: {\n \"font-size\": \"12px\",\n },\n\n figcaption: {\n \"text-align\": \"center\",\n color: \"#888\",\n \"font-size\": \"0.8em\",\n },\n },\n};\n","import default_theme from \"./themes/default-theme\";\nimport prettier from \"prettier/standalone\";\nimport prettierMarkdown from \"prettier/parser-markdown\";\nimport prettierCss from \"prettier/parser-postcss\";\n\n// 设置自定义颜色\nexport function setColorWithTemplate(template) {\n return function (color) {\n let custom_theme = JSON.parse(JSON.stringify(template));\n custom_theme.block.h1[\"border-bottom\"] = `2px solid ${color}`;\n custom_theme.block.h2[\"background\"] = color;\n custom_theme.block.h3[\"border-left\"] = `3px solid ${color}`;\n custom_theme.block.h4[\"color\"] = color;\n custom_theme.inline.strong[\"color\"] = color;\n return custom_theme;\n };\n}\n\nexport const setColorWithCustomTemplate = function setColorWithCustomTemplate(\n template,\n color\n) {\n let custom_theme = JSON.parse(JSON.stringify(template));\n custom_theme.block.h1[\"border-bottom\"] = `2px solid ${color}`;\n custom_theme.block.h2[\"background\"] = color;\n custom_theme.block.h3[\"border-left\"] = `3px solid ${color}`;\n custom_theme.block.h4[\"color\"] = color;\n custom_theme.inline.strong[\"color\"] = color;\n return custom_theme;\n};\n\n// 设置自定义字体大小\nexport function setFontSizeWithTemplate(template) {\n return function (fontSize) {\n let custom_theme = JSON.parse(JSON.stringify(template));\n custom_theme.block.h1[\"font-size\"] = `${fontSize * 1.14}px`;\n custom_theme.block.h2[\"font-size\"] = `${fontSize * 1.1}px`;\n custom_theme.block.h3[\"font-size\"] = `${fontSize}px`;\n custom_theme.block.h4[\"font-size\"] = `${fontSize}px`;\n return custom_theme;\n };\n}\n\nexport const setColor = setColorWithTemplate(default_theme);\nexport const setFontSize = setFontSizeWithTemplate(default_theme);\n\nexport function customCssWithTemplate(jsonString, color, theme) {\n let custom_theme = JSON.parse(JSON.stringify(theme));\n // block\n custom_theme.block.h1[\"border-bottom\"] = `2px solid ${color}`;\n custom_theme.block.h2[\"background\"] = color;\n custom_theme.block.h3[\"border-left\"] = `3px solid ${color}`;\n custom_theme.block.h4[\"color\"] = color;\n custom_theme.inline.strong[\"color\"] = color;\n\n custom_theme.block.h1 = Object.assign(custom_theme.block.h1, jsonString.h1);\n custom_theme.block.h2 = Object.assign(custom_theme.block.h2, jsonString.h2);\n custom_theme.block.h3 = Object.assign(custom_theme.block.h3, jsonString.h3);\n custom_theme.block.h4 = Object.assign(custom_theme.block.h4, jsonString.h4);\n custom_theme.block.p = Object.assign(custom_theme.block.p, jsonString.p);\n custom_theme.block.blockquote = Object.assign(\n custom_theme.block.blockquote,\n jsonString.blockquote\n );\n custom_theme.block.blockquote_p = Object.assign(\n custom_theme.block.blockquote_p,\n jsonString.blockquote_p\n );\n custom_theme.block.image = Object.assign(\n custom_theme.block.image,\n jsonString.image\n );\n\n // inline\n custom_theme.inline.strong = Object.assign(\n custom_theme.inline.strong,\n jsonString.strong\n );\n custom_theme.inline.codespan = Object.assign(\n custom_theme.inline.codespan,\n jsonString.codespan\n );\n custom_theme.inline.link = Object.assign(\n custom_theme.inline.link,\n jsonString.link\n );\n custom_theme.inline.wx_link = Object.assign(\n custom_theme.inline.wx_link,\n jsonString.wx_link\n );\n custom_theme.block.ul = Object.assign(custom_theme.block.ul, jsonString.ul);\n custom_theme.block.ol = Object.assign(custom_theme.block.ol, jsonString.ol);\n custom_theme.inline.listitem = Object.assign(\n custom_theme.inline.listitem,\n jsonString.li\n );\n return custom_theme;\n}\n\n/**\n * 将CSS形式的字符串转换为JSON\n *\n * @param {css字符串} css\n */\nexport function css2json(css) {\n // 移除CSS所有注释\n let open, close;\n while (\n (open = css.indexOf(\"/*\")) !== -1 &&\n (close = css.indexOf(\"*/\")) !== -1\n ) {\n css = css.substring(0, open) + css.substring(close + 2);\n }\n\n // 初始化返回值\n let json = {};\n\n while (css.length > 0 && css.indexOf(\"{\") !== -1 && css.indexOf(\"}\") !== -1) {\n // 存储第一个左/右花括号的下标\n const lbracket = css.indexOf(\"{\");\n const rbracket = css.indexOf(\"}\");\n\n // 第一步:将声明转换为Object,如:\n // `font: 'Times New Roman' 1em; color: #ff0000; margin-top: 1em;`\n // ==>\n // `{\"font\": \"'Times New Roman' 1em\", \"color\": \"#ff0000\", \"margin-top\": \"1em\"}`\n\n // 辅助方法:将array转为object\n function toObject(array) {\n let ret = {};\n array.forEach((e) => {\n const index = e.indexOf(\":\");\n const property = e.substring(0, index).trim();\n const value = e.substring(index + 1).trim();\n ret[property] = value;\n });\n return ret;\n }\n\n // 切割声明块并移除空白符,然后放入数组中\n let declarations = css\n .substring(lbracket + 1, rbracket)\n .split(\";\")\n .map((e) => e.trim())\n .filter((e) => e.length > 0); // 移除所有\"\"空值\n\n // 转为Object对象\n declarations = toObject(declarations);\n\n // 第二步:选择器处理,每个选择器会与它对应的声明相关联,如:\n // `h1, p#bar {color: red}`\n // ==>\n // {\"h1\": {color: red}, \"p#bar\": {color: red}}\n\n let selectors = css\n .substring(0, lbracket)\n // 以,切割,并移除空格:`\"h1, p#bar, span.foo\"` => [\"h1\", \"p#bar\", \"span.foo\"]\n .split(\",\")\n .map((selector) => selector.trim());\n\n // 迭代赋值\n selectors.forEach((selector) => {\n // 若不存在,则先初始化\n if (!json[selector]) json[selector] = {};\n // 赋值到JSON\n Object.keys(declarations).forEach((key) => {\n json[selector][key] = declarations[key];\n });\n });\n\n // 继续下个声明块\n css = css.slice(rbracket + 1).trim();\n }\n\n // 返回JSON形式的结果串\n return json;\n}\n\n/**\n * 将编辑器内容保存到 LocalStorage\n * @param {*} editor\n * @param {*} name\n */\nexport function saveEditorContent(editor, name) {\n const content = editor.getValue(0);\n if (content) {\n localStorage.setItem(name, content);\n } else {\n localStorage.removeItem(name);\n }\n}\n\n/**\n * 格式化文档\n * @param {文档内容} content\n */\nexport function formatDoc(content) {\n const doc = prettier.format(content, {\n parser: \"markdown\",\n plugins: [prettierMarkdown],\n });\n return doc;\n}\n\n/**\n * 格式化css\n * @param {css内容}} content\n */\nexport function formatCss(content) {\n const doc = prettier.format(content, {\n parser: \"css\",\n plugins: [prettierCss],\n });\n return doc;\n}\n\nexport function fixCodeWhiteSpace(value = \"pre\") {\n const preDomList = document.getElementsByClassName(\"code__pre\");\n if (preDomList.length > 0) {\n preDomList.forEach((pre) => {\n pre.style.whiteSpace = value;\n });\n }\n}\n\n/**\n * 导出原始 Markdown 文档\n * @param {文档内容} doc\n */\nexport function downloadMD(doc) {\n let downLink = document.createElement(\"a\");\n\n downLink.download = \"content.md\";\n downLink.style.display = \"none\";\n let blob = new Blob([doc]);\n\n downLink.href = URL.createObjectURL(blob);\n document.body.appendChild(downLink);\n downLink.click();\n document.body.removeChild(downLink);\n}\n\n/**\n * 导出 HTML 生成内容\n */\nexport function exportHTML() {\n const element = document.querySelector(\"#output\");\n setStyles(element);\n const htmlStr = element.innerHTML;\n\n const downLink = document.createElement(\"a\");\n\n downLink.download = \"content.html\";\n downLink.style.display = \"none\";\n let blob = new Blob([\n `
${htmlStr}
`,\n ]);\n\n downLink.href = URL.createObjectURL(blob);\n document.body.appendChild(downLink);\n downLink.click();\n document.body.removeChild(downLink);\n\n function setStyles(element) {\n switch (true) {\n case isSection(element):\n case isPre(element):\n case isCode(element):\n case isSpan(element):\n element.setAttribute(\"style\", getElementStyles(element));\n default:\n }\n if (element.children.length) {\n Array.from(element.children).forEach((child) => setStyles(child));\n }\n\n // 判断是否是包裹代码块的 section 元素\n function isSection(element) {\n return (\n element.tagName === \"SECTION\" &&\n Array.from(element.classList).includes(\"code-snippet__github\")\n );\n }\n // 判断是否是包裹代码块的 pre 元素\n function isPre(element) {\n return (\n element.tagName === \"PRE\" &&\n Array.from(element.classList).includes(\"code__pre\")\n );\n }\n // 判断是否是包裹代码块的 code 元素\n function isCode(element) {\n return (\n element.tagName === \"CODE\" &&\n Array.from(element.classList).includes(\"prettyprint\")\n );\n }\n // 判断是否是包裹代码字符的 span 元素\n function isSpan(element) {\n return (\n element.tagName === \"SPAN\" &&\n (isCode(element.parentElement) ||\n isCode(element.parentElement.parentElement))\n );\n }\n }\n}\n\n/**\n * 生成列表字符串\n * @param {*} data 对应内容集合\n * @param {*} rows 行\n * @param {*} cols 列\n */\nexport function createTable({ data, rows, cols }) {\n let table = \"\";\n let currRow = [];\n for (let i = 0; i < rows + 2; ++i) {\n table += \"|\\t\";\n currRow = [];\n for (let j = 0; j < cols; ++j) {\n const rowIdx = i > 1 ? i - 1 : i;\n i === 1\n ? currRow.push(\"---\\t\")\n : currRow.push(data[`k_${rowIdx}_${j}`] || \"\");\n }\n table += currRow.join(\"\\t|\\t\");\n table += \"\\t|\\n\";\n }\n\n return table;\n}\n\nexport const toBase64 = (file) =>\n new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.readAsDataURL(file);\n reader.onload = () => resolve(reader.result.split(\",\").pop());\n reader.onerror = (error) => reject(error);\n });\n\nexport function checkImage(file) {\n // check filename suffix\n const isValidSuffix = /\\.(gif|jpg|jpeg|png|GIF|JPG|PNG)$/.test(file.name);\n if (!isValidSuffix) {\n return {\n ok: false,\n msg: \"请上传 JPG/PNG/GIF 格式的图片\",\n };\n }\n\n // check file size\n const maxSize = 5;\n const isLt5M = file.size / 1024 / 1024 <= maxSize;\n if (!isLt5M) {\n return {\n ok: false,\n msg: `由于公众号限制,图片大小不能超过 ${maxSize}M`,\n };\n }\n return { ok: true };\n}\n\n/**\n * 获取一个 DOM 元素的所有样式,\n * @param {DOM 元素} element DOM 元素\n * @param {排除的属性} excludes 如果某些属性对结果有不良影响,可以使用这个参数来排除\n * @returns 行内样式拼接结果\n */\nfunction getElementStyles(element, excludes = [\"width\", \"height\"]) {\n const styles = getComputedStyle(element, null);\n return Object.entries(styles)\n .filter(([key]) => styles.getPropertyValue(key) && !excludes.includes(key))\n .map(([key, value]) => `${key}:${value};`)\n .join(\"\");\n}\n","import Vue from \"vue\";\nimport Vuex from \"vuex\";\nimport config from \"../assets/scripts/config\";\nimport WxRenderer from \"../assets/scripts/renderers/wx-renderer\";\nimport marked from \"marked\";\nimport CodeMirror from \"codemirror/lib/codemirror\";\nimport DEFAULT_CONTENT from \"../assets/scripts/default-content\";\nimport DEFAULT_CSS_CONTENT from \"../assets/scripts/themes/default-theme-css\";\nimport { setColor, formatDoc, formatCss } from \"../assets/scripts/util\";\n\nVue.use(Vuex);\n\nconst state = {\n wxRenderer: null,\n output: \"\",\n html: \"\",\n editor: null,\n cssEditor: null,\n currentFont: \"\",\n currentSize: \"\",\n currentColor: \"\",\n citeStatus: 0,\n nightMode: false,\n codeTheme: \"github\",\n rightClickMenuVisible: false,\n};\nconst mutations = {\n setEditorValue(state, data) {\n state.editor.setValue(data);\n },\n setCssEditorValue(state, data) {\n state.cssEditor.setValue(data);\n },\n setWxRendererOptions(state, data) {\n state.wxRenderer.setOptions(data);\n },\n setCiteStatus(state, data) {\n state.citeStatus = data;\n localStorage.setItem(\"citeStatus\", data);\n },\n setCurrentFont(state, data) {\n state.currentFont = data;\n localStorage.setItem(\"fonts\", data);\n },\n setCurrentSize(state, data) {\n state.currentSize = data;\n localStorage.setItem(\"size\", data);\n },\n setCurrentColor(state, data) {\n state.currentColor = data;\n localStorage.setItem(\"color\", data);\n },\n setCurrentCodeTheme(state, data) {\n state.codeTheme = data;\n localStorage.setItem(\"codeTheme\", data);\n },\n setRightClickMenuVisible(state, data) {\n state.rightClickMenuVisible = data;\n },\n themeChanged(state) {\n state.nightMode = !state.nightMode;\n localStorage.setItem(\"nightMode\", state.nightMode);\n },\n initEditorState(state) {\n state.currentFont =\n localStorage.getItem(\"fonts\") || config.builtinFonts[0].value;\n state.currentColor =\n localStorage.getItem(\"color\") || config.colorOption[0].value;\n state.currentSize =\n localStorage.getItem(\"size\") || config.sizeOption[2].value;\n state.codeTheme =\n localStorage.getItem(\"codeTheme\") || config.codeThemeOption[0].value;\n state.citeStatus = localStorage.getItem(\"citeStatus\") === \"true\";\n state.nightMode = localStorage.getItem(\"nightMode\") === \"true\";\n state.wxRenderer = new WxRenderer({\n theme: setColor(state.currentColor),\n fonts: state.currentFont,\n size: state.currentSize,\n status: state.citeStatus,\n });\n },\n initEditorEntity(state) {\n const editorDom = document.getElementById(\"editor\");\n\n if (!editorDom.value) {\n editorDom.value =\n localStorage.getItem(\"__editor_content\") || formatDoc(DEFAULT_CONTENT);\n }\n state.editor = CodeMirror.fromTextArea(editorDom, {\n mode: \"text/x-markdown\",\n theme: \"xq-light\",\n lineNumbers: false,\n lineWrapping: true,\n styleActiveLine: true,\n autoCloseBrackets: true,\n extraKeys: {\n \"Ctrl-F\": function autoFormat(editor) {\n const doc = formatDoc(editor.getValue(0));\n localStorage.setItem(\"__editor_content\", doc);\n editor.setValue(doc);\n },\n \"Ctrl-S\": function save(editor) {},\n },\n });\n },\n initCssEditorEntity(state) {\n const cssEditorDom = document.getElementById(\"cssEditor\");\n\n if (!cssEditorDom.value) {\n cssEditorDom.value =\n localStorage.getItem(\"__css_content\") || DEFAULT_CSS_CONTENT;\n }\n state.cssEditor = CodeMirror.fromTextArea(cssEditorDom, {\n mode: \"css\",\n theme: \"style-mirror\",\n lineNumbers: false,\n lineWrapping: true,\n matchBrackets: true,\n autofocus: true,\n extraKeys: {\n \"Ctrl-F\": function autoFormat(editor) {\n const doc = formatCss(editor.getValue(0));\n localStorage.setItem(\"__css_content\", doc);\n editor.setValue(doc);\n },\n \"Ctrl-S\": function save(editor) {},\n },\n });\n },\n editorRefresh(state) {\n let output = marked(state.editor.getValue(0), {\n renderer: state.wxRenderer.getRenderer(state.citeStatus),\n });\n\n // 去除第一行的 margin-top\n output = output.replace(/(style=\".*?)\"/, '$1;margin-top: 0\"');\n if (state.citeStatus) {\n // 引用脚注\n output += state.wxRenderer.buildFootnotes();\n // 附加的一些 style\n output += state.wxRenderer.buildAddition();\n }\n state.output = output;\n },\n clearEditorToDefault(state) {\n const doc = formatDoc(DEFAULT_CONTENT);\n\n state.editor.setValue(doc);\n state.cssEditor.setValue(DEFAULT_CSS_CONTENT);\n },\n};\n\nexport default new Vuex.Store({\n state,\n mutations,\n actions: {},\n});\n","import Vue from \"vue\";\nimport {\n Loading,\n Message,\n} from \"element-ui\";\n\nVue.component(Message.name, Message);\n\nVue.prototype.$loading = Loading.service;\nVue.prototype.$message = Message;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.loading)?_c('transition',{attrs:{\"name\":\"fade\"}},[_c('loading')],1):_c('codemirror-editor')}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container\",class:{ container_night: _vm.nightMode }},[_c('el-container',[_c('el-header',{staticClass:\"editor__header\"},[_c('editor-header',{ref:\"header\",on:{\"refresh\":_vm.onEditorRefresh,\"cssChanged\":_vm.cssChanged,\"download\":_vm.downloadEditorContent,\"export\":_vm.exportEditorContent,\"showCssEditor\":function($event){_vm.showCssEditor = !_vm.showCssEditor},\"show-about-dialog\":function($event){_vm.aboutDialogVisible = true},\"show-dialog-form\":function($event){_vm.dialogFormVisible = true},\"show-dialog-upload-img\":function($event){_vm.dialogUploadImgVisible = true},\"startCopy\":function($event){(_vm.isCoping = true), (_vm.backLight = true)},\"endCopy\":_vm.endCopy}})],1),_c('el-main',{staticClass:\"main-body\"},[_c('el-row',{staticClass:\"main-section\"},[_c('el-col',{staticClass:\"codeMirror-wrapper\",attrs:{\"span\":12},nativeOn:{\"contextmenu\":function($event){$event.preventDefault();return _vm.openMenu($event)}}},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.source),expression:\"source\"}],attrs:{\"id\":\"editor\",\"type\":\"textarea\",\"placeholder\":\"Your markdown text here.\"},domProps:{\"value\":(_vm.source)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.source=$event.target.value}}})]),_c('el-col',{ref:\"preview\",staticClass:\"preview-wrapper\",class:{\n 'preview-wrapper_night': _vm.nightMode && _vm.isCoping,\n },attrs:{\"span\":12,\"id\":\"preview\"}},[_c('section',{class:{ output_night: _vm.nightMode && !_vm.backLight },attrs:{\"id\":\"output-wrapper\"}},[_c('div',{staticClass:\"preview\"},[_c('section',{attrs:{\"id\":\"output\"},domProps:{\"innerHTML\":_vm._s(_vm.output)}}),(_vm.nightMode && _vm.isCoping)?_c('div',{staticClass:\"loading-mask\"},[_c('div',{staticClass:\"loading__img\"}),_c('span',[_vm._v(\"正在生成\")])]):_vm._e()])])]),_c('transition',{attrs:{\"name\":\"custom-classes-transition\",\"enter-active-class\":\"bounceInRight\"}},[_c('el-col',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showCssEditor),expression:\"showCssEditor\"}],staticClass:\"cssEditor-wrapper\",attrs:{\"id\":\"cssBox\",\"span\":12}},[_c('textarea',{attrs:{\"id\":\"cssEditor\",\"type\":\"textarea\",\"placeholder\":\"Your custom css here.\"}})])],1)],1)],1)],1),_c('upload-img-dialog',{on:{\"close\":function($event){_vm.dialogUploadImgVisible = false},\"beforeUpload\":_vm.beforeUpload,\"uploadImage\":_vm.uploadImage,\"uploaded\":_vm.uploaded},model:{value:(_vm.dialogUploadImgVisible),callback:function ($$v) {_vm.dialogUploadImgVisible=$$v},expression:\"dialogUploadImgVisible\"}}),_c('about-dialog',{model:{value:(_vm.aboutDialogVisible),callback:function ($$v) {_vm.aboutDialogVisible=$$v},expression:\"aboutDialogVisible\"}}),_c('insert-form-dialog',{model:{value:(_vm.dialogFormVisible),callback:function ($$v) {_vm.dialogFormVisible=$$v},expression:\"dialogFormVisible\"}}),_c('right-click-menu',{attrs:{\"left\":_vm.mouseLeft,\"top\":_vm.mouseTop},on:{\"menuTick\":_vm.onMenuEvent,\"closeMenu\":_vm.closeRightClickMenu},model:{value:(_vm.rightClickMenuVisible),callback:function ($$v) {_vm.rightClickMenuVisible=$$v},expression:\"rightClickMenuVisible\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-container',{staticClass:\"top is-dark\"},[_c('div',{staticClass:\"left-side\"},[_c('el-tooltip',{attrs:{\"effect\":_vm.effect,\"content\":\"上传图片\",\"placement\":\"bottom-start\"}},[_c('i',{staticClass:\"el-icon-upload\",attrs:{\"size\":\"medium\"},on:{\"click\":function($event){return _vm.$emit('show-dialog-upload-img')}}})]),_c('el-tooltip',{staticClass:\"header__item\",attrs:{\"effect\":_vm.effect,\"content\":\"导出 Markdown 文档\",\"placement\":\"bottom-start\"}},[_c('i',{staticClass:\"el-icon-download\",attrs:{\"size\":\"medium\"},on:{\"click\":function($event){return _vm.$emit('download')}}})]),_c('el-tooltip',{staticClass:\"header__item\",attrs:{\"effect\":_vm.effect,\"content\":\"导出 HTML 页面\",\"placement\":\"bottom-start\"}},[_c('i',{staticClass:\"el-icon-document\",attrs:{\"size\":\"medium\"},on:{\"click\":function($event){return _vm.$emit('export')}}})]),_c('el-tooltip',{staticClass:\"header__item\",attrs:{\"effect\":_vm.effect,\"content\":\"重置页面\",\"placement\":\"bottom-start\"}},[_c('i',{staticClass:\"el-icon-refresh\",attrs:{\"size\":\"medium\"},on:{\"click\":function($event){_vm.showResetConfirm = true}}})]),_c('el-tooltip',{staticClass:\"header__item header__item_last\",attrs:{\"effect\":_vm.effect,\"content\":\"插入表格\",\"placement\":\"bottom-start\"}},[_c('i',{staticClass:\"el-icon-s-grid\",attrs:{\"size\":\"medium\"},on:{\"click\":function($event){return _vm.$emit('show-dialog-form')}}})]),_c('el-select',{attrs:{\"size\":\"mini\",\"placeholder\":\"选择字体\",\"clearable\":\"\"},on:{\"change\":_vm.fontChanged},model:{value:(_vm.selectFont),callback:function ($$v) {_vm.selectFont=$$v},expression:\"selectFont\"}},_vm._l((_vm.config.builtinFonts),function(font){return _c('el-option',{key:font.value,style:({ fontFamily: font.value }),attrs:{\"label\":font.label,\"value\":font.value}},[_c('span',{staticClass:\"select-item-left\"},[_vm._v(_vm._s(font.label))]),_c('span',{staticClass:\"select-item-right\"},[_vm._v(\"Abc\")])])}),1),_c('el-select',{attrs:{\"size\":\"mini\",\"placeholder\":\"选择段落字号\",\"clearable\":\"\"},on:{\"change\":_vm.sizeChanged},model:{value:(_vm.selectSize),callback:function ($$v) {_vm.selectSize=$$v},expression:\"selectSize\"}},_vm._l((_vm.config.sizeOption),function(size){return _c('el-option',{key:size.value,attrs:{\"label\":size.label,\"value\":size.value}},[_c('span',{staticClass:\"select-item-left\"},[_vm._v(_vm._s(size.label))]),_c('span',{staticClass:\"select-item-right\"},[_vm._v(_vm._s(size.desc))])])}),1),_c('el-select',{attrs:{\"size\":\"mini\",\"placeholder\":\"选择颜色\",\"clearable\":\"\"},on:{\"change\":_vm.colorChanged},model:{value:(_vm.selectColor),callback:function ($$v) {_vm.selectColor=$$v},expression:\"selectColor\"}},_vm._l((_vm.config.colorOption),function(color){return _c('el-option',{key:color.value,attrs:{\"label\":color.label,\"value\":color.value}},[_c('span',{staticClass:\"select-item-left\"},[_vm._v(_vm._s(color.label))]),_c('span',{staticClass:\"select-item-right\"},[_vm._v(_vm._s(color.desc))])])}),1),_c('el-tooltip',{attrs:{\"content\":\"自定义颜色\",\"effect\":_vm.effect,\"placement\":\"top\"}},[_c('el-color-picker',{attrs:{\"size\":\"mini\",\"show-alpha\":\"\"},on:{\"change\":_vm.colorChanged},model:{value:(_vm.selectColor),callback:function ($$v) {_vm.selectColor=$$v},expression:\"selectColor\"}})],1),_c('el-tooltip',{attrs:{\"content\":\"微信外链自动转为文末引用\",\"effect\":_vm.effect,\"placement\":\"top\"}},[_c('el-switch',{staticClass:\"header__switch\",attrs:{\"active-color\":\"#67c23a\",\"inactive-color\":\"#dcdfe6\"},on:{\"change\":_vm.statusChanged},model:{value:(_vm.citeStatus),callback:function ($$v) {_vm.citeStatus=$$v},expression:\"citeStatus\"}})],1)],1),_c('div',{staticClass:\"right-side\"},[_c('el-tooltip',{staticClass:\"item\",attrs:{\"effect\":_vm.effect,\"content\":\"自定义CSS样式\",\"placement\":\"left\"}},[_c('el-button',{attrs:{\"type\":_vm.btnType,\"plain\":\"\",\"size\":\"medium\",\"icon\":\"el-icon-setting\"},on:{\"click\":_vm.customStyle}})],1),_c('el-button',{attrs:{\"type\":_vm.btnType,\"plain\":\"\",\"size\":\"medium\",\"placement\":\"bottom-start\"},on:{\"click\":_vm.copy}},[_vm._v(\"复制\")]),_c('el-button',{staticClass:\"about\",attrs:{\"type\":_vm.btnType,\"plain\":\"\",\"size\":\"medium\"},on:{\"click\":function($event){return _vm.$emit('show-about-dialog')}}},[_vm._v(\"关于\")]),_c('el-tooltip',{attrs:{\"content\":_vm.btnContent,\"effect\":_vm.effect,\"placement\":\"bottom-start\"}},[(_vm.nightMode)?_c('div',{staticClass:\"mode__switch mode__switch_black\",on:{\"click\":_vm.themeChanged}}):_c('div',{staticClass:\"mode__switch\",on:{\"click\":_vm.themeChanged}})])],1),_c('resetDialog',{attrs:{\"showResetConfirm\":_vm.showResetConfirm},on:{\"confirm\":_vm.confirmReset,\"close\":_vm.cancelReset}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import juice from \"juice\";\n\nexport function solveWeChatImage() {\n const clipboardDiv = document.getElementById(\"output\");\n const images = clipboardDiv.getElementsByTagName(\"img\");\n for (let i = 0; i < images.length; i++) {\n const image = images[i];\n const width = image.getAttribute(\"width\");\n const height = image.getAttribute(\"height\");\n image.removeAttribute(\"width\");\n image.removeAttribute(\"height\");\n image.style.width = width;\n image.style.height = height;\n }\n}\nexport function solveHtml() {\n const element = document.getElementById(\"output-wrapper\");\n let html = element.innerHTML;\n let res = \"\";\n res = juice.inlineContent(html, {\n inlinePseudoElements: true,\n preserveImportant: true,\n });\n return res;\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:\"reset__dialog\",attrs:{\"title\":\"提示\",\"visible\":_vm.showResetConfirm},on:{\"close\":function($event){return _vm.$emit('close')}}},[_c('div',{staticClass:\"text\"},[_vm._v(\"此操作将丢失本地缓存的文本和自定义样式,是否继续?\")]),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":_vm.btnType,\"plain\":\"\"},on:{\"click\":function($event){return _vm.$emit('close')}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":_vm.btnType,\"plain\":\"\"},on:{\"click\":function($event){return _vm.$emit('confirm')}}},[_vm._v(\"确 定\")])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./resetDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./resetDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./resetDialog.vue?vue&type=template&id=68392714&scoped=true&\"\nimport script from \"./resetDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./resetDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./resetDialog.vue?vue&type=style&index=0&id=68392714&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"68392714\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./header.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./header.vue?vue&type=template&id=54b819f8&scoped=true&\"\nimport script from \"./header.vue?vue&type=script&lang=js&\"\nexport * from \"./header.vue?vue&type=script&lang=js&\"\nimport style0 from \"./header.vue?vue&type=style&index=0&id=54b819f8&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"54b819f8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:\"about__dialog\",attrs:{\"title\":\"关于\",\"visible\":_vm.value,\"width\":\"30%\",\"center\":\"\"},on:{\"close\":function($event){return _vm.$emit('input', false)}}},[_c('div',{staticStyle:{\"text-align\":\"center\"}},[_c('h3',[_vm._v(\"一款高度简洁的微信 Markdown 编辑器\")])]),_c('div',{staticStyle:{\"text-align\":\"center\",\"margin-top\":\"10px\"}},[_c('p',[_vm._v(\"扫码关注我的公众号,原创技术文章第一时间推送!\")]),_c('img',{staticStyle:{\"width\":\"40%\",\"display\":\"block\",\"margin\":\"20px auto 10px\"},attrs:{\"src\":\"https://gitee.com/yanglbme/resource/raw/master/doocs-md/qrcode.png\"}})]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"plain\":\"\"},on:{\"click\":function($event){return _vm.onRedirect('https://github.com/doocs/md')}}},[_vm._v(\"GitHub 仓库\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"plain\":\"\"},on:{\"click\":function($event){return _vm.onRedirect('https://gitee.com/doocs/md')}}},[_vm._v(\"Gitee 仓库\")])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./aboutDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./aboutDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./aboutDialog.vue?vue&type=template&id=70c50907&scoped=true&\"\nimport script from \"./aboutDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./aboutDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./aboutDialog.vue?vue&type=style&index=0&id=70c50907&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"70c50907\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:\"insert__dialog\",attrs:{\"title\":\"插入表格\",\"visible\":_vm.value,\"border\":\"\"},on:{\"close\":function($event){return _vm.$emit('input', false)}}},[_c('el-row',{staticClass:\"tb-options\",attrs:{\"type\":\"flex\",\"align\":\"middle\",\"gutter\":10}},[_c('el-col',[_vm._v(\" 行数: \"),_c('el-input-number',{attrs:{\"controls-position\":\"right\",\"min\":1,\"max\":100,\"size\":\"small\"},model:{value:(_vm.rowNum),callback:function ($$v) {_vm.rowNum=$$v},expression:\"rowNum\"}})],1),_c('el-col',[_vm._v(\" 列数: \"),_c('el-input-number',{attrs:{\"controls-position\":\"right\",\"min\":1,\"max\":100,\"size\":\"small\"},model:{value:(_vm.colNum),callback:function ($$v) {_vm.colNum=$$v},expression:\"colNum\"}})],1)],1),_c('table',{staticClass:\"input-table\",staticStyle:{\"border-collapse\":\"collapse\"}},_vm._l((_vm.rowNum + 1),function(row){return _c('tr',{key:row,class:{ 'head-style': row === 1 }},_vm._l((_vm.colNum),function(col){return _c('td',{key:col},[_c('el-input',{attrs:{\"align\":\"center\",\"placeholder\":row === 1 ? '表头' : ''},model:{value:(_vm.tableData[(\"k_\" + (row - 1) + \"_\" + (col - 1))]),callback:function ($$v) {_vm.$set(_vm.tableData, (\"k_\" + (row - 1) + \"_\" + (col - 1)), $$v)},expression:\"tableData[`k_${row - 1}_${col - 1}`]\"}})],1)}),0)}),0),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":_vm.btnType,\"plain\":\"\"},on:{\"click\":function($event){return _vm.$emit('input', false)}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":_vm.btnType,\"plain\":\"\"},on:{\"click\":_vm.insertTable}},[_vm._v(\"确 定\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./insertForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./insertForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./insertForm.vue?vue&type=template&id=4dd4e7e2&scoped=true&\"\nimport script from \"./insertForm.vue?vue&type=script&lang=js&\"\nexport * from \"./insertForm.vue?vue&type=script&lang=js&\"\nimport style0 from \"./insertForm.vue?vue&type=style&index=0&id=4dd4e7e2&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4dd4e7e2\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.value),expression:\"value\"}],staticClass:\"menu\",style:((\"left: \" + _vm.left + \"px;top: \" + _vm.top + \"px;\")),attrs:{\"id\":\"menu\"}},_vm._l((_vm.menu),function(menuItem,index){return _c('div',{key:index,staticClass:\"menu__group\"},_vm._l((menuItem),function(item){return _c('li',{key:item.key,staticClass:\"menu_item\",on:{\"mousedown\":function($event){return _vm.onMouseDown(item.key)}}},[_c('span',[_vm._v(_vm._s(item.text))])])}),0)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./rightClickMenu.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./rightClickMenu.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./rightClickMenu.vue?vue&type=template&id=a704a2f8&scoped=true&\"\nimport script from \"./rightClickMenu.vue?vue&type=script&lang=js&\"\nexport * from \"./rightClickMenu.vue?vue&type=script&lang=js&\"\nimport style0 from \"./rightClickMenu.vue?vue&type=style&index=0&id=a704a2f8&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a704a2f8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:\"upload__dialog\",attrs:{\"title\":\"本地上传\",\"visible\":_vm.value},on:{\"close\":function($event){return _vm.$emit('close')}}},[_c('el-tabs',{attrs:{\"type\":\"activeName\",\"value\":'upload'}},[_c('el-tab-pane',{staticClass:\"upload-panel\",attrs:{\"label\":\"选择上传\",\"name\":\"upload\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\",\"size\":\"small\"},on:{\"change\":_vm.changeImgHost},model:{value:(_vm.imgHost),callback:function ($$v) {_vm.imgHost=$$v},expression:\"imgHost\"}},_vm._l((_vm.options),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1),_c('el-upload',{attrs:{\"drag\":\"\",\"action\":\"\",\"headers\":{ 'Content-Type': 'multipart/form-data' },\"show-file-list\":false,\"multiple\":true,\"accept\":\".jpg, .jpeg, .png, .gif\",\"name\":\"file\",\"before-upload\":_vm.beforeImageUpload,\"http-request\":_vm.uploadImage}},[_c('i',{staticClass:\"el-icon-upload\"}),_c('div',{staticClass:\"el-upload__text\"},[_vm._v(\" 将图片拖到此处,或 \"),_c('em',[_vm._v(\"点击上传\")])])])],1),_c('el-tab-pane',{staticClass:\"github-panel\",attrs:{\"label\":\"Gitee 图床\",\"name\":\"gitee\"}},[_c('el-form',{staticClass:\"setting-form\",attrs:{\"model\":_vm.formGitee,\"label-position\":\"right\",\"label-width\":\"140px\"}},[_c('el-form-item',{attrs:{\"label\":\"Gitee 仓库\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:gitee.com/yanglbme/resource\"},model:{value:(_vm.formGitee.repo),callback:function ($$v) {_vm.$set(_vm.formGitee, \"repo\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formGitee.repo\"}})],1),_c('el-form-item',{attrs:{\"label\":\"分支\"}},[_c('el-input',{attrs:{\"placeholder\":\"如:release,可不填,默认 master\"},model:{value:(_vm.formGitee.branch),callback:function ($$v) {_vm.$set(_vm.formGitee, \"branch\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formGitee.branch\"}})],1),_c('el-form-item',{attrs:{\"label\":\"私人令牌\",\"required\":true}},[_c('el-input',{attrs:{\"show-password\":\"\",\"placeholder\":\"如:cc1d0c1426d0fd0902bd2d7184b14da61b8abc46\"},model:{value:(_vm.formGitee.accessToken),callback:function ($$v) {_vm.$set(_vm.formGitee, \"accessToken\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formGitee.accessToken\"}}),_c('el-link',{attrs:{\"type\":\"primary\",\"href\":\"https://gitee.com/profile/personal_access_tokens\",\"target\":\"_blank\"}},[_vm._v(\"请在 Gitee「设置->安全设置->私人令牌」中生成\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveGiteeConfiguration}},[_vm._v(\"保存配置\")])],1)],1)],1),_c('el-tab-pane',{staticClass:\"github-panel\",attrs:{\"label\":\"GitHub 图床\",\"name\":\"github\"}},[_c('el-form',{staticClass:\"setting-form\",attrs:{\"model\":_vm.formGitHub,\"label-position\":\"right\",\"label-width\":\"140px\"}},[_c('el-form-item',{attrs:{\"label\":\"GitHub 仓库\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:github.com/yanglbme/resource\"},model:{value:(_vm.formGitHub.repo),callback:function ($$v) {_vm.$set(_vm.formGitHub, \"repo\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formGitHub.repo\"}})],1),_c('el-form-item',{attrs:{\"label\":\"分支\"}},[_c('el-input',{attrs:{\"placeholder\":\"如:release,可不填,默认 master\"},model:{value:(_vm.formGitHub.branch),callback:function ($$v) {_vm.$set(_vm.formGitHub, \"branch\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formGitHub.branch\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Token\",\"required\":true}},[_c('el-input',{attrs:{\"show-password\":\"\",\"placeholder\":\"如:cc1d0c1426d0fd0902bd2d7184b14da61b8abc46\"},model:{value:(_vm.formGitHub.accessToken),callback:function ($$v) {_vm.$set(_vm.formGitHub, \"accessToken\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formGitHub.accessToken\"}}),_c('el-link',{attrs:{\"type\":\"primary\",\"href\":\"https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token\",\"target\":\"_blank\"}},[_vm._v(\"如何获取 GitHub Token?\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveGitHubConfiguration}},[_vm._v(\"保存配置\")])],1)],1)],1),_c('el-tab-pane',{staticClass:\"github-panel\",attrs:{\"label\":\"阿里云 OSS\",\"name\":\"aliOSS\"}},[_c('el-form',{staticClass:\"setting-form\",attrs:{\"model\":_vm.formAliOSS,\"label-position\":\"right\",\"label-width\":\"140px\"}},[_c('el-form-item',{attrs:{\"label\":\"AccessKey ID\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:LTAI4GdoocsmdoxUf13ylbaNHk\"},model:{value:(_vm.formAliOSS.accessKeyId),callback:function ($$v) {_vm.$set(_vm.formAliOSS, \"accessKeyId\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formAliOSS.accessKeyId\"}})],1),_c('el-form-item',{attrs:{\"label\":\"AccessKey Secret\",\"required\":true}},[_c('el-input',{attrs:{\"show-password\":\"\",\"placeholder\":\"如:cc1d0c142doocs0902bd2d7md4b14da6ylbabc46\"},model:{value:(_vm.formAliOSS.accessKeySecret),callback:function ($$v) {_vm.$set(_vm.formAliOSS, \"accessKeySecret\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formAliOSS.accessKeySecret\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Bucket\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:doocs\"},model:{value:(_vm.formAliOSS.bucket),callback:function ($$v) {_vm.$set(_vm.formAliOSS, \"bucket\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formAliOSS.bucket\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Bucket 所在区域\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:oss-cn-shenzhen\"},model:{value:(_vm.formAliOSS.region),callback:function ($$v) {_vm.$set(_vm.formAliOSS, \"region\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formAliOSS.region\"}})],1),_c('el-form-item',{attrs:{\"label\":\"自定义 CDN 域名\",\"required\":false}},[_c('el-input',{attrs:{\"placeholder\":\"如:https://imagecdn.alidaodao.com,可不填\"},model:{value:(_vm.formAliOSS.cdnHost),callback:function ($$v) {_vm.$set(_vm.formAliOSS, \"cdnHost\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formAliOSS.cdnHost\"}})],1),_c('el-form-item',{attrs:{\"label\":\"存储路径\"}},[_c('el-input',{attrs:{\"placeholder\":\"如:img,可不填,默认为根目录\"},model:{value:(_vm.formAliOSS.path),callback:function ($$v) {_vm.$set(_vm.formAliOSS, \"path\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formAliOSS.path\"}}),_c('el-link',{attrs:{\"type\":\"primary\",\"href\":\"https://help.aliyun.com/document_detail/31883.html\",\"target\":\"_blank\"}},[_vm._v(\"如何使用阿里云 OSS?\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveAliOSSConfiguration}},[_vm._v(\"保存配置\")])],1)],1)],1),_c('el-tab-pane',{staticClass:\"github-panel\",attrs:{\"label\":\"腾讯云 COS\",\"name\":\"txCOS\"}},[_c('el-form',{staticClass:\"setting-form\",attrs:{\"model\":_vm.formTxCOS,\"label-position\":\"right\",\"label-width\":\"140px\"}},[_c('el-form-item',{attrs:{\"label\":\"SecretId\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:AKIDnQp1w3DOOCSs8F5MDp9tdoocsmdUPonW3\"},model:{value:(_vm.formTxCOS.secretId),callback:function ($$v) {_vm.$set(_vm.formTxCOS, \"secretId\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formTxCOS.secretId\"}})],1),_c('el-form-item',{attrs:{\"label\":\"SecretKey\",\"required\":true}},[_c('el-input',{attrs:{\"show-password\":\"\",\"placeholder\":\"如:ukLmdtEJ9271f3DOocsMDsCXdS3YlbW0\"},model:{value:(_vm.formTxCOS.secretKey),callback:function ($$v) {_vm.$set(_vm.formTxCOS, \"secretKey\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formTxCOS.secretKey\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Bucket\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:doocs-3212520134\"},model:{value:(_vm.formTxCOS.bucket),callback:function ($$v) {_vm.$set(_vm.formTxCOS, \"bucket\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formTxCOS.bucket\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Bucket 所在区域\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:ap-guangzhou\"},model:{value:(_vm.formTxCOS.region),callback:function ($$v) {_vm.$set(_vm.formTxCOS, \"region\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formTxCOS.region\"}})],1),_c('el-form-item',{attrs:{\"label\":\"自定义 CDN 域名\",\"required\":false}},[_c('el-input',{attrs:{\"placeholder\":\"如:https://imagecdn.alidaodao.com,可不填\"},model:{value:(_vm.formTxCOS.cdnHost),callback:function ($$v) {_vm.$set(_vm.formTxCOS, \"cdnHost\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formTxCOS.cdnHost\"}})],1),_c('el-form-item',{attrs:{\"label\":\"存储路径\"}},[_c('el-input',{attrs:{\"placeholder\":\"如:img,可不填,默认根目录\"},model:{value:(_vm.formTxCOS.path),callback:function ($$v) {_vm.$set(_vm.formTxCOS, \"path\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formTxCOS.path\"}}),_c('el-link',{attrs:{\"type\":\"primary\",\"href\":\"https://cloud.tencent.com/document/product/436/38484\",\"target\":\"_blank\"}},[_vm._v(\"如何使用腾讯云 COS?\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveTxCOSConfiguration}},[_vm._v(\"保存配置\")])],1)],1)],1),_c('el-tab-pane',{staticClass:\"github-panel\",attrs:{\"label\":\"七牛云 Kodo\",\"name\":\"qiniu\"}},[_c('el-form',{staticClass:\"setting-form\",attrs:{\"model\":_vm.formQiniu,\"label-position\":\"right\",\"label-width\":\"140px\"}},[_c('el-form-item',{attrs:{\"label\":\"AccessKey\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:6DD3VaLJ_SQgOdoocsyTV_YWaDmdnL2n8EGx7kG\"},model:{value:(_vm.formQiniu.accessKey),callback:function ($$v) {_vm.$set(_vm.formQiniu, \"accessKey\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formQiniu.accessKey\"}})],1),_c('el-form-item',{attrs:{\"label\":\"SecretKey\",\"required\":true}},[_c('el-input',{attrs:{\"show-password\":\"\",\"placeholder\":\"如:qgZa5qrvDOOcsmdKStD1oCjZ9nB7MDvJUs_34SIm\"},model:{value:(_vm.formQiniu.secretKey),callback:function ($$v) {_vm.$set(_vm.formQiniu, \"secretKey\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formQiniu.secretKey\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Bucket\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:md\"},model:{value:(_vm.formQiniu.bucket),callback:function ($$v) {_vm.$set(_vm.formQiniu, \"bucket\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formQiniu.bucket\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Bucket 对应域名\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:https://images.123ylb.cn\"},model:{value:(_vm.formQiniu.domain),callback:function ($$v) {_vm.$set(_vm.formQiniu, \"domain\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formQiniu.domain\"}})],1),_c('el-form-item',{attrs:{\"label\":\"存储区域\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:z2\"},model:{value:(_vm.formQiniu.region),callback:function ($$v) {_vm.$set(_vm.formQiniu, \"region\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formQiniu.region\"}})],1),_c('el-form-item',{attrs:{\"label\":\"存储路径\",\"required\":false}},[_c('el-input',{attrs:{\"placeholder\":\"如:img,可不填,默认为根目录\"},model:{value:(_vm.formQiniu.path),callback:function ($$v) {_vm.$set(_vm.formQiniu, \"path\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formQiniu.path\"}}),_c('el-link',{attrs:{\"type\":\"primary\",\"href\":\"https://developer.qiniu.com/kodo\",\"target\":\"_blank\"}},[_vm._v(\"如何使用七牛云 Kodo?\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveQiniuConfiguration}},[_vm._v(\"保存配置\")])],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./uploadImgDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./uploadImgDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./uploadImgDialog.vue?vue&type=template&id=fc5ed8b0&scoped=true&\"\nimport script from \"./uploadImgDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./uploadImgDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./uploadImgDialog.vue?vue&type=style&index=0&id=fc5ed8b0&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fc5ed8b0\",\n null\n \n)\n\nexport default component.exports","import axios from \"axios\";\n\n// 创建axios实例\nconst service = axios.create({\n baseURL: \"\",\n timeout: 10 * 1000, // 请求超时时间\n});\n\nservice.interceptors.request.use(\n (config) => {\n if (/^(post)|(put)|(delete)$/i.test(config.method)) {\n if (config.data && config.data.upload) {\n config.headers[\"Content-Type\"] = \"multipart/form-data\";\n }\n }\n return config;\n },\n (error) => {\n Promise.reject(error);\n }\n);\n\nservice.interceptors.response.use(\n (res) => {\n return res.data ? res.data : Promise.reject(res);\n },\n (error) => Promise.reject(error)\n);\n\nexport default service;\n","const githubConfig = {\n username: \"filess\",\n repoList: Array.from(\n [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19],\n (e) => `img${e}`\n ),\n branch: \"main\",\n accessTokenList: [\n \"7715d7ca67b5d3837cfdoocsmde8c38421815aa423510af\",\n \"c411415bf95dbe39625doocsmd5047ba9b7a2a6c9642abe\",\n \"2821cd8819fa345c053doocsmdca86ac653f8bc20db1f1b\",\n \"445f0dae46ef1f2a4d6doocsmdc797301e94797b4750a4c\",\n \"cc1d0c1426d0fd0902bdoocsmdd2d7184b14da61b86ec46\",\n \"b67e9d15cb6f910492fdoocsmdac6b44d379c953bb19eff\",\n \"618c4dc2244ccbbc088doocsmd125d17fd31b7d06a50cf3\",\n \"a4b581732e1c1507458doocsmdc5b223b27dae5e2e16a55\",\n \"77904db41aee57ad79bdoocsmd760f848201dac9c96fd5e\",\n \"02f251cb14ac62ab100doocsmdddbfc8527d773f1f04ce1\",\n \"eb321079a95ba7028d9doocsmde2e84c502dac70de7cf08\",\n \"22f74fcfb071a961fa2doocsmde28dabc746f0503a15e5d\",\n \"85124c2bfe7abba0938doocsmd0af7f67918b99d085a5fd\",\n \"0a561b4d4bbecb2de7edoocsmdd9ba3833d11dbc5e430f5\",\n \"e8a01491188d8d5a097doocsmd03ede0aad1fe9e3af24e9\",\n \"36e1f420d7e5bdebd67doocsmd65463562f5f25b20b8377\",\n ],\n};\n\nconst giteeConfig = {\n username: \"filesss\",\n repoList: Array.from(\n [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19],\n (e) => `img${e}`\n ),\n branch: \"main\",\n accessTokenList: [\n \"ed5fc9866bd6c2fdoocsmddd433f806fd2f399c\",\n \"5448ffebbbf1151doocsmdc4e337cf814fc8a62\",\n \"25b05efd2557ca2doocsmd75b5c0835e3395911\",\n \"11628c7a5aef015doocsmd2eeff9fb9566f0458\",\n \"cb2f5145ed938dedoocsmdbd063b4ed244eecf8\",\n \"d8c0b57500672c1doocsmd55f48b866b5ebcd98\",\n \"78c56eadb88e453doocsmd43ddd95753351771a\",\n \"03e1a688003948fdoocsmda16fcf41e6f03f1f0\",\n \"c49121cf4d191fbdoocsmdd6a7877ed537e474a\",\n \"adfeb2fadcdc4aadoocsmdfe1ee869ac9c968ff\",\n \"116c94549ca4a0ddoocsmd192653af5c0694616\",\n \"ecf30ed7f2eb184doocsmd51ea4ec8300371d9e\",\n \"5837cf2bd5afd93doocsmd73904bed31934949e\",\n \"b5b7e1c7d57e01fdoocsmd5266f552574297d78\",\n \"684d55564ffbd0bdoocsmd7d747e5cc23aed6d6\",\n \"3fc04a9d272ab71doocsmd010c56cb57d88d2ba\",\n ],\n};\n\nexport { githubConfig, giteeConfig };\n","export function utf16to8(str) {\n var out, i, len, c;\n out = \"\";\n len = str.length;\n for (i = 0; i < len; i++) {\n c = str.charCodeAt(i);\n if (c >= 0x0001 && c <= 0x007f) {\n out += str.charAt(i);\n } else if (c > 0x07ff) {\n out += String.fromCharCode(0xe0 | ((c >> 12) & 0x0f));\n out += String.fromCharCode(0x80 | ((c >> 6) & 0x3f));\n out += String.fromCharCode(0x80 | ((c >> 0) & 0x3f));\n } else {\n out += String.fromCharCode(0xc0 | ((c >> 6) & 0x1f));\n out += String.fromCharCode(0x80 | ((c >> 0) & 0x3f));\n }\n }\n return out;\n}\n\nexport function utf8to16(str) {\n var out, i, len, c;\n var char2, char3;\n out = \"\";\n len = str.length;\n i = 0;\n while (i < len) {\n c = str.charCodeAt(i++);\n switch (c >> 4) {\n case 0:\n case 1:\n case 2:\n case 3:\n case 4:\n case 5:\n case 6:\n case 7:\n // 0xxxxxxx\n out += str.charAt(i - 1);\n break;\n case 12:\n case 13:\n // 110x xxxx 10xx xxxx\n char2 = str.charCodeAt(i++);\n out += String.fromCharCode(((c & 0x1f) << 6) | (char2 & 0x3f));\n break;\n case 14:\n // 1110 xxxx 10xx xxxx 10xx xxxx\n char2 = str.charCodeAt(i++);\n char3 = str.charCodeAt(i++);\n out += String.fromCharCode(\n ((c & 0x0f) << 12) | ((char2 & 0x3f) << 6) | ((char3 & 0x3f) << 0)\n );\n break;\n }\n }\n return out;\n}\n\nconst base64EncodeChars =\n \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_\";\nconst base64DecodeChars = new Array(\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n 62,\n -1,\n -1,\n -1,\n 63,\n 52,\n 53,\n 54,\n 55,\n 56,\n 57,\n 58,\n 59,\n 60,\n 61,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n 0,\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7,\n 8,\n 9,\n 10,\n 11,\n 12,\n 13,\n 14,\n 15,\n 16,\n 17,\n 18,\n 19,\n 20,\n 21,\n 22,\n 23,\n 24,\n 25,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n 26,\n 27,\n 28,\n 29,\n 30,\n 31,\n 32,\n 33,\n 34,\n 35,\n 36,\n 37,\n 38,\n 39,\n 40,\n 41,\n 42,\n 43,\n 44,\n 45,\n 46,\n 47,\n 48,\n 49,\n 50,\n 51,\n -1,\n -1,\n -1,\n -1,\n -1\n);\nexport function base64encode(str) {\n var out, i, len;\n var c1, c2, c3;\n len = str.length;\n i = 0;\n out = \"\";\n while (i < len) {\n c1 = str.charCodeAt(i++) & 0xff;\n if (i == len) {\n out += base64EncodeChars.charAt(c1 >> 2);\n out += base64EncodeChars.charAt((c1 & 0x3) << 4);\n out += \"==\";\n break;\n }\n c2 = str.charCodeAt(i++);\n if (i == len) {\n out += base64EncodeChars.charAt(c1 >> 2);\n out += base64EncodeChars.charAt(((c1 & 0x3) << 4) | ((c2 & 0xf0) >> 4));\n out += base64EncodeChars.charAt((c2 & 0xf) << 2);\n out += \"=\";\n break;\n }\n c3 = str.charCodeAt(i++);\n out += base64EncodeChars.charAt(c1 >> 2);\n out += base64EncodeChars.charAt(((c1 & 0x3) << 4) | ((c2 & 0xf0) >> 4));\n out += base64EncodeChars.charAt(((c2 & 0xf) << 2) | ((c3 & 0xc0) >> 6));\n out += base64EncodeChars.charAt(c3 & 0x3f);\n }\n return out;\n}\n\nexport function base64decode(str) {\n var c1, c2, c3, c4;\n var i, len, out;\n len = str.length;\n i = 0;\n out = \"\";\n while (i < len) {\n /* c1 */\n do {\n c1 = base64DecodeChars[str.charCodeAt(i++) & 0xff];\n } while (i < len && c1 == -1);\n if (c1 == -1) break;\n /* c2 */\n do {\n c2 = base64DecodeChars[str.charCodeAt(i++) & 0xff];\n } while (i < len && c2 == -1);\n if (c2 == -1) break;\n out += String.fromCharCode((c1 << 2) | ((c2 & 0x30) >> 4));\n /* c3 */\n do {\n c3 = str.charCodeAt(i++) & 0xff;\n if (c3 == 61) return out;\n c3 = base64DecodeChars[c3];\n } while (i < len && c3 == -1);\n if (c3 == -1) break;\n out += String.fromCharCode(((c2 & 0xf) << 4) | ((c3 & 0x3c) >> 2));\n /* c4 */\n do {\n c4 = str.charCodeAt(i++) & 0xff;\n if (c4 == 61) return out;\n c4 = base64DecodeChars[c4];\n } while (i < len && c4 == -1);\n if (c4 == -1) break;\n out += String.fromCharCode(((c3 & 0x03) << 6) | c4);\n }\n return out;\n}\n\nexport function safe64(base64) {\n base64 = base64.replace(/\\+/g, \"-\");\n base64 = base64.replace(/\\//g, \"_\");\n return base64;\n}\n","import fetch from \"./fetch\";\nimport { githubConfig, giteeConfig } from \"./config\";\nimport CryptoJS from \"crypto-js\";\nimport OSS from \"ali-oss\";\nimport COS from \"cos-js-sdk-v5\";\nimport Buffer from \"buffer-from\";\nimport { v4 as uuidv4 } from \"uuid\";\nimport * as qiniu from \"qiniu-js\";\nimport { utf16to8, base64encode, safe64 } from \"../assets/scripts/tokenTools\";\n\nfunction getConfig(useDefault, platform) {\n if (useDefault) {\n // load default config file\n const config = platform === \"github\" ? githubConfig : giteeConfig;\n const { username, repoList, branch, accessTokenList } = config;\n\n // choose random token from access_token list\n const tokenIndex = Math.floor(Math.random() * accessTokenList.length);\n const accessToken = accessTokenList[tokenIndex].replace(\"doocsmd\", \"\");\n\n // choose random repo from repo list\n const repoIndex = Math.floor(Math.random() * repoList.length);\n const repo = repoList[repoIndex];\n\n return { username, repo, branch, accessToken };\n }\n\n // load configuration from localStorage\n const customConfig = JSON.parse(localStorage.getItem(`${platform}Config`));\n\n // split username/repo\n const repoUrl = customConfig.repo\n .replace(`https://${platform}.com/`, \"\")\n .replace(`http://${platform}.com/`, \"\")\n .replace(`${platform}.com/`, \"\")\n .split(\"/\");\n return {\n username: repoUrl[0],\n repo: repoUrl[1],\n branch: customConfig.branch || \"master\",\n accessToken: customConfig.accessToken,\n };\n}\n\nfunction getDir() {\n const date = new Date();\n const year = date.getFullYear();\n const month = (date.getMonth() + 1).toString().padStart(2, \"0\");\n const day = date.getDate().toString().padStart(2, \"0\");\n return `${year}/${month}/${day}`;\n}\n\nfunction getDateFilename(filename) {\n const currentTimestamp = new Date().getTime();\n const fileSuffix = filename.split(\".\")[1];\n return `${currentTimestamp}-${uuidv4()}.${fileSuffix}`;\n}\n\n//-----------------------------------------------------------------------\n// GitHub File Upload\n//-----------------------------------------------------------------------\n\nasync function ghFileUpload(content, filename) {\n const useDefault = localStorage.getItem(\"imgHost\") === \"default\";\n const { username, repo, branch, accessToken } = getConfig(\n useDefault,\n \"github\"\n );\n const dir = getDir();\n const url = `https://api.github.com/repos/${username}/${repo}/contents/${dir}/`;\n const dateFilename = getDateFilename(filename);\n const res = await fetch({\n url: url + dateFilename,\n method: \"put\",\n headers: {\n Authorization: `token ${accessToken}`,\n },\n data: {\n content,\n branch,\n message: `Upload by ${window.location.href}`,\n },\n });\n\n const githubResourceUrl = `raw.githubusercontent.com/${username}/${repo}/${branch}/`;\n const cdnResourceUrl = `cdn.jsdelivr.net/gh/${username}/${repo}@${branch}/`;\n return useDefault\n ? res.data.content.download_url.replace(githubResourceUrl, cdnResourceUrl)\n : res.data.content.download_url;\n}\n\n//-----------------------------------------------------------------------\n// Gitee File Upload\n//-----------------------------------------------------------------------\n\nasync function giteeUpload(content, filename) {\n const useDefault = localStorage.getItem(\"imgHost\") === \"default\";\n const { username, repo, branch, accessToken } = getConfig(\n useDefault,\n \"gitee\"\n );\n const dir = getDir();\n const dateFilename = getDateFilename(filename);\n const url = `https://gitee.com/api/v5/repos/${username}/${repo}/contents/${dir}/${dateFilename}`;\n const res = await fetch({\n url,\n method: \"POST\",\n data: {\n content,\n branch,\n access_token: accessToken,\n message: `Upload by ${window.location.href}`,\n },\n });\n return encodeURI(res.data.content.download_url);\n}\n\n//-----------------------------------------------------------------------\n// Qiniu File Upload\n//-----------------------------------------------------------------------\n\nfunction getQiniuToken(accessKey, secretKey, putPolicy) {\n const policy = JSON.stringify(putPolicy);\n const encoded = base64encode(utf16to8(policy));\n const hash = CryptoJS.HmacSHA1(encoded, secretKey);\n const encodedSigned = hash.toString(CryptoJS.enc.Base64);\n return `${accessKey}:${safe64(encodedSigned)}:${encoded}`;\n}\n\nasync function qiniuUpload(file) {\n const { accessKey, secretKey, bucket, region, path, domain } = JSON.parse(\n localStorage.getItem(\"qiniuConfig\")\n );\n const token = getQiniuToken(accessKey, secretKey, {\n scope: bucket,\n deadline: Math.trunc(new Date().getTime() / 1000) + 3600,\n });\n const dir = path ? `${path}/` : \"\";\n const dateFilename = dir + getDateFilename(file.name);\n const observable = qiniu.upload(file, dateFilename, token, {}, { region });\n return new Promise((resolve, reject) => {\n observable.subscribe({\n next: (result) => {\n console.log(result);\n },\n error: (err) => {\n reject(err.message);\n },\n complete: (result) => {\n resolve(`${domain}/${result.key}`);\n },\n });\n });\n}\n\n//-----------------------------------------------------------------------\n// AliOSS File Upload\n//-----------------------------------------------------------------------\n\nasync function aliOSSFileUpload(content, filename) {\n const dateFilename = getDateFilename(filename);\n const { region, bucket, accessKeyId, accessKeySecret, cdnHost, path } =\n JSON.parse(localStorage.getItem(\"aliOSSConfig\"));\n const buffer = Buffer(content, \"base64\");\n const dir = `${path}/${dateFilename}`;\n const client = new OSS({\n region,\n bucket,\n accessKeyId,\n accessKeySecret,\n });\n try {\n const res = await client.put(dir, buffer);\n if (cdnHost == \"\") return res.url;\n return `${cdnHost}/${path == \"\" ? dateFilename : dir}`;\n } catch (e) {\n return Promise.reject(e);\n }\n}\n\n//-----------------------------------------------------------------------\n// TxCOS File Upload\n//-----------------------------------------------------------------------\n\nasync function txCOSFileUpload(file) {\n const dateFilename = getDateFilename(file.name);\n const { secretId, secretKey, bucket, region, path, cdnHost } = JSON.parse(\n localStorage.getItem(\"txCOSConfig\")\n );\n const cos = new COS({\n SecretId: secretId,\n SecretKey: secretKey,\n });\n return new Promise((resolve, reject) => {\n cos.putObject(\n {\n Bucket: bucket,\n Region: region,\n Key: `${path}/${dateFilename}`,\n Body: file,\n },\n function (err, data) {\n if (err) {\n reject(err);\n } else if (cdnHost) {\n resolve(\n path == \"\"\n ? `${cdnHost}/${dateFilename}`\n : `${cdnHost}/${path}/${dateFilename}`\n );\n } else {\n resolve(`https://${data.Location}`);\n }\n }\n );\n });\n}\n\nfunction fileUpload(content, file) {\n const imgHost = localStorage.getItem(\"imgHost\");\n !imgHost && localStorage.setItem(\"imgHost\", \"default\");\n switch (imgHost) {\n case \"aliOSS\":\n return aliOSSFileUpload(content, file.name);\n case \"txCOS\":\n return txCOSFileUpload(file);\n case \"qiniu\":\n return qiniuUpload(file);\n case \"gitee\":\n return giteeUpload(content, file.name);\n case \"github\":\n return ghFileUpload(content, file.name);\n default:\n // return file.size / 1024 < 1024\n // ? giteeUpload(content, file.name)\n // : ghFileUpload(content, file.name);\n return ghFileUpload(content, file.name);\n }\n}\n\nexport default {\n fileUpload,\n};\n","\n\n\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CodemirrorEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CodemirrorEditor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CodemirrorEditor.vue?vue&type=template&id=7acf9643&scoped=true&\"\nimport script from \"./CodemirrorEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./CodemirrorEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CodemirrorEditor.vue?vue&type=style&index=0&id=7acf9643&lang=less&scoped=true&\"\nimport style1 from \"./CodemirrorEditor.vue?vue&type=style&index=1&id=7acf9643&lang=less&scoped=true&\"\nimport style2 from \"./CodemirrorEditor.vue?vue&type=style&index=2&id=7acf9643&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7acf9643\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=8e90ad4c&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=8e90ad4c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8e90ad4c\",\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport VueRouter from 'vue-router'\nimport index from '@/pages/index/index'\n\nVue.use(VueRouter)\n\nconst routes = [\n {\n path: `/`,\n name: `index`,\n component: index,\n }\n]\n\nconst router = new VueRouter({\n mode: `history`,\n base: process.env.BASE_URL,\n routes,\n})\n\nexport default router\n","import Vue from \"vue\";\nimport App from \"./App\";\nimport store from \"./store\";\nimport ElementUI from \"element-ui\";\nimport \"element-ui/lib/theme-chalk/index.css\";\nimport \"./plugins/element\";\nimport \"codemirror/lib/codemirror.css\";\nimport \"codemirror/theme/xq-light.css\";\nimport \"codemirror/mode/css/css\";\nimport \"codemirror/mode/markdown/markdown\";\nimport \"codemirror/addon/edit/closebrackets\";\nimport \"codemirror/addon/edit/matchbrackets\";\nimport \"codemirror/addon/selection/active-line\";\nimport \"codemirror/addon/hint/show-hint.js\";\nimport \"codemirror/addon/hint/css-hint.js\";\nimport router from './router';\n\nVue.use(ElementUI);\n\nVue.config.productionTip = false;\n\nApp.mpType = \"app\";\n\nconst app = new Vue({\n router,\n store,\n ...App,\n});\napp.$mount(\"#app\");\n","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./insertForm.vue?vue&type=style&index=0&id=4dd4e7e2&lang=less&scoped=true&\"","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CodemirrorEditor.vue?vue&type=style&index=1&id=7acf9643&lang=less&scoped=true&\"","export * from \"-!../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=less&\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./rightClickMenu.vue?vue&type=style&index=0&id=a704a2f8&lang=less&scoped=true&\"","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CodemirrorEditor.vue?vue&type=style&index=0&id=7acf9643&lang=less&scoped=true&\"","export * from \"-!../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=1&lang=less&\"","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CodemirrorEditor.vue?vue&type=style&index=2&id=7acf9643&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"loading\",attrs:{\"id\":\"loading\"}},[_c('div',{staticClass:\"loading-wrapper\"},[_c('div',{staticClass:\"loading-anim\"}),_c('div',{staticClass:\"loading-text\"},[_vm._v(\"致力于让 Markdown 编辑更简单\")])])])}]\n\nexport { render, staticRenderFns }","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./aboutDialog.vue?vue&type=style&index=0&id=70c50907&lang=less&scoped=true&\"","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js&\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./uploadImgDialog.vue?vue&type=style&index=0&id=fc5ed8b0&lang=less&scoped=true&\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./header.vue?vue&type=style&index=0&id=54b819f8&lang=less&scoped=true&\""],"sourceRoot":""} \ No newline at end of file diff --git a/js/app.f42b0604.js b/js/app.f42b0604.js new file mode 100644 index 0000000..0eea921 --- /dev/null +++ b/js/app.f42b0604.js @@ -0,0 +1,4 @@ +(function(e){function t(t){for(var n,a,s=t[0],c=t[1],l=t[2],d=0,m=[];d=1&&r<=127?t+=e.charAt(o):r>2047?(t+=String.fromCharCode(224|r>>12&15),t+=String.fromCharCode(128|r>>6&63),t+=String.fromCharCode(128|r>>0&63)):(t+=String.fromCharCode(192|r>>6&31),t+=String.fromCharCode(128|r>>0&63));return t}function r(e){var t,o,n,r,i,a;t="",n=e.length,o=0;while(o>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:t+=e.charAt(o-1);break;case 12:case 13:i=e.charCodeAt(o++),t+=String.fromCharCode((31&r)<<6|63&i);break;case 14:i=e.charCodeAt(o++),a=e.charCodeAt(o++),t+=String.fromCharCode((15&r)<<12|(63&i)<<6|(63&a)<<0);break}return t}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",a=new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1);function s(e){var t,o,n,r,a,s;n=e.length,o=0,t="";while(o>2),t+=i.charAt((3&r)<<4),t+="==";break}if(a=e.charCodeAt(o++),o==n){t+=i.charAt(r>>2),t+=i.charAt((3&r)<<4|(240&a)>>4),t+=i.charAt((15&a)<<2),t+="=";break}s=e.charCodeAt(o++),t+=i.charAt(r>>2),t+=i.charAt((3&r)<<4|(240&a)>>4),t+=i.charAt((15&a)<<2|(192&s)>>6),t+=i.charAt(63&s)}return t}function c(e){var t,o,n,r,i,s,c;s=e.length,i=0,c="";while(i>4);do{if(n=255&e.charCodeAt(i++),61==n)return c;n=a[n]}while(i>2);do{if(r=255&e.charCodeAt(i++),61==r)return c;r=a[r]}while(i['.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){o.opts=c(o.opts,e)},this.hasFootnotes=function(){return 0!==r.length},this.getRenderer=function(e){r=[],i=0,a=o.buildTheme(o.opts.theme);var t=new p.a.Renderer;return t.heading=function(e,t){switch(t){case 1:return"

").concat(e,"

");case 2:return"

").concat(e,"

");case 3:return"

").concat(e,"

");default:return"

").concat(e,"

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

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

")),"

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

").concat(e,"

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

")},t.image=function(e,t,o){var r="";o&&(r="
").concat(o,"
"));var i=l("figure"),a=l(n?"image":"image_org");return"
').concat(o,'').concat(r,"
")},t.link=function(t,o,n){if(t.startsWith("https://mp.weixin.qq.com"))return'").concat(n,"");if(t===n)return n;if(e){var r=u(o||n,t);return"").concat(n,"[").concat(r,"]")}return"").concat(n,"")},t.strong=function(e){return"").concat(e,"")},t.em=function(e){return''.concat(e,"")},t.table=function(e,t){return'
").concat(e,"").concat(t,"
")},t.tablecell=function(e,t){return"").concat(e,"")},t.hr=function(){return'
'},t}},h=g,b=o("56b3"),C=o.n(b),v='# 示例文章:Google 搜索的即时自动补全功能究竟是如何“工作”的?\n> Google 搜索**自动补全功能**的强大,相信不少朋友都能感受到,它帮助我们更快地“补全”我们所要输入的搜索关键字。那么,它怎么知道我们要输入什么内容?它又是如何工作的?在这篇文章里,我们一起来看看。\n\n## 使用自动补全\nGoogle 搜索的自动补全功能可以在 Google 搜索应用的大多数位置使用,包括 [Google](https://www.google.com/) 主页、适用于 IOS 和 Android 的 Google 应用,我们只需要在 Google 搜索框上开始键入关键字,就可以看到联想词了。\n\n![](https://gitee.com/yanglbme/resource/raw/master/doocs-md/juejin.gif)\n\n在上图示例中,我们可以看到,输入关键字 `juej`,Google 搜索会联想到“掘金”、“掘金小册”、“绝句”等等,好处就是,我们无须输入完整的关键字即可轻松完成针对这些 topics 的搜索。\n\n谷歌搜索的自动补全功能对于使用移动设备的用户来说特别有用,用户可以轻松在难以键入的小屏幕上完成搜索。当然,对于移动设备用户和台式机用户而言,这都节省了大量的时间。根据 Google 官方报告,自动补全功能可以减少大约 25% 的打字,累积起来,预计每天可以节省 200 多年的打字时间。是的,每天!\n\n> 注意,本文所提到的“**联想词**”与“**预测**”,是同一个意思。\n\n## 基于“预测”而非“建议”\nGoogle 官方将自动补全功能称之为“预测”,而不是“建议”,为什么呢?其实是有充分理由的。自动补全功能是为了**帮助用户完成他们打算进行的搜索**,而不是建议用户要执行什么搜索。\n\n那么,Google 是如何确定这些“预测”的?其实,Google 会根据趋势搜索 [trends](https://trends.google.com/trends/?geo=US) 给到我们这些“预测”。简单来说,哪个热门、哪个搜索频率高,就更可能推给我们。当然,这也与我们当前所处的位置以及我们的搜索历史相关。\n\n另外,这些“预测”也会随着我们键入的关键字的变更而更改。例如,当我们把键入的关键字从 `juej` 更改为 `juex` 时,与“掘金”相关的预测会“消失”,同时,与“觉醒”、“决心”相关联的词会出现。\n\n![](https://gitee.com/yanglbme/resource/raw/master/doocs-md/juex.gif)\n\n## 为什么看不到某些联想词?\n如果我们在输入某个关键字时看不到联想词,那么表明 Google 的算法可能检测到:\n\n- 这个关键字不是热门字词;\n- 搜索的字词太新了,我们可能需要等待几天或几周才能看到联想词;\n- 这是一个侮辱性或敏感字词,这个搜索字词违反了 Google 的相关政策。更加详细的情况,可以了解 [Google 搜索自动补全政策](https://support.google.com/websearch/answer/7368877)。\n\n## 为什么会看到某些不当的联想词?\nGoogle 拥有专门设计的系统,可以自动捕获不适当的预测结果而不显示出来。然而,Google 每天需要处理数十亿次搜索,这意味着 Google 每天会显示数十亿甚至上百亿条预测。再好的系统,也可能存在缺陷,不正确的预测也可能随时会出现。\n\n我们作为 Google 搜索的用户,如果认定某条预测违反了相关的搜索自动补全政策,可以进行举报反馈,点击右下角“**举报不当的联想查询**”并勾选相关选项即可。\n\n![](https://gitee.com/yanglbme/resource/raw/master/doocs-md/report.gif)\n\n## 如何实现自动补全算法?\n目前,Google 官方似乎并没有公开搜索自动补全的算法实现,但是业界在这方面已经有了不少研究。\n\n一个好的自动补全器必须是快速的,并且在用户键入下一个字符后立即更新联想词列表。**自动补全器的核心是一个函数,它接受输入的前缀,并搜索以给定前缀开头的词汇或语句列表**。通常来说,只需要返回少量的数目即可。\n\n接下来,我们先从一个简单且低效的实现开始,并在此基础上逐步构建更高效的方法。\n\n### 词汇表实现\n一个**简单粗暴的实现方式**是:顺序查找词汇表,依次检查每个词汇,看它是否以给定的前缀开头。\n\n但是,此方法需要将前缀与每个词汇进行匹配检查,若词汇量较少,这种方式可能勉强行得通。但是,如果词汇量规模较大,效率就太低了。\n\n一个**更好的实现方式是**:让词汇按字典顺序排序。借助二分搜索算法,可以快速搜索有序词汇表中的前缀。由于二分搜索的每一步都会将搜索的范围减半,因此,总的搜索时间与词汇表中单词数量的对数成正比,即时间复杂度是 `O(log N)`。二分搜索的性能很好,但有没有更好的实现呢?当然有,往下看。\n\n### 前缀树实现\n通常来说,许多词汇都以相同的前缀开头,比如 `need`、`nested` 都以 `ne` 开头,`seed`、`speed` 都以 `s` 开头。要是为每个单词分别存储公共前缀似乎很浪费。\n\n![](https://gitee.com/yanglbme/resource/raw/master/doocs-md/pretree.png)\n\n前缀树是一种利用公共前缀来加速补全速度的数据结构。前缀树在节点树中排列一组单词,单词沿着从根节点到叶子节点的路径存储,树的层次对应于前缀的字母位置。\n\n前缀的补全是顺着前缀定义的路径来查找的。例如,在上图的前缀树中,前缀 `ne` 对应于从子节点取左边缘 `N` 和唯一边缘 `E` 的路径。然后可以通过继续遍历从 `E` 节点可以达到的所有叶节点来生成补全列表。在图中,`ne` 的补全可以是两个分支:`-ed` 和 `-sted`。如果在数中找不到由前缀定义的路径,则说明词汇表中不包含以该前缀开头的单词。\n\n### 有限状态自动机(DFA)实现\n前缀树可以有效处理公共前缀,但是,对于其他共享词部分,仍会分别存储在每个分支中。比如,后缀 `ed`、`ing`、`tion` 在英文单词中特别常见。在上一个例子中,`e`、`d` 分别存放在了每一个分支上。\n\n有没有一种方法可以更加节省存储空间呢?有的,那就是 DFA。\n\n
\n
\n\n在上面的例子中,单词 `need`、`nested`、`seed` 和 `speed` 仅由 9 个节点组成,而上一张图中的前缀树包含了 17 个节点。\n\n可以看出,最小化前缀树 DFA 可以在很大程度上减少数据结构的大小。即使词汇量很大,最小化 DFA 通常也适合在内存中存储,避免昂贵的磁盘访问是实现快速自动补全的关键。\n\n### 一些扩展\n上面介绍了如何利用合理的数据结构实现基本的自动补全功能。这些数据结构可以通过多种方式进行扩展,从而改善用户体验。\n\n通常,满足特定前缀的词汇可能很多,而用户界面上能够显示的却不多,我们更希望能显示最常搜索或者最有价值的词汇。这通常可以通过为词汇表中的每个单词增加一个代表单词值的**权重** `weight`,并且按照权重高低来排序自动补全列表。\n\n- 对于排序后的词汇表来说,在词汇表每个元素上增加 `weight` 属性并不难;\n- 对于前缀树来说,将 `weight` 存储在叶子节点中,也是很简单的一个实现;\n- 对于 `DFA` 来说,则较为复杂。因为一个叶子节点可以通过多条路径到达。一种解决方案是将权重关联到路径而不是叶子节点。\n\n目前有不少开源库都提供了这个功能,比如主流的搜索引擎框架 [Elasticsearch](https://www.elastic.co/products/elasticsearch)、[Solr](https://lucene.apache.org/solr/) 等,基于此,我们可以实现高效而强大的自动补全功能。\n\n#### 推荐阅读\n- [阿里又一个 20k+ stars 开源项目诞生,恭喜 fastjson!](https://mp.weixin.qq.com/s/RNKDCK2KoyeuMeEs6GUrow)\n- [刷掉 90% 候选人的互联网大厂海量数据面试题(附题解 + 方法总结)](https://mp.weixin.qq.com/s/rjGqxUvrEqJNlo09GrT1Dw)\n- [好用!期待已久的文本块功能究竟如何在 Java 13 中发挥作用?](https://mp.weixin.qq.com/s/kalGv5T8AZGxTnLHr2wDsA)\n- [2019 GitHub 开源贡献排行榜新鲜出炉!微软谷歌领头,阿里跻身前 12!](https://mp.weixin.qq.com/s/_q812aGD1b9QvZ2WFI0Qgw)\n\n---\n\n欢迎关注我的公众号“**Doocs开源社区**”,原创技术文章第一时间推送。\n\n
\n \n
\n\n',k=v,O="/*\n 按Ctrl+F可格式化\n*/\n/* 一级标题样式 */\nh1 {\n}\n/* 二级标题样式 */\nh2 {\n}\n/* 三级标题样式 */\nh3 {\n}\n/* 四级标题样式 */\nh4 {\n}\n/* 图片样式 */\nimage {\n}\n/* 引用样式 */\nblockquote {\n}\n/* 引用段落样式 */\nblockquote_p {\n}\n/* 段落样式 */\np {\n}\n/* 行内代码样式 */\ncodespan {\n}\n/* 粗体样式 */\nstrong {\n}\n/* 链接样式 */\nlink {\n}\n/* 微信链接样式 */\nwx_link {\n}\n/* 有序列表样式 */\nol {\n}\n/* 无序列表样式 */\nul {\n}\n/* 列表项样式 */\nli {\n}\n",E=O,y=o("3835"),S=(o("4160"),o("159b"),o("498a"),o("4de4"),o("b64b"),o("fb6a"),o("d3b7"),o("3ca3"),o("ddb0"),o("2b3d"),o("a630"),o("caad"),o("2532"),o("4fad"),o("4e82"),o("466d"),{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":"8px",color:"rgba(0,0,0,0.5)",background:"#f7f7f7",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":"8px",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"}}}),w=o("325b"),x=o.n(w),M=o("4fc3"),T=o.n(M),D=o("d238"),I=o.n(D);function P(e){return function(t){var o=JSON.parse(JSON.stringify(e));return o.block.h1["border-bottom"]="2px solid ".concat(t),o.block.h2["background"]=t,o.block.h3["border-left"]="3px solid ".concat(t),o.block.h4["color"]=t,o.inline.strong["color"]=t,o}}var A=function(e,t){var o=JSON.parse(JSON.stringify(e));return o.block.h1["border-bottom"]="2px solid ".concat(t),o.block.h2["background"]=t,o.block.h3["border-left"]="3px solid ".concat(t),o.block.h4["color"]=t,o.inline.strong["color"]=t,o};function j(e){return function(t){var o=JSON.parse(JSON.stringify(e));return o.block.h1["font-size"]="".concat(1.14*t,"px"),o.block.h2["font-size"]="".concat(1.1*t,"px"),o.block.h3["font-size"]="".concat(t,"px"),o.block.h4["font-size"]="".concat(t,"px"),o}}var R=P(S),U=j(S);function K(e,t,o){var n=JSON.parse(JSON.stringify(o));return n.block.h1["border-bottom"]="2px solid ".concat(t),n.block.h2["background"]=t,n.block.h3["border-left"]="3px solid ".concat(t),n.block.h4["color"]=t,n.inline.strong["color"]=t,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.block.ul=Object.assign(n.block.ul,e.ul),n.block.ol=Object.assign(n.block.ol,e.ol),n.inline.listitem=Object.assign(n.inline.listitem,e.li),n}function L(e){var t,o;while(-1!==(t=e.indexOf("/*"))&&-1!==(o=e.indexOf("*/")))e=e.substring(0,t)+e.substring(o+2);var n={},r=function(){var t=e.indexOf("{"),o=e.indexOf("}");function r(e){var t={};return e.forEach((function(e){var o=e.indexOf(":"),n=e.substring(0,o).trim(),r=e.substring(o+1).trim();t[n]=r})),t}var i=e.substring(t+1,o).split(";").map((function(e){return e.trim()})).filter((function(e){return e.length>0}));i=r(i);var a=e.substring(0,t).split(",").map((function(e){return e.trim()}));a.forEach((function(e){n[e]||(n[e]={}),Object.keys(i).forEach((function(t){n[e][t]=i[t]}))})),e=e.slice(o+1).trim()};while(e.length>0&&-1!==e.indexOf("{")&&-1!==e.indexOf("}"))r();return n}function $(e,t){var o=e.getValue(0);o?localStorage.setItem(t,o):localStorage.removeItem(t)}function B(e){var t=x.a.format(e,{parser:"markdown",plugins:[T.a]});return t}function q(e){var t=x.a.format(e,{parser:"css",plugins:[I.a]});return t}function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pre",t=document.getElementsByClassName("code__pre");t.length>0&&t.forEach((function(t){t.style.whiteSpace=e}))}function W(e){var t=document.createElement("a");t.download="content.md",t.style.display="none";var o=new Blob([e]);t.href=URL.createObjectURL(o),document.body.appendChild(t),t.click(),document.body.removeChild(t)}function F(){var e=document.querySelector("#output");r(e);var t=e.innerHTML,o=document.createElement("a");o.download="content.html",o.style.display="none";var n=new Blob(['
'.concat(t,"
")]);function r(e){switch(!0){case t(e):case o(e):case n(e):case i(e):e.setAttribute("style",V(e));default:}function t(e){return"SECTION"===e.tagName&&Array.from(e.classList).includes("code-snippet__github")}function o(e){return"PRE"===e.tagName&&Array.from(e.classList).includes("code__pre")}function n(e){return"CODE"===e.tagName&&Array.from(e.classList).includes("prettyprint")}function i(e){return"SPAN"===e.tagName&&(n(e.parentElement)||n(e.parentElement.parentElement))}e.children.length&&Array.from(e.children).forEach((function(e){return r(e)}))}o.href=URL.createObjectURL(n),document.body.appendChild(o),o.click(),document.body.removeChild(o)}function H(e){for(var t=e.data,o=e.rows,n=e.cols,r="",i=[],a=0;a1?a-1:a;1===a?i.push("---\t"):i.push(t["k_".concat(c,"_").concat(s)]||"")}r+=i.join("\t|\t"),r+="\t|\n"}return r}var z=function(e){return new Promise((function(t,o){var n=new FileReader;n.readAsDataURL(e),n.onload=function(){return t(n.result.split(",").pop())},n.onerror=function(e){return o(e)}}))};function N(e){var t=/\.(gif|jpg|jpeg|png|GIF|JPG|PNG)$/.test(e.name);if(!t)return{ok:!1,msg:"请上传 JPG/PNG/GIF 格式的图片"};var o=5,n=e.size/1024/1024<=o;return n?{ok:!0}:{ok:!1,msg:"由于公众号限制,图片大小不能超过 ".concat(o,"M")}}function V(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["width","height"],o=getComputedStyle(e,null);return Object.entries(o).filter((function(e){var n=Object(y["a"])(e,1),r=n[0];return o.getPropertyValue(r)&&!t.includes(r)})).map((function(e){var t=Object(y["a"])(e,2),o=t[0],n=t[1];return"".concat(o,":").concat(n,";")})).join("")}function Q(e){var t=e.split("\n"),o=t.filter((function(e){return e.trim()})).map((function(e){return e.match(/(^\s+)?/)[0].length})).sort((function(e,t){return e-t}))[0],n=t.map((function(e){return e.slice(o)})).join("\n");return n}r["default"].use(d["a"]);var J={wxRenderer:null,output:"",html:"",editor:null,cssEditor:null,currentFont:"",currentSize:"",currentColor:"",citeStatus:0,nightMode:!1,codeTheme:"github",rightClickMenuVisible:!1},Y={setEditorValue:function(e,t){e.editor.setValue(t)},setCssEditorValue:function(e,t){e.cssEditor.setValue(t)},setWxRendererOptions:function(e,t){e.wxRenderer.setOptions(t)},setCiteStatus:function(e,t){e.citeStatus=t,localStorage.setItem("citeStatus",t)},setCurrentFont:function(e,t){e.currentFont=t,localStorage.setItem("fonts",t)},setCurrentSize:function(e,t){e.currentSize=t,localStorage.setItem("size",t)},setCurrentColor:function(e,t){e.currentColor=t,localStorage.setItem("color",t)},setCurrentCodeTheme:function(e,t){e.codeTheme=t,localStorage.setItem("codeTheme",t)},setRightClickMenuVisible:function(e,t){e.rightClickMenuVisible=t},themeChanged:function(e){e.nightMode=!e.nightMode,localStorage.setItem("nightMode",e.nightMode)},initEditorState:function(e){e.currentFont=localStorage.getItem("fonts")||m.builtinFonts[0].value,e.currentColor=localStorage.getItem("color")||m.colorOption[0].value,e.currentSize=localStorage.getItem("size")||m.sizeOption[2].value,e.codeTheme=localStorage.getItem("codeTheme")||m.codeThemeOption[0].value,e.citeStatus="true"===localStorage.getItem("citeStatus"),e.nightMode="true"===localStorage.getItem("nightMode"),e.wxRenderer=new h({theme:R(e.currentColor),fonts:e.currentFont,size:e.currentSize,status:e.citeStatus})},initEditorEntity:function(e){var t=document.getElementById("editor");t.value||(t.value=localStorage.getItem("__editor_content")||B(k)),e.editor=C.a.fromTextArea(t,{mode:"text/x-markdown",theme:"xq-light",lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,autoCloseBrackets:!0,extraKeys:{"Ctrl-F":function(e){var t=B(e.getValue(0));localStorage.setItem("__editor_content",t),e.setValue(t)},"Ctrl-S":function(e){}}})},initCssEditorEntity:function(e){var t=document.getElementById("cssEditor");t.value||(t.value=localStorage.getItem("__css_content")||E),e.cssEditor=C.a.fromTextArea(t,{mode:"css",theme:"style-mirror",lineNumbers:!1,lineWrapping:!0,matchBrackets:!0,autofocus:!0,extraKeys:{"Ctrl-F":function(e){var t=q(e.getValue(0));localStorage.setItem("__css_content",t),e.setValue(t)},"Ctrl-S":function(e){}}})},editorRefresh:function(e){var t=p()(e.editor.getValue(0),{renderer:e.wxRenderer.getRenderer(e.citeStatus)});t=t.replace(/(style=".*?)"/,'$1;margin-top: 0"'),e.citeStatus&&(t+=e.wxRenderer.buildFootnotes(),t+=e.wxRenderer.buildAddition()),e.output=t},clearEditorToDefault:function(e){var t=B(k);e.editor.setValue(t),e.cssEditor.setValue(E)}},Z=new d["a"].Store({state:J,mutations:Y,actions:{}}),X=o("5c96"),ee=o.n(X);o("0fae");r["default"].component(X["Message"].name,X["Message"]),r["default"].prototype.$loading=X["Loading"].service,r["default"].prototype.$message=X["Message"];o("a7be"),o("8d7e"),o("7b00"),o("959b"),o("10b2"),o("8c33"),o("31c5"),o("9b74"),o("111b");var te=o("8c4f"),oe=function(){var e=this,t=e.$createElement,o=e._self._c||t;return e.loading?o("transition",{attrs:{name:"fade"}},[o("loading")],1):o("codemirror-editor")},ne=[],re=o("3a5e"),ie=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"container",class:{container_night:e.nightMode}},[o("el-container",[o("el-header",{staticClass:"editor__header"},[o("editor-header",{ref:"header",on:{refresh:e.onEditorRefresh,cssChanged:e.cssChanged,download:e.downloadEditorContent,export:e.exportEditorContent,showCssEditor:function(t){e.showCssEditor=!e.showCssEditor},"show-about-dialog":function(t){e.aboutDialogVisible=!0},"show-dialog-form":function(t){e.dialogFormVisible=!0},"show-dialog-upload-img":function(t){e.dialogUploadImgVisible=!0},startCopy:function(t){e.isCoping=!0,e.backLight=!0},endCopy:e.endCopy}})],1),o("el-main",{staticClass:"main-body"},[o("el-row",{staticClass:"main-section"},[o("el-col",{staticClass:"codeMirror-wrapper",attrs:{span:12},nativeOn:{contextmenu:function(t){return t.preventDefault(),e.openMenu(t)}}},[o("textarea",{directives:[{name:"model",rawName:"v-model",value:e.source,expression:"source"}],attrs:{id:"editor",type:"textarea",placeholder:"Your markdown text here."},domProps:{value:e.source},on:{input:function(t){t.target.composing||(e.source=t.target.value)}}})]),o("el-col",{ref:"preview",staticClass:"preview-wrapper",class:{"preview-wrapper_night":e.nightMode&&e.isCoping},attrs:{span:12,id:"preview"}},[o("section",{class:{output_night:e.nightMode&&!e.backLight},attrs:{id:"output-wrapper"}},[o("div",{staticClass:"preview"},[o("section",{attrs:{id:"output"},domProps:{innerHTML:e._s(e.output)}}),e.nightMode&&e.isCoping?o("div",{staticClass:"loading-mask"},[o("div",{staticClass:"loading__img"}),o("span",[e._v("正在生成")])]):e._e()])])]),o("transition",{attrs:{name:"custom-classes-transition","enter-active-class":"bounceInRight"}},[o("el-col",{directives:[{name:"show",rawName:"v-show",value:e.showCssEditor,expression:"showCssEditor"}],staticClass:"cssEditor-wrapper",attrs:{id:"cssBox",span:12}},[o("textarea",{attrs:{id:"cssEditor",type:"textarea",placeholder:"Your custom css here."}})])],1)],1)],1)],1),o("upload-img-dialog",{on:{close:function(t){e.dialogUploadImgVisible=!1},beforeUpload:e.beforeUpload,uploadImage:e.uploadImage,uploaded:e.uploaded},model:{value:e.dialogUploadImgVisible,callback:function(t){e.dialogUploadImgVisible=t},expression:"dialogUploadImgVisible"}}),o("about-dialog",{model:{value:e.aboutDialogVisible,callback:function(t){e.aboutDialogVisible=t},expression:"aboutDialogVisible"}}),o("insert-form-dialog",{model:{value:e.dialogFormVisible,callback:function(t){e.dialogFormVisible=t},expression:"dialogFormVisible"}}),o("right-click-menu",{attrs:{left:e.mouseLeft,top:e.mouseTop},on:{menuTick:e.onMenuEvent,closeMenu:e.closeRightClickMenu},model:{value:e.rightClickMenuVisible,callback:function(t){e.rightClickMenuVisible=t},expression:"rightClickMenuVisible"}})],1)},ae=[],se=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("el-container",{staticClass:"top is-dark"},[o("div",{staticClass:"left-side"},[o("el-tooltip",{attrs:{effect:e.effect,content:"上传图片",placement:"bottom-start"}},[o("i",{staticClass:"el-icon-upload",attrs:{size:"medium"},on:{click:function(t){return e.$emit("show-dialog-upload-img")}}})]),o("el-tooltip",{staticClass:"header__item",attrs:{effect:e.effect,content:"导出 Markdown 文档",placement:"bottom-start"}},[o("i",{staticClass:"el-icon-download",attrs:{size:"medium"},on:{click:function(t){return e.$emit("download")}}})]),o("el-tooltip",{staticClass:"header__item",attrs:{effect:e.effect,content:"导出 HTML 页面",placement:"bottom-start"}},[o("i",{staticClass:"el-icon-document",attrs:{size:"medium"},on:{click:function(t){return e.$emit("export")}}})]),o("el-tooltip",{staticClass:"header__item",attrs:{effect:e.effect,content:"重置页面",placement:"bottom-start"}},[o("i",{staticClass:"el-icon-refresh",attrs:{size:"medium"},on:{click:function(t){e.showResetConfirm=!0}}})]),o("el-tooltip",{staticClass:"header__item header__item_last",attrs:{effect:e.effect,content:"插入表格",placement:"bottom-start"}},[o("i",{staticClass:"el-icon-s-grid",attrs:{size:"medium"},on:{click:function(t){return e.$emit("show-dialog-form")}}})]),o("el-select",{attrs:{size:"mini",placeholder:"选择字体",clearable:""},on:{change:e.fontChanged},model:{value:e.selectFont,callback:function(t){e.selectFont=t},expression:"selectFont"}},e._l(e.config.builtinFonts,(function(t){return o("el-option",{key:t.value,style:{fontFamily:t.value},attrs:{label:t.label,value:t.value}},[o("span",{staticClass:"select-item-left"},[e._v(e._s(t.label))]),o("span",{staticClass:"select-item-right"},[e._v("Abc")])])})),1),o("el-select",{attrs:{size:"mini",placeholder:"选择段落字号",clearable:""},on:{change:e.sizeChanged},model:{value:e.selectSize,callback:function(t){e.selectSize=t},expression:"selectSize"}},e._l(e.config.sizeOption,(function(t){return o("el-option",{key:t.value,attrs:{label:t.label,value:t.value}},[o("span",{staticClass:"select-item-left"},[e._v(e._s(t.label))]),o("span",{staticClass:"select-item-right"},[e._v(e._s(t.desc))])])})),1),o("el-select",{attrs:{size:"mini",placeholder:"选择颜色",clearable:""},on:{change:e.colorChanged},model:{value:e.selectColor,callback:function(t){e.selectColor=t},expression:"selectColor"}},e._l(e.config.colorOption,(function(t){return o("el-option",{key:t.value,attrs:{label:t.label,value:t.value}},[o("span",{staticClass:"select-item-left"},[e._v(e._s(t.label))]),o("span",{staticClass:"select-item-right"},[e._v(e._s(t.desc))])])})),1),o("el-tooltip",{attrs:{content:"自定义颜色",effect:e.effect,placement:"top"}},[o("el-color-picker",{attrs:{size:"mini","show-alpha":""},on:{change:e.colorChanged},model:{value:e.selectColor,callback:function(t){e.selectColor=t},expression:"selectColor"}})],1),o("el-tooltip",{attrs:{content:"微信外链自动转为文末引用",effect:e.effect,placement:"top"}},[o("el-switch",{staticClass:"header__switch",attrs:{"active-color":"#67c23a","inactive-color":"#dcdfe6"},on:{change:e.statusChanged},model:{value:e.citeStatus,callback:function(t){e.citeStatus=t},expression:"citeStatus"}})],1)],1),o("div",{staticClass:"right-side"},[o("el-tooltip",{staticClass:"item",attrs:{effect:e.effect,content:"自定义CSS样式",placement:"left"}},[o("el-button",{attrs:{type:e.btnType,plain:"",size:"medium",icon:"el-icon-setting"},on:{click:e.customStyle}})],1),o("el-button",{attrs:{type:e.btnType,plain:"",size:"medium",placement:"bottom-start"},on:{click:e.copy}},[e._v("复制")]),o("el-button",{staticClass:"about",attrs:{type:e.btnType,plain:"",size:"medium"},on:{click:function(t){return e.$emit("show-about-dialog")}}},[e._v("关于")]),o("el-tooltip",{attrs:{content:e.btnContent,effect:e.effect,placement:"bottom-start"}},[e.nightMode?o("div",{staticClass:"mode__switch mode__switch_black",on:{click:e.themeChanged}}):o("div",{staticClass:"mode__switch",on:{click:e.themeChanged}})])],1),o("resetDialog",{attrs:{showResetConfirm:e.showResetConfirm},on:{confirm:e.confirmReset,close:e.cancelReset}})],1)},ce=[],le=o("1da1"),ue=(o("96cf"),o("466b")),de=o.n(ue);function me(){for(var e=document.getElementById("output"),t=e.getElementsByTagName("img"),o=0;o安全设置->私人令牌」中生成")])],1),o("el-form-item",[o("el-button",{attrs:{type:"primary"},on:{click:e.saveGiteeConfiguration}},[e._v("保存配置")])],1)],1)],1),o("el-tab-pane",{staticClass:"github-panel",attrs:{label:"GitHub 图床",name:"github"}},[o("el-form",{staticClass:"setting-form",attrs:{model:e.formGitHub,"label-position":"right","label-width":"140px"}},[o("el-form-item",{attrs:{label:"GitHub 仓库",required:!0}},[o("el-input",{attrs:{placeholder:"如:github.com/yanglbme/resource"},model:{value:e.formGitHub.repo,callback:function(t){e.$set(e.formGitHub,"repo","string"===typeof t?t.trim():t)},expression:"formGitHub.repo"}})],1),o("el-form-item",{attrs:{label:"分支"}},[o("el-input",{attrs:{placeholder:"如:release,可不填,默认 master"},model:{value:e.formGitHub.branch,callback:function(t){e.$set(e.formGitHub,"branch","string"===typeof t?t.trim():t)},expression:"formGitHub.branch"}})],1),o("el-form-item",{attrs:{label:"Token",required:!0}},[o("el-input",{attrs:{"show-password":"",placeholder:"如:cc1d0c1426d0fd0902bd2d7184b14da61b8abc46"},model:{value:e.formGitHub.accessToken,callback:function(t){e.$set(e.formGitHub,"accessToken","string"===typeof t?t.trim():t)},expression:"formGitHub.accessToken"}}),o("el-link",{attrs:{type:"primary",href:"https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token",target:"_blank"}},[e._v("如何获取 GitHub Token?")])],1),o("el-form-item",[o("el-button",{attrs:{type:"primary"},on:{click:e.saveGitHubConfiguration}},[e._v("保存配置")])],1)],1)],1),o("el-tab-pane",{staticClass:"github-panel",attrs:{label:"阿里云 OSS",name:"aliOSS"}},[o("el-form",{staticClass:"setting-form",attrs:{model:e.formAliOSS,"label-position":"right","label-width":"140px"}},[o("el-form-item",{attrs:{label:"AccessKey ID",required:!0}},[o("el-input",{attrs:{placeholder:"如:LTAI4GdoocsmdoxUf13ylbaNHk"},model:{value:e.formAliOSS.accessKeyId,callback:function(t){e.$set(e.formAliOSS,"accessKeyId","string"===typeof t?t.trim():t)},expression:"formAliOSS.accessKeyId"}})],1),o("el-form-item",{attrs:{label:"AccessKey Secret",required:!0}},[o("el-input",{attrs:{"show-password":"",placeholder:"如:cc1d0c142doocs0902bd2d7md4b14da6ylbabc46"},model:{value:e.formAliOSS.accessKeySecret,callback:function(t){e.$set(e.formAliOSS,"accessKeySecret","string"===typeof t?t.trim():t)},expression:"formAliOSS.accessKeySecret"}})],1),o("el-form-item",{attrs:{label:"Bucket",required:!0}},[o("el-input",{attrs:{placeholder:"如:doocs"},model:{value:e.formAliOSS.bucket,callback:function(t){e.$set(e.formAliOSS,"bucket","string"===typeof t?t.trim():t)},expression:"formAliOSS.bucket"}})],1),o("el-form-item",{attrs:{label:"Bucket 所在区域",required:!0}},[o("el-input",{attrs:{placeholder:"如:oss-cn-shenzhen"},model:{value:e.formAliOSS.region,callback:function(t){e.$set(e.formAliOSS,"region","string"===typeof t?t.trim():t)},expression:"formAliOSS.region"}})],1),o("el-form-item",{attrs:{label:"自定义 CDN 域名",required:!1}},[o("el-input",{attrs:{placeholder:"如:https://imagecdn.alidaodao.com,可不填"},model:{value:e.formAliOSS.cdnHost,callback:function(t){e.$set(e.formAliOSS,"cdnHost","string"===typeof t?t.trim():t)},expression:"formAliOSS.cdnHost"}})],1),o("el-form-item",{attrs:{label:"存储路径"}},[o("el-input",{attrs:{placeholder:"如:img,可不填,默认为根目录"},model:{value:e.formAliOSS.path,callback:function(t){e.$set(e.formAliOSS,"path","string"===typeof t?t.trim():t)},expression:"formAliOSS.path"}}),o("el-link",{attrs:{type:"primary",href:"https://help.aliyun.com/document_detail/31883.html",target:"_blank"}},[e._v("如何使用阿里云 OSS?")])],1),o("el-form-item",[o("el-button",{attrs:{type:"primary"},on:{click:e.saveAliOSSConfiguration}},[e._v("保存配置")])],1)],1)],1),o("el-tab-pane",{staticClass:"github-panel",attrs:{label:"腾讯云 COS",name:"txCOS"}},[o("el-form",{staticClass:"setting-form",attrs:{model:e.formTxCOS,"label-position":"right","label-width":"140px"}},[o("el-form-item",{attrs:{label:"SecretId",required:!0}},[o("el-input",{attrs:{placeholder:"如:AKIDnQp1w3DOOCSs8F5MDp9tdoocsmdUPonW3"},model:{value:e.formTxCOS.secretId,callback:function(t){e.$set(e.formTxCOS,"secretId","string"===typeof t?t.trim():t)},expression:"formTxCOS.secretId"}})],1),o("el-form-item",{attrs:{label:"SecretKey",required:!0}},[o("el-input",{attrs:{"show-password":"",placeholder:"如:ukLmdtEJ9271f3DOocsMDsCXdS3YlbW0"},model:{value:e.formTxCOS.secretKey,callback:function(t){e.$set(e.formTxCOS,"secretKey","string"===typeof t?t.trim():t)},expression:"formTxCOS.secretKey"}})],1),o("el-form-item",{attrs:{label:"Bucket",required:!0}},[o("el-input",{attrs:{placeholder:"如:doocs-3212520134"},model:{value:e.formTxCOS.bucket,callback:function(t){e.$set(e.formTxCOS,"bucket","string"===typeof t?t.trim():t)},expression:"formTxCOS.bucket"}})],1),o("el-form-item",{attrs:{label:"Bucket 所在区域",required:!0}},[o("el-input",{attrs:{placeholder:"如:ap-guangzhou"},model:{value:e.formTxCOS.region,callback:function(t){e.$set(e.formTxCOS,"region","string"===typeof t?t.trim():t)},expression:"formTxCOS.region"}})],1),o("el-form-item",{attrs:{label:"自定义 CDN 域名",required:!1}},[o("el-input",{attrs:{placeholder:"如:https://imagecdn.alidaodao.com,可不填"},model:{value:e.formTxCOS.cdnHost,callback:function(t){e.$set(e.formTxCOS,"cdnHost","string"===typeof t?t.trim():t)},expression:"formTxCOS.cdnHost"}})],1),o("el-form-item",{attrs:{label:"存储路径"}},[o("el-input",{attrs:{placeholder:"如:img,可不填,默认根目录"},model:{value:e.formTxCOS.path,callback:function(t){e.$set(e.formTxCOS,"path","string"===typeof t?t.trim():t)},expression:"formTxCOS.path"}}),o("el-link",{attrs:{type:"primary",href:"https://cloud.tencent.com/document/product/436/38484",target:"_blank"}},[e._v("如何使用腾讯云 COS?")])],1),o("el-form-item",[o("el-button",{attrs:{type:"primary"},on:{click:e.saveTxCOSConfiguration}},[e._v("保存配置")])],1)],1)],1),o("el-tab-pane",{staticClass:"github-panel",attrs:{label:"七牛云 Kodo",name:"qiniu"}},[o("el-form",{staticClass:"setting-form",attrs:{model:e.formQiniu,"label-position":"right","label-width":"140px"}},[o("el-form-item",{attrs:{label:"AccessKey",required:!0}},[o("el-input",{attrs:{placeholder:"如:6DD3VaLJ_SQgOdoocsyTV_YWaDmdnL2n8EGx7kG"},model:{value:e.formQiniu.accessKey,callback:function(t){e.$set(e.formQiniu,"accessKey","string"===typeof t?t.trim():t)},expression:"formQiniu.accessKey"}})],1),o("el-form-item",{attrs:{label:"SecretKey",required:!0}},[o("el-input",{attrs:{"show-password":"",placeholder:"如:qgZa5qrvDOOcsmdKStD1oCjZ9nB7MDvJUs_34SIm"},model:{value:e.formQiniu.secretKey,callback:function(t){e.$set(e.formQiniu,"secretKey","string"===typeof t?t.trim():t)},expression:"formQiniu.secretKey"}})],1),o("el-form-item",{attrs:{label:"Bucket",required:!0}},[o("el-input",{attrs:{placeholder:"如:md"},model:{value:e.formQiniu.bucket,callback:function(t){e.$set(e.formQiniu,"bucket","string"===typeof t?t.trim():t)},expression:"formQiniu.bucket"}})],1),o("el-form-item",{attrs:{label:"Bucket 对应域名",required:!0}},[o("el-input",{attrs:{placeholder:"如:https://images.123ylb.cn"},model:{value:e.formQiniu.domain,callback:function(t){e.$set(e.formQiniu,"domain","string"===typeof t?t.trim():t)},expression:"formQiniu.domain"}})],1),o("el-form-item",{attrs:{label:"存储区域",required:!0}},[o("el-input",{attrs:{placeholder:"如:z2"},model:{value:e.formQiniu.region,callback:function(t){e.$set(e.formQiniu,"region","string"===typeof t?t.trim():t)},expression:"formQiniu.region"}})],1),o("el-form-item",{attrs:{label:"存储路径",required:!1}},[o("el-input",{attrs:{placeholder:"如:img,可不填,默认为根目录"},model:{value:e.formQiniu.path,callback:function(t){e.$set(e.formQiniu,"path","string"===typeof t?t.trim():t)},expression:"formQiniu.path"}}),o("el-link",{attrs:{type:"primary",href:"https://developer.qiniu.com/kodo",target:"_blank"}},[e._v("如何使用七牛云 Kodo?")])],1),o("el-form-item",[o("el-button",{attrs:{type:"primary"},on:{click:e.saveQiniuConfiguration}},[e._v("保存配置")])],1)],1)],1),o("el-tab-pane",{staticClass:"github-panel formCustom",attrs:{label:"自定义代码",name:"formCustom"}},[o("el-form",{staticClass:"setting-form",attrs:{model:e.formCustom,"label-position":"right"}},[o("el-form-item",{attrs:{label:"",required:!0}},[o("el-input",{ref:"formCustomElInput",staticClass:"formCustomElInput",attrs:{type:"textarea",resize:"none",placeholder:"Your custom code here."},model:{value:e.formCustom.code,callback:function(t){e.$set(e.formCustom,"code",t)},expression:"formCustom.code"}}),o("el-link",{attrs:{type:"primary",href:"https://github.com/doocs/md#自定义上传逻辑",target:"_blank"}},[e._v("参数详情?")])],1),o("el-form-item",[o("el-button",{attrs:{type:"primary"},on:{click:e.formCustomSave}},[e._v("保存配置")])],1)],1)],1)],1)],1)},We=[],Fe={props:{value:{type:Boolean,default:!1}},data:function(){return{activeName:"upload",formGitHub:{repo:"",branch:"",accessToken:""},formGitee:{repo:"",branch:"",accessToken:""},formAliOSS:{accessKeyId:"",accessKeySecret:"",bucket:"",region:"",path:"",cdnHost:""},formTxCOS:{secretId:"",secretKey:"",bucket:"",region:"",path:"",cdnHost:""},formQiniu:{accessKey:"",secretKey:"",bucket:"",domain:"",region:""},formCustom:{code:localStorage.getItem("formCustomConfig")||Q("\n const {file, util, okCb, errCb} = CUSTOM_ARG\n const param = new FormData()\n param.append('file', file)\n util.axios.post('http://127.0.0.1:9000/upload', param, {\n headers: { 'Content-Type': 'multipart/form-data' }\n }).then(res => {\n okCb(res.url)\n }).catch(err => {\n errCb(err)\n })\n ").trim(),editor:void 0},options:[{value:"default",label:"默认"},{value:"gitee",label:"Gitee"},{value:"github",label:"GitHub"},{value:"aliOSS",label:"阿里云"},{value:"txCOS",label:"腾讯云"},{value:"qiniu",label:"七牛云"},{value:"formCustom",label:"自定义代码"}],imgHost:"default"}},created:function(){localStorage.getItem("githubConfig")&&(this.formGitHub=JSON.parse(localStorage.getItem("githubConfig"))),localStorage.getItem("giteeConfig")&&(this.formGitee=JSON.parse(localStorage.getItem("giteeConfig"))),localStorage.getItem("aliOSSConfig")&&(this.formAliOSS=JSON.parse(localStorage.getItem("aliOSSConfig"))),localStorage.getItem("txCOSConfig")&&(this.formTxCOS=JSON.parse(localStorage.getItem("txCOSConfig"))),localStorage.getItem("imgHost")&&(this.imgHost=localStorage.getItem("imgHost"))},methods:{changeImgHost:function(){localStorage.setItem("imgHost",this.imgHost),this.$message.success("已成功切换图床")},saveGitHubConfiguration:function(){if(this.formGitHub.repo&&this.formGitHub.accessToken)localStorage.setItem("githubConfig",JSON.stringify(this.formGitHub)),this.$message.success("保存成功");else{var e=this.formGitHub.repo?"token":"GitHub 仓库";this.$message.error("参数「​".concat(e,"」不能为空"))}},saveGiteeConfiguration:function(){if(this.formGitee.repo&&this.formGitee.accessToken)localStorage.setItem("giteeConfig",JSON.stringify(this.formGitee)),this.$message.success("保存成功");else{var e=this.formGitee.repo?"私人令牌":"Gitee 仓库";this.$message.error("参数「​".concat(e,"」不能为空"))}},saveAliOSSConfiguration:function(){this.formAliOSS.accessKeyId&&this.formAliOSS.accessKeySecret&&this.formAliOSS.bucket&&this.formAliOSS.region?(localStorage.setItem("aliOSSConfig",JSON.stringify(this.formAliOSS)),this.$message.success("保存成功")):this.$message.error("阿里云 OSS 参数配置不全")},saveTxCOSConfiguration:function(){this.formTxCOS.secretId&&this.formTxCOS.secretKey&&this.formTxCOS.bucket&&this.formTxCOS.region?(localStorage.setItem("txCOSConfig",JSON.stringify(this.formTxCOS)),this.$message.success("保存成功")):this.$message.error("腾讯云 COS 参数配置不全")},saveQiniuConfiguration:function(){this.formQiniu.accessKey&&this.formQiniu.secretKey&&this.formQiniu.bucket&&this.formQiniu.domain&&this.formQiniu.region?(localStorage.setItem("qiniuConfig",JSON.stringify(this.formQiniu)),this.$message.success("保存成功")):this.$message.error("七牛云 Kodo 参数配置不全")},formCustomSave:function(){var e=this.formCustom.editor.getValue();localStorage.setItem("formCustomConfig",e),this.$message.success("保存成功")},beforeImageUpload:function(e){var t=N(e);if(!t.ok)return this.$message.error(t.msg),!1;var o=localStorage.getItem("imgHost");o=o||"default",localStorage.setItem("imgHost",o);var n=localStorage.getItem("".concat(o,"Config")),r="default"==o||n;return!!r||(this.$message.error("请先配置 ".concat(o," 图床参数")),!1)},uploadImage:function(e){this.$emit("uploadImage",e.file)}},watch:{activeName:{immediate:!0,handler:function(e){var t=this;"formCustom"===e&&this.$nextTick((function(){var e=t.$refs.formCustomElInput.$el.querySelector("textarea");t.formCustom.editor=t.formCustom.editor||C.a.fromTextArea(e,{mode:"javascript"}),t.formCustom.editor.setValue(t.formCustom.code)}))}}},mounted:function(){}},He=Fe,ze=(o("aaca"),Object(s["a"])(He,Ge,We,!1,null,"6b7f927f",null)),Ne=ze.exports,Ve=o("3f5e");o("f9d4");var Qe={data:function(){return{showCssEditor:!1,aboutDialogVisible:!1,dialogUploadImgVisible:!1,dialogFormVisible:!1,isCoping:!1,isImgLoading:!1,backLight:!1,timeout:null,changeTimer:null,source:"",mouseLeft:0,mouseTop:0}},components:{editorHeader:Ee,aboutDialog:Te,insertFormDialog:Re,rightClickMenu:qe,uploadImgDialog:Ne},computed:Object(n["a"])({},Object(d["c"])({wxRenderer:function(e){return e.wxRenderer},output:function(e){return e.output},editor:function(e){return e.editor},cssEditor:function(e){return e.cssEditor},currentSize:function(e){return e.currentSize},currentColor:function(e){return e.currentColor},nightMode:function(e){return e.nightMode},rightClickMenuVisible:function(e){return e.rightClickMenuVisible}})),created:function(){var e=this;this.initEditorState(),this.$nextTick((function(){e.initEditor(),e.initCssEditor(),e.onEditorRefresh()}))},methods:Object(n["a"])({initEditor:function(){var e=this;this.initEditorEntity(),this.editor.on("change",(function(t,o){e.changeTimer&&clearTimeout(e.changeTimer),e.changeTimer=setTimeout((function(){e.onEditorRefresh(),$(e.editor,"__editor_content")}),300)})),this.editor.on("paste",(function(t,o){if(o.clipboardData&&o.clipboardData.items&&!e.isImgLoading)for(var n=0,r=o.clipboardData.items.length;n=65&&t.keyCode<=90||189===t.keyCode)&&e.showHint(t)})),this.cssEditor.on("update",(function(t){e.cssChanged(),$(e.cssEditor,"__css_content")}))},cssChanged:function(){var e=L(this.cssEditor.getValue(0)),t=U(this.currentSize.replace("px",""));t=K(e,this.currentColor,t),this.setWxRendererOptions({theme:t}),this.onEditorRefresh()},beforeUpload:function(e){var t=N(e);if(!t.ok)return this.$message.error(t.msg),!1;var o=localStorage.getItem("imgHost");o=o||"default",localStorage.setItem("imgHost",o);var n=localStorage.getItem("".concat(o,"Config")),r="default"==o||n;return!!r||(this.$message.error("请先配置 ".concat(o," 图床参数")),!1)},uploadImage:function(e){var t=this;this.isImgLoading=!0,z(e).then((function(o){Ve["a"].fileUpload(o,e).then((function(e){t.uploaded(e)})).catch((function(e){t.$message.error(e.message)}))})).catch((function(e){t.$message.error(e.message)})),this.isImgLoading=!1},uploaded:function(e){if(e){this.dialogUploadImgVisible=!1;var t=this.editor.getCursor(),o=e,n="![](".concat(o,")");this.editor.replaceSelection("\n".concat(n,"\n"),t),this.$message.success("图片上传成功"),this.onEditorRefresh()}else this.$message.error("上传图片未知异常")},leftAndRightScroll:function(){var e=this,t=function(t){var r,i;clearTimeout(e.timeout),"preview"===t?(r=e.$refs.preview.$el,i=document.getElementsByClassName("CodeMirror-scroll")[0],e.editor.off("scroll",o),e.timeout=setTimeout((function(){e.editor.on("scroll",o)}),300)):"editor"===t&&(r=document.getElementsByClassName("CodeMirror-scroll")[0],i=e.$refs.preview.$el,i.removeEventListener("scroll",n,!1),e.timeout=setTimeout((function(){i.addEventListener("scroll",n,!1)}),300));var a=r.scrollTop/(r.scrollHeight-r.offsetHeight),s=a*(i.scrollHeight-i.offsetHeight);i.scrollTo(0,s)},o=function(){t("editor")},n=function(){t("preview")};this.$refs.preview.$el.addEventListener("scroll",n,!1),this.editor.on("scroll",o)},onEditorRefresh:function(){this.editorRefresh(),setTimeout((function(){return PR.prettyPrint()}),0)},endCopy:function(){var e=this;this.backLight=!1,setTimeout((function(){e.isCoping=!1}),800)},downloadEditorContent:function(){W(this.editor.getValue(0))},exportEditorContent:function(){this.$nextTick((function(){F()}))},importMarkdownContent:function(){var e=this,t=document.getElementById("menu"),o=document.createElement("input");o.type="file",o.name="filename",o.accept=".txt,.md",t.appendChild(o),o.onchange=function(){if(o.files){var t=o.files[0];if(/\.(txt|TXT|MD|md)$/.test(t.name)){var n=new FileReader;n.readAsText(t),n.onload=function(t){var o=t.target.result;o=B(o),o&&(localStorage.setItem("__editor_content",o),e.editor.setValue(o),e.$message.success("文档导入成功"))}}else e.$message.error("不支持的文档格式")}},o.click(),t.removeChild(o)},formatContent:function(){var e=B(this.editor.getValue(0));localStorage.setItem("__editor_content",e),this.editor.setValue(e)},openMenu:function(e){var t=105,o=this.$el.getBoundingClientRect().left,n=this.$el.offsetWidth,r=n-t,i=e.clientX-o;this.mouseLeft=Math.min(r,i),this.mouseTop=e.clientY+10,this.$store.commit("setRightClickMenuVisible",!0)},closeRightClickMenu:function(){this.$store.commit("setRightClickMenuVisible",!1)},onMenuEvent:function(e){switch(e){case"pageReset":this.$refs.header.showResetConfirm=!0;break;case"insertPic":this.dialogUploadImgVisible=!0;break;case"download":this.downloadEditorContent();break;case"export":this.exportEditorContent();break;case"insertTable":this.dialogFormVisible=!0;break;case"importMarkdown":this.importMarkdownContent();break;case"formatMarkdown":this.formatContent();break;default:break}}},Object(d["b"])(["initEditorState","initEditorEntity","setWxRendererOptions","editorRefresh","initCssEditorEntity"])),mounted:function(){var e=this;setTimeout((function(){e.leftAndRightScroll(),PR.prettyPrint()}),300)}},Je=Qe,Ye=(o("9332"),o("792d"),o("a903"),Object(s["a"])(Je,ie,ae,!1,null,"7acf9643",null)),Ze=Ye.exports,Xe={name:"App",components:{Loading:re["default"],CodemirrorEditor:Ze},data:function(){return{loading:!0}},mounted:function(){var e=this;setTimeout((function(){e.loading=!1}),100)}},et=Xe,tt=(o("537d"),Object(s["a"])(et,oe,ne,!1,null,"8e90ad4c",null)),ot=tt.exports;r["default"].use(te["a"]);var nt=[{path:"/",name:"index",component:ot}],rt=new te["a"]({mode:"history",base:"/md/",routes:nt}),it=rt;r["default"].use(ee.a),r["default"].config.productionTip=!1,u.mpType="app";var at=new r["default"](Object(n["a"])({router:it,store:Z},u));at.$mount("#app")},6:function(e,t){},6396:function(e,t,o){},"64e1":function(e,t,o){"use strict";o("536a")},6849:function(e,t,o){},"695a":function(e,t,o){},7:function(e,t){},"77f7":function(e,t,o){},"792d":function(e,t,o){"use strict";o("ce42")},"7c55":function(e,t,o){"use strict";o("c163")},8:function(e,t){},"84a2":function(e,t,o){},"856c":function(e,t,o){"use strict";o("af5f")},9:function(e,t){},9332:function(e,t,o){"use strict";o("de14")},"94fb":function(e,t,o){"use strict";o("6849")},"9a2f":function(e,t,o){},a903:function(e,t,o){"use strict";o("119a")},aaca:function(e,t,o){"use strict";o("77f7")},aae9:function(e,t,o){"use strict";o.d(t,"a",(function(){return n})),o.d(t,"b",(function(){return r}));var n=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},r=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"loading",attrs:{id:"loading"}},[o("div",{staticClass:"loading-wrapper"},[o("div",{staticClass:"loading-anim"}),o("div",{staticClass:"loading-text"},[e._v("致力于让 Markdown 编辑更简单")])])])}]},af5f:function(e,t,o){},c081:function(e,t,o){"use strict";o("84a2")},c163:function(e,t,o){},cb57:function(e,t,o){"use strict";var n=o("eff7"),r=o.n(n);t["default"]=r.a},ce42:function(e,t,o){},da71:function(e,t,o){"use strict";o.d(t,"b",(function(){return n})),o.d(t,"a",(function(){return r}));o("a630"),o("3ca3");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"]},r={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"]}},de14:function(e,t,o){},e1d2:function(e,t,o){"use strict";o("d3b7");var n=o("bc3a"),r=o.n(n),i=r.a.create({baseURL:"",timeout:1e4});i.interceptors.request.use((function(e){return/^(post)|(put)|(delete)$/i.test(e.method)&&e.data&&e.data.upload&&(e.headers["Content-Type"]="multipart/form-data"),e}),(function(e){Promise.reject(e)})),i.interceptors.response.use((function(e){return e.data?e.data:Promise.reject(e)}),(function(e){return Promise.reject(e)})),t["a"]=i},ea8f:function(e,t,o){},ef81:function(e,t,o){"use strict";o("ea8f")},eff7:function(e,t){}}); +//# sourceMappingURL=app.f42b0604.js.map \ No newline at end of file diff --git a/js/app.f42b0604.js.map b/js/app.f42b0604.js.map new file mode 100644 index 0000000..52b32df --- /dev/null +++ b/js/app.f42b0604.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/CodemirrorEditor/resetDialog.vue?d122","webpack:///./src/components/Loading.vue?c5f2","webpack:///./src/components/Loading.vue?6b1c","webpack:///./src/api/file.js","webpack:///./src/assets/scripts/tokenTools.js","webpack:///./src/pages/index/index.vue?17c6","webpack:///./src/App.vue?989e","webpack:///./src/App.vue?a938","webpack:///./src/assets/scripts/config.js","webpack:///./src/assets/scripts/renderers/wx-renderer.js","webpack:///./src/assets/scripts/default-content.js","webpack:///./src/assets/scripts/themes/default-theme-css.js","webpack:///./src/assets/scripts/themes/default-theme.js","webpack:///./src/assets/scripts/util.js","webpack:///./src/store/index.js","webpack:///./src/plugins/element/index.js","webpack:///./src/pages/index/index.vue?11e6","webpack:///./src/pages/index/view/CodemirrorEditor.vue?e7f3","webpack:///./src/components/CodemirrorEditor/header.vue?0a3b","webpack:///./src/assets/scripts/converter.js","webpack:///./src/components/CodemirrorEditor/resetDialog.vue?b639","webpack:///src/components/CodemirrorEditor/resetDialog.vue","webpack:///./src/components/CodemirrorEditor/resetDialog.vue?340c","webpack:///./src/components/CodemirrorEditor/resetDialog.vue?f816","webpack:///src/components/CodemirrorEditor/header.vue","webpack:///./src/components/CodemirrorEditor/header.vue?0ac3","webpack:///./src/components/CodemirrorEditor/header.vue?f48c","webpack:///./src/components/CodemirrorEditor/aboutDialog.vue?4559","webpack:///src/components/CodemirrorEditor/aboutDialog.vue","webpack:///./src/components/CodemirrorEditor/aboutDialog.vue?6527","webpack:///./src/components/CodemirrorEditor/aboutDialog.vue?caf5","webpack:///./src/components/CodemirrorEditor/insertForm.vue?35da","webpack:///src/components/CodemirrorEditor/insertForm.vue","webpack:///./src/components/CodemirrorEditor/insertForm.vue?29b1","webpack:///./src/components/CodemirrorEditor/insertForm.vue?6765","webpack:///./src/components/CodemirrorEditor/rightClickMenu.vue?abef","webpack:///src/components/CodemirrorEditor/rightClickMenu.vue","webpack:///./src/components/CodemirrorEditor/rightClickMenu.vue?ef55","webpack:///./src/components/CodemirrorEditor/rightClickMenu.vue?3f9f","webpack:///./src/components/CodemirrorEditor/uploadImgDialog.vue?45a6","webpack:///src/components/CodemirrorEditor/uploadImgDialog.vue","webpack:///./src/components/CodemirrorEditor/uploadImgDialog.vue?d9e6","webpack:///./src/components/CodemirrorEditor/uploadImgDialog.vue?2b80","webpack:///src/pages/index/view/CodemirrorEditor.vue","webpack:///./src/pages/index/view/CodemirrorEditor.vue?db4d","webpack:///./src/pages/index/view/CodemirrorEditor.vue?1fb7","webpack:///src/pages/index/index.vue","webpack:///./src/pages/index/index.vue?d479","webpack:///./src/pages/index/index.vue","webpack:///./src/router/index.js","webpack:///./src/main.js","webpack:///./src/components/CodemirrorEditor/insertForm.vue?0676","webpack:///./src/pages/index/view/CodemirrorEditor.vue?262d","webpack:///./src/App.vue?e247","webpack:///./src/components/CodemirrorEditor/rightClickMenu.vue?da5b","webpack:///./src/pages/index/view/CodemirrorEditor.vue?a86f","webpack:///./src/App.vue?e8fb","webpack:///./src/pages/index/view/CodemirrorEditor.vue?595a","webpack:///./src/components/CodemirrorEditor/uploadImgDialog.vue?25d2","webpack:///./src/components/Loading.vue?0305","webpack:///./src/components/CodemirrorEditor/aboutDialog.vue?b81b","webpack:///./src/components/Loading.vue?a8a7","webpack:///./src/api/config.js","webpack:///./src/api/fetch.js","webpack:///./src/components/CodemirrorEditor/header.vue?ae28"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","component","getConfig","useDefault","platform","config","githubConfig","giteeConfig","username","repoList","branch","accessTokenList","tokenIndex","Math","floor","random","accessToken","replace","repoIndex","repo","customConfig","JSON","parse","localStorage","getItem","repoUrl","split","getDir","date","Date","year","getFullYear","month","getMonth","toString","padStart","day","getDate","getDateFilename","filename","currentTimestamp","getTime","fileSuffix","uuidv4","ghFileUpload","content","dir","url","dateFilename","fetch","method","headers","Authorization","message","location","href","res","githubResourceUrl","cdnResourceUrl","download_url","giteeUpload","access_token","encodeURI","getQiniuToken","accessKey","secretKey","putPolicy","policy","stringify","encoded","base64encode","utf16to8","hash","CryptoJS","HmacSHA1","encodedSigned","enc","Base64","safe64","qiniuUpload","file","bucket","region","path","domain","token","scope","deadline","trunc","observable","qiniu","Promise","resolve","reject","subscribe","next","console","log","error","err","complete","aliOSSFileUpload","accessKeyId","accessKeySecret","cdnHost","buffer","Buffer","client","OSS","put","txCOSFileUpload","secretId","cos","COS","SecretId","SecretKey","putObject","Bucket","Region","Key","Body","Location","formCustomUpload","str","exportObj","util","axios","tokenTools","okCb","errCb","eval","catch","fileUpload","imgHost","setItem","out","len","charCodeAt","charAt","String","fromCharCode","utf8to16","char2","char3","base64EncodeChars","base64DecodeChars","Array","c1","c2","c3","base64decode","c4","base64","render","_vm","this","_h","$createElement","_c","_self","attrs","staticRenderFns","script","builtinFonts","label","sizeOption","desc","colorOption","codeThemeOption","form","rows","cols","WxRenderer","opts","ENV_STRETCH_IMAGE","footnotes","footnoteIndex","styleMapping","CODE_FONT_FAMILY","merge","base","extend","assign","buildTheme","themeTpl","mapping","BASE","fonts","size","ele","inline","style","base_block","block","getStyles","tokenName","addition","arr","dict","join","addFootnote","title","link","buildFootnotes","footnoteArray","map","x","buildAddition","setOptions","newOpts","hasFootnotes","getRenderer","status","theme","renderer","marked","Renderer","heading","text","level","paragraph","indexOf","blockquote","code","lang","codeLines","line","codeTheme","codespan","listitem","list","ordered","start","segments","image","subText","figureStyles","imgStyles","startsWith","ref","strong","em","table","header","body","tablecell","flags","hr","DEFAULT_CONTENT","DEFAULT_CSS_CONTENT","color","BASE_BLOCK","margin","h1","display","padding","h2","background","h3","h4","blockquote_p","overflow","border","width","image_org","ol","ul","figure","wx_link","thead","td","footnote","figcaption","setColorWithTemplate","template","custom_theme","setColorWithCustomTemplate","setFontSizeWithTemplate","fontSize","setColor","default_theme","setFontSize","customCssWithTemplate","jsonString","li","css2json","css","open","close","substring","json","lbracket","rbracket","toObject","array","ret","forEach","e","index","trim","declarations","filter","selectors","selector","keys","saveEditorContent","editor","getValue","removeItem","formatDoc","doc","prettier","format","parser","plugins","prettierMarkdown","formatCss","prettierCss","fixCodeWhiteSpace","preDomList","document","getElementsByClassName","pre","whiteSpace","downloadMD","downLink","createElement","download","blob","Blob","URL","createObjectURL","appendChild","click","removeChild","exportHTML","element","querySelector","setStyles","htmlStr","innerHTML","isSection","isPre","isCode","isSpan","setAttribute","getElementStyles","tagName","from","classList","includes","parentElement","children","child","createTable","currRow","rowIdx","toBase64","reader","FileReader","readAsDataURL","onload","pop","onerror","checkImage","isValidSuffix","test","ok","msg","maxSize","isLt5M","excludes","styles","getComputedStyle","entries","getPropertyValue","removeLeft","lines","minSpaceNum","item","match","sort","a","b","newStr","Vue","use","Vuex","state","wxRenderer","output","html","cssEditor","currentFont","currentSize","currentColor","citeStatus","nightMode","rightClickMenuVisible","mutations","setEditorValue","setValue","setCssEditorValue","setWxRendererOptions","setCiteStatus","setCurrentFont","setCurrentSize","setCurrentColor","setCurrentCodeTheme","setRightClickMenuVisible","themeChanged","initEditorState","initEditorEntity","editorDom","getElementById","CodeMirror","fromTextArea","lineNumbers","lineWrapping","styleActiveLine","autoCloseBrackets","extraKeys","initCssEditorEntity","cssEditorDom","matchBrackets","autofocus","editorRefresh","clearEditorToDefault","Store","actions","Message","$loading","Loading","service","$message","staticClass","class","container_night","on","onEditorRefresh","cssChanged","downloadEditorContent","exportEditorContent","$event","showCssEditor","aboutDialogVisible","dialogFormVisible","dialogUploadImgVisible","isCoping","backLight","endCopy","nativeOn","preventDefault","openMenu","directives","rawName","expression","domProps","target","composing","source","output_night","_s","_v","_e","beforeUpload","uploadImage","uploaded","model","callback","$$v","mouseLeft","mouseTop","onMenuEvent","closeRightClickMenu","effect","$emit","showResetConfirm","fontChanged","selectFont","_l","font","fontFamily","sizeChanged","selectSize","colorChanged","selectColor","statusChanged","btnType","customStyle","copy","btnContent","confirmReset","cancelReset","solveWeChatImage","clipboardDiv","images","getElementsByTagName","getAttribute","height","removeAttribute","solveHtml","juice","inlineContent","inlinePseudoElements","preserveImportant","slot","props","type","Boolean","default","computed","selectCodeTheme","components","resetDialog","methods","codeThemeChanged","val","setTimeout","focus","getSelection","removeAllRanges","range","setStartBefore","firstChild","setEndAfter","lastChild","addRange","execCommand","showClose","offset","duration","clear","mounted","staticStyle","onRedirect","rowNum","colNum","row","col","tableData","$set","insertTable","replaceSelection","left","top","menuItem","onMouseDown","Number","menu","closeCB","activeName","changeImgHost","beforeImageUpload","formGitee","saveGiteeConfiguration","formGitHub","saveGitHubConfiguration","formAliOSS","saveAliOSSConfiguration","formTxCOS","saveTxCOSConfiguration","formQiniu","saveQiniuConfiguration","formCustom","formCustomSave","undefined","options","created","success","checkResult","isValidHost","params","watch","immediate","handler","$nextTick","isImgLoading","timeout","changeTimer","editorHeader","aboutDialog","insertFormDialog","rightClickMenu","uploadImgDialog","initEditor","clipboardData","items","kind","isValid","initCssEditor","cm","showHint","response","leftAndRightScroll","clearTimeout","removeEventListener","previewScrollCB","addEventListener","scrollTo","scrollCB","$refs","preview","$el","editorScrollCB","importMarkdownContent","input","accept","onchange","files","readAsText","txt","formatContent","min","maxLeft","clientY","$store","commit","PR","prettyPrint","CodemirrorEditor","loading","VueRouter","routes","router","process","ElementUI","productionTip","App","mpType","app","store","$mount","_m","baseURL","interceptors","request","upload"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EA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A,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,EACD,IACC,GACA,GACA,EACD,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,IACC,GACA,GACA,GACA,GACA,GACA,GACA,EACD,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,IACC,GACA,GACA,GACA,GACA,GACA,EACD,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,IACC,GACA,GACA,GACA,GACA,GAEI,SAAS5E,EAAaqD,GAC3B,IAAIY,EAAK7L,EAAG8L,EACRW,EAAIC,EAAIC,EACZb,EAAMb,EAAI/K,OACVF,EAAI,EACJ6L,EAAM,GACN,MAAO7L,EAAI8L,EAAK,CAEd,GADAW,EAA2B,IAAtBxB,EAAIc,WAAW/L,KAChBA,GAAK8L,EAAK,CACZD,GAAOS,EAAkBN,OAAOS,GAAM,GACtCZ,GAAOS,EAAkBN,QAAa,EAALS,IAAa,GAC9CZ,GAAO,KACP,MAGF,GADAa,EAAKzB,EAAIc,WAAW/L,KAChBA,GAAK8L,EAAK,CACZD,GAAOS,EAAkBN,OAAOS,GAAM,GACtCZ,GAAOS,EAAkBN,QAAc,EAALS,IAAa,GAAY,IAALC,IAAc,GACpEb,GAAOS,EAAkBN,QAAa,GAALU,IAAa,GAC9Cb,GAAO,IACP,MAEFc,EAAK1B,EAAIc,WAAW/L,KACpB6L,GAAOS,EAAkBN,OAAOS,GAAM,GACtCZ,GAAOS,EAAkBN,QAAc,EAALS,IAAa,GAAY,IAALC,IAAc,GACpEb,GAAOS,EAAkBN,QAAc,GAALU,IAAa,GAAY,IAALC,IAAc,GACpEd,GAAOS,EAAkBN,OAAY,GAALW,GAElC,OAAOd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SAAS/M,KAC5B,SAAC1U,GACC,OAAOA,EAAIpH,KAAOoH,EAAIpH,KAAOuJ,QAAQE,OAAOrC,MAE9C,SAAC0C,GAAD,OAAWP,QAAQE,OAAOK,MAGb+U,U,yDC7Bf,W","file":"js/app.f42b0604.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/md/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./resetDialog.vue?vue&type=style&index=0&id=68392714&lang=less&scoped=true&\"","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=style&index=0&id=a205efe8&lang=less&scoped=true&\"","import { render, staticRenderFns } from \"./Loading.vue?vue&type=template&id=a205efe8&scoped=true&\"\nimport script from \"./Loading.vue?vue&type=script&lang=js&\"\nexport * from \"./Loading.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Loading.vue?vue&type=style&index=0&id=a205efe8&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a205efe8\",\n null\n \n)\n\nexport default component.exports","import fetch from \"./fetch\";\nimport { githubConfig, giteeConfig } from \"./config\";\nimport CryptoJS from \"crypto-js\";\nimport OSS from \"ali-oss\";\nimport COS from \"cos-js-sdk-v5\";\nimport Buffer from \"buffer-from\";\nimport { v4 as uuidv4 } from \"uuid\";\nimport * as qiniu from \"qiniu-js\";\nimport { utf16to8, base64encode, safe64 } from \"../assets/scripts/tokenTools\";\nimport * as tokenTools from \"../assets/scripts/tokenTools\";\n\nfunction getConfig(useDefault, platform) {\n if (useDefault) {\n // load default config file\n const config = platform === \"github\" ? githubConfig : giteeConfig;\n const { username, repoList, branch, accessTokenList } = config;\n\n // choose random token from access_token list\n const tokenIndex = Math.floor(Math.random() * accessTokenList.length);\n const accessToken = accessTokenList[tokenIndex].replace(\"doocsmd\", \"\");\n\n // choose random repo from repo list\n const repoIndex = Math.floor(Math.random() * repoList.length);\n const repo = repoList[repoIndex];\n\n return { username, repo, branch, accessToken };\n }\n\n // load configuration from localStorage\n const customConfig = JSON.parse(localStorage.getItem(`${platform}Config`));\n\n // split username/repo\n const repoUrl = customConfig.repo\n .replace(`https://${platform}.com/`, \"\")\n .replace(`http://${platform}.com/`, \"\")\n .replace(`${platform}.com/`, \"\")\n .split(\"/\");\n return {\n username: repoUrl[0],\n repo: repoUrl[1],\n branch: customConfig.branch || \"master\",\n accessToken: customConfig.accessToken,\n };\n}\n\n/**\n * 获取 `年/月/日` 形式的目录\n * @returns string\n */\nfunction getDir() {\n const date = new Date();\n const year = date.getFullYear();\n const month = (date.getMonth() + 1).toString().padStart(2, \"0\");\n const day = date.getDate().toString().padStart(2, \"0\");\n return `${year}/${month}/${day}`;\n}\n\n/**\n * 根据文件名获取它以 `时间戳+uuid` 的形式\n * @param {string} filename 文件名\n * @returns \n */\nfunction getDateFilename(filename) {\n const currentTimestamp = new Date().getTime();\n const fileSuffix = filename.split(\".\")[1];\n return `${currentTimestamp}-${uuidv4()}.${fileSuffix}`;\n}\n\n//-----------------------------------------------------------------------\n// GitHub File Upload\n//-----------------------------------------------------------------------\n\nasync function ghFileUpload(content, filename) {\n const useDefault = localStorage.getItem(\"imgHost\") === \"default\";\n const { username, repo, branch, accessToken } = getConfig(\n useDefault,\n \"github\"\n );\n const dir = getDir();\n const url = `https://api.github.com/repos/${username}/${repo}/contents/${dir}/`;\n const dateFilename = getDateFilename(filename);\n const res = await fetch({\n url: url + dateFilename,\n method: \"put\",\n headers: {\n Authorization: `token ${accessToken}`,\n },\n data: {\n content,\n branch,\n message: `Upload by ${window.location.href}`,\n },\n });\n\n const githubResourceUrl = `raw.githubusercontent.com/${username}/${repo}/${branch}/`;\n const cdnResourceUrl = `cdn.jsdelivr.net/gh/${username}/${repo}@${branch}/`;\n return useDefault\n ? res.data.content.download_url.replace(githubResourceUrl, cdnResourceUrl)\n : res.data.content.download_url;\n}\n\n//-----------------------------------------------------------------------\n// Gitee File Upload\n//-----------------------------------------------------------------------\n\nasync function giteeUpload(content, filename) {\n const useDefault = localStorage.getItem(\"imgHost\") === \"default\";\n const { username, repo, branch, accessToken } = getConfig(\n useDefault,\n \"gitee\"\n );\n const dir = getDir();\n const dateFilename = getDateFilename(filename);\n const url = `https://gitee.com/api/v5/repos/${username}/${repo}/contents/${dir}/${dateFilename}`;\n const res = await fetch({\n url,\n method: \"POST\",\n data: {\n content,\n branch,\n access_token: accessToken,\n message: `Upload by ${window.location.href}`,\n },\n });\n return encodeURI(res.data.content.download_url);\n}\n\n//-----------------------------------------------------------------------\n// Qiniu File Upload\n//-----------------------------------------------------------------------\n\nfunction getQiniuToken(accessKey, secretKey, putPolicy) {\n const policy = JSON.stringify(putPolicy);\n const encoded = base64encode(utf16to8(policy));\n const hash = CryptoJS.HmacSHA1(encoded, secretKey);\n const encodedSigned = hash.toString(CryptoJS.enc.Base64);\n return `${accessKey}:${safe64(encodedSigned)}:${encoded}`;\n}\n\nasync function qiniuUpload(file) {\n const { accessKey, secretKey, bucket, region, path, domain } = JSON.parse(\n localStorage.getItem(\"qiniuConfig\")\n );\n const token = getQiniuToken(accessKey, secretKey, {\n scope: bucket,\n deadline: Math.trunc(new Date().getTime() / 1000) + 3600,\n });\n const dir = path ? `${path}/` : \"\";\n const dateFilename = dir + getDateFilename(file.name);\n const observable = qiniu.upload(file, dateFilename, token, {}, { region });\n return new Promise((resolve, reject) => {\n observable.subscribe({\n next: (result) => {\n console.log(result);\n },\n error: (err) => {\n reject(err.message);\n },\n complete: (result) => {\n resolve(`${domain}/${result.key}`);\n },\n });\n });\n}\n\n//-----------------------------------------------------------------------\n// AliOSS File Upload\n//-----------------------------------------------------------------------\n\nasync function aliOSSFileUpload(content, filename) {\n const dateFilename = getDateFilename(filename);\n const { region, bucket, accessKeyId, accessKeySecret, cdnHost, path } =\n JSON.parse(localStorage.getItem(\"aliOSSConfig\"));\n const buffer = Buffer(content, \"base64\");\n const dir = `${path}/${dateFilename}`;\n const client = new OSS({\n region,\n bucket,\n accessKeyId,\n accessKeySecret,\n });\n try {\n const res = await client.put(dir, buffer);\n if (cdnHost == \"\") return res.url;\n return `${cdnHost}/${path == \"\" ? dateFilename : dir}`;\n } catch (e) {\n return Promise.reject(e);\n }\n}\n\n//-----------------------------------------------------------------------\n// TxCOS File Upload\n//-----------------------------------------------------------------------\n\nasync function txCOSFileUpload(file) {\n const dateFilename = getDateFilename(file.name);\n const { secretId, secretKey, bucket, region, path, cdnHost } = JSON.parse(\n localStorage.getItem(\"txCOSConfig\")\n );\n const cos = new COS({\n SecretId: secretId,\n SecretKey: secretKey,\n });\n return new Promise((resolve, reject) => {\n cos.putObject(\n {\n Bucket: bucket,\n Region: region,\n Key: `${path}/${dateFilename}`,\n Body: file,\n },\n function (err, data) {\n if (err) {\n reject(err);\n } else if (cdnHost) {\n resolve(\n path == \"\"\n ? `${cdnHost}/${dateFilename}`\n : `${cdnHost}/${path}/${dateFilename}`\n );\n } else {\n resolve(`https://${data.Location}`);\n }\n }\n );\n });\n}\n\n//-----------------------------------------------------------------------\n// formCustom File Upload\n//-----------------------------------------------------------------------\n\nasync function formCustomUpload(content, file) {\n const str = `\n async (CUSTOM_ARG) => {\n ${localStorage.getItem(`formCustomConfig`)}\n }\n `\n return new Promise((resolve, reject) => {\n const exportObj = {\n content, // 待上传图片的 base64\n file, // 待上传图片的 file 对象\n util: {\n axios: fetch, // axios 实例\n CryptoJS, // 加密库\n OSS, // ali-oss\n COS, // cos-js-sdk-v5\n Buffer, // buffer-from\n uuidv4, // uuid\n qiniu, // qiniu-js\n tokenTools, // 一些编码转换函数\n getDir, // 获取 年/月/日 形式的目录\n getDateFilename, // 根据文件名获取它以 时间戳+uuid 的形式\n },\n okCb: resolve, // 重要: 上传成功后给此回调传 url 即可\n errCb: reject, // 上传失败调用的函数\n }\n eval(str)(exportObj).catch(err => {\n console.error(err)\n reject(err)\n })\n });\n}\n\nfunction fileUpload(content, file) {\n const imgHost = localStorage.getItem(\"imgHost\");\n !imgHost && localStorage.setItem(\"imgHost\", \"default\");\n switch (imgHost) {\n case \"aliOSS\":\n return aliOSSFileUpload(content, file.name);\n case \"txCOS\":\n return txCOSFileUpload(file);\n case \"qiniu\":\n return qiniuUpload(file);\n case \"gitee\":\n return giteeUpload(content, file.name);\n case \"github\":\n return ghFileUpload(content, file.name);\n case \"formCustom\":\n return formCustomUpload(content, file);\n default:\n // return file.size / 1024 < 1024\n // ? giteeUpload(content, file.name)\n // : ghFileUpload(content, file.name);\n return ghFileUpload(content, file.name);\n }\n}\n\nexport default {\n fileUpload,\n};\n","export function utf16to8(str) {\n var out, i, len, c;\n out = \"\";\n len = str.length;\n for (i = 0; i < len; i++) {\n c = str.charCodeAt(i);\n if (c >= 0x0001 && c <= 0x007f) {\n out += str.charAt(i);\n } else if (c > 0x07ff) {\n out += String.fromCharCode(0xe0 | ((c >> 12) & 0x0f));\n out += String.fromCharCode(0x80 | ((c >> 6) & 0x3f));\n out += String.fromCharCode(0x80 | ((c >> 0) & 0x3f));\n } else {\n out += String.fromCharCode(0xc0 | ((c >> 6) & 0x1f));\n out += String.fromCharCode(0x80 | ((c >> 0) & 0x3f));\n }\n }\n return out;\n}\n\nexport function utf8to16(str) {\n var out, i, len, c;\n var char2, char3;\n out = \"\";\n len = str.length;\n i = 0;\n while (i < len) {\n c = str.charCodeAt(i++);\n switch (c >> 4) {\n case 0:\n case 1:\n case 2:\n case 3:\n case 4:\n case 5:\n case 6:\n case 7:\n // 0xxxxxxx\n out += str.charAt(i - 1);\n break;\n case 12:\n case 13:\n // 110x xxxx 10xx xxxx\n char2 = str.charCodeAt(i++);\n out += String.fromCharCode(((c & 0x1f) << 6) | (char2 & 0x3f));\n break;\n case 14:\n // 1110 xxxx 10xx xxxx 10xx xxxx\n char2 = str.charCodeAt(i++);\n char3 = str.charCodeAt(i++);\n out += String.fromCharCode(\n ((c & 0x0f) << 12) | ((char2 & 0x3f) << 6) | ((char3 & 0x3f) << 0)\n );\n break;\n }\n }\n return out;\n}\n\nconst base64EncodeChars =\n \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_\";\nconst base64DecodeChars = new Array(\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n 62,\n -1,\n -1,\n -1,\n 63,\n 52,\n 53,\n 54,\n 55,\n 56,\n 57,\n 58,\n 59,\n 60,\n 61,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n 0,\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7,\n 8,\n 9,\n 10,\n 11,\n 12,\n 13,\n 14,\n 15,\n 16,\n 17,\n 18,\n 19,\n 20,\n 21,\n 22,\n 23,\n 24,\n 25,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n 26,\n 27,\n 28,\n 29,\n 30,\n 31,\n 32,\n 33,\n 34,\n 35,\n 36,\n 37,\n 38,\n 39,\n 40,\n 41,\n 42,\n 43,\n 44,\n 45,\n 46,\n 47,\n 48,\n 49,\n 50,\n 51,\n -1,\n -1,\n -1,\n -1,\n -1\n);\nexport function base64encode(str) {\n var out, i, len;\n var c1, c2, c3;\n len = str.length;\n i = 0;\n out = \"\";\n while (i < len) {\n c1 = str.charCodeAt(i++) & 0xff;\n if (i == len) {\n out += base64EncodeChars.charAt(c1 >> 2);\n out += base64EncodeChars.charAt((c1 & 0x3) << 4);\n out += \"==\";\n break;\n }\n c2 = str.charCodeAt(i++);\n if (i == len) {\n out += base64EncodeChars.charAt(c1 >> 2);\n out += base64EncodeChars.charAt(((c1 & 0x3) << 4) | ((c2 & 0xf0) >> 4));\n out += base64EncodeChars.charAt((c2 & 0xf) << 2);\n out += \"=\";\n break;\n }\n c3 = str.charCodeAt(i++);\n out += base64EncodeChars.charAt(c1 >> 2);\n out += base64EncodeChars.charAt(((c1 & 0x3) << 4) | ((c2 & 0xf0) >> 4));\n out += base64EncodeChars.charAt(((c2 & 0xf) << 2) | ((c3 & 0xc0) >> 6));\n out += base64EncodeChars.charAt(c3 & 0x3f);\n }\n return out;\n}\n\nexport function base64decode(str) {\n var c1, c2, c3, c4;\n var i, len, out;\n len = str.length;\n i = 0;\n out = \"\";\n while (i < len) {\n /* c1 */\n do {\n c1 = base64DecodeChars[str.charCodeAt(i++) & 0xff];\n } while (i < len && c1 == -1);\n if (c1 == -1) break;\n /* c2 */\n do {\n c2 = base64DecodeChars[str.charCodeAt(i++) & 0xff];\n } while (i < len && c2 == -1);\n if (c2 == -1) break;\n out += String.fromCharCode((c1 << 2) | ((c2 & 0x30) >> 4));\n /* c3 */\n do {\n c3 = str.charCodeAt(i++) & 0xff;\n if (c3 == 61) return out;\n c3 = base64DecodeChars[c3];\n } while (i < len && c3 == -1);\n if (c3 == -1) break;\n out += String.fromCharCode(((c2 & 0xf) << 4) | ((c3 & 0x3c) >> 2));\n /* c4 */\n do {\n c4 = str.charCodeAt(i++) & 0xff;\n if (c4 == 61) return out;\n c4 = base64DecodeChars[c4];\n } while (i < len && c4 == -1);\n if (c4 == -1) break;\n out += String.fromCharCode(((c3 & 0x03) << 6) | c4);\n }\n return out;\n}\n\nexport function safe64(base64) {\n base64 = base64.replace(/\\+/g, \"-\");\n base64 = base64.replace(/\\//g, \"_\");\n return base64;\n}\n","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=8e90ad4c&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=41a4af61&\"\nvar script = {}\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=less&\"\nimport style1 from \"./App.vue?vue&type=style&index=1&lang=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export default {\n builtinFonts: [\n {\n label: \"无衬线\",\n value:\n \"-apple-system-font,BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB , Microsoft YaHei UI , Microsoft YaHei ,Arial,sans-serif\",\n },\n {\n label: \"衬线\",\n value:\n \"Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif\",\n },\n ],\n sizeOption: [\n {\n label: \"12px\",\n value: \"12px\",\n desc: \"更小\",\n },\n {\n label: \"13px\",\n value: \"13px\",\n desc: \"稍小\",\n },\n {\n label: \"14px\",\n value: \"14px\",\n desc: \"推荐\",\n },\n {\n label: \"15px\",\n value: \"15px\",\n desc: \"稍大\",\n },\n {\n label: \"16px\",\n value: \"16px\",\n desc: \"更大\",\n },\n ],\n colorOption: [\n {\n label: \"经典蓝\",\n value: \"rgba(15, 76, 129, 1)\",\n desc: \"最新流行\",\n },\n {\n label: \"翡翠绿\",\n value: \"rgba(0, 152, 116, 1)\",\n desc: \"优雅清新\",\n },\n {\n label: \"活力橘\",\n value: \"rgba(250, 81, 81, 1)\",\n desc: \"热情活泼\",\n },\n ],\n codeThemeOption: [\n {\n label: \"微信\",\n value: \"wechat\",\n desc: \"默认样式\",\n },\n {\n label: \"GitHub\",\n value: \"github\",\n desc: \"精简风格\",\n },\n ],\n form: {\n rows: 1,\n cols: 1,\n },\n};\n","import marked from \"marked\";\nclass WxRenderer {\n constructor(opts) {\n this.opts = opts;\n let ENV_STRETCH_IMAGE = true;\n\n let footnotes = [];\n let footnoteIndex = 0;\n let styleMapping = null;\n\n const CODE_FONT_FAMILY =\n \"Menlo, Operator Mono, Consolas, Monaco, monospace\";\n\n let merge = (base, extend) => Object.assign({}, base, extend);\n\n this.buildTheme = (themeTpl) => {\n let mapping = {};\n let base = merge(themeTpl.BASE, {\n \"font-family\": this.opts.fonts,\n \"font-size\": this.opts.size,\n });\n for (let ele in themeTpl.inline) {\n if (themeTpl.inline.hasOwnProperty(ele)) {\n let style = themeTpl.inline[ele];\n mapping[ele] = merge(themeTpl.BASE, style);\n }\n }\n\n let base_block = merge(base, {});\n for (let ele in themeTpl.block) {\n if (themeTpl.block.hasOwnProperty(ele)) {\n let style = themeTpl.block[ele];\n if (ele === \"code\") {\n style[\"font-family\"] = CODE_FONT_FAMILY;\n }\n mapping[ele] = merge(base_block, style);\n }\n }\n return mapping;\n };\n\n let getStyles = (tokenName, addition) => {\n let arr = [];\n let dict = styleMapping[tokenName];\n if (!dict) return \"\";\n for (const key in dict) {\n arr.push(key + \":\" + dict[key]);\n }\n return `style=\"${arr.join(\";\") + (addition || \"\")}\"`;\n };\n\n let addFootnote = (title, link) => {\n footnotes.push([++footnoteIndex, title, link]);\n return footnoteIndex;\n };\n\n this.buildFootnotes = () => {\n let footnoteArray = footnotes.map((x) => {\n if (x[1] === x[2]) {\n return `[${x[0]}]: ${x[1]}
`;\n }\n return `[${x[0]}] ${x[1]}: ${x[2]}
`;\n });\n return `

引用链接

${footnoteArray.join(\"\\n\")}

`;\n };\n\n this.buildAddition = () => {\n return `\n \n `;\n };\n\n this.setOptions = (newOpts) => {\n this.opts = merge(this.opts, newOpts);\n };\n\n this.hasFootnotes = () => footnotes.length !== 0;\n\n this.getRenderer = (status) => {\n footnotes = [];\n footnoteIndex = 0;\n\n styleMapping = this.buildTheme(this.opts.theme);\n let renderer = new marked.Renderer();\n\n renderer.heading = (text, level) => {\n switch (level) {\n case 1:\n return `

${text}

`;\n case 2:\n return `

${text}

`;\n case 3:\n return `

${text}

`;\n default:\n return `

${text}

`;\n }\n };\n renderer.paragraph = (text) => {\n if (text.indexOf(\"${text}

`;\n };\n\n renderer.blockquote = (text) => {\n text = text.replace(//g, `

`);\n return `

${text}
`;\n };\n renderer.code = (text, lang) => {\n text = text.replace(//g, \">\");\n const codeLines = text\n .split(\"\\n\")\n .map(\n (line) =>\n `${\n line || \" \"\n }`\n );\n const codeTheme = \"github\";\n return `\n
\n
\n                        ${codeLines.join(\"\")}\n                    
\n
\n `;\n };\n renderer.codespan = (text, lang) =>\n `${text}`;\n renderer.listitem = (text) =>\n `<%s/>${text}`;\n\n renderer.list = (text, ordered, start) => {\n text = text.replace(/<\\/*p.*?>/g, \"\");\n let segments = text.split(`<%s/>`);\n if (!ordered) {\n text = segments.join(\"•\");\n return `

${text}

`;\n }\n text = segments[0];\n for (let i = 1; i < segments.length; i++) {\n text = text + i + \".\" + segments[i];\n }\n return `

${text}

`;\n };\n renderer.image = (href, title, text) => {\n let subText = \"\";\n if (text) {\n subText = `
${text}
`;\n }\n let figureStyles = getStyles(\"figure\");\n let imgStyles = getStyles(ENV_STRETCH_IMAGE ? \"image\" : \"image_org\");\n return `
\"${text}\"/${subText}
`;\n };\n renderer.link = (href, title, text) => {\n if (href.startsWith(\"https://mp.weixin.qq.com\")) {\n return `${text}`;\n }\n if (href === text) {\n return text;\n }\n if (status) {\n let ref = addFootnote(title || text, href);\n return `${text}[${ref}]`;\n }\n return `${text}`;\n };\n renderer.strong = (text) =>\n `${text}`;\n renderer.em = (text) =>\n `${text}`;\n renderer.table = (header, body) =>\n `
${header}${body}
`;\n renderer.tablecell = (text, flags) =>\n `${text}`;\n renderer.hr = () =>\n `
`;\n return renderer;\n };\n }\n}\nexport default WxRenderer;\n","const DEFAULT_CONTENT = `# 示例文章:Google 搜索的即时自动补全功能究竟是如何“工作”的?\n> Google 搜索**自动补全功能**的强大,相信不少朋友都能感受到,它帮助我们更快地“补全”我们所要输入的搜索关键字。那么,它怎么知道我们要输入什么内容?它又是如何工作的?在这篇文章里,我们一起来看看。\n\n## 使用自动补全\nGoogle 搜索的自动补全功能可以在 Google 搜索应用的大多数位置使用,包括 [Google](https://www.google.com/) 主页、适用于 IOS 和 Android 的 Google 应用,我们只需要在 Google 搜索框上开始键入关键字,就可以看到联想词了。\n\n![](https://gitee.com/yanglbme/resource/raw/master/doocs-md/juejin.gif)\n\n在上图示例中,我们可以看到,输入关键字 \\`juej\\`,Google 搜索会联想到“掘金”、“掘金小册”、“绝句”等等,好处就是,我们无须输入完整的关键字即可轻松完成针对这些 topics 的搜索。\n\n谷歌搜索的自动补全功能对于使用移动设备的用户来说特别有用,用户可以轻松在难以键入的小屏幕上完成搜索。当然,对于移动设备用户和台式机用户而言,这都节省了大量的时间。根据 Google 官方报告,自动补全功能可以减少大约 25% 的打字,累积起来,预计每天可以节省 200 多年的打字时间。是的,每天!\n\n> 注意,本文所提到的“**联想词**”与“**预测**”,是同一个意思。\n\n## 基于“预测”而非“建议”\nGoogle 官方将自动补全功能称之为“预测”,而不是“建议”,为什么呢?其实是有充分理由的。自动补全功能是为了**帮助用户完成他们打算进行的搜索**,而不是建议用户要执行什么搜索。\n\n那么,Google 是如何确定这些“预测”的?其实,Google 会根据趋势搜索 [trends](https://trends.google.com/trends/?geo=US) 给到我们这些“预测”。简单来说,哪个热门、哪个搜索频率高,就更可能推给我们。当然,这也与我们当前所处的位置以及我们的搜索历史相关。\n\n另外,这些“预测”也会随着我们键入的关键字的变更而更改。例如,当我们把键入的关键字从 \\`juej\\` 更改为 \\`juex\\` 时,与“掘金”相关的预测会“消失”,同时,与“觉醒”、“决心”相关联的词会出现。\n\n![](https://gitee.com/yanglbme/resource/raw/master/doocs-md/juex.gif)\n\n## 为什么看不到某些联想词?\n如果我们在输入某个关键字时看不到联想词,那么表明 Google 的算法可能检测到:\n\n- 这个关键字不是热门字词;\n- 搜索的字词太新了,我们可能需要等待几天或几周才能看到联想词;\n- 这是一个侮辱性或敏感字词,这个搜索字词违反了 Google 的相关政策。更加详细的情况,可以了解 [Google 搜索自动补全政策](https://support.google.com/websearch/answer/7368877)。\n\n## 为什么会看到某些不当的联想词?\nGoogle 拥有专门设计的系统,可以自动捕获不适当的预测结果而不显示出来。然而,Google 每天需要处理数十亿次搜索,这意味着 Google 每天会显示数十亿甚至上百亿条预测。再好的系统,也可能存在缺陷,不正确的预测也可能随时会出现。\n\n我们作为 Google 搜索的用户,如果认定某条预测违反了相关的搜索自动补全政策,可以进行举报反馈,点击右下角“**举报不当的联想查询**”并勾选相关选项即可。\n\n![](https://gitee.com/yanglbme/resource/raw/master/doocs-md/report.gif)\n\n## 如何实现自动补全算法?\n目前,Google 官方似乎并没有公开搜索自动补全的算法实现,但是业界在这方面已经有了不少研究。\n\n一个好的自动补全器必须是快速的,并且在用户键入下一个字符后立即更新联想词列表。**自动补全器的核心是一个函数,它接受输入的前缀,并搜索以给定前缀开头的词汇或语句列表**。通常来说,只需要返回少量的数目即可。\n\n接下来,我们先从一个简单且低效的实现开始,并在此基础上逐步构建更高效的方法。\n\n### 词汇表实现\n一个**简单粗暴的实现方式**是:顺序查找词汇表,依次检查每个词汇,看它是否以给定的前缀开头。\n\n但是,此方法需要将前缀与每个词汇进行匹配检查,若词汇量较少,这种方式可能勉强行得通。但是,如果词汇量规模较大,效率就太低了。\n\n一个**更好的实现方式是**:让词汇按字典顺序排序。借助二分搜索算法,可以快速搜索有序词汇表中的前缀。由于二分搜索的每一步都会将搜索的范围减半,因此,总的搜索时间与词汇表中单词数量的对数成正比,即时间复杂度是 \\`O(log N)\\`。二分搜索的性能很好,但有没有更好的实现呢?当然有,往下看。\n\n### 前缀树实现\n通常来说,许多词汇都以相同的前缀开头,比如 \\`need\\`、\\`nested\\` 都以 \\`ne\\` 开头,\\`seed\\`、\\`speed\\` 都以 \\`s\\` 开头。要是为每个单词分别存储公共前缀似乎很浪费。\n\n![](https://gitee.com/yanglbme/resource/raw/master/doocs-md/pretree.png)\n\n前缀树是一种利用公共前缀来加速补全速度的数据结构。前缀树在节点树中排列一组单词,单词沿着从根节点到叶子节点的路径存储,树的层次对应于前缀的字母位置。\n\n前缀的补全是顺着前缀定义的路径来查找的。例如,在上图的前缀树中,前缀 \\`ne\\` 对应于从子节点取左边缘 \\`N\\` 和唯一边缘 \\`E\\` 的路径。然后可以通过继续遍历从 \\`E\\` 节点可以达到的所有叶节点来生成补全列表。在图中,\\`ne\\` 的补全可以是两个分支:\\`-ed\\` 和 \\`-sted\\`。如果在数中找不到由前缀定义的路径,则说明词汇表中不包含以该前缀开头的单词。\n\n### 有限状态自动机(DFA)实现\n前缀树可以有效处理公共前缀,但是,对于其他共享词部分,仍会分别存储在每个分支中。比如,后缀 \\`ed\\`、\\`ing\\`、\\`tion\\` 在英文单词中特别常见。在上一个例子中,\\`e\\`、\\`d\\` 分别存放在了每一个分支上。\n\n有没有一种方法可以更加节省存储空间呢?有的,那就是 DFA。\n\n
\n
\n\n在上面的例子中,单词 \\`need\\`、\\`nested\\`、\\`seed\\` 和 \\`speed\\` 仅由 9 个节点组成,而上一张图中的前缀树包含了 17 个节点。\n\n可以看出,最小化前缀树 DFA 可以在很大程度上减少数据结构的大小。即使词汇量很大,最小化 DFA 通常也适合在内存中存储,避免昂贵的磁盘访问是实现快速自动补全的关键。\n\n### 一些扩展\n上面介绍了如何利用合理的数据结构实现基本的自动补全功能。这些数据结构可以通过多种方式进行扩展,从而改善用户体验。\n\n通常,满足特定前缀的词汇可能很多,而用户界面上能够显示的却不多,我们更希望能显示最常搜索或者最有价值的词汇。这通常可以通过为词汇表中的每个单词增加一个代表单词值的**权重** \\`weight\\`,并且按照权重高低来排序自动补全列表。\n\n- 对于排序后的词汇表来说,在词汇表每个元素上增加 \\`weight\\` 属性并不难;\n- 对于前缀树来说,将 \\`weight\\` 存储在叶子节点中,也是很简单的一个实现;\n- 对于 \\`DFA\\` 来说,则较为复杂。因为一个叶子节点可以通过多条路径到达。一种解决方案是将权重关联到路径而不是叶子节点。\n\n目前有不少开源库都提供了这个功能,比如主流的搜索引擎框架 [Elasticsearch](https://www.elastic.co/products/elasticsearch)、[Solr](https://lucene.apache.org/solr/) 等,基于此,我们可以实现高效而强大的自动补全功能。\n\n#### 推荐阅读\n- [阿里又一个 20k+ stars 开源项目诞生,恭喜 fastjson!](https://mp.weixin.qq.com/s/RNKDCK2KoyeuMeEs6GUrow)\n- [刷掉 90% 候选人的互联网大厂海量数据面试题(附题解 + 方法总结)](https://mp.weixin.qq.com/s/rjGqxUvrEqJNlo09GrT1Dw)\n- [好用!期待已久的文本块功能究竟如何在 Java 13 中发挥作用?](https://mp.weixin.qq.com/s/kalGv5T8AZGxTnLHr2wDsA)\n- [2019 GitHub 开源贡献排行榜新鲜出炉!微软谷歌领头,阿里跻身前 12!](https://mp.weixin.qq.com/s/_q812aGD1b9QvZ2WFI0Qgw)\n\n---\n\n欢迎关注我的公众号“**Doocs开源社区**”,原创技术文章第一时间推送。\n\n
\n \n
\n\n`;\nexport default DEFAULT_CONTENT;\n","const DEFAULT_CSS_CONTENT = `/*\n 按Ctrl+F可格式化\n*/\n/* 一级标题样式 */\nh1 {\n}\n/* 二级标题样式 */\nh2 {\n}\n/* 三级标题样式 */\nh3 {\n}\n/* 四级标题样式 */\nh4 {\n}\n/* 图片样式 */\nimage {\n}\n/* 引用样式 */\nblockquote {\n}\n/* 引用段落样式 */\nblockquote_p {\n}\n/* 段落样式 */\np {\n}\n/* 行内代码样式 */\ncodespan {\n}\n/* 粗体样式 */\nstrong {\n}\n/* 链接样式 */\nlink {\n}\n/* 微信链接样式 */\nwx_link {\n}\n/* 有序列表样式 */\nol {\n}\n/* 无序列表样式 */\nul {\n}\n/* 列表项样式 */\nli {\n}\n`;\nexport default DEFAULT_CSS_CONTENT;\n","export default {\n BASE: {\n \"text-align\": \"left\",\n color: \"#3f3f3f\",\n \"line-height\": \"1.75\",\n },\n BASE_BLOCK: {\n margin: \"1em 8px\",\n },\n block: {\n // 一级标题样式\n h1: {\n \"font-size\": \"1.2em\",\n \"text-align\": \"center\",\n \"font-weight\": \"bold\",\n display: \"table\",\n margin: \"2em auto 1em\",\n padding: \"0 1em\",\n \"border-bottom\": \"2px solid rgba(0, 152, 116, 0.9)\",\n },\n\n // 二级标题样式\n h2: {\n \"font-size\": \"1.2em\",\n \"text-align\": \"center\",\n \"font-weight\": \"bold\",\n display: \"table\",\n margin: \"4em auto 2em\",\n padding: \"0 0.2em\",\n background: \"rgba(0, 152, 116, 0.9)\",\n color: \"#fff\",\n },\n\n // 三级标题样式\n h3: {\n \"font-weight\": \"bold\",\n \"font-size\": \"1.1em\",\n margin: \"2em 8px 0.75em 0\",\n \"line-height\": \"1.2\",\n \"padding-left\": \"8px\",\n \"border-left\": \"3px solid rgba(0, 152, 116, 0.9)\",\n },\n\n // 四级标题样式\n h4: {\n \"font-weight\": \"bold\",\n \"font-size\": \"1em\",\n margin: \"2em 8px 0.5em\",\n color: \"rgba(66, 185, 131, 0.9)\",\n },\n\n // 段落样式\n p: {\n margin: \"1.5em 8px\",\n \"letter-spacing\": \"0.1em\",\n },\n\n // 引用样式\n blockquote: {\n \"font-style\": \"normal\",\n \"border-left\": \"none\",\n padding: \"1em\",\n \"border-radius\": \"8px\",\n color: \"rgba(0,0,0,0.5)\",\n background: \"#f7f7f7\",\n margin: \"2em 8px\",\n },\n\n blockquote_p: {\n \"letter-spacing\": \"0.1em\",\n color: \"rgb(80, 80, 80)\",\n \"font-size\": \"1em\",\n display: \"block\",\n },\n\n code: {\n \"font-size\": \"80%\",\n overflow: \"auto\",\n color: \"#333\",\n \"white-space\": \"pre\",\n background: \"rgb(247, 247, 247)\",\n \"border-radius\": \"8px\",\n padding: \"10px\",\n \"line-height\": \"1.5\",\n border: \"1px solid rgb(236,236,236)\",\n margin: \"20px 0\",\n },\n\n image: {\n \"border-radius\": \"4px\",\n display: \"block\",\n margin: \"0.1em auto 0.5em\",\n width: \"100% !important\",\n },\n\n image_org: {\n \"border-radius\": \"4px\",\n display: \"block\",\n },\n\n ol: {\n \"margin-left\": \"0\",\n \"padding-left\": \"1em\",\n },\n\n ul: {\n \"margin-left\": \"0\",\n \"padding-left\": \"1em\",\n \"list-style\": \"circle\",\n },\n\n footnotes: {\n margin: \"0.5em 8px\",\n \"font-size\": \"80%\",\n },\n\n figure: {\n margin: \"1.5em 8px\",\n },\n },\n inline: {\n listitem: {\n \"text-indent\": \"-1em\",\n display: \"block\",\n margin: \"0.2em 8px\",\n },\n\n codespan: {\n \"font-size\": \"90%\",\n \"white-space\": \"pre\",\n color: \"#d14\",\n background: \"rgba(27,31,35,.05)\",\n padding: \"3px 5px\",\n \"border-radius\": \"4px\",\n },\n\n link: {\n color: \"#576b95\",\n },\n\n wx_link: {\n color: \"#576b95\",\n \"text-decoration\": \"none\",\n },\n\n // 字体加粗样式\n strong: {\n color: \"rgba(15, 76, 129, 0.9)\",\n \"font-weight\": \"bold\",\n },\n\n table: {\n \"border-collapse\": \"collapse\",\n \"text-align\": \"center\",\n margin: \"1em 8px\",\n },\n\n thead: {\n background: \"rgba(0, 0, 0, 0.05)\",\n \"font-weight\": \"bold\",\n },\n\n td: {\n border: \"1px solid #dfdfdf\",\n padding: \"0.25em 0.5em\",\n },\n\n footnote: {\n \"font-size\": \"12px\",\n },\n\n figcaption: {\n \"text-align\": \"center\",\n color: \"#888\",\n \"font-size\": \"0.8em\",\n },\n },\n};\n","import default_theme from \"./themes/default-theme\";\nimport prettier from \"prettier/standalone\";\nimport prettierMarkdown from \"prettier/parser-markdown\";\nimport prettierCss from \"prettier/parser-postcss\";\n\n// 设置自定义颜色\nexport function setColorWithTemplate(template) {\n return function (color) {\n let custom_theme = JSON.parse(JSON.stringify(template));\n custom_theme.block.h1[\"border-bottom\"] = `2px solid ${color}`;\n custom_theme.block.h2[\"background\"] = color;\n custom_theme.block.h3[\"border-left\"] = `3px solid ${color}`;\n custom_theme.block.h4[\"color\"] = color;\n custom_theme.inline.strong[\"color\"] = color;\n return custom_theme;\n };\n}\n\nexport const setColorWithCustomTemplate = function setColorWithCustomTemplate(\n template,\n color\n) {\n let custom_theme = JSON.parse(JSON.stringify(template));\n custom_theme.block.h1[\"border-bottom\"] = `2px solid ${color}`;\n custom_theme.block.h2[\"background\"] = color;\n custom_theme.block.h3[\"border-left\"] = `3px solid ${color}`;\n custom_theme.block.h4[\"color\"] = color;\n custom_theme.inline.strong[\"color\"] = color;\n return custom_theme;\n};\n\n// 设置自定义字体大小\nexport function setFontSizeWithTemplate(template) {\n return function (fontSize) {\n let custom_theme = JSON.parse(JSON.stringify(template));\n custom_theme.block.h1[\"font-size\"] = `${fontSize * 1.14}px`;\n custom_theme.block.h2[\"font-size\"] = `${fontSize * 1.1}px`;\n custom_theme.block.h3[\"font-size\"] = `${fontSize}px`;\n custom_theme.block.h4[\"font-size\"] = `${fontSize}px`;\n return custom_theme;\n };\n}\n\nexport const setColor = setColorWithTemplate(default_theme);\nexport const setFontSize = setFontSizeWithTemplate(default_theme);\n\nexport function customCssWithTemplate(jsonString, color, theme) {\n let custom_theme = JSON.parse(JSON.stringify(theme));\n // block\n custom_theme.block.h1[\"border-bottom\"] = `2px solid ${color}`;\n custom_theme.block.h2[\"background\"] = color;\n custom_theme.block.h3[\"border-left\"] = `3px solid ${color}`;\n custom_theme.block.h4[\"color\"] = color;\n custom_theme.inline.strong[\"color\"] = color;\n\n custom_theme.block.h1 = Object.assign(custom_theme.block.h1, jsonString.h1);\n custom_theme.block.h2 = Object.assign(custom_theme.block.h2, jsonString.h2);\n custom_theme.block.h3 = Object.assign(custom_theme.block.h3, jsonString.h3);\n custom_theme.block.h4 = Object.assign(custom_theme.block.h4, jsonString.h4);\n custom_theme.block.p = Object.assign(custom_theme.block.p, jsonString.p);\n custom_theme.block.blockquote = Object.assign(\n custom_theme.block.blockquote,\n jsonString.blockquote\n );\n custom_theme.block.blockquote_p = Object.assign(\n custom_theme.block.blockquote_p,\n jsonString.blockquote_p\n );\n custom_theme.block.image = Object.assign(\n custom_theme.block.image,\n jsonString.image\n );\n\n // inline\n custom_theme.inline.strong = Object.assign(\n custom_theme.inline.strong,\n jsonString.strong\n );\n custom_theme.inline.codespan = Object.assign(\n custom_theme.inline.codespan,\n jsonString.codespan\n );\n custom_theme.inline.link = Object.assign(\n custom_theme.inline.link,\n jsonString.link\n );\n custom_theme.inline.wx_link = Object.assign(\n custom_theme.inline.wx_link,\n jsonString.wx_link\n );\n custom_theme.block.ul = Object.assign(custom_theme.block.ul, jsonString.ul);\n custom_theme.block.ol = Object.assign(custom_theme.block.ol, jsonString.ol);\n custom_theme.inline.listitem = Object.assign(\n custom_theme.inline.listitem,\n jsonString.li\n );\n return custom_theme;\n}\n\n/**\n * 将CSS形式的字符串转换为JSON\n *\n * @param {css字符串} css\n */\nexport function css2json(css) {\n // 移除CSS所有注释\n let open, close;\n while (\n (open = css.indexOf(\"/*\")) !== -1 &&\n (close = css.indexOf(\"*/\")) !== -1\n ) {\n css = css.substring(0, open) + css.substring(close + 2);\n }\n\n // 初始化返回值\n let json = {};\n\n while (css.length > 0 && css.indexOf(\"{\") !== -1 && css.indexOf(\"}\") !== -1) {\n // 存储第一个左/右花括号的下标\n const lbracket = css.indexOf(\"{\");\n const rbracket = css.indexOf(\"}\");\n\n // 第一步:将声明转换为Object,如:\n // `font: 'Times New Roman' 1em; color: #ff0000; margin-top: 1em;`\n // ==>\n // `{\"font\": \"'Times New Roman' 1em\", \"color\": \"#ff0000\", \"margin-top\": \"1em\"}`\n\n // 辅助方法:将array转为object\n function toObject(array) {\n let ret = {};\n array.forEach((e) => {\n const index = e.indexOf(\":\");\n const property = e.substring(0, index).trim();\n const value = e.substring(index + 1).trim();\n ret[property] = value;\n });\n return ret;\n }\n\n // 切割声明块并移除空白符,然后放入数组中\n let declarations = css\n .substring(lbracket + 1, rbracket)\n .split(\";\")\n .map((e) => e.trim())\n .filter((e) => e.length > 0); // 移除所有\"\"空值\n\n // 转为Object对象\n declarations = toObject(declarations);\n\n // 第二步:选择器处理,每个选择器会与它对应的声明相关联,如:\n // `h1, p#bar {color: red}`\n // ==>\n // {\"h1\": {color: red}, \"p#bar\": {color: red}}\n\n let selectors = css\n .substring(0, lbracket)\n // 以,切割,并移除空格:`\"h1, p#bar, span.foo\"` => [\"h1\", \"p#bar\", \"span.foo\"]\n .split(\",\")\n .map((selector) => selector.trim());\n\n // 迭代赋值\n selectors.forEach((selector) => {\n // 若不存在,则先初始化\n if (!json[selector]) json[selector] = {};\n // 赋值到JSON\n Object.keys(declarations).forEach((key) => {\n json[selector][key] = declarations[key];\n });\n });\n\n // 继续下个声明块\n css = css.slice(rbracket + 1).trim();\n }\n\n // 返回JSON形式的结果串\n return json;\n}\n\n/**\n * 将编辑器内容保存到 LocalStorage\n * @param {*} editor\n * @param {*} name\n */\nexport function saveEditorContent(editor, name) {\n const content = editor.getValue(0);\n if (content) {\n localStorage.setItem(name, content);\n } else {\n localStorage.removeItem(name);\n }\n}\n\n/**\n * 格式化文档\n * @param {文档内容} content\n */\nexport function formatDoc(content) {\n const doc = prettier.format(content, {\n parser: \"markdown\",\n plugins: [prettierMarkdown],\n });\n return doc;\n}\n\n/**\n * 格式化css\n * @param {css内容}} content\n */\nexport function formatCss(content) {\n const doc = prettier.format(content, {\n parser: \"css\",\n plugins: [prettierCss],\n });\n return doc;\n}\n\nexport function fixCodeWhiteSpace(value = \"pre\") {\n const preDomList = document.getElementsByClassName(\"code__pre\");\n if (preDomList.length > 0) {\n preDomList.forEach((pre) => {\n pre.style.whiteSpace = value;\n });\n }\n}\n\n/**\n * 导出原始 Markdown 文档\n * @param {文档内容} doc\n */\nexport function downloadMD(doc) {\n let downLink = document.createElement(\"a\");\n\n downLink.download = \"content.md\";\n downLink.style.display = \"none\";\n let blob = new Blob([doc]);\n\n downLink.href = URL.createObjectURL(blob);\n document.body.appendChild(downLink);\n downLink.click();\n document.body.removeChild(downLink);\n}\n\n/**\n * 导出 HTML 生成内容\n */\nexport function exportHTML() {\n const element = document.querySelector(\"#output\");\n setStyles(element);\n const htmlStr = element.innerHTML;\n\n const downLink = document.createElement(\"a\");\n\n downLink.download = \"content.html\";\n downLink.style.display = \"none\";\n let blob = new Blob([\n `
${htmlStr}
`,\n ]);\n\n downLink.href = URL.createObjectURL(blob);\n document.body.appendChild(downLink);\n downLink.click();\n document.body.removeChild(downLink);\n\n function setStyles(element) {\n switch (true) {\n case isSection(element):\n case isPre(element):\n case isCode(element):\n case isSpan(element):\n element.setAttribute(\"style\", getElementStyles(element));\n default:\n }\n if (element.children.length) {\n Array.from(element.children).forEach((child) => setStyles(child));\n }\n\n // 判断是否是包裹代码块的 section 元素\n function isSection(element) {\n return (\n element.tagName === \"SECTION\" &&\n Array.from(element.classList).includes(\"code-snippet__github\")\n );\n }\n // 判断是否是包裹代码块的 pre 元素\n function isPre(element) {\n return (\n element.tagName === \"PRE\" &&\n Array.from(element.classList).includes(\"code__pre\")\n );\n }\n // 判断是否是包裹代码块的 code 元素\n function isCode(element) {\n return (\n element.tagName === \"CODE\" &&\n Array.from(element.classList).includes(\"prettyprint\")\n );\n }\n // 判断是否是包裹代码字符的 span 元素\n function isSpan(element) {\n return (\n element.tagName === \"SPAN\" &&\n (isCode(element.parentElement) ||\n isCode(element.parentElement.parentElement))\n );\n }\n }\n}\n\n/**\n * 生成列表字符串\n * @param {*} data 对应内容集合\n * @param {*} rows 行\n * @param {*} cols 列\n */\nexport function createTable({ data, rows, cols }) {\n let table = \"\";\n let currRow = [];\n for (let i = 0; i < rows + 2; ++i) {\n table += \"|\\t\";\n currRow = [];\n for (let j = 0; j < cols; ++j) {\n const rowIdx = i > 1 ? i - 1 : i;\n i === 1\n ? currRow.push(\"---\\t\")\n : currRow.push(data[`k_${rowIdx}_${j}`] || \"\");\n }\n table += currRow.join(\"\\t|\\t\");\n table += \"\\t|\\n\";\n }\n\n return table;\n}\n\nexport const toBase64 = (file) =>\n new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.readAsDataURL(file);\n reader.onload = () => resolve(reader.result.split(\",\").pop());\n reader.onerror = (error) => reject(error);\n });\n\nexport function checkImage(file) {\n // check filename suffix\n const isValidSuffix = /\\.(gif|jpg|jpeg|png|GIF|JPG|PNG)$/.test(file.name);\n if (!isValidSuffix) {\n return {\n ok: false,\n msg: \"请上传 JPG/PNG/GIF 格式的图片\",\n };\n }\n\n // check file size\n const maxSize = 5;\n const isLt5M = file.size / 1024 / 1024 <= maxSize;\n if (!isLt5M) {\n return {\n ok: false,\n msg: `由于公众号限制,图片大小不能超过 ${maxSize}M`,\n };\n }\n return { ok: true };\n}\n\n/**\n * 获取一个 DOM 元素的所有样式,\n * @param {DOM 元素} element DOM 元素\n * @param {排除的属性} excludes 如果某些属性对结果有不良影响,可以使用这个参数来排除\n * @returns 行内样式拼接结果\n */\nfunction getElementStyles(element, excludes = [\"width\", \"height\"]) {\n const styles = getComputedStyle(element, null);\n return Object.entries(styles)\n .filter(([key]) => styles.getPropertyValue(key) && !excludes.includes(key))\n .map(([key, value]) => `${key}:${value};`)\n .join(\"\");\n}\n\n/**\n * 移除左边多余空格\n * @param {*} str \n * @returns \n */\nexport function removeLeft(str) {\n const lines = str.split('\\n')\n // 获取应该删除的空白符数量\n const minSpaceNum = lines.filter(item => item.trim())\n .map(item => item.match(/(^\\s+)?/)[0].length)\n .sort((a, b) => a - b)[0]\n // 删除空白符\n const newStr = lines\n .map(item => item.slice(minSpaceNum))\n .join('\\n')\n return newStr\n}","import Vue from \"vue\";\nimport Vuex from \"vuex\";\nimport config from \"../assets/scripts/config\";\nimport WxRenderer from \"../assets/scripts/renderers/wx-renderer\";\nimport marked from \"marked\";\nimport CodeMirror from \"codemirror/lib/codemirror\";\nimport DEFAULT_CONTENT from \"../assets/scripts/default-content\";\nimport DEFAULT_CSS_CONTENT from \"../assets/scripts/themes/default-theme-css\";\nimport { setColor, formatDoc, formatCss } from \"../assets/scripts/util\";\n\nVue.use(Vuex);\n\nconst state = {\n wxRenderer: null,\n output: \"\",\n html: \"\",\n editor: null,\n cssEditor: null,\n currentFont: \"\",\n currentSize: \"\",\n currentColor: \"\",\n citeStatus: 0,\n nightMode: false,\n codeTheme: \"github\",\n rightClickMenuVisible: false,\n};\nconst mutations = {\n setEditorValue(state, data) {\n state.editor.setValue(data);\n },\n setCssEditorValue(state, data) {\n state.cssEditor.setValue(data);\n },\n setWxRendererOptions(state, data) {\n state.wxRenderer.setOptions(data);\n },\n setCiteStatus(state, data) {\n state.citeStatus = data;\n localStorage.setItem(\"citeStatus\", data);\n },\n setCurrentFont(state, data) {\n state.currentFont = data;\n localStorage.setItem(\"fonts\", data);\n },\n setCurrentSize(state, data) {\n state.currentSize = data;\n localStorage.setItem(\"size\", data);\n },\n setCurrentColor(state, data) {\n state.currentColor = data;\n localStorage.setItem(\"color\", data);\n },\n setCurrentCodeTheme(state, data) {\n state.codeTheme = data;\n localStorage.setItem(\"codeTheme\", data);\n },\n setRightClickMenuVisible(state, data) {\n state.rightClickMenuVisible = data;\n },\n themeChanged(state) {\n state.nightMode = !state.nightMode;\n localStorage.setItem(\"nightMode\", state.nightMode);\n },\n initEditorState(state) {\n state.currentFont =\n localStorage.getItem(\"fonts\") || config.builtinFonts[0].value;\n state.currentColor =\n localStorage.getItem(\"color\") || config.colorOption[0].value;\n state.currentSize =\n localStorage.getItem(\"size\") || config.sizeOption[2].value;\n state.codeTheme =\n localStorage.getItem(\"codeTheme\") || config.codeThemeOption[0].value;\n state.citeStatus = localStorage.getItem(\"citeStatus\") === \"true\";\n state.nightMode = localStorage.getItem(\"nightMode\") === \"true\";\n state.wxRenderer = new WxRenderer({\n theme: setColor(state.currentColor),\n fonts: state.currentFont,\n size: state.currentSize,\n status: state.citeStatus,\n });\n },\n initEditorEntity(state) {\n const editorDom = document.getElementById(\"editor\");\n\n if (!editorDom.value) {\n editorDom.value =\n localStorage.getItem(\"__editor_content\") || formatDoc(DEFAULT_CONTENT);\n }\n state.editor = CodeMirror.fromTextArea(editorDom, {\n mode: \"text/x-markdown\",\n theme: \"xq-light\",\n lineNumbers: false,\n lineWrapping: true,\n styleActiveLine: true,\n autoCloseBrackets: true,\n extraKeys: {\n \"Ctrl-F\": function autoFormat(editor) {\n const doc = formatDoc(editor.getValue(0));\n localStorage.setItem(\"__editor_content\", doc);\n editor.setValue(doc);\n },\n \"Ctrl-S\": function save(editor) {},\n },\n });\n },\n initCssEditorEntity(state) {\n const cssEditorDom = document.getElementById(\"cssEditor\");\n\n if (!cssEditorDom.value) {\n cssEditorDom.value =\n localStorage.getItem(\"__css_content\") || DEFAULT_CSS_CONTENT;\n }\n state.cssEditor = CodeMirror.fromTextArea(cssEditorDom, {\n mode: \"css\",\n theme: \"style-mirror\",\n lineNumbers: false,\n lineWrapping: true,\n matchBrackets: true,\n autofocus: true,\n extraKeys: {\n \"Ctrl-F\": function autoFormat(editor) {\n const doc = formatCss(editor.getValue(0));\n localStorage.setItem(\"__css_content\", doc);\n editor.setValue(doc);\n },\n \"Ctrl-S\": function save(editor) {},\n },\n });\n },\n editorRefresh(state) {\n let output = marked(state.editor.getValue(0), {\n renderer: state.wxRenderer.getRenderer(state.citeStatus),\n });\n\n // 去除第一行的 margin-top\n output = output.replace(/(style=\".*?)\"/, '$1;margin-top: 0\"');\n if (state.citeStatus) {\n // 引用脚注\n output += state.wxRenderer.buildFootnotes();\n // 附加的一些 style\n output += state.wxRenderer.buildAddition();\n }\n state.output = output;\n },\n clearEditorToDefault(state) {\n const doc = formatDoc(DEFAULT_CONTENT);\n\n state.editor.setValue(doc);\n state.cssEditor.setValue(DEFAULT_CSS_CONTENT);\n },\n};\n\nexport default new Vuex.Store({\n state,\n mutations,\n actions: {},\n});\n","import Vue from \"vue\";\nimport {\n Loading,\n Message,\n} from \"element-ui\";\n\nVue.component(Message.name, Message);\n\nVue.prototype.$loading = Loading.service;\nVue.prototype.$message = Message;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.loading)?_c('transition',{attrs:{\"name\":\"fade\"}},[_c('loading')],1):_c('codemirror-editor')}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container\",class:{ container_night: _vm.nightMode }},[_c('el-container',[_c('el-header',{staticClass:\"editor__header\"},[_c('editor-header',{ref:\"header\",on:{\"refresh\":_vm.onEditorRefresh,\"cssChanged\":_vm.cssChanged,\"download\":_vm.downloadEditorContent,\"export\":_vm.exportEditorContent,\"showCssEditor\":function($event){_vm.showCssEditor = !_vm.showCssEditor},\"show-about-dialog\":function($event){_vm.aboutDialogVisible = true},\"show-dialog-form\":function($event){_vm.dialogFormVisible = true},\"show-dialog-upload-img\":function($event){_vm.dialogUploadImgVisible = true},\"startCopy\":function($event){(_vm.isCoping = true), (_vm.backLight = true)},\"endCopy\":_vm.endCopy}})],1),_c('el-main',{staticClass:\"main-body\"},[_c('el-row',{staticClass:\"main-section\"},[_c('el-col',{staticClass:\"codeMirror-wrapper\",attrs:{\"span\":12},nativeOn:{\"contextmenu\":function($event){$event.preventDefault();return _vm.openMenu($event)}}},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.source),expression:\"source\"}],attrs:{\"id\":\"editor\",\"type\":\"textarea\",\"placeholder\":\"Your markdown text here.\"},domProps:{\"value\":(_vm.source)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.source=$event.target.value}}})]),_c('el-col',{ref:\"preview\",staticClass:\"preview-wrapper\",class:{\n 'preview-wrapper_night': _vm.nightMode && _vm.isCoping,\n },attrs:{\"span\":12,\"id\":\"preview\"}},[_c('section',{class:{ output_night: _vm.nightMode && !_vm.backLight },attrs:{\"id\":\"output-wrapper\"}},[_c('div',{staticClass:\"preview\"},[_c('section',{attrs:{\"id\":\"output\"},domProps:{\"innerHTML\":_vm._s(_vm.output)}}),(_vm.nightMode && _vm.isCoping)?_c('div',{staticClass:\"loading-mask\"},[_c('div',{staticClass:\"loading__img\"}),_c('span',[_vm._v(\"正在生成\")])]):_vm._e()])])]),_c('transition',{attrs:{\"name\":\"custom-classes-transition\",\"enter-active-class\":\"bounceInRight\"}},[_c('el-col',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showCssEditor),expression:\"showCssEditor\"}],staticClass:\"cssEditor-wrapper\",attrs:{\"id\":\"cssBox\",\"span\":12}},[_c('textarea',{attrs:{\"id\":\"cssEditor\",\"type\":\"textarea\",\"placeholder\":\"Your custom css here.\"}})])],1)],1)],1)],1),_c('upload-img-dialog',{on:{\"close\":function($event){_vm.dialogUploadImgVisible = false},\"beforeUpload\":_vm.beforeUpload,\"uploadImage\":_vm.uploadImage,\"uploaded\":_vm.uploaded},model:{value:(_vm.dialogUploadImgVisible),callback:function ($$v) {_vm.dialogUploadImgVisible=$$v},expression:\"dialogUploadImgVisible\"}}),_c('about-dialog',{model:{value:(_vm.aboutDialogVisible),callback:function ($$v) {_vm.aboutDialogVisible=$$v},expression:\"aboutDialogVisible\"}}),_c('insert-form-dialog',{model:{value:(_vm.dialogFormVisible),callback:function ($$v) {_vm.dialogFormVisible=$$v},expression:\"dialogFormVisible\"}}),_c('right-click-menu',{attrs:{\"left\":_vm.mouseLeft,\"top\":_vm.mouseTop},on:{\"menuTick\":_vm.onMenuEvent,\"closeMenu\":_vm.closeRightClickMenu},model:{value:(_vm.rightClickMenuVisible),callback:function ($$v) {_vm.rightClickMenuVisible=$$v},expression:\"rightClickMenuVisible\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-container',{staticClass:\"top is-dark\"},[_c('div',{staticClass:\"left-side\"},[_c('el-tooltip',{attrs:{\"effect\":_vm.effect,\"content\":\"上传图片\",\"placement\":\"bottom-start\"}},[_c('i',{staticClass:\"el-icon-upload\",attrs:{\"size\":\"medium\"},on:{\"click\":function($event){return _vm.$emit('show-dialog-upload-img')}}})]),_c('el-tooltip',{staticClass:\"header__item\",attrs:{\"effect\":_vm.effect,\"content\":\"导出 Markdown 文档\",\"placement\":\"bottom-start\"}},[_c('i',{staticClass:\"el-icon-download\",attrs:{\"size\":\"medium\"},on:{\"click\":function($event){return _vm.$emit('download')}}})]),_c('el-tooltip',{staticClass:\"header__item\",attrs:{\"effect\":_vm.effect,\"content\":\"导出 HTML 页面\",\"placement\":\"bottom-start\"}},[_c('i',{staticClass:\"el-icon-document\",attrs:{\"size\":\"medium\"},on:{\"click\":function($event){return _vm.$emit('export')}}})]),_c('el-tooltip',{staticClass:\"header__item\",attrs:{\"effect\":_vm.effect,\"content\":\"重置页面\",\"placement\":\"bottom-start\"}},[_c('i',{staticClass:\"el-icon-refresh\",attrs:{\"size\":\"medium\"},on:{\"click\":function($event){_vm.showResetConfirm = true}}})]),_c('el-tooltip',{staticClass:\"header__item header__item_last\",attrs:{\"effect\":_vm.effect,\"content\":\"插入表格\",\"placement\":\"bottom-start\"}},[_c('i',{staticClass:\"el-icon-s-grid\",attrs:{\"size\":\"medium\"},on:{\"click\":function($event){return _vm.$emit('show-dialog-form')}}})]),_c('el-select',{attrs:{\"size\":\"mini\",\"placeholder\":\"选择字体\",\"clearable\":\"\"},on:{\"change\":_vm.fontChanged},model:{value:(_vm.selectFont),callback:function ($$v) {_vm.selectFont=$$v},expression:\"selectFont\"}},_vm._l((_vm.config.builtinFonts),function(font){return _c('el-option',{key:font.value,style:({ fontFamily: font.value }),attrs:{\"label\":font.label,\"value\":font.value}},[_c('span',{staticClass:\"select-item-left\"},[_vm._v(_vm._s(font.label))]),_c('span',{staticClass:\"select-item-right\"},[_vm._v(\"Abc\")])])}),1),_c('el-select',{attrs:{\"size\":\"mini\",\"placeholder\":\"选择段落字号\",\"clearable\":\"\"},on:{\"change\":_vm.sizeChanged},model:{value:(_vm.selectSize),callback:function ($$v) {_vm.selectSize=$$v},expression:\"selectSize\"}},_vm._l((_vm.config.sizeOption),function(size){return _c('el-option',{key:size.value,attrs:{\"label\":size.label,\"value\":size.value}},[_c('span',{staticClass:\"select-item-left\"},[_vm._v(_vm._s(size.label))]),_c('span',{staticClass:\"select-item-right\"},[_vm._v(_vm._s(size.desc))])])}),1),_c('el-select',{attrs:{\"size\":\"mini\",\"placeholder\":\"选择颜色\",\"clearable\":\"\"},on:{\"change\":_vm.colorChanged},model:{value:(_vm.selectColor),callback:function ($$v) {_vm.selectColor=$$v},expression:\"selectColor\"}},_vm._l((_vm.config.colorOption),function(color){return _c('el-option',{key:color.value,attrs:{\"label\":color.label,\"value\":color.value}},[_c('span',{staticClass:\"select-item-left\"},[_vm._v(_vm._s(color.label))]),_c('span',{staticClass:\"select-item-right\"},[_vm._v(_vm._s(color.desc))])])}),1),_c('el-tooltip',{attrs:{\"content\":\"自定义颜色\",\"effect\":_vm.effect,\"placement\":\"top\"}},[_c('el-color-picker',{attrs:{\"size\":\"mini\",\"show-alpha\":\"\"},on:{\"change\":_vm.colorChanged},model:{value:(_vm.selectColor),callback:function ($$v) {_vm.selectColor=$$v},expression:\"selectColor\"}})],1),_c('el-tooltip',{attrs:{\"content\":\"微信外链自动转为文末引用\",\"effect\":_vm.effect,\"placement\":\"top\"}},[_c('el-switch',{staticClass:\"header__switch\",attrs:{\"active-color\":\"#67c23a\",\"inactive-color\":\"#dcdfe6\"},on:{\"change\":_vm.statusChanged},model:{value:(_vm.citeStatus),callback:function ($$v) {_vm.citeStatus=$$v},expression:\"citeStatus\"}})],1)],1),_c('div',{staticClass:\"right-side\"},[_c('el-tooltip',{staticClass:\"item\",attrs:{\"effect\":_vm.effect,\"content\":\"自定义CSS样式\",\"placement\":\"left\"}},[_c('el-button',{attrs:{\"type\":_vm.btnType,\"plain\":\"\",\"size\":\"medium\",\"icon\":\"el-icon-setting\"},on:{\"click\":_vm.customStyle}})],1),_c('el-button',{attrs:{\"type\":_vm.btnType,\"plain\":\"\",\"size\":\"medium\",\"placement\":\"bottom-start\"},on:{\"click\":_vm.copy}},[_vm._v(\"复制\")]),_c('el-button',{staticClass:\"about\",attrs:{\"type\":_vm.btnType,\"plain\":\"\",\"size\":\"medium\"},on:{\"click\":function($event){return _vm.$emit('show-about-dialog')}}},[_vm._v(\"关于\")]),_c('el-tooltip',{attrs:{\"content\":_vm.btnContent,\"effect\":_vm.effect,\"placement\":\"bottom-start\"}},[(_vm.nightMode)?_c('div',{staticClass:\"mode__switch mode__switch_black\",on:{\"click\":_vm.themeChanged}}):_c('div',{staticClass:\"mode__switch\",on:{\"click\":_vm.themeChanged}})])],1),_c('resetDialog',{attrs:{\"showResetConfirm\":_vm.showResetConfirm},on:{\"confirm\":_vm.confirmReset,\"close\":_vm.cancelReset}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import juice from \"juice\";\n\nexport function solveWeChatImage() {\n const clipboardDiv = document.getElementById(\"output\");\n const images = clipboardDiv.getElementsByTagName(\"img\");\n for (let i = 0; i < images.length; i++) {\n const image = images[i];\n const width = image.getAttribute(\"width\");\n const height = image.getAttribute(\"height\");\n image.removeAttribute(\"width\");\n image.removeAttribute(\"height\");\n image.style.width = width;\n image.style.height = height;\n }\n}\nexport function solveHtml() {\n const element = document.getElementById(\"output-wrapper\");\n let html = element.innerHTML;\n let res = \"\";\n res = juice.inlineContent(html, {\n inlinePseudoElements: true,\n preserveImportant: true,\n });\n return res;\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:\"reset__dialog\",attrs:{\"title\":\"提示\",\"visible\":_vm.showResetConfirm},on:{\"close\":function($event){return _vm.$emit('close')}}},[_c('div',{staticClass:\"text\"},[_vm._v(\"此操作将丢失本地缓存的文本和自定义样式,是否继续?\")]),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":_vm.btnType,\"plain\":\"\"},on:{\"click\":function($event){return _vm.$emit('close')}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":_vm.btnType,\"plain\":\"\"},on:{\"click\":function($event){return _vm.$emit('confirm')}}},[_vm._v(\"确 定\")])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./resetDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./resetDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./resetDialog.vue?vue&type=template&id=68392714&scoped=true&\"\nimport script from \"./resetDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./resetDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./resetDialog.vue?vue&type=style&index=0&id=68392714&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"68392714\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./header.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./header.vue?vue&type=template&id=54b819f8&scoped=true&\"\nimport script from \"./header.vue?vue&type=script&lang=js&\"\nexport * from \"./header.vue?vue&type=script&lang=js&\"\nimport style0 from \"./header.vue?vue&type=style&index=0&id=54b819f8&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"54b819f8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:\"about__dialog\",attrs:{\"title\":\"关于\",\"visible\":_vm.value,\"width\":\"30%\",\"center\":\"\"},on:{\"close\":function($event){return _vm.$emit('input', false)}}},[_c('div',{staticStyle:{\"text-align\":\"center\"}},[_c('h3',[_vm._v(\"一款高度简洁的微信 Markdown 编辑器\")])]),_c('div',{staticStyle:{\"text-align\":\"center\",\"margin-top\":\"10px\"}},[_c('p',[_vm._v(\"扫码关注我的公众号,原创技术文章第一时间推送!\")]),_c('img',{staticStyle:{\"width\":\"40%\",\"display\":\"block\",\"margin\":\"20px auto 10px\"},attrs:{\"src\":\"https://gitee.com/yanglbme/resource/raw/master/doocs-md/qrcode.png\"}})]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"plain\":\"\"},on:{\"click\":function($event){return _vm.onRedirect('https://github.com/doocs/md')}}},[_vm._v(\"GitHub 仓库\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"plain\":\"\"},on:{\"click\":function($event){return _vm.onRedirect('https://gitee.com/doocs/md')}}},[_vm._v(\"Gitee 仓库\")])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./aboutDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./aboutDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./aboutDialog.vue?vue&type=template&id=70c50907&scoped=true&\"\nimport script from \"./aboutDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./aboutDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./aboutDialog.vue?vue&type=style&index=0&id=70c50907&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"70c50907\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:\"insert__dialog\",attrs:{\"title\":\"插入表格\",\"visible\":_vm.value,\"border\":\"\"},on:{\"close\":function($event){return _vm.$emit('input', false)}}},[_c('el-row',{staticClass:\"tb-options\",attrs:{\"type\":\"flex\",\"align\":\"middle\",\"gutter\":10}},[_c('el-col',[_vm._v(\" 行数: \"),_c('el-input-number',{attrs:{\"controls-position\":\"right\",\"min\":1,\"max\":100,\"size\":\"small\"},model:{value:(_vm.rowNum),callback:function ($$v) {_vm.rowNum=$$v},expression:\"rowNum\"}})],1),_c('el-col',[_vm._v(\" 列数: \"),_c('el-input-number',{attrs:{\"controls-position\":\"right\",\"min\":1,\"max\":100,\"size\":\"small\"},model:{value:(_vm.colNum),callback:function ($$v) {_vm.colNum=$$v},expression:\"colNum\"}})],1)],1),_c('table',{staticClass:\"input-table\",staticStyle:{\"border-collapse\":\"collapse\"}},_vm._l((_vm.rowNum + 1),function(row){return _c('tr',{key:row,class:{ 'head-style': row === 1 }},_vm._l((_vm.colNum),function(col){return _c('td',{key:col},[_c('el-input',{attrs:{\"align\":\"center\",\"placeholder\":row === 1 ? '表头' : ''},model:{value:(_vm.tableData[(\"k_\" + (row - 1) + \"_\" + (col - 1))]),callback:function ($$v) {_vm.$set(_vm.tableData, (\"k_\" + (row - 1) + \"_\" + (col - 1)), $$v)},expression:\"tableData[`k_${row - 1}_${col - 1}`]\"}})],1)}),0)}),0),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":_vm.btnType,\"plain\":\"\"},on:{\"click\":function($event){return _vm.$emit('input', false)}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":_vm.btnType,\"plain\":\"\"},on:{\"click\":_vm.insertTable}},[_vm._v(\"确 定\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./insertForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./insertForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./insertForm.vue?vue&type=template&id=4dd4e7e2&scoped=true&\"\nimport script from \"./insertForm.vue?vue&type=script&lang=js&\"\nexport * from \"./insertForm.vue?vue&type=script&lang=js&\"\nimport style0 from \"./insertForm.vue?vue&type=style&index=0&id=4dd4e7e2&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4dd4e7e2\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.value),expression:\"value\"}],staticClass:\"menu\",style:((\"left: \" + _vm.left + \"px;top: \" + _vm.top + \"px;\")),attrs:{\"id\":\"menu\"}},_vm._l((_vm.menu),function(menuItem,index){return _c('div',{key:index,staticClass:\"menu__group\"},_vm._l((menuItem),function(item){return _c('li',{key:item.key,staticClass:\"menu_item\",on:{\"mousedown\":function($event){return _vm.onMouseDown(item.key)}}},[_c('span',[_vm._v(_vm._s(item.text))])])}),0)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./rightClickMenu.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./rightClickMenu.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./rightClickMenu.vue?vue&type=template&id=a704a2f8&scoped=true&\"\nimport script from \"./rightClickMenu.vue?vue&type=script&lang=js&\"\nexport * from \"./rightClickMenu.vue?vue&type=script&lang=js&\"\nimport style0 from \"./rightClickMenu.vue?vue&type=style&index=0&id=a704a2f8&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a704a2f8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:\"upload__dialog\",attrs:{\"title\":\"本地上传\",\"visible\":_vm.value},on:{\"close\":function($event){return _vm.$emit('close')}}},[_c('el-tabs',{attrs:{\"type\":\"activeName\"},model:{value:(_vm.activeName),callback:function ($$v) {_vm.activeName=$$v},expression:\"activeName\"}},[_c('el-tab-pane',{staticClass:\"upload-panel\",attrs:{\"label\":\"选择上传\",\"name\":\"upload\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\",\"size\":\"small\"},on:{\"change\":_vm.changeImgHost},model:{value:(_vm.imgHost),callback:function ($$v) {_vm.imgHost=$$v},expression:\"imgHost\"}},_vm._l((_vm.options),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1),_c('el-upload',{attrs:{\"drag\":\"\",\"action\":\"\",\"headers\":{ 'Content-Type': 'multipart/form-data' },\"show-file-list\":false,\"multiple\":true,\"accept\":\".jpg, .jpeg, .png, .gif\",\"name\":\"file\",\"before-upload\":_vm.beforeImageUpload,\"http-request\":_vm.uploadImage}},[_c('i',{staticClass:\"el-icon-upload\"}),_c('div',{staticClass:\"el-upload__text\"},[_vm._v(\" 将图片拖到此处,或 \"),_c('em',[_vm._v(\"点击上传\")])])])],1),_c('el-tab-pane',{staticClass:\"github-panel\",attrs:{\"label\":\"Gitee 图床\",\"name\":\"gitee\"}},[_c('el-form',{staticClass:\"setting-form\",attrs:{\"model\":_vm.formGitee,\"label-position\":\"right\",\"label-width\":\"140px\"}},[_c('el-form-item',{attrs:{\"label\":\"Gitee 仓库\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:gitee.com/yanglbme/resource\"},model:{value:(_vm.formGitee.repo),callback:function ($$v) {_vm.$set(_vm.formGitee, \"repo\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formGitee.repo\"}})],1),_c('el-form-item',{attrs:{\"label\":\"分支\"}},[_c('el-input',{attrs:{\"placeholder\":\"如:release,可不填,默认 master\"},model:{value:(_vm.formGitee.branch),callback:function ($$v) {_vm.$set(_vm.formGitee, \"branch\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formGitee.branch\"}})],1),_c('el-form-item',{attrs:{\"label\":\"私人令牌\",\"required\":true}},[_c('el-input',{attrs:{\"show-password\":\"\",\"placeholder\":\"如:cc1d0c1426d0fd0902bd2d7184b14da61b8abc46\"},model:{value:(_vm.formGitee.accessToken),callback:function ($$v) {_vm.$set(_vm.formGitee, \"accessToken\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formGitee.accessToken\"}}),_c('el-link',{attrs:{\"type\":\"primary\",\"href\":\"https://gitee.com/profile/personal_access_tokens\",\"target\":\"_blank\"}},[_vm._v(\"请在 Gitee「设置->安全设置->私人令牌」中生成\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveGiteeConfiguration}},[_vm._v(\"保存配置\")])],1)],1)],1),_c('el-tab-pane',{staticClass:\"github-panel\",attrs:{\"label\":\"GitHub 图床\",\"name\":\"github\"}},[_c('el-form',{staticClass:\"setting-form\",attrs:{\"model\":_vm.formGitHub,\"label-position\":\"right\",\"label-width\":\"140px\"}},[_c('el-form-item',{attrs:{\"label\":\"GitHub 仓库\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:github.com/yanglbme/resource\"},model:{value:(_vm.formGitHub.repo),callback:function ($$v) {_vm.$set(_vm.formGitHub, \"repo\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formGitHub.repo\"}})],1),_c('el-form-item',{attrs:{\"label\":\"分支\"}},[_c('el-input',{attrs:{\"placeholder\":\"如:release,可不填,默认 master\"},model:{value:(_vm.formGitHub.branch),callback:function ($$v) {_vm.$set(_vm.formGitHub, \"branch\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formGitHub.branch\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Token\",\"required\":true}},[_c('el-input',{attrs:{\"show-password\":\"\",\"placeholder\":\"如:cc1d0c1426d0fd0902bd2d7184b14da61b8abc46\"},model:{value:(_vm.formGitHub.accessToken),callback:function ($$v) {_vm.$set(_vm.formGitHub, \"accessToken\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formGitHub.accessToken\"}}),_c('el-link',{attrs:{\"type\":\"primary\",\"href\":\"https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token\",\"target\":\"_blank\"}},[_vm._v(\"如何获取 GitHub Token?\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveGitHubConfiguration}},[_vm._v(\"保存配置\")])],1)],1)],1),_c('el-tab-pane',{staticClass:\"github-panel\",attrs:{\"label\":\"阿里云 OSS\",\"name\":\"aliOSS\"}},[_c('el-form',{staticClass:\"setting-form\",attrs:{\"model\":_vm.formAliOSS,\"label-position\":\"right\",\"label-width\":\"140px\"}},[_c('el-form-item',{attrs:{\"label\":\"AccessKey ID\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:LTAI4GdoocsmdoxUf13ylbaNHk\"},model:{value:(_vm.formAliOSS.accessKeyId),callback:function ($$v) {_vm.$set(_vm.formAliOSS, \"accessKeyId\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formAliOSS.accessKeyId\"}})],1),_c('el-form-item',{attrs:{\"label\":\"AccessKey Secret\",\"required\":true}},[_c('el-input',{attrs:{\"show-password\":\"\",\"placeholder\":\"如:cc1d0c142doocs0902bd2d7md4b14da6ylbabc46\"},model:{value:(_vm.formAliOSS.accessKeySecret),callback:function ($$v) {_vm.$set(_vm.formAliOSS, \"accessKeySecret\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formAliOSS.accessKeySecret\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Bucket\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:doocs\"},model:{value:(_vm.formAliOSS.bucket),callback:function ($$v) {_vm.$set(_vm.formAliOSS, \"bucket\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formAliOSS.bucket\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Bucket 所在区域\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:oss-cn-shenzhen\"},model:{value:(_vm.formAliOSS.region),callback:function ($$v) {_vm.$set(_vm.formAliOSS, \"region\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formAliOSS.region\"}})],1),_c('el-form-item',{attrs:{\"label\":\"自定义 CDN 域名\",\"required\":false}},[_c('el-input',{attrs:{\"placeholder\":\"如:https://imagecdn.alidaodao.com,可不填\"},model:{value:(_vm.formAliOSS.cdnHost),callback:function ($$v) {_vm.$set(_vm.formAliOSS, \"cdnHost\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formAliOSS.cdnHost\"}})],1),_c('el-form-item',{attrs:{\"label\":\"存储路径\"}},[_c('el-input',{attrs:{\"placeholder\":\"如:img,可不填,默认为根目录\"},model:{value:(_vm.formAliOSS.path),callback:function ($$v) {_vm.$set(_vm.formAliOSS, \"path\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formAliOSS.path\"}}),_c('el-link',{attrs:{\"type\":\"primary\",\"href\":\"https://help.aliyun.com/document_detail/31883.html\",\"target\":\"_blank\"}},[_vm._v(\"如何使用阿里云 OSS?\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveAliOSSConfiguration}},[_vm._v(\"保存配置\")])],1)],1)],1),_c('el-tab-pane',{staticClass:\"github-panel\",attrs:{\"label\":\"腾讯云 COS\",\"name\":\"txCOS\"}},[_c('el-form',{staticClass:\"setting-form\",attrs:{\"model\":_vm.formTxCOS,\"label-position\":\"right\",\"label-width\":\"140px\"}},[_c('el-form-item',{attrs:{\"label\":\"SecretId\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:AKIDnQp1w3DOOCSs8F5MDp9tdoocsmdUPonW3\"},model:{value:(_vm.formTxCOS.secretId),callback:function ($$v) {_vm.$set(_vm.formTxCOS, \"secretId\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formTxCOS.secretId\"}})],1),_c('el-form-item',{attrs:{\"label\":\"SecretKey\",\"required\":true}},[_c('el-input',{attrs:{\"show-password\":\"\",\"placeholder\":\"如:ukLmdtEJ9271f3DOocsMDsCXdS3YlbW0\"},model:{value:(_vm.formTxCOS.secretKey),callback:function ($$v) {_vm.$set(_vm.formTxCOS, \"secretKey\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formTxCOS.secretKey\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Bucket\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:doocs-3212520134\"},model:{value:(_vm.formTxCOS.bucket),callback:function ($$v) {_vm.$set(_vm.formTxCOS, \"bucket\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formTxCOS.bucket\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Bucket 所在区域\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:ap-guangzhou\"},model:{value:(_vm.formTxCOS.region),callback:function ($$v) {_vm.$set(_vm.formTxCOS, \"region\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formTxCOS.region\"}})],1),_c('el-form-item',{attrs:{\"label\":\"自定义 CDN 域名\",\"required\":false}},[_c('el-input',{attrs:{\"placeholder\":\"如:https://imagecdn.alidaodao.com,可不填\"},model:{value:(_vm.formTxCOS.cdnHost),callback:function ($$v) {_vm.$set(_vm.formTxCOS, \"cdnHost\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formTxCOS.cdnHost\"}})],1),_c('el-form-item',{attrs:{\"label\":\"存储路径\"}},[_c('el-input',{attrs:{\"placeholder\":\"如:img,可不填,默认根目录\"},model:{value:(_vm.formTxCOS.path),callback:function ($$v) {_vm.$set(_vm.formTxCOS, \"path\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formTxCOS.path\"}}),_c('el-link',{attrs:{\"type\":\"primary\",\"href\":\"https://cloud.tencent.com/document/product/436/38484\",\"target\":\"_blank\"}},[_vm._v(\"如何使用腾讯云 COS?\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveTxCOSConfiguration}},[_vm._v(\"保存配置\")])],1)],1)],1),_c('el-tab-pane',{staticClass:\"github-panel\",attrs:{\"label\":\"七牛云 Kodo\",\"name\":\"qiniu\"}},[_c('el-form',{staticClass:\"setting-form\",attrs:{\"model\":_vm.formQiniu,\"label-position\":\"right\",\"label-width\":\"140px\"}},[_c('el-form-item',{attrs:{\"label\":\"AccessKey\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:6DD3VaLJ_SQgOdoocsyTV_YWaDmdnL2n8EGx7kG\"},model:{value:(_vm.formQiniu.accessKey),callback:function ($$v) {_vm.$set(_vm.formQiniu, \"accessKey\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formQiniu.accessKey\"}})],1),_c('el-form-item',{attrs:{\"label\":\"SecretKey\",\"required\":true}},[_c('el-input',{attrs:{\"show-password\":\"\",\"placeholder\":\"如:qgZa5qrvDOOcsmdKStD1oCjZ9nB7MDvJUs_34SIm\"},model:{value:(_vm.formQiniu.secretKey),callback:function ($$v) {_vm.$set(_vm.formQiniu, \"secretKey\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formQiniu.secretKey\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Bucket\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:md\"},model:{value:(_vm.formQiniu.bucket),callback:function ($$v) {_vm.$set(_vm.formQiniu, \"bucket\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formQiniu.bucket\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Bucket 对应域名\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:https://images.123ylb.cn\"},model:{value:(_vm.formQiniu.domain),callback:function ($$v) {_vm.$set(_vm.formQiniu, \"domain\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formQiniu.domain\"}})],1),_c('el-form-item',{attrs:{\"label\":\"存储区域\",\"required\":true}},[_c('el-input',{attrs:{\"placeholder\":\"如:z2\"},model:{value:(_vm.formQiniu.region),callback:function ($$v) {_vm.$set(_vm.formQiniu, \"region\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formQiniu.region\"}})],1),_c('el-form-item',{attrs:{\"label\":\"存储路径\",\"required\":false}},[_c('el-input',{attrs:{\"placeholder\":\"如:img,可不填,默认为根目录\"},model:{value:(_vm.formQiniu.path),callback:function ($$v) {_vm.$set(_vm.formQiniu, \"path\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"formQiniu.path\"}}),_c('el-link',{attrs:{\"type\":\"primary\",\"href\":\"https://developer.qiniu.com/kodo\",\"target\":\"_blank\"}},[_vm._v(\"如何使用七牛云 Kodo?\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveQiniuConfiguration}},[_vm._v(\"保存配置\")])],1)],1)],1),_c('el-tab-pane',{staticClass:\"github-panel formCustom\",attrs:{\"label\":\"自定义代码\",\"name\":\"formCustom\"}},[_c('el-form',{staticClass:\"setting-form\",attrs:{\"model\":_vm.formCustom,\"label-position\":\"right\"}},[_c('el-form-item',{attrs:{\"label\":\"\",\"required\":true}},[_c('el-input',{ref:\"formCustomElInput\",staticClass:\"formCustomElInput\",attrs:{\"type\":\"textarea\",\"resize\":\"none\",\"placeholder\":\"Your custom code here.\"},model:{value:(_vm.formCustom.code),callback:function ($$v) {_vm.$set(_vm.formCustom, \"code\", $$v)},expression:\"formCustom.code\"}}),_c('el-link',{attrs:{\"type\":\"primary\",\"href\":\"https://github.com/doocs/md#自定义上传逻辑\",\"target\":\"_blank\"}},[_vm._v(\"参数详情?\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.formCustomSave}},[_vm._v(\"保存配置\")])],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./uploadImgDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./uploadImgDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./uploadImgDialog.vue?vue&type=template&id=6b7f927f&scoped=true&\"\nimport script from \"./uploadImgDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./uploadImgDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./uploadImgDialog.vue?vue&type=style&index=0&id=6b7f927f&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6b7f927f\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CodemirrorEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CodemirrorEditor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CodemirrorEditor.vue?vue&type=template&id=7acf9643&scoped=true&\"\nimport script from \"./CodemirrorEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./CodemirrorEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CodemirrorEditor.vue?vue&type=style&index=0&id=7acf9643&lang=less&scoped=true&\"\nimport style1 from \"./CodemirrorEditor.vue?vue&type=style&index=1&id=7acf9643&lang=less&scoped=true&\"\nimport style2 from \"./CodemirrorEditor.vue?vue&type=style&index=2&id=7acf9643&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7acf9643\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=8e90ad4c&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=8e90ad4c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8e90ad4c\",\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport VueRouter from 'vue-router'\nimport index from '@/pages/index/index'\n\nVue.use(VueRouter)\n\nconst routes = [\n {\n path: `/`,\n name: `index`,\n component: index,\n }\n]\n\nconst router = new VueRouter({\n mode: `history`,\n base: process.env.BASE_URL,\n routes,\n})\n\nexport default router\n","import Vue from \"vue\";\nimport App from \"./App\";\nimport store from \"./store\";\nimport ElementUI from \"element-ui\";\nimport \"element-ui/lib/theme-chalk/index.css\";\nimport \"./plugins/element\";\nimport \"codemirror/lib/codemirror.css\";\nimport \"codemirror/theme/xq-light.css\";\nimport \"codemirror/mode/css/css\";\nimport \"codemirror/mode/markdown/markdown\";\nimport \"codemirror/addon/edit/closebrackets\";\nimport \"codemirror/addon/edit/matchbrackets\";\nimport \"codemirror/addon/selection/active-line\";\nimport \"codemirror/addon/hint/show-hint.js\";\nimport \"codemirror/addon/hint/css-hint.js\";\nimport router from './router';\n\nVue.use(ElementUI);\n\nVue.config.productionTip = false;\n\nApp.mpType = \"app\";\n\nconst app = new Vue({\n router,\n store,\n ...App,\n});\napp.$mount(\"#app\");\n","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./insertForm.vue?vue&type=style&index=0&id=4dd4e7e2&lang=less&scoped=true&\"","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CodemirrorEditor.vue?vue&type=style&index=1&id=7acf9643&lang=less&scoped=true&\"","export * from \"-!../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=less&\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./rightClickMenu.vue?vue&type=style&index=0&id=a704a2f8&lang=less&scoped=true&\"","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CodemirrorEditor.vue?vue&type=style&index=0&id=7acf9643&lang=less&scoped=true&\"","export * from \"-!../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=1&lang=less&\"","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CodemirrorEditor.vue?vue&type=style&index=2&id=7acf9643&lang=less&scoped=true&\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./uploadImgDialog.vue?vue&type=style&index=0&id=6b7f927f&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"loading\",attrs:{\"id\":\"loading\"}},[_c('div',{staticClass:\"loading-wrapper\"},[_c('div',{staticClass:\"loading-anim\"}),_c('div',{staticClass:\"loading-text\"},[_vm._v(\"致力于让 Markdown 编辑更简单\")])])])}]\n\nexport { render, staticRenderFns }","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./aboutDialog.vue?vue&type=style&index=0&id=70c50907&lang=less&scoped=true&\"","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js&\"","const githubConfig = {\n username: \"filess\",\n repoList: Array.from(\n [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19],\n (e) => `img${e}`\n ),\n branch: \"main\",\n accessTokenList: [\n \"7715d7ca67b5d3837cfdoocsmde8c38421815aa423510af\",\n \"c411415bf95dbe39625doocsmd5047ba9b7a2a6c9642abe\",\n \"2821cd8819fa345c053doocsmdca86ac653f8bc20db1f1b\",\n \"445f0dae46ef1f2a4d6doocsmdc797301e94797b4750a4c\",\n \"cc1d0c1426d0fd0902bdoocsmdd2d7184b14da61b86ec46\",\n \"b67e9d15cb6f910492fdoocsmdac6b44d379c953bb19eff\",\n \"618c4dc2244ccbbc088doocsmd125d17fd31b7d06a50cf3\",\n \"a4b581732e1c1507458doocsmdc5b223b27dae5e2e16a55\",\n \"77904db41aee57ad79bdoocsmd760f848201dac9c96fd5e\",\n \"02f251cb14ac62ab100doocsmdddbfc8527d773f1f04ce1\",\n \"eb321079a95ba7028d9doocsmde2e84c502dac70de7cf08\",\n \"22f74fcfb071a961fa2doocsmde28dabc746f0503a15e5d\",\n \"85124c2bfe7abba0938doocsmd0af7f67918b99d085a5fd\",\n \"0a561b4d4bbecb2de7edoocsmdd9ba3833d11dbc5e430f5\",\n \"e8a01491188d8d5a097doocsmd03ede0aad1fe9e3af24e9\",\n \"36e1f420d7e5bdebd67doocsmd65463562f5f25b20b8377\",\n ],\n};\n\nconst giteeConfig = {\n username: \"filesss\",\n repoList: Array.from(\n [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19],\n (e) => `img${e}`\n ),\n branch: \"main\",\n accessTokenList: [\n \"ed5fc9866bd6c2fdoocsmddd433f806fd2f399c\",\n \"5448ffebbbf1151doocsmdc4e337cf814fc8a62\",\n \"25b05efd2557ca2doocsmd75b5c0835e3395911\",\n \"11628c7a5aef015doocsmd2eeff9fb9566f0458\",\n \"cb2f5145ed938dedoocsmdbd063b4ed244eecf8\",\n \"d8c0b57500672c1doocsmd55f48b866b5ebcd98\",\n \"78c56eadb88e453doocsmd43ddd95753351771a\",\n \"03e1a688003948fdoocsmda16fcf41e6f03f1f0\",\n \"c49121cf4d191fbdoocsmdd6a7877ed537e474a\",\n \"adfeb2fadcdc4aadoocsmdfe1ee869ac9c968ff\",\n \"116c94549ca4a0ddoocsmd192653af5c0694616\",\n \"ecf30ed7f2eb184doocsmd51ea4ec8300371d9e\",\n \"5837cf2bd5afd93doocsmd73904bed31934949e\",\n \"b5b7e1c7d57e01fdoocsmd5266f552574297d78\",\n \"684d55564ffbd0bdoocsmd7d747e5cc23aed6d6\",\n \"3fc04a9d272ab71doocsmd010c56cb57d88d2ba\",\n ],\n};\n\nexport { githubConfig, giteeConfig };\n","import axios from \"axios\";\n\n// 创建axios实例\nconst service = axios.create({\n baseURL: \"\",\n timeout: 10 * 1000, // 请求超时时间\n});\n\nservice.interceptors.request.use(\n (config) => {\n if (/^(post)|(put)|(delete)$/i.test(config.method)) {\n if (config.data && config.data.upload) {\n config.headers[\"Content-Type\"] = \"multipart/form-data\";\n }\n }\n return config;\n },\n (error) => {\n Promise.reject(error);\n }\n);\n\nservice.interceptors.response.use(\n (res) => {\n return res.data ? res.data : Promise.reject(res);\n },\n (error) => Promise.reject(error)\n);\n\nexport default service;\n","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./header.vue?vue&type=style&index=0&id=54b819f8&lang=less&scoped=true&\""],"sourceRoot":""} \ No newline at end of file diff --git a/js/chunk-vendors.d9ed98c5.js b/js/chunk-vendors.5feb6ced.js similarity index 92% rename from js/chunk-vendors.d9ed98c5.js rename to js/chunk-vendors.5feb6ced.js index 6e08aa9..431e501 100644 --- a/js/chunk-vendors.d9ed98c5.js +++ b/js/chunk-vendors.5feb6ced.js @@ -1,6 +1,6 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00bb":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function n(e,t,n,r){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,r.encryptBlock(i,0);for(var s=0;s=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function u(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function l(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&(i++,this.negative=1),i=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)i=u(e,t,r)<=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else{var a=e.length-t;for(r=a%2===0?t+1:t;r=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8}this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,u=0,c=n;c1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}function p(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,u=s/67108864|0;n.words[0]=a;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=f;d++){var p=l-d|0;i=0|e.words[p],o=0|t.words[d],s=i*o+h,c+=s/67108864|0,h=67108863&s}n.words[l]=0|h,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,s=0;s>>24-i&16777215,n=0!==o||s!==this.length-1?c[6-u.length]+u+n:u+n,i+=2,i>=26&&(i-=26,s--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=h[e],d=f[e];n="";var p=this.clone();p.negative=0;while(!p.isZero()){var m=p.modn(d).toString(e);p=p.idivn(d),n=p.isZero()?m+n:c[l-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,u="le"===t,l=new e(o),c=this.clone();if(u){for(a=0;!c.isZero();a++)s=c.andln(255),c.iushrn(8),l[a]=s;for(;a=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==o&&s>26,this.words[s]=67108863&t;if(0===o&&s>>13,d=0|s[1],p=8191&d,m=d>>>13,g=0|s[2],v=8191&g,y=g>>>13,b=0|s[3],w=8191&b,D=b>>>13,E=0|s[4],x=8191&E,_=E>>>13,C=0|s[5],k=8191&C,S=C>>>13,A=0|s[6],T=8191&A,M=A>>>13,O=0|s[7],N=8191&O,F=O>>>13,I=0|s[8],P=8191&I,R=I>>>13,L=0|s[9],B=8191&L,j=L>>>13,$=0|a[0],q=8191&$,U=$>>>13,H=0|a[1],z=8191&H,V=H>>>13,W=0|a[2],G=8191&W,K=W>>>13,X=0|a[3],Y=8191&X,J=X>>>13,Z=0|a[4],Q=8191&Z,ee=Z>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ue=8191&ae,le=ae>>>13,ce=0|a[8],he=8191&ce,fe=ce>>>13,de=0|a[9],pe=8191&de,me=de>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(h,q),i=Math.imul(h,U),i=i+Math.imul(f,q)|0,o=Math.imul(f,U);var ge=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,q),i=Math.imul(p,U),i=i+Math.imul(m,q)|0,o=Math.imul(m,U),r=r+Math.imul(h,z)|0,i=i+Math.imul(h,V)|0,i=i+Math.imul(f,z)|0,o=o+Math.imul(f,V)|0;var ve=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,q),i=Math.imul(v,U),i=i+Math.imul(y,q)|0,o=Math.imul(y,U),r=r+Math.imul(p,z)|0,i=i+Math.imul(p,V)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,V)|0,r=r+Math.imul(h,G)|0,i=i+Math.imul(h,K)|0,i=i+Math.imul(f,G)|0,o=o+Math.imul(f,K)|0;var ye=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,q),i=Math.imul(w,U),i=i+Math.imul(D,q)|0,o=Math.imul(D,U),r=r+Math.imul(v,z)|0,i=i+Math.imul(v,V)|0,i=i+Math.imul(y,z)|0,o=o+Math.imul(y,V)|0,r=r+Math.imul(p,G)|0,i=i+Math.imul(p,K)|0,i=i+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0,r=r+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(f,Y)|0,o=o+Math.imul(f,J)|0;var be=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(x,q),i=Math.imul(x,U),i=i+Math.imul(_,q)|0,o=Math.imul(_,U),r=r+Math.imul(w,z)|0,i=i+Math.imul(w,V)|0,i=i+Math.imul(D,z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,J)|0,r=r+Math.imul(h,Q)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(f,Q)|0,o=o+Math.imul(f,ee)|0;var we=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(k,q),i=Math.imul(k,U),i=i+Math.imul(S,q)|0,o=Math.imul(S,U),r=r+Math.imul(x,z)|0,i=i+Math.imul(x,V)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,V)|0,r=r+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(D,G)|0,o=o+Math.imul(D,K)|0,r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,r=r+Math.imul(p,Q)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=i+Math.imul(h,re)|0,i=i+Math.imul(f,ne)|0,o=o+Math.imul(f,re)|0;var De=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(T,q),i=Math.imul(T,U),i=i+Math.imul(M,q)|0,o=Math.imul(M,U),r=r+Math.imul(k,z)|0,i=i+Math.imul(k,V)|0,i=i+Math.imul(S,z)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(x,G)|0,i=i+Math.imul(x,K)|0,i=i+Math.imul(_,G)|0,o=o+Math.imul(_,K)|0,r=r+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(D,Y)|0,o=o+Math.imul(D,J)|0,r=r+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=i+Math.imul(p,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=i+Math.imul(h,se)|0,i=i+Math.imul(f,oe)|0,o=o+Math.imul(f,se)|0;var Ee=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(N,q),i=Math.imul(N,U),i=i+Math.imul(F,q)|0,o=Math.imul(F,U),r=r+Math.imul(T,z)|0,i=i+Math.imul(T,V)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(k,G)|0,i=i+Math.imul(k,K)|0,i=i+Math.imul(S,G)|0,o=o+Math.imul(S,K)|0,r=r+Math.imul(x,Y)|0,i=i+Math.imul(x,J)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,J)|0,r=r+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=i+Math.imul(p,se)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,r=r+Math.imul(h,ue)|0,i=i+Math.imul(h,le)|0,i=i+Math.imul(f,ue)|0,o=o+Math.imul(f,le)|0;var xe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(P,q),i=Math.imul(P,U),i=i+Math.imul(R,q)|0,o=Math.imul(R,U),r=r+Math.imul(N,z)|0,i=i+Math.imul(N,V)|0,i=i+Math.imul(F,z)|0,o=o+Math.imul(F,V)|0,r=r+Math.imul(T,G)|0,i=i+Math.imul(T,K)|0,i=i+Math.imul(M,G)|0,o=o+Math.imul(M,K)|0,r=r+Math.imul(k,Y)|0,i=i+Math.imul(k,J)|0,i=i+Math.imul(S,Y)|0,o=o+Math.imul(S,J)|0,r=r+Math.imul(x,Q)|0,i=i+Math.imul(x,ee)|0,i=i+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(w,ne)|0,i=i+Math.imul(w,re)|0,i=i+Math.imul(D,ne)|0,o=o+Math.imul(D,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,se)|0,i=i+Math.imul(y,oe)|0,o=o+Math.imul(y,se)|0,r=r+Math.imul(p,ue)|0,i=i+Math.imul(p,le)|0,i=i+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0,r=r+Math.imul(h,he)|0,i=i+Math.imul(h,fe)|0,i=i+Math.imul(f,he)|0,o=o+Math.imul(f,fe)|0;var _e=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(B,q),i=Math.imul(B,U),i=i+Math.imul(j,q)|0,o=Math.imul(j,U),r=r+Math.imul(P,z)|0,i=i+Math.imul(P,V)|0,i=i+Math.imul(R,z)|0,o=o+Math.imul(R,V)|0,r=r+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(F,G)|0,o=o+Math.imul(F,K)|0,r=r+Math.imul(T,Y)|0,i=i+Math.imul(T,J)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,J)|0,r=r+Math.imul(k,Q)|0,i=i+Math.imul(k,ee)|0,i=i+Math.imul(S,Q)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(x,ne)|0,i=i+Math.imul(x,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(w,oe)|0,i=i+Math.imul(w,se)|0,i=i+Math.imul(D,oe)|0,o=o+Math.imul(D,se)|0,r=r+Math.imul(v,ue)|0,i=i+Math.imul(v,le)|0,i=i+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(m,he)|0,o=o+Math.imul(m,fe)|0,r=r+Math.imul(h,pe)|0,i=i+Math.imul(h,me)|0,i=i+Math.imul(f,pe)|0,o=o+Math.imul(f,me)|0;var Ce=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,z),i=Math.imul(B,V),i=i+Math.imul(j,z)|0,o=Math.imul(j,V),r=r+Math.imul(P,G)|0,i=i+Math.imul(P,K)|0,i=i+Math.imul(R,G)|0,o=o+Math.imul(R,K)|0,r=r+Math.imul(N,Y)|0,i=i+Math.imul(N,J)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,J)|0,r=r+Math.imul(T,Q)|0,i=i+Math.imul(T,ee)|0,i=i+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(k,ne)|0,i=i+Math.imul(k,re)|0,i=i+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(x,oe)|0,i=i+Math.imul(x,se)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,r=r+Math.imul(w,ue)|0,i=i+Math.imul(w,le)|0,i=i+Math.imul(D,ue)|0,o=o+Math.imul(D,le)|0,r=r+Math.imul(v,he)|0,i=i+Math.imul(v,fe)|0,i=i+Math.imul(y,he)|0,o=o+Math.imul(y,fe)|0,r=r+Math.imul(p,pe)|0,i=i+Math.imul(p,me)|0,i=i+Math.imul(m,pe)|0,o=o+Math.imul(m,me)|0;var ke=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(B,G),i=Math.imul(B,K),i=i+Math.imul(j,G)|0,o=Math.imul(j,K),r=r+Math.imul(P,Y)|0,i=i+Math.imul(P,J)|0,i=i+Math.imul(R,Y)|0,o=o+Math.imul(R,J)|0,r=r+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(F,Q)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(T,ne)|0,i=i+Math.imul(T,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(k,oe)|0,i=i+Math.imul(k,se)|0,i=i+Math.imul(S,oe)|0,o=o+Math.imul(S,se)|0,r=r+Math.imul(x,ue)|0,i=i+Math.imul(x,le)|0,i=i+Math.imul(_,ue)|0,o=o+Math.imul(_,le)|0,r=r+Math.imul(w,he)|0,i=i+Math.imul(w,fe)|0,i=i+Math.imul(D,he)|0,o=o+Math.imul(D,fe)|0,r=r+Math.imul(v,pe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(y,pe)|0,o=o+Math.imul(y,me)|0;var Se=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,Y),i=Math.imul(B,J),i=i+Math.imul(j,Y)|0,o=Math.imul(j,J),r=r+Math.imul(P,Q)|0,i=i+Math.imul(P,ee)|0,i=i+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,r=r+Math.imul(N,ne)|0,i=i+Math.imul(N,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(T,oe)|0,i=i+Math.imul(T,se)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,r=r+Math.imul(k,ue)|0,i=i+Math.imul(k,le)|0,i=i+Math.imul(S,ue)|0,o=o+Math.imul(S,le)|0,r=r+Math.imul(x,he)|0,i=i+Math.imul(x,fe)|0,i=i+Math.imul(_,he)|0,o=o+Math.imul(_,fe)|0,r=r+Math.imul(w,pe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(D,pe)|0,o=o+Math.imul(D,me)|0;var Ae=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(B,Q),i=Math.imul(B,ee),i=i+Math.imul(j,Q)|0,o=Math.imul(j,ee),r=r+Math.imul(P,ne)|0,i=i+Math.imul(P,re)|0,i=i+Math.imul(R,ne)|0,o=o+Math.imul(R,re)|0,r=r+Math.imul(N,oe)|0,i=i+Math.imul(N,se)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,se)|0,r=r+Math.imul(T,ue)|0,i=i+Math.imul(T,le)|0,i=i+Math.imul(M,ue)|0,o=o+Math.imul(M,le)|0,r=r+Math.imul(k,he)|0,i=i+Math.imul(k,fe)|0,i=i+Math.imul(S,he)|0,o=o+Math.imul(S,fe)|0,r=r+Math.imul(x,pe)|0,i=i+Math.imul(x,me)|0,i=i+Math.imul(_,pe)|0,o=o+Math.imul(_,me)|0;var Te=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(j,ne)|0,o=Math.imul(j,re),r=r+Math.imul(P,oe)|0,i=i+Math.imul(P,se)|0,i=i+Math.imul(R,oe)|0,o=o+Math.imul(R,se)|0,r=r+Math.imul(N,ue)|0,i=i+Math.imul(N,le)|0,i=i+Math.imul(F,ue)|0,o=o+Math.imul(F,le)|0,r=r+Math.imul(T,he)|0,i=i+Math.imul(T,fe)|0,i=i+Math.imul(M,he)|0,o=o+Math.imul(M,fe)|0,r=r+Math.imul(k,pe)|0,i=i+Math.imul(k,me)|0,i=i+Math.imul(S,pe)|0,o=o+Math.imul(S,me)|0;var Me=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,oe),i=Math.imul(B,se),i=i+Math.imul(j,oe)|0,o=Math.imul(j,se),r=r+Math.imul(P,ue)|0,i=i+Math.imul(P,le)|0,i=i+Math.imul(R,ue)|0,o=o+Math.imul(R,le)|0,r=r+Math.imul(N,he)|0,i=i+Math.imul(N,fe)|0,i=i+Math.imul(F,he)|0,o=o+Math.imul(F,fe)|0,r=r+Math.imul(T,pe)|0,i=i+Math.imul(T,me)|0,i=i+Math.imul(M,pe)|0,o=o+Math.imul(M,me)|0;var Oe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ue),i=Math.imul(B,le),i=i+Math.imul(j,ue)|0,o=Math.imul(j,le),r=r+Math.imul(P,he)|0,i=i+Math.imul(P,fe)|0,i=i+Math.imul(R,he)|0,o=o+Math.imul(R,fe)|0,r=r+Math.imul(N,pe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(F,pe)|0,o=o+Math.imul(F,me)|0;var Ne=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,he),i=Math.imul(B,fe),i=i+Math.imul(j,he)|0,o=Math.imul(j,fe),r=r+Math.imul(P,pe)|0,i=i+Math.imul(P,me)|0,i=i+Math.imul(R,pe)|0,o=o+Math.imul(R,me)|0;var Fe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,r=Math.imul(B,pe),i=Math.imul(B,me),i=i+Math.imul(j,pe)|0,o=Math.imul(j,me);var Ie=(l+r|0)+((8191&i)<<13)|0;return l=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,u[0]=ge,u[1]=ve,u[2]=ye,u[3]=be,u[4]=we,u[5]=De,u[6]=Ee,u[7]=xe,u[8]=_e,u[9]=Ce,u[10]=ke,u[11]=Se,u[12]=Ae,u[13]=Te,u[14]=Me,u[15]=Oe,u[16]=Ne,u[17]=Fe,u[18]=Ie,0!==l&&(u[19]=l,n.length++),n};function g(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0,i+=s>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function v(e,t,n){var r=new y;return r.mulp(e,t,n)}function y(e,t){this.x=e,this.y=t}Math.imul||(m=p),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?m(this,e,t):r<63?p(this,e,t):r<1024?g(this,e,t):v(this,e,t),n},y.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},y.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=d(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&a}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,s=0|i.words[i.length-1],a=this._countBits(s);n=26-a,0!==n&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var u,l=r.length-i.length;if("mod"!==t){u=new o(null),u.length=l+1,u.words=new Array(u.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);d=Math.min(d/s|0,67108863),r._ishlnsubmul(i,d,f);while(0!==r.negative)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);u&&(u.words[f]=d)}return u&&u.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),s=new o(0),a=new o(0),u=new o(1),l=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++l;var c=n.clone(),h=t.clone();while(!t.isZero()){for(var f=0,d=1;0===(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0){t.iushrn(f);while(f-- >0)(i.isOdd()||s.isOdd())&&(i.iadd(c),s.isub(h)),i.iushrn(1),s.iushrn(1)}for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0){n.iushrn(p);while(p-- >0)(a.isOdd()||u.isOdd())&&(a.iadd(c),u.isub(h)),a.iushrn(1),u.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(u)):(n.isub(t),a.isub(i),u.isub(s))}return{a:a,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,s=new o(1),a=new o(0),u=n.clone();while(t.cmpn(1)>0&&n.cmpn(1)>0){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);while(l-- >0)s.isOdd()&&s.iadd(u),s.iushrn(1)}for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0){n.iushrn(h);while(h-- >0)a.isOdd()&&a.iadd(u),a.iushrn(1)}t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return i=0===t.cmpn(1)?s:a,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function D(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function k(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(D,w),D.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},D.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new D;else if("p224"===e)t=new E;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new _}return b[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),s=0;while(!i.isZero()&&0===i.andln(1))s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,l).cmp(u))c.redIAdd(u);var h=this.pow(c,i),f=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=s;while(0!==d.cmp(a)){for(var m=d,g=0;0!==m.cmp(a);g++)m=m.redSqr();r(g=0;i--){for(var c=t.words[i],h=l-1;h>=0;h--){var f=c>>h&1;s!==r[0]&&(s=this.sqr(s)),0!==f||0!==a?(a<<=1,a|=f,u++,(u===n||0===i&&0===h)&&(s=this.mul(s,r[a]),u=0,a=0)):u=0}l=26}return s},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new k(e)},i(k,C),k.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},k.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},k.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},k.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"0145":function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},"0184":function(e,t,n){"use strict";var r=n("da3e");function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var n=Math.min(this.buffer.length-this.bufferOff,e.length-t),r=0;r0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(i,n);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},i.prototype._pad=function(e,t){if(0===t)return!1;while(t0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=f;var d=function(e){function t(t){return e.call(this,o.ElementType.Root,t)||this}return r(t,e),t}(f);t.Document=d;var p=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?o.ElementType.Script:"style"===t?o.ElementType.Style:o.ElementType.Tag);var s=e.call(this,i,r)||this;return s.name=t,s.attribs=n,s}return r(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(f);function m(e){return o.isTag(e)}function g(e){return e.type===o.ElementType.CDATA}function v(e){return e.type===o.ElementType.Text}function y(e){return e.type===o.ElementType.Comment}function b(e){return e.type===o.ElementType.Directive}function w(e){return e.type===o.ElementType.Root}function D(e){return Object.prototype.hasOwnProperty.call(e,"children")}function E(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new l(e.data);else if(y(e))n=new c(e.data);else if(m(e)){var r=t?x(e.children):[],s=new p(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=s})),e["x-attribsNamespace"]&&(s["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(s["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=s}else if(g(e)){r=t?x(e.children):[];var a=new f(o.ElementType.CDATA,r);r.forEach((function(e){return e.parent=a})),n=a}else if(w(e)){r=t?x(e.children):[];var u=new d(r);r.forEach((function(e){return e.parent=u})),e["x-mode"]&&(u["x-mode"]=e["x-mode"]),n=u}else{if(!b(e))throw new Error("Not implemented yet: "+e.type);var D=new h(e.name,e.data);null!=e["x-name"]&&(D["x-name"]=e["x-name"],D["x-publicId"]=e["x-publicId"],D["x-systemId"]=e["x-systemId"]),n=D}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,n}function x(e){for(var t=e.map((function(e){return E(e,!0)})),n=1;nu)r(a,n=t[u++])&&(~o(l,n)||l.push(n));return l}},"03e2":function(e,t,n){"use strict";var r=n("74b3"),i=n("d779"),o=n("0f22"),s=n("76da");function a(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}var u=function(e){e=e||{};var t,n=e.SecretId,r=e.SecretKey,o=e.KeyTime,s=(e.method||e.Method||"get").toLowerCase(),u=w(e.Query||e.params||{}),l=w(e.Headers||e.headers||{}),c=e.Key||"";if(e.UseRawKey?t=e.Pathname||e.pathname||"/"+c:(t=e.Pathname||e.pathname||c,0!==t.indexOf("/")&&(t="/"+t)),!n)throw new Error("missing param SecretId");if(!r)throw new Error("missing param SecretKey");var h=function(e,t){var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(t?a(r).toLowerCase():r);return n.sort((function(e,t){return e=e.toLowerCase(),t=t.toLowerCase(),e===t?0:e>t?1:-1}))},f=function(e){var t,n,r,i=[],o=h(e);for(t=0;tparseInt(t[n])?1:-1;return 0},t=function(t){var n=(t.match(/Chrome\/([.\d]+)/)||[])[1],r=(t.match(/QBCore\/([.\d]+)/)||[])[1],i=(t.match(/QQBrowser\/([.\d]+)/)||[])[1],o=n&&e(n,"53.0.2785.116")<0&&r&&e(r,"3.53.991.400")<0&&i&&e(i,"9.0.2524.400")<=0||!1;return o};return t(navigator&&navigator.userAgent)}(),g=function(e,t,n,r,i){var o;if(e.slice?o=e.slice(t,n):e.mozSlice?o=e.mozSlice(t,n):e.webkitSlice&&(o=e.webkitSlice(t,n)),r&&m){var s=new FileReader;s.onload=function(e){o=null,i(new Blob([s.result]))},s.readAsArrayBuffer(o)}else i(o)},v=function(e,t,n,r){n=n||f,e?"string"===typeof t?n(B.md5(t,!0)):Blob&&t instanceof Blob?B.getFileMd5(t,(function(e,t){n(t)}),r):n():n()},y=1048576,b=function(e,t,n){var i=e.size,o=0,s=r.getCtx(),a=function(r){if(r>=i){var u=s.digest("hex");t(null,u)}else{var l=Math.min(i,r+y);B.fileSlice(e,r,l,!1,(function(e){p(e,(function(t){e=null,s=s.update(t,!0),o+=t.length,t=null,n&&n({loaded:o,total:i,percent:Math.round(o/i*1e4)/1e4}),a(r+y)}))}))}};a(0)};function w(e){return S(e,(function(e){return"object"===typeof e&&null!==e?w(e):e}))}function D(e,t,n){return e&&t in e?e[t]:n}function E(e,t){return k(t,(function(n,r){e[r]=t[r]})),e}function x(e){return e instanceof Array}function _(e,t){for(var n=!1,r=0;r-1||"deleteMultipleObject"===e||"multipartList"===e||"listObjectVersions"===e){if(!n)return"Bucket";if(!r)return"Region"}else if(e.indexOf("Object")>-1||e.indexOf("multipart")>-1||"sliceUploadFile"===e||"abortUploadTask"===e){if(!n)return"Bucket";if(!r)return"Region";if(!i)return"Key"}return!1},N=function(e,t){if(t=E({},t),"getAuth"!==e&&"getV4Auth"!==e&&"getObjectUrl"!==e){var n=t.Headers||{};if(t&&"object"===typeof t){(function(){for(var e in t)t.hasOwnProperty(e)&&e.indexOf("x-cos-")>-1&&(n[e]=t[e])})();var r={"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-traffic-limit":"TrafficLimit","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext"};B.each(r,(function(e,r){void 0!==t[e]&&(n[r]=t[e])})),t.Headers=d(n)}}return t},F=function(e,t){return function(n,r){var i=this;"function"===typeof n&&(r=n,n={}),n=N(e,n);var o=function(e){return e&&e.headers&&(e.headers["x-cos-request-id"]&&(e.RequestId=e.headers["x-cos-request-id"]),e.headers["x-cos-version-id"]&&(e.VersionId=e.headers["x-cos-version-id"]),e.headers["x-cos-delete-marker"]&&(e.DeleteMarker=e.headers["x-cos-delete-marker"])),e},s=function(e,t){r&&r(o(e),o(t))},a=function(){if("getService"!==e&&"abortUploadTask"!==e){var t=O(e,n);if(t)return"missing param "+t;if(n.Region){if(n.Region.indexOf("cos.")>-1)return'param Region should not be start with "cos."';if(!/^([a-z\d-]+)$/.test(n.Region))return"Region format error.";i.options.CompatibilityMode||-1!==n.Region.indexOf("-")||"yfb"===n.Region||"default"===n.Region||console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(n.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(n.Bucket))if(n.AppId)n.Bucket=n.Bucket+"-"+n.AppId;else{if(!i.options.AppId)return'Bucket should format as "test-1250000000".';n.Bucket=n.Bucket+"-"+i.options.AppId}n.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete n.AppId)}!i.options.UseRawKey&&n.Key&&"/"===n.Key.substr(0,1)&&(n.Key=n.Key.substr(1))}},u=a(),l="getAuth"===e||"getObjectUrl"===e;if(Promise&&!l&&!r)return new Promise((function(e,o){if(r=function(t,n){t?o(t):e(n)},u)return s(B.error(new Error(u)));t.call(i,n,s)}));if(u)return s(B.error(new Error(u)));var c=t.call(i,n,s);return l?c:void 0}},I=function(e,t){var n,r,i=this,o=0,s=0,a=Date.now();function u(){if(r=0,t&&"function"===typeof t){n=Date.now();var i,u=Math.max(0,Math.round((s-o)/((n-a)/1e3)*100)/100)||0;i=0===s&&0===e?1:Math.floor(s/e*100)/100||0,a=n,o=s;try{t({loaded:s,total:e,speed:u,percent:i})}catch(l){}}}return function(t,n){if(t&&(s=t.loaded,e=t.total),n)clearTimeout(r),u();else{if(r)return;r=setTimeout(u,i.options.ProgressInterval)}}},P=function(e,t,n){var r;"string"===typeof t.Body?t.Body=new Blob([t.Body],{type:"text/plain"}):t.Body instanceof ArrayBuffer&&(t.Body=new Blob([t.Body])),t.Body&&(t.Body instanceof Blob||"[object File]"===t.Body.toString()||"[object Blob]"===t.Body.toString())?(r=t.Body.size,t.ContentLength=r,n(null,r)):n(B.error(new Error("params body format error, Only allow File|Blob|String.")))},R=function(e){return Date.now()+(e||0)},L=function(e,t){var n=e;return e.message=e.message||null,"string"===typeof t?(e.error=t,e.message=t):"object"===typeof t&&null!==t&&(E(e,t),(t.code||t.name)&&(e.code=t.code||t.name),t.message&&(e.message=t.message),t.stack&&(e.stack=t.stack)),"function"===typeof Object.defineProperty&&(Object.defineProperty(e,"name",{writable:!0,enumerable:!1}),Object.defineProperty(e,"message",{enumerable:!0})),e.name=t&&t.name||e.name||e.code||"Error",e.code||(e.code=e.name),e.error||(e.error=w(n)),e},B={noop:f,formatParams:N,apiWrapper:F,xml2json:o,json2xml:s,md5:r,clearKey:d,fileSlice:g,getBodyMd5:v,getFileMd5:b,binaryBase64:T,extend:E,isArray:x,isInArray:_,makeArray:C,each:k,map:S,filter:A,clone:w,attr:D,uuid:M,camSafeUrlEncode:a,throttleOnProgress:I,getFileSize:P,getSkewTime:R,error:L,getAuth:u,parseSelectPayload:h,isBrowser:!0};e.exports=B},"051a":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var i=r(n("f5f2")),o=c(i.default),s=h(o);t.encodeXML=b(o);var a=r(n("c560")),u=c(a.default),l=h(u);function c(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function h(e){for(var t=[],n=[],r=0,i=Object.keys(e);r1?d(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}function m(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(f,p)}}var g=new RegExp(s.source+"|"+f.source,"g");function v(e){return e.replace(g,p)}function y(e){return e.replace(s,p)}function b(e){return function(t){return t.replace(g,(function(t){return e[t]||p(t)}))}}t.escape=v,t.escapeUTF8=y},"051b":function(e,t,n){var r=n("1a14"),i=n("10db");e.exports=n("0bad")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"057f":function(e,t,n){var r=n("fc6a"),i=n("241c").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return i(e)}catch(t){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==o.call(e)?a(e):i(r(e))}},"05f0":function(e,t,n){"use strict";var r=n("d113").codes.ERR_INVALID_OPT_VALUE;function i(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}function o(e,t,n,o){var s=i(t,o,n);if(null!=s){if(!isFinite(s)||Math.floor(s)!==s||s<0){var a=o?n:"highWaterMark";throw new r(a,s)}return Math.floor(s)}return e.objectMode?16:16384}e.exports={getHighWaterMark:o}},"05f5":function(e,t,n){var r=n("7a41"),i=n("ef08").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"0632":function(e,t,n){ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00bb":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function n(e,t,n,r){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,r.encryptBlock(i,0);for(var s=0;s=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function u(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function l(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&(i++,this.negative=1),i=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)i=u(e,t,r)<=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else{var a=e.length-t;for(r=a%2===0?t+1:t;r=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8}this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,u=0,c=n;c1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}function p(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,u=s/67108864|0;n.words[0]=a;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=f;d++){var p=l-d|0;i=0|e.words[p],o=0|t.words[d],s=i*o+h,c+=s/67108864|0,h=67108863&s}n.words[l]=0|h,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,s=0;s>>24-i&16777215,n=0!==o||s!==this.length-1?c[6-u.length]+u+n:u+n,i+=2,i>=26&&(i-=26,s--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=h[e],d=f[e];n="";var p=this.clone();p.negative=0;while(!p.isZero()){var m=p.modn(d).toString(e);p=p.idivn(d),n=p.isZero()?m+n:c[l-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,u="le"===t,l=new e(o),c=this.clone();if(u){for(a=0;!c.isZero();a++)s=c.andln(255),c.iushrn(8),l[a]=s;for(;a=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==o&&s>26,this.words[s]=67108863&t;if(0===o&&s>>13,d=0|s[1],p=8191&d,m=d>>>13,g=0|s[2],v=8191&g,y=g>>>13,b=0|s[3],w=8191&b,D=b>>>13,E=0|s[4],x=8191&E,_=E>>>13,C=0|s[5],k=8191&C,S=C>>>13,A=0|s[6],T=8191&A,M=A>>>13,O=0|s[7],N=8191&O,F=O>>>13,I=0|s[8],R=8191&I,P=I>>>13,L=0|s[9],B=8191&L,j=L>>>13,$=0|a[0],U=8191&$,q=$>>>13,H=0|a[1],z=8191&H,V=H>>>13,W=0|a[2],G=8191&W,K=W>>>13,X=0|a[3],Y=8191&X,J=X>>>13,Z=0|a[4],Q=8191&Z,ee=Z>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ue=8191&ae,le=ae>>>13,ce=0|a[8],he=8191&ce,fe=ce>>>13,de=0|a[9],pe=8191&de,me=de>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(h,U),i=Math.imul(h,q),i=i+Math.imul(f,U)|0,o=Math.imul(f,q);var ge=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,U),i=Math.imul(p,q),i=i+Math.imul(m,U)|0,o=Math.imul(m,q),r=r+Math.imul(h,z)|0,i=i+Math.imul(h,V)|0,i=i+Math.imul(f,z)|0,o=o+Math.imul(f,V)|0;var ve=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,U),i=Math.imul(v,q),i=i+Math.imul(y,U)|0,o=Math.imul(y,q),r=r+Math.imul(p,z)|0,i=i+Math.imul(p,V)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,V)|0,r=r+Math.imul(h,G)|0,i=i+Math.imul(h,K)|0,i=i+Math.imul(f,G)|0,o=o+Math.imul(f,K)|0;var ye=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,U),i=Math.imul(w,q),i=i+Math.imul(D,U)|0,o=Math.imul(D,q),r=r+Math.imul(v,z)|0,i=i+Math.imul(v,V)|0,i=i+Math.imul(y,z)|0,o=o+Math.imul(y,V)|0,r=r+Math.imul(p,G)|0,i=i+Math.imul(p,K)|0,i=i+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0,r=r+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(f,Y)|0,o=o+Math.imul(f,J)|0;var be=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(x,U),i=Math.imul(x,q),i=i+Math.imul(_,U)|0,o=Math.imul(_,q),r=r+Math.imul(w,z)|0,i=i+Math.imul(w,V)|0,i=i+Math.imul(D,z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,J)|0,r=r+Math.imul(h,Q)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(f,Q)|0,o=o+Math.imul(f,ee)|0;var we=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(k,U),i=Math.imul(k,q),i=i+Math.imul(S,U)|0,o=Math.imul(S,q),r=r+Math.imul(x,z)|0,i=i+Math.imul(x,V)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,V)|0,r=r+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(D,G)|0,o=o+Math.imul(D,K)|0,r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,r=r+Math.imul(p,Q)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=i+Math.imul(h,re)|0,i=i+Math.imul(f,ne)|0,o=o+Math.imul(f,re)|0;var De=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(T,U),i=Math.imul(T,q),i=i+Math.imul(M,U)|0,o=Math.imul(M,q),r=r+Math.imul(k,z)|0,i=i+Math.imul(k,V)|0,i=i+Math.imul(S,z)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(x,G)|0,i=i+Math.imul(x,K)|0,i=i+Math.imul(_,G)|0,o=o+Math.imul(_,K)|0,r=r+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(D,Y)|0,o=o+Math.imul(D,J)|0,r=r+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=i+Math.imul(p,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=i+Math.imul(h,se)|0,i=i+Math.imul(f,oe)|0,o=o+Math.imul(f,se)|0;var Ee=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(N,U),i=Math.imul(N,q),i=i+Math.imul(F,U)|0,o=Math.imul(F,q),r=r+Math.imul(T,z)|0,i=i+Math.imul(T,V)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(k,G)|0,i=i+Math.imul(k,K)|0,i=i+Math.imul(S,G)|0,o=o+Math.imul(S,K)|0,r=r+Math.imul(x,Y)|0,i=i+Math.imul(x,J)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,J)|0,r=r+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=i+Math.imul(p,se)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,r=r+Math.imul(h,ue)|0,i=i+Math.imul(h,le)|0,i=i+Math.imul(f,ue)|0,o=o+Math.imul(f,le)|0;var xe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(R,U),i=Math.imul(R,q),i=i+Math.imul(P,U)|0,o=Math.imul(P,q),r=r+Math.imul(N,z)|0,i=i+Math.imul(N,V)|0,i=i+Math.imul(F,z)|0,o=o+Math.imul(F,V)|0,r=r+Math.imul(T,G)|0,i=i+Math.imul(T,K)|0,i=i+Math.imul(M,G)|0,o=o+Math.imul(M,K)|0,r=r+Math.imul(k,Y)|0,i=i+Math.imul(k,J)|0,i=i+Math.imul(S,Y)|0,o=o+Math.imul(S,J)|0,r=r+Math.imul(x,Q)|0,i=i+Math.imul(x,ee)|0,i=i+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(w,ne)|0,i=i+Math.imul(w,re)|0,i=i+Math.imul(D,ne)|0,o=o+Math.imul(D,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,se)|0,i=i+Math.imul(y,oe)|0,o=o+Math.imul(y,se)|0,r=r+Math.imul(p,ue)|0,i=i+Math.imul(p,le)|0,i=i+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0,r=r+Math.imul(h,he)|0,i=i+Math.imul(h,fe)|0,i=i+Math.imul(f,he)|0,o=o+Math.imul(f,fe)|0;var _e=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(B,U),i=Math.imul(B,q),i=i+Math.imul(j,U)|0,o=Math.imul(j,q),r=r+Math.imul(R,z)|0,i=i+Math.imul(R,V)|0,i=i+Math.imul(P,z)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(F,G)|0,o=o+Math.imul(F,K)|0,r=r+Math.imul(T,Y)|0,i=i+Math.imul(T,J)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,J)|0,r=r+Math.imul(k,Q)|0,i=i+Math.imul(k,ee)|0,i=i+Math.imul(S,Q)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(x,ne)|0,i=i+Math.imul(x,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(w,oe)|0,i=i+Math.imul(w,se)|0,i=i+Math.imul(D,oe)|0,o=o+Math.imul(D,se)|0,r=r+Math.imul(v,ue)|0,i=i+Math.imul(v,le)|0,i=i+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(m,he)|0,o=o+Math.imul(m,fe)|0,r=r+Math.imul(h,pe)|0,i=i+Math.imul(h,me)|0,i=i+Math.imul(f,pe)|0,o=o+Math.imul(f,me)|0;var Ce=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,z),i=Math.imul(B,V),i=i+Math.imul(j,z)|0,o=Math.imul(j,V),r=r+Math.imul(R,G)|0,i=i+Math.imul(R,K)|0,i=i+Math.imul(P,G)|0,o=o+Math.imul(P,K)|0,r=r+Math.imul(N,Y)|0,i=i+Math.imul(N,J)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,J)|0,r=r+Math.imul(T,Q)|0,i=i+Math.imul(T,ee)|0,i=i+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(k,ne)|0,i=i+Math.imul(k,re)|0,i=i+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(x,oe)|0,i=i+Math.imul(x,se)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,r=r+Math.imul(w,ue)|0,i=i+Math.imul(w,le)|0,i=i+Math.imul(D,ue)|0,o=o+Math.imul(D,le)|0,r=r+Math.imul(v,he)|0,i=i+Math.imul(v,fe)|0,i=i+Math.imul(y,he)|0,o=o+Math.imul(y,fe)|0,r=r+Math.imul(p,pe)|0,i=i+Math.imul(p,me)|0,i=i+Math.imul(m,pe)|0,o=o+Math.imul(m,me)|0;var ke=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(B,G),i=Math.imul(B,K),i=i+Math.imul(j,G)|0,o=Math.imul(j,K),r=r+Math.imul(R,Y)|0,i=i+Math.imul(R,J)|0,i=i+Math.imul(P,Y)|0,o=o+Math.imul(P,J)|0,r=r+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(F,Q)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(T,ne)|0,i=i+Math.imul(T,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(k,oe)|0,i=i+Math.imul(k,se)|0,i=i+Math.imul(S,oe)|0,o=o+Math.imul(S,se)|0,r=r+Math.imul(x,ue)|0,i=i+Math.imul(x,le)|0,i=i+Math.imul(_,ue)|0,o=o+Math.imul(_,le)|0,r=r+Math.imul(w,he)|0,i=i+Math.imul(w,fe)|0,i=i+Math.imul(D,he)|0,o=o+Math.imul(D,fe)|0,r=r+Math.imul(v,pe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(y,pe)|0,o=o+Math.imul(y,me)|0;var Se=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,Y),i=Math.imul(B,J),i=i+Math.imul(j,Y)|0,o=Math.imul(j,J),r=r+Math.imul(R,Q)|0,i=i+Math.imul(R,ee)|0,i=i+Math.imul(P,Q)|0,o=o+Math.imul(P,ee)|0,r=r+Math.imul(N,ne)|0,i=i+Math.imul(N,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(T,oe)|0,i=i+Math.imul(T,se)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,r=r+Math.imul(k,ue)|0,i=i+Math.imul(k,le)|0,i=i+Math.imul(S,ue)|0,o=o+Math.imul(S,le)|0,r=r+Math.imul(x,he)|0,i=i+Math.imul(x,fe)|0,i=i+Math.imul(_,he)|0,o=o+Math.imul(_,fe)|0,r=r+Math.imul(w,pe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(D,pe)|0,o=o+Math.imul(D,me)|0;var Ae=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(B,Q),i=Math.imul(B,ee),i=i+Math.imul(j,Q)|0,o=Math.imul(j,ee),r=r+Math.imul(R,ne)|0,i=i+Math.imul(R,re)|0,i=i+Math.imul(P,ne)|0,o=o+Math.imul(P,re)|0,r=r+Math.imul(N,oe)|0,i=i+Math.imul(N,se)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,se)|0,r=r+Math.imul(T,ue)|0,i=i+Math.imul(T,le)|0,i=i+Math.imul(M,ue)|0,o=o+Math.imul(M,le)|0,r=r+Math.imul(k,he)|0,i=i+Math.imul(k,fe)|0,i=i+Math.imul(S,he)|0,o=o+Math.imul(S,fe)|0,r=r+Math.imul(x,pe)|0,i=i+Math.imul(x,me)|0,i=i+Math.imul(_,pe)|0,o=o+Math.imul(_,me)|0;var Te=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(j,ne)|0,o=Math.imul(j,re),r=r+Math.imul(R,oe)|0,i=i+Math.imul(R,se)|0,i=i+Math.imul(P,oe)|0,o=o+Math.imul(P,se)|0,r=r+Math.imul(N,ue)|0,i=i+Math.imul(N,le)|0,i=i+Math.imul(F,ue)|0,o=o+Math.imul(F,le)|0,r=r+Math.imul(T,he)|0,i=i+Math.imul(T,fe)|0,i=i+Math.imul(M,he)|0,o=o+Math.imul(M,fe)|0,r=r+Math.imul(k,pe)|0,i=i+Math.imul(k,me)|0,i=i+Math.imul(S,pe)|0,o=o+Math.imul(S,me)|0;var Me=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,oe),i=Math.imul(B,se),i=i+Math.imul(j,oe)|0,o=Math.imul(j,se),r=r+Math.imul(R,ue)|0,i=i+Math.imul(R,le)|0,i=i+Math.imul(P,ue)|0,o=o+Math.imul(P,le)|0,r=r+Math.imul(N,he)|0,i=i+Math.imul(N,fe)|0,i=i+Math.imul(F,he)|0,o=o+Math.imul(F,fe)|0,r=r+Math.imul(T,pe)|0,i=i+Math.imul(T,me)|0,i=i+Math.imul(M,pe)|0,o=o+Math.imul(M,me)|0;var Oe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ue),i=Math.imul(B,le),i=i+Math.imul(j,ue)|0,o=Math.imul(j,le),r=r+Math.imul(R,he)|0,i=i+Math.imul(R,fe)|0,i=i+Math.imul(P,he)|0,o=o+Math.imul(P,fe)|0,r=r+Math.imul(N,pe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(F,pe)|0,o=o+Math.imul(F,me)|0;var Ne=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,he),i=Math.imul(B,fe),i=i+Math.imul(j,he)|0,o=Math.imul(j,fe),r=r+Math.imul(R,pe)|0,i=i+Math.imul(R,me)|0,i=i+Math.imul(P,pe)|0,o=o+Math.imul(P,me)|0;var Fe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,r=Math.imul(B,pe),i=Math.imul(B,me),i=i+Math.imul(j,pe)|0,o=Math.imul(j,me);var Ie=(l+r|0)+((8191&i)<<13)|0;return l=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,u[0]=ge,u[1]=ve,u[2]=ye,u[3]=be,u[4]=we,u[5]=De,u[6]=Ee,u[7]=xe,u[8]=_e,u[9]=Ce,u[10]=ke,u[11]=Se,u[12]=Ae,u[13]=Te,u[14]=Me,u[15]=Oe,u[16]=Ne,u[17]=Fe,u[18]=Ie,0!==l&&(u[19]=l,n.length++),n};function g(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0,i+=s>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function v(e,t,n){var r=new y;return r.mulp(e,t,n)}function y(e,t){this.x=e,this.y=t}Math.imul||(m=p),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?m(this,e,t):r<63?p(this,e,t):r<1024?g(this,e,t):v(this,e,t),n},y.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},y.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=d(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&a}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,s=0|i.words[i.length-1],a=this._countBits(s);n=26-a,0!==n&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var u,l=r.length-i.length;if("mod"!==t){u=new o(null),u.length=l+1,u.words=new Array(u.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);d=Math.min(d/s|0,67108863),r._ishlnsubmul(i,d,f);while(0!==r.negative)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);u&&(u.words[f]=d)}return u&&u.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),s=new o(0),a=new o(0),u=new o(1),l=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++l;var c=n.clone(),h=t.clone();while(!t.isZero()){for(var f=0,d=1;0===(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0){t.iushrn(f);while(f-- >0)(i.isOdd()||s.isOdd())&&(i.iadd(c),s.isub(h)),i.iushrn(1),s.iushrn(1)}for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0){n.iushrn(p);while(p-- >0)(a.isOdd()||u.isOdd())&&(a.iadd(c),u.isub(h)),a.iushrn(1),u.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(u)):(n.isub(t),a.isub(i),u.isub(s))}return{a:a,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,s=new o(1),a=new o(0),u=n.clone();while(t.cmpn(1)>0&&n.cmpn(1)>0){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);while(l-- >0)s.isOdd()&&s.iadd(u),s.iushrn(1)}for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0){n.iushrn(h);while(h-- >0)a.isOdd()&&a.iadd(u),a.iushrn(1)}t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return i=0===t.cmpn(1)?s:a,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function D(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function k(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(D,w),D.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},D.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new D;else if("p224"===e)t=new E;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new _}return b[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),s=0;while(!i.isZero()&&0===i.andln(1))s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,l).cmp(u))c.redIAdd(u);var h=this.pow(c,i),f=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=s;while(0!==d.cmp(a)){for(var m=d,g=0;0!==m.cmp(a);g++)m=m.redSqr();r(g=0;i--){for(var c=t.words[i],h=l-1;h>=0;h--){var f=c>>h&1;s!==r[0]&&(s=this.sqr(s)),0!==f||0!==a?(a<<=1,a|=f,u++,(u===n||0===i&&0===h)&&(s=this.mul(s,r[a]),u=0,a=0)):u=0}l=26}return s},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new k(e)},i(k,C),k.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},k.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},k.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},k.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"0145":function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},"0184":function(e,t,n){"use strict";var r=n("da3e");function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var n=Math.min(this.buffer.length-this.bufferOff,e.length-t),r=0;r0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(i,n);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},i.prototype._pad=function(e,t){if(0===t)return!1;while(t0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=f;var d=function(e){function t(t){return e.call(this,o.ElementType.Root,t)||this}return r(t,e),t}(f);t.Document=d;var p=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?o.ElementType.Script:"style"===t?o.ElementType.Style:o.ElementType.Tag);var s=e.call(this,i,r)||this;return s.name=t,s.attribs=n,s}return r(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(f);function m(e){return o.isTag(e)}function g(e){return e.type===o.ElementType.CDATA}function v(e){return e.type===o.ElementType.Text}function y(e){return e.type===o.ElementType.Comment}function b(e){return e.type===o.ElementType.Directive}function w(e){return e.type===o.ElementType.Root}function D(e){return Object.prototype.hasOwnProperty.call(e,"children")}function E(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new l(e.data);else if(y(e))n=new c(e.data);else if(m(e)){var r=t?x(e.children):[],s=new p(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=s})),e["x-attribsNamespace"]&&(s["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(s["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=s}else if(g(e)){r=t?x(e.children):[];var a=new f(o.ElementType.CDATA,r);r.forEach((function(e){return e.parent=a})),n=a}else if(w(e)){r=t?x(e.children):[];var u=new d(r);r.forEach((function(e){return e.parent=u})),e["x-mode"]&&(u["x-mode"]=e["x-mode"]),n=u}else{if(!b(e))throw new Error("Not implemented yet: "+e.type);var D=new h(e.name,e.data);null!=e["x-name"]&&(D["x-name"]=e["x-name"],D["x-publicId"]=e["x-publicId"],D["x-systemId"]=e["x-systemId"]),n=D}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,n}function x(e){for(var t=e.map((function(e){return E(e,!0)})),n=1;nu)r(a,n=t[u++])&&(~o(l,n)||l.push(n));return l}},"03e2":function(e,t,n){"use strict";var r=n("74b3"),i=n("d779"),o=n("0f22"),s=n("76da");function a(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}var u=function(e){e=e||{};var t,n=e.SecretId,r=e.SecretKey,o=e.KeyTime,s=(e.method||e.Method||"get").toLowerCase(),u=w(e.Query||e.params||{}),l=w(e.Headers||e.headers||{}),c=e.Key||"";if(e.UseRawKey?t=e.Pathname||e.pathname||"/"+c:(t=e.Pathname||e.pathname||c,0!==t.indexOf("/")&&(t="/"+t)),!n)throw new Error("missing param SecretId");if(!r)throw new Error("missing param SecretKey");var h=function(e,t){var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(t?a(r).toLowerCase():r);return n.sort((function(e,t){return e=e.toLowerCase(),t=t.toLowerCase(),e===t?0:e>t?1:-1}))},f=function(e){var t,n,r,i=[],o=h(e);for(t=0;tparseInt(t[n])?1:-1;return 0},t=function(t){var n=(t.match(/Chrome\/([.\d]+)/)||[])[1],r=(t.match(/QBCore\/([.\d]+)/)||[])[1],i=(t.match(/QQBrowser\/([.\d]+)/)||[])[1],o=n&&e(n,"53.0.2785.116")<0&&r&&e(r,"3.53.991.400")<0&&i&&e(i,"9.0.2524.400")<=0||!1;return o};return t(navigator&&navigator.userAgent)}(),g=function(e,t,n,r,i){var o;if(e.slice?o=e.slice(t,n):e.mozSlice?o=e.mozSlice(t,n):e.webkitSlice&&(o=e.webkitSlice(t,n)),r&&m){var s=new FileReader;s.onload=function(e){o=null,i(new Blob([s.result]))},s.readAsArrayBuffer(o)}else i(o)},v=function(e,t,n,r){n=n||f,e?"string"===typeof t?n(B.md5(t,!0)):Blob&&t instanceof Blob?B.getFileMd5(t,(function(e,t){n(t)}),r):n():n()},y=1048576,b=function(e,t,n){var i=e.size,o=0,s=r.getCtx(),a=function(r){if(r>=i){var u=s.digest("hex");t(null,u)}else{var l=Math.min(i,r+y);B.fileSlice(e,r,l,!1,(function(e){p(e,(function(t){e=null,s=s.update(t,!0),o+=t.length,t=null,n&&n({loaded:o,total:i,percent:Math.round(o/i*1e4)/1e4}),a(r+y)}))}))}};a(0)};function w(e){return S(e,(function(e){return"object"===typeof e&&null!==e?w(e):e}))}function D(e,t,n){return e&&t in e?e[t]:n}function E(e,t){return k(t,(function(n,r){e[r]=t[r]})),e}function x(e){return e instanceof Array}function _(e,t){for(var n=!1,r=0;r-1||"deleteMultipleObject"===e||"multipartList"===e||"listObjectVersions"===e){if(!n)return"Bucket";if(!r)return"Region"}else if(e.indexOf("Object")>-1||e.indexOf("multipart")>-1||"sliceUploadFile"===e||"abortUploadTask"===e){if(!n)return"Bucket";if(!r)return"Region";if(!i)return"Key"}return!1},N=function(e,t){if(t=E({},t),"getAuth"!==e&&"getV4Auth"!==e&&"getObjectUrl"!==e){var n=t.Headers||{};if(t&&"object"===typeof t){(function(){for(var e in t)t.hasOwnProperty(e)&&e.indexOf("x-cos-")>-1&&(n[e]=t[e])})();var r={"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-traffic-limit":"TrafficLimit","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext"};B.each(r,(function(e,r){void 0!==t[e]&&(n[r]=t[e])})),t.Headers=d(n)}}return t},F=function(e,t){return function(n,r){var i=this;"function"===typeof n&&(r=n,n={}),n=N(e,n);var o=function(e){return e&&e.headers&&(e.headers["x-cos-request-id"]&&(e.RequestId=e.headers["x-cos-request-id"]),e.headers["x-cos-version-id"]&&(e.VersionId=e.headers["x-cos-version-id"]),e.headers["x-cos-delete-marker"]&&(e.DeleteMarker=e.headers["x-cos-delete-marker"])),e},s=function(e,t){r&&r(o(e),o(t))},a=function(){if("getService"!==e&&"abortUploadTask"!==e){var t=O(e,n);if(t)return"missing param "+t;if(n.Region){if(n.Region.indexOf("cos.")>-1)return'param Region should not be start with "cos."';if(!/^([a-z\d-]+)$/.test(n.Region))return"Region format error.";i.options.CompatibilityMode||-1!==n.Region.indexOf("-")||"yfb"===n.Region||"default"===n.Region||console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(n.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(n.Bucket))if(n.AppId)n.Bucket=n.Bucket+"-"+n.AppId;else{if(!i.options.AppId)return'Bucket should format as "test-1250000000".';n.Bucket=n.Bucket+"-"+i.options.AppId}n.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete n.AppId)}!i.options.UseRawKey&&n.Key&&"/"===n.Key.substr(0,1)&&(n.Key=n.Key.substr(1))}},u=a(),l="getAuth"===e||"getObjectUrl"===e;if(Promise&&!l&&!r)return new Promise((function(e,o){if(r=function(t,n){t?o(t):e(n)},u)return s(B.error(new Error(u)));t.call(i,n,s)}));if(u)return s(B.error(new Error(u)));var c=t.call(i,n,s);return l?c:void 0}},I=function(e,t){var n,r,i=this,o=0,s=0,a=Date.now();function u(){if(r=0,t&&"function"===typeof t){n=Date.now();var i,u=Math.max(0,Math.round((s-o)/((n-a)/1e3)*100)/100)||0;i=0===s&&0===e?1:Math.floor(s/e*100)/100||0,a=n,o=s;try{t({loaded:s,total:e,speed:u,percent:i})}catch(l){}}}return function(t,n){if(t&&(s=t.loaded,e=t.total),n)clearTimeout(r),u();else{if(r)return;r=setTimeout(u,i.options.ProgressInterval)}}},R=function(e,t,n){var r;"string"===typeof t.Body?t.Body=new Blob([t.Body],{type:"text/plain"}):t.Body instanceof ArrayBuffer&&(t.Body=new Blob([t.Body])),t.Body&&(t.Body instanceof Blob||"[object File]"===t.Body.toString()||"[object Blob]"===t.Body.toString())?(r=t.Body.size,t.ContentLength=r,n(null,r)):n(B.error(new Error("params body format error, Only allow File|Blob|String.")))},P=function(e){return Date.now()+(e||0)},L=function(e,t){var n=e;return e.message=e.message||null,"string"===typeof t?(e.error=t,e.message=t):"object"===typeof t&&null!==t&&(E(e,t),(t.code||t.name)&&(e.code=t.code||t.name),t.message&&(e.message=t.message),t.stack&&(e.stack=t.stack)),"function"===typeof Object.defineProperty&&(Object.defineProperty(e,"name",{writable:!0,enumerable:!1}),Object.defineProperty(e,"message",{enumerable:!0})),e.name=t&&t.name||e.name||e.code||"Error",e.code||(e.code=e.name),e.error||(e.error=w(n)),e},B={noop:f,formatParams:N,apiWrapper:F,xml2json:o,json2xml:s,md5:r,clearKey:d,fileSlice:g,getBodyMd5:v,getFileMd5:b,binaryBase64:T,extend:E,isArray:x,isInArray:_,makeArray:C,each:k,map:S,filter:A,clone:w,attr:D,uuid:M,camSafeUrlEncode:a,throttleOnProgress:I,getFileSize:R,getSkewTime:P,error:L,getAuth:u,parseSelectPayload:h,isBrowser:!0};e.exports=B},"051a":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var i=r(n("f5f2")),o=c(i.default),s=h(o);t.encodeXML=b(o);var a=r(n("c560")),u=c(a.default),l=h(u);function c(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function h(e){for(var t=[],n=[],r=0,i=Object.keys(e);r1?d(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}function m(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(f,p)}}var g=new RegExp(s.source+"|"+f.source,"g");function v(e){return e.replace(g,p)}function y(e){return e.replace(s,p)}function b(e){return function(t){return t.replace(g,(function(t){return e[t]||p(t)}))}}t.escape=v,t.escapeUTF8=y},"051b":function(e,t,n){var r=n("1a14"),i=n("10db");e.exports=n("0bad")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"057f":function(e,t,n){var r=n("fc6a"),i=n("241c").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return i(e)}catch(t){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==o.call(e)?a(e):i(r(e))}},"05f0":function(e,t,n){"use strict";var r=n("d113").codes.ERR_INVALID_OPT_VALUE;function i(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}function o(e,t,n,o){var s=i(t,o,n);if(null!=s){if(!isFinite(s)||Math.floor(s)!==s||s<0){var a=o?n:"highWaterMark";throw new r(a,s)}return Math.floor(s)}return e.objectMode?16:16384}e.exports={getHighWaterMark:o}},"05f5":function(e,t,n){var r=n("7a41"),i=n("ef08").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"0632":function(e,t,n){ /*! safe-buffer. MIT License. Feross Aboukhadijeh */ -var r=n("b639"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=s),s.prototype=Object.create(i.prototype),o(i,s),s.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},s.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},"06cf":function(e,t,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),s=n("fc6a"),a=n("c04e"),u=n("5135"),l=n("0cfb"),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=s(e),t=a(t,!0),l)try{return c(e,t)}catch(n){}if(u(e,t))return o(!i.f.call(e,t),e[t])}},"072d":function(e,t,n){"use strict";var r=n("0bad"),i=n("9876"),o=n("fed5"),s=n("1917"),a=n("0983"),u=n("9fbb"),l=Object.assign;e.exports=!l||n("4b8b")((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r}))?function(e,t){var n=a(e),l=arguments.length,c=1,h=o.f,f=s.f;while(l>c){var d,p=u(arguments[c++]),m=h?i(p).concat(h(p)):i(p),g=m.length,v=0;while(g>v)d=m[v++],r&&!f.call(p,d)||(n[d]=p[d])}return n}:l},"0780":function(e,t,n){"use strict";const r=3;class i{constructor(e){this.length=0,this.entries=[],this.treeAdapter=e,this.bookmark=null}_getNoahArkConditionCandidates(e){const t=[];if(this.length>=r){const n=this.treeAdapter.getAttrList(e).length,r=this.treeAdapter.getTagName(e),o=this.treeAdapter.getNamespaceURI(e);for(let e=this.length-1;e>=0;e--){const s=this.entries[e];if(s.type===i.MARKER_ENTRY)break;const a=s.element,u=this.treeAdapter.getAttrList(a),l=this.treeAdapter.getTagName(a)===r&&this.treeAdapter.getNamespaceURI(a)===o&&u.length===n;l&&t.push({idx:e,attrs:u})}}return t.length=r-1;e--)this.entries.splice(t[e].idx,1),this.length--}}insertMarker(){this.entries.push({type:i.MARKER_ENTRY}),this.length++}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.push({type:i.ELEMENT_ENTRY,element:e,token:t}),this.length++}insertElementAfterBookmark(e,t){let n=this.length-1;for(;n>=0;n--)if(this.entries[n]===this.bookmark)break;this.entries.splice(n+1,0,{type:i.ELEMENT_ENTRY,element:e,token:t}),this.length++}removeEntry(e){for(let t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}clearToLastMarker(){while(this.length){const e=this.entries.pop();if(this.length--,e.type===i.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(e){for(let t=this.length-1;t>=0;t--){const n=this.entries[t];if(n.type===i.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(n.element)===e)return n}return null}getElementEntry(e){for(let t=this.length-1;t>=0;t--){const n=this.entries[t];if(n.type===i.ELEMENT_ENTRY&&n.element===e)return n}return null}}i.MARKER_ENTRY="MARKER_ENTRY",i.ELEMENT_ENTRY="ELEMENT_ENTRY",e.exports=i},"07f2":function(e,t,n){"use strict";var r=n("c3c0"),i=n("6eed");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(o,i),e.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},"087f":function(e,t,n){var r=n("3fb5"),i=n("b672"),o=n("8707").Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function u(){this.init(),this._w=a,i.call(this,64,56)}function l(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function h(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t=this._w,n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,a=0|this._e,u=0;u<16;++u)t[u]=e.readInt32BE(4*u);for(;u<80;++u)t[u]=t[u-3]^t[u-8]^t[u-14]^t[u-16];for(var f=0;f<80;++f){var d=~~(f/20),p=l(n)+h(d,r,i,o)+a+t[f]+s[d]|0;a=o,o=i,i=c(r),r=n,n=p}this._a=n+this._a|0,this._b=r+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=a+this._e|0},u.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=u},"0960":function(e,t,n){e.exports=n("b19a")},"0983":function(e,t,n){var r=n("c901");e.exports=function(e){return Object(r(e))}},"09dc":function(e,t,n){"use strict";e.exports=c;var r=n("9d8a").codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,s=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=r.ERR_TRANSFORM_WITH_LENGTH_0,u=n("e666");function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length=0;i--)t===r[i]&&r.splice(i,1)},e.emit=function(e,t){for(var r=n(e).map((function(e){return e})),i=0;il)u.call(e,s=a[l++])&&t.push(s)}return t}},"0ae3":function(e,t,n){"use strict";e.exports=i;var r=n("09dc");function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n("3fb5")(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},"0b99":function(e,t,n){"use strict";var r=n("19fa")(!0);n("393a")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},"0bad":function(e,t,n){e.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0be8":function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},"0bfb":function(e,t,n){var r,i,o,s,a=!1,u=!1,l=n("115b")("parse"),c=n("c415");function h(e,t){var n,a;t||(t={}),r=!!t.comments,o=!!t.position,i=0,s=Array.isArray(e)?e.slice():c(e);var h,f=[];u&&(n=Date.now());while(h=d())a=D(h),a&&f.push(a);return u&&l("ran in",Date.now()-n+"ms"),{type:"stylesheet",stylesheet:{rules:f}}}function f(e,t){var n;t||(t={});for(var r=["type","name","value"],i={},s=0;s]*>)/g,a=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,u,l,c){var h=n+e.length,f=u.length,d=a;return void 0!==l&&(l=r(l),d=s),o.call(c,d,(function(r,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(h);case"<":s=l[o.slice(1,-1)];break;default:var a=+o;if(0===a)return r;if(a>f){var c=i(a/10);return 0===c?r:c<=f?void 0===u[c-1]?o.charAt(1):u[c-1]+o.charAt(1):r}s=u[a-1]}return void 0===s?"":s}))}},"0cbb":function(e,t,n){"use strict";var r,i=t,o=n("7d92"),s=n("4136"),a=n("f3a3"),u=a.assert;function l(e){"short"===e.type?this.curve=new s.short(e):"edwards"===e.type?this.curve=new s.edwards(e):this.curve=new s.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,u(this.g.validate(),"Invalid curve"),u(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var n=new l(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=l,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n("409b")}catch(h){r=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},"0ccb":function(e,t,n){var r=n("50c4"),i=n("1148"),o=n("1d80"),s=Math.ceil,a=function(e){return function(t,n,a){var u,l,c=String(o(t)),h=c.length,f=void 0===a?" ":String(a),d=r(n);return d<=h||""==f?c:(u=d-h,l=i.call(f,s(u/f.length)),l.length>u&&(l=l.slice(0,u)),e?c+l:l+c)}};e.exports={start:a(!1),end:a(!0)}},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d3b":function(e,t,n){var r=n("d039"),i=n("b622"),o=n("c430"),s=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"0da4":function(e,t,n){"use strict";var r=n("da3e"),i=n("3fb5"),o={};function s(e){r.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t=0;n--){var i=r[n][2];(!i||i+a=0;i--){var o=r[i];o[0]===e&&o[1]===t&&r.splice(i,1)}r.unshift([e,t,Math.round(Date.now()/1e3)]),r.length>n&&r.splice(n),h()}},removeUploadId:function(e){c.call(this),delete f.using[e];for(var t=r.length-1;t>=0;t--)r[t][1]===e&&r.splice(t,1);h()}};e.exports=f},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0e15":function(e,t,n){var r=n("597f");e.exports=function(e,t,n){return void 0===n?r(e,t,!1):r(e,n,!1!==t)}},"0e54":function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return r=e[Symbol.iterator](),r.next.bind(r)}function o(e){var t={exports:{}};return e(t,t.exports),t.exports}var s=o((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function n(t){e.exports.defaults=t}e.exports={defaults:t(),getDefaults:t,changeDefaults:n}})),a=/[&<>"']/,u=/[&<>"']/g,l=/[<>"']|&(?!#?\w+;)/,c=/[<>"']|&(?!#?\w+;)/g,h={"&":"&","<":"<",">":">",'"':""","'":"'"},f=function(e){return h[e]};function d(e,t){if(t){if(a.test(e))return e.replace(u,f)}else if(l.test(e))return e.replace(c,f);return e}var p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function m(e){return e.replace(p,(function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var g=/(^|[^\[])\^/g;function v(e,t){e=e.source||e,t=t||"";var n={replace:function(t,r){return r=r.source||r,r=r.replace(g,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n}var y=/[^\w:]/g,b=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function w(e,t,n){if(e){var r;try{r=decodeURIComponent(m(n)).replace(y,"").toLowerCase()}catch(i){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!b.test(n)&&(n=C(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(i){return null}return n}var D={},E=/^[^:]+:\/*[^/]*$/,x=/^([^:]+:)[\s\S]*$/,_=/^([^:]+:\/*[^/]*)[\s\S]*$/;function C(e,t){D[" "+e]||(E.test(e)?D[" "+e]=e+"/":D[" "+e]=T(e,"/",!0)),e=D[" "+e];var n=-1===e.indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(x,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(_,"$1")+t:e+t}var k={exec:function(){}};function S(e){for(var t,n,r=1;r=0&&"\\"===n[i])r=!r;return r?"|":" |"})),r=n.split(/ \|/),i=0;if(r.length>t)r.splice(t);else while(r.length1)1&t&&(n+=e),t>>=1,e+=e;return n+e}var F={escape:d,unescape:m,edit:v,cleanUrl:w,resolveUrl:C,noopTest:k,merge:S,splitCells:A,rtrim:T,findClosingBracket:M,checkSanitizeDeprecation:O,repeatString:N},I=s.defaults,P=F.rtrim,R=F.splitCells,L=F.escape,B=F.findClosingBracket;function j(e,t,n){var r=t.href,i=t.title?L(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:i,text:o}:{type:"image",raw:n,href:r,title:i,text:L(o)}}function $(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);if(null===t)return e;var n=t[0];return n.length>=r.length?e.slice(r.length):e})).join("\n")}var q=function(){function e(e){this.options=e||I}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:P(n,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=$(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:r}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var r=P(n,"#");this.options.pedantic?n=r.trim():r&&!/ $/.test(r)||(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n}}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:R(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var r,i=n.align.length;for(r=0;r ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var n,r,i,o,s,a,u,l,c,h=t[0],f=t[2],d=f.length>1,p={type:"list",raw:h,ordered:d,start:d?+f.slice(0,-1):"",loose:!1,items:[]},m=t[0].match(this.rules.block.item),g=!1,v=m.length;i=this.rules.block.listItemStart.exec(m[0]);for(var y=0;yi[1].length:o[1].length>=i[0].length||o[1].length>3){m.splice(y,2,m[y]+(!this.options.pedantic&&o[1].length/i.test(r[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):L(r[0]):r[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;var r=P(n.slice(0,-1),"\\");if((n.length-r.length)%2===0)return}else{var i=B(t[2],"()");if(i>-1){var o=0===t[0].indexOf("!")?5:4,s=o+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,s).trim(),t[3]=""}}var a=t[2],u="";if(this.options.pedantic){var l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);l&&(a=l[1],u=l[3])}else u=t[3]?t[3].slice(1,-1):"";return a=a.trim(),/^$/.test(n)?a.slice(1):a.slice(1,-1)),j(t,{href:a?a.replace(this.rules.inline._escapes,"$1"):a,title:u?u.replace(this.rules.inline._escapes,"$1"):u},t[0])}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(r=t[r.toLowerCase()],!r||!r.href){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return j(n,r,n[0])}},t.emStrong=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.emStrong.lDelim.exec(e);if(r&&(!r[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3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88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\u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uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var i=r[1]||r[2]||"";if(!i||i&&(""===n||this.rules.inline.punctuation.exec(n))){var o,s,a=r[0].length-1,u=a,l=0,c="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;c.lastIndex=0,t=t.slice(-1*e.length+a);while(null!=(r=c.exec(t)))if(o=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],o)if(s=o.length,r[3]||r[4])u+=s;else if(!((r[5]||r[6])&&a%3)||(a+s)%3){if(u-=s,!(u>0)){if(u+l-s<=0&&!t.slice(c.lastIndex).match(c)&&(s=Math.min(s,s+u+l)),Math.min(a,s)%2)return{type:"em",raw:e.slice(0,a+r.index+s+1),text:e.slice(1,a+r.index+s)};if(Math.min(a,s)%2===0)return{type:"strong",raw:e.slice(0,a+r.index+s+1),text:e.slice(2,a+r.index+s-1)}}}else l+=s}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return r&&i&&(n=n.substring(1,n.length-1)),n=L(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2]}},t.autolink=function(e,t){var n,r,i=this.rules.inline.autolink.exec(e);if(i)return"@"===i[2]?(n=L(this.options.mangle?t(i[1]):i[1]),r="mailto:"+n):(n=L(i[1]),r=n),{type:"link",raw:i[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,i;if("@"===n[2])r=L(this.options.mangle?t(n[0]):n[0]),i="mailto:"+r;else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);r=L(n[0]),i="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}},t.inlineText=function(e,t,n){var r,i=this.rules.inline.text.exec(e);if(i)return r=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):L(i[0]):i[0]:L(this.options.smartypants?n(i[0]):i[0]),{type:"text",raw:i[0],text:r}},e}(),U=F.noopTest,H=F.edit,z=F.merge,V={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:U,table:U,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};V.def=H(V.def).replace("label",V._label).replace("title",V._title).getRegex(),V.bullet=/(?:[*+-]|\d{1,9}[.)])/,V.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,V.item=H(V.item,"gm").replace(/bull/g,V.bullet).getRegex(),V.listItemStart=H(/^( *)(bull) */).replace("bull",V.bullet).getRegex(),V.list=H(V.list).replace(/bull/g,V.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+V.def.source+")").getRegex(),V._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",V._comment=/|$)/,V.html=H(V.html,"i").replace("comment",V._comment).replace("tag",V._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),V.paragraph=H(V._paragraph).replace("hr",V.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",V._tag).getRegex(),V.blockquote=H(V.blockquote).replace("paragraph",V.paragraph).getRegex(),V.normal=z({},V),V.gfm=z({},V.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),V.gfm.nptable=H(V.gfm.nptable).replace("hr",V.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",V._tag).getRegex(),V.gfm.table=H(V.gfm.table).replace("hr",V.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",V._tag).getRegex(),V.pedantic=z({},V.normal,{html:H("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",V._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:U,paragraph:H(V.normal._paragraph).replace("hr",V.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",V.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var W={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:U,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_]*?\*[^_]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^*]*?\_[^*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:U,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};W.punctuation=H(W.punctuation).replace(/punctuation/g,W._punctuation).getRegex(),W.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,W.escapedEmSt=/\\\*|\\_/g,W._comment=H(V._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),W.emStrong.lDelim=H(W.emStrong.lDelim).replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimAst=H(W.emStrong.rDelimAst,"g").replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimUnd=H(W.emStrong.rDelimUnd,"g").replace(/punct/g,W._punctuation).getRegex(),W._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,W._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,W._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,W.autolink=H(W.autolink).replace("scheme",W._scheme).replace("email",W._email).getRegex(),W._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,W.tag=H(W.tag).replace("comment",W._comment).replace("attribute",W._attribute).getRegex(),W._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,W._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,W._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,W.link=H(W.link).replace("label",W._label).replace("href",W._href).replace("title",W._title).getRegex(),W.reflink=H(W.reflink).replace("label",W._label).getRegex(),W.reflinkSearch=H(W.reflinkSearch,"g").replace("reflink",W.reflink).replace("nolink",W.nolink).getRegex(),W.normal=z({},W),W.pedantic=z({},W.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:H(/^!?\[(label)\]\((.*?)\)/).replace("label",W._label).getRegex(),reflink:H(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",W._label).getRegex()}),W.gfm=z({},W.normal,{escape:H(W.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var ee=function(){function e(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||K,this.options.tokenizer=this.options.tokenizer||new q,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:X.normal,inline:Y.normal};this.options.pedantic?(t.block=X.pedantic,t.inline=Y.pedantic):this.options.gfm&&(t.block=X.gfm,this.options.breaks?t.inline=Y.breaks:t.inline=Y.gfm),this.tokenizer.rules=t}e.lex=function(t,n){var r=new e(n);return r.lex(t)},e.lexInline=function(t,n){var r=new e(n);return r.inlineTokens(t)};var n=e.prototype;return n.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},n.blockTokens=function(e,t,n){var r,i,o,s;void 0===t&&(t=[]),void 0===n&&(n=!0),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));while(e)if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),r.type&&t.push(r);else if(r=this.tokenizer.code(e))e=e.substring(r.raw.length),s=t[t.length-1],s&&"paragraph"===s.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.text):t.push(r);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.nptable(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),t.push(r);else if(r=this.tokenizer.list(e)){for(e=e.substring(r.raw.length),o=r.items.length,i=0;i0)while(null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(l)))c.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,s.index)+"["+J("a",s[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}while(null!=(s=this.tokenizer.rules.inline.blockSkip.exec(l)))l=l.slice(0,s.index)+"["+J("a",s[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while(null!=(s=this.tokenizer.rules.inline.escapedEmSt.exec(l)))l=l.slice(0,s.index)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);while(e)if(a||(u=""),a=!1,i=this.tokenizer.escape(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.tag(e,n,r)){e=e.substring(i.raw.length),n=i.inLink,r=i.inRawBlock;var h=t[t.length-1];h&&"text"===i.type&&"text"===h.type?(h.raw+=i.raw,h.text+=i.text):t.push(i)}else if(i=this.tokenizer.link(e))e=e.substring(i.raw.length),"link"===i.type&&(i.tokens=this.inlineTokens(i.text,[],!0,r)),t.push(i);else if(i=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(i.raw.length);var f=t[t.length-1];"link"===i.type?(i.tokens=this.inlineTokens(i.text,[],!0,r),t.push(i)):f&&"text"===i.type&&"text"===f.type?(f.raw+=i.raw,f.text+=i.text):t.push(i)}else if(i=this.tokenizer.emStrong(e,l,u))e=e.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),t.push(i);else if(i=this.tokenizer.codespan(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.br(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.del(e))e=e.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),t.push(i);else if(i=this.tokenizer.autolink(e,Q))e=e.substring(i.raw.length),t.push(i);else if(n||!(i=this.tokenizer.url(e,Q))){if(i=this.tokenizer.inlineText(e,r,Z))e=e.substring(i.raw.length),"_"!==i.raw.slice(-1)&&(u=i.raw.slice(-1)),a=!0,o=t[t.length-1],o&&"text"===o.type?(o.raw+=i.raw,o.text+=i.text):t.push(i);else if(e){var d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}throw new Error(d)}}else e=e.substring(i.raw.length),t.push(i);return t},t(e,null,[{key:"rules",get:function(){return{block:X,inline:Y}}}]),e}(),te=s.defaults,ne=F.cleanUrl,re=F.escape,ie=function(){function e(e){this.options=e||te}var t=e.prototype;return t.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return e=e.replace(/\n$/,"")+"\n",r?'
'+(n?e:re(e,!0))+"
\n":"
"+(n?e:re(e,!0))+"
\n"},t.blockquote=function(e){return"
\n"+e+"
\n"},t.html=function(e){return e},t.heading=function(e,t,n,r){return this.options.headerIds?"'+e+"\n":""+e+"\n"},t.hr=function(){return this.options.xhtml?"
\n":"
\n"},t.list=function(e,t,n){var r=t?"ol":"ul",i=t&&1!==n?' start="'+n+'"':"";return"<"+r+i+">\n"+e+"\n"},t.listitem=function(e){return"
  • "+e+"
  • \n"},t.checkbox=function(e){return" "},t.paragraph=function(e){return"

    "+e+"

    \n"},t.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},t.tablerow=function(e){return"\n"+e+"\n"},t.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' align="'+t.align+'">':"<"+n+">";return r+e+"\n"},t.strong=function(e){return""+e+""},t.em=function(e){return""+e+""},t.codespan=function(e){return""+e+""},t.br=function(){return this.options.xhtml?"
    ":"
    "},t.del=function(e){return""+e+""},t.link=function(e,t,n){if(e=ne(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r='",r},t.image=function(e,t,n){if(e=ne(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r=''+n+'":">",r},t.text=function(e){return e},e}(),oe=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),se=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{r++,n=e+"-"+r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),ae=s.defaults,ue=F.unescape,le=function(){function e(e){this.options=e||ae,this.options.renderer=this.options.renderer||new ie,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new oe,this.slugger=new se}e.parse=function(t,n){var r=new e(n);return r.parse(t)},e.parseInline=function(t,n){var r=new e(n);return r.parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var n,r,i,o,s,a,u,l,c,h,f,d,p,m,g,v,y,b,w="",D=e.length;for(n=0;n0&&"text"===g.tokens[0].type?(g.tokens[0].text=b+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=b+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:b}):m+=b),m+=this.parse(g.tokens,p),c+=this.renderer.listitem(m,y,v);w+=this.renderer.list(c,f,d);continue;case"html":w+=this.renderer.html(h.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":c=h.tokens?this.parseInline(h.tokens):h.text;while(n+1An error occurred:

    "+fe(u.message+"",!0)+"
    ";throw u}}ge.options=ge.setOptions=function(e){return ce(ge.defaults,e),pe(ge.defaults),ge},ge.getDefaults=de,ge.defaults=me,ge.use=function(e){var t=ce({},e);if(e.renderer&&function(){var n=ge.defaults.renderer||new ie,r=function(t){var r=n[t];n[t]=function(){for(var i=arguments.length,o=new Array(i),s=0;sAn error occurred:

    "+fe(r.message+"",!0)+"
    ";throw r}},ge.Parser=le,ge.parser=le.parse,ge.Renderer=ie,ge.TextRenderer=oe,ge.Lexer=ee,ge.lexer=ee.lex,ge.Tokenizer=q,ge.Slugger=se,ge.parse=ge;var ve=ge;return ve}))},"0edf":function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n":"child","<":"parent","~":"sibling","+":"adjacent"},l={"#":["id","equals"],".":["class","element"]},c=new Set(["has","not","matches","is","host","host-context"]),h=new Set(r(["descendant"],Object.keys(u).map((function(e){return u[e]})))),f=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function d(e){return h.has(e.type)}t.isTraversal=d;var p=new Set(["contains","icontains"]),m=new Set(['"',"'"]);function g(e,t,n){var r=parseInt(t,16)-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)}function v(e){return e.replace(o,g)}function y(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function b(e,t){var n=[],r=w(n,""+e,t,0);if(r0&&d(g[g.length-1]))throw new Error("Did not expect successive traversals.")}x(0);while(""!==t){var k=t.charAt(r);if(y(k))b=!0,x(1);else if(k in u)C(),g.push({type:u[k]}),b=!1,x(1);else if(","===k){if(0===g.length)throw new Error("Empty sub-selector");e.push(g),g=[],b=!1,x(1)}else if("/"===k&&"*"===t.charAt(r+1)){var S=t.indexOf("*/",r+2);if(S<0)throw new Error("Comment was not terminated");r=S+2}else if(b&&(C(),g.push({type:"descendant"}),b=!1),k in l){var A=l[k],T=A[0],M=A[1];g.push({type:"attribute",name:T,action:M,value:E(1),namespace:null,ignoreCase:!!n.xmlMode&&null})}else if("["===k){var O=t.slice(r+1).match(s);if(!O)throw new Error("Malformed attribute selector: "+t.slice(r));var N=O[0],F=O[1],I=void 0===F?null:F,P=O[2],R=O[3],L=O[5],B=void 0===L?"":L,j=O[6],$=void 0===j?B:j,q=O[7];r+=N.length+1;var U=v(P);(null!==(o=n.lowerCaseAttributeNames)&&void 0!==o?o:!n.xmlMode)&&(U=U.toLowerCase());var H=q?"i"===q.toLowerCase():n.xmlMode?null:f.has(U),z={type:"attribute",name:U,action:a[R],value:v($),namespace:I,ignoreCase:H};g.push(z)}else if(":"===k){if(":"===t.charAt(r+1)){g.push({type:"pseudo-element",name:E(2).toLowerCase()});continue}var V=E(1).toLowerCase(),W=null;if("("===t.charAt(r))if(c.has(V)){if(m.has(t.charAt(r+1)))throw new Error("Pseudo-selector "+V+" cannot be quoted");if(W=[],r=w(W,t,n,r+1),")"!==t.charAt(r))throw new Error("Missing closing parenthesis in :"+V+" ("+t+")");r+=1}else{r+=1;for(var G=r,K=1;K>0&&r0&&0===t.length)throw new Error("Empty sub-selector");e.push(t)}t.default=b},"0efe":function(e,t,n){"use strict";const r=t.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};t.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},t.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const i=t.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};t.SPECIAL_ELEMENTS={[r.HTML]:{[i.ADDRESS]:!0,[i.APPLET]:!0,[i.AREA]:!0,[i.ARTICLE]:!0,[i.ASIDE]:!0,[i.BASE]:!0,[i.BASEFONT]:!0,[i.BGSOUND]:!0,[i.BLOCKQUOTE]:!0,[i.BODY]:!0,[i.BR]:!0,[i.BUTTON]:!0,[i.CAPTION]:!0,[i.CENTER]:!0,[i.COL]:!0,[i.COLGROUP]:!0,[i.DD]:!0,[i.DETAILS]:!0,[i.DIR]:!0,[i.DIV]:!0,[i.DL]:!0,[i.DT]:!0,[i.EMBED]:!0,[i.FIELDSET]:!0,[i.FIGCAPTION]:!0,[i.FIGURE]:!0,[i.FOOTER]:!0,[i.FORM]:!0,[i.FRAME]:!0,[i.FRAMESET]:!0,[i.H1]:!0,[i.H2]:!0,[i.H3]:!0,[i.H4]:!0,[i.H5]:!0,[i.H6]:!0,[i.HEAD]:!0,[i.HEADER]:!0,[i.HGROUP]:!0,[i.HR]:!0,[i.HTML]:!0,[i.IFRAME]:!0,[i.IMG]:!0,[i.INPUT]:!0,[i.LI]:!0,[i.LINK]:!0,[i.LISTING]:!0,[i.MAIN]:!0,[i.MARQUEE]:!0,[i.MENU]:!0,[i.META]:!0,[i.NAV]:!0,[i.NOEMBED]:!0,[i.NOFRAMES]:!0,[i.NOSCRIPT]:!0,[i.OBJECT]:!0,[i.OL]:!0,[i.P]:!0,[i.PARAM]:!0,[i.PLAINTEXT]:!0,[i.PRE]:!0,[i.SCRIPT]:!0,[i.SECTION]:!0,[i.SELECT]:!0,[i.SOURCE]:!0,[i.STYLE]:!0,[i.SUMMARY]:!0,[i.TABLE]:!0,[i.TBODY]:!0,[i.TD]:!0,[i.TEMPLATE]:!0,[i.TEXTAREA]:!0,[i.TFOOT]:!0,[i.TH]:!0,[i.THEAD]:!0,[i.TITLE]:!0,[i.TR]:!0,[i.TRACK]:!0,[i.UL]:!0,[i.WBR]:!0,[i.XMP]:!0},[r.MATHML]:{[i.MI]:!0,[i.MO]:!0,[i.MN]:!0,[i.MS]:!0,[i.MTEXT]:!0,[i.ANNOTATION_XML]:!0},[r.SVG]:{[i.TITLE]:!0,[i.FOREIGN_OBJECT]:!0,[i.DESC]:!0}}},"0f22":function(e,t,n){var r=n("29d8").DOMParser,i=function(){this.version="1.3.5";var e={mergeCDATA:!0,normalize:!0,stripElemPrefix:!0},t=new RegExp(/(?!xmlns)^.*:/);new RegExp(/^\s+|\s+$/g);return this.grokType=function(e){return/^\s*$/.test(e)?null:/^(?:true|false)$/i.test(e)?"true"===e.toLowerCase():isFinite(e)?parseFloat(e):e},this.parseString=function(e,t){if(e){var n=this.stringToXML(e);return n.getElementsByTagName("parsererror").length?null:this.parseXML(n,t)}return null},this.parseXML=function(n,r){for(var o in r)e[o]=r[o];var s={},a=0,u="",l=n.childNodes.length;if(l)for(var c,h,f,d=0;d=t.length){o++;break}var s=t.slice(2,i-1);if(("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++,s.length<8&&o++,o)throw new Error("decryption error");return t.slice(i)}function d(e,t){e=c.from(e),t=c.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));var i=-1;while(++id||new s(t).cmp(u.modulus)>=0)throw new Error("decryption error");o=n?l(new s(t),u):a(t,u);var p=c.alloc(d-o.length);if(o=c.concat([p,o],d),4===i)return h(u,o);if(1===i)return f(u,o,n);if(3===i)return o;throw new Error("unknown padding")}},"0fae":function(e,t,n){},1098:function(e,t,n){"use strict";t.__esModule=!0;var r=n("17ed"),i=u(r),o=n("f893"),s=u(o),a="function"===typeof s.default&&"symbol"===typeof i.default?function(e){return typeof e}:function(e){return e&&"function"===typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};function u(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof s.default&&"symbol"===a(i.default)?function(e){return"undefined"===typeof e?"undefined":a(e)}:function(e){return e&&"function"===typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"===typeof e?"undefined":a(e)}},"10b2":function(e,t,n){(function(e){e(n("56b3"))})((function(e){var t={pairs:"()[]{}''\"\"",closeBefore:")]}'\":;>",triples:"",explode:"[]{}"},n=e.Pos;function r(e,n){return"pairs"==n&&"string"==typeof e?e:"object"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption("autoCloseBrackets",!1,(function(t,n,s){s&&s!=e.Init&&(t.removeKeyMap(i),t.state.closeBrackets=null),n&&(o(r(n,"pairs")),t.state.closeBrackets=n,t.addKeyMap(i))}));var i={Backspace:u,Enter:l};function o(e){for(var t=0;t=0;u--){var c=s[u].head;t.replaceRange("",n(c.line,c.ch-1),n(c.line,c.ch+1),"+delete")}}function l(t){var n=a(t),i=n&&r(n,"explode");if(!i||t.getOption("disableInput"))return e.Pass;for(var o=t.listSelections(),s=0;s0?{line:s.head.line,ch:s.head.ch+t}:{line:s.head.line-1};n.push({anchor:a,head:a})}e.setSelections(n,i)}function h(t){var r=e.cmpPos(t.anchor,t.head)>0;return{anchor:new n(t.anchor.line,t.anchor.ch+(r?-1:1)),head:new n(t.head.line,t.head.ch+(r?1:-1))}}function f(t,i){var o=a(t);if(!o||t.getOption("disableInput"))return e.Pass;var s=r(o,"pairs"),u=s.indexOf(i);if(-1==u)return e.Pass;for(var l,f=r(o,"closeBefore"),d=r(o,"triples"),m=s.charAt(u+1)==i,g=t.listSelections(),v=u%2==0,y=0;y1&&d.indexOf(i)>=0&&t.getRange(n(D.line,D.ch-2),D)==i+i){if(D.ch>2&&/\bstring/.test(t.getTokenTypeAt(n(D.line,D.ch-2))))return e.Pass;b="addFour"}else if(m){var x=0==D.ch?" ":t.getRange(n(D.line,D.ch-1),D);if(e.isWordChar(E)||x==i||e.isWordChar(x))return e.Pass;b="both"}else{if(!v||!(0===E.length||/\s/.test(E)||f.indexOf(E)>-1))return e.Pass;b="both"}else b=m&&p(t,D)?"both":d.indexOf(i)>=0&&t.getRange(D,n(D.line,D.ch+3))==i+i+i?"skipThree":"skip";if(l){if(l!=b)return e.Pass}else l=b}var _=u%2?s.charAt(u-1):i,C=u%2?i:s.charAt(u+1);t.operation((function(){if("skip"==l)c(t,1);else if("skipThree"==l)c(t,3);else if("surround"==l){for(var e=t.getSelections(),n=0;nc){var d,p=u(arguments[c++]),m=h?i(p).concat(h(p)):i(p),g=m.length,v=0;while(g>v)d=m[v++],r&&!f.call(p,d)||(n[d]=p[d])}return n}:l},"0780":function(e,t,n){"use strict";const r=3;class i{constructor(e){this.length=0,this.entries=[],this.treeAdapter=e,this.bookmark=null}_getNoahArkConditionCandidates(e){const t=[];if(this.length>=r){const n=this.treeAdapter.getAttrList(e).length,r=this.treeAdapter.getTagName(e),o=this.treeAdapter.getNamespaceURI(e);for(let e=this.length-1;e>=0;e--){const s=this.entries[e];if(s.type===i.MARKER_ENTRY)break;const a=s.element,u=this.treeAdapter.getAttrList(a),l=this.treeAdapter.getTagName(a)===r&&this.treeAdapter.getNamespaceURI(a)===o&&u.length===n;l&&t.push({idx:e,attrs:u})}}return t.length=r-1;e--)this.entries.splice(t[e].idx,1),this.length--}}insertMarker(){this.entries.push({type:i.MARKER_ENTRY}),this.length++}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.push({type:i.ELEMENT_ENTRY,element:e,token:t}),this.length++}insertElementAfterBookmark(e,t){let n=this.length-1;for(;n>=0;n--)if(this.entries[n]===this.bookmark)break;this.entries.splice(n+1,0,{type:i.ELEMENT_ENTRY,element:e,token:t}),this.length++}removeEntry(e){for(let t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}clearToLastMarker(){while(this.length){const e=this.entries.pop();if(this.length--,e.type===i.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(e){for(let t=this.length-1;t>=0;t--){const n=this.entries[t];if(n.type===i.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(n.element)===e)return n}return null}getElementEntry(e){for(let t=this.length-1;t>=0;t--){const n=this.entries[t];if(n.type===i.ELEMENT_ENTRY&&n.element===e)return n}return null}}i.MARKER_ENTRY="MARKER_ENTRY",i.ELEMENT_ENTRY="ELEMENT_ENTRY",e.exports=i},"07f2":function(e,t,n){"use strict";var r=n("c3c0"),i=n("6eed");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(o,i),e.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},"087f":function(e,t,n){var r=n("3fb5"),i=n("b672"),o=n("8707").Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function u(){this.init(),this._w=a,i.call(this,64,56)}function l(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function h(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t=this._w,n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,a=0|this._e,u=0;u<16;++u)t[u]=e.readInt32BE(4*u);for(;u<80;++u)t[u]=t[u-3]^t[u-8]^t[u-14]^t[u-16];for(var f=0;f<80;++f){var d=~~(f/20),p=l(n)+h(d,r,i,o)+a+t[f]+s[d]|0;a=o,o=i,i=c(r),r=n,n=p}this._a=n+this._a|0,this._b=r+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=a+this._e|0},u.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=u},"0960":function(e,t,n){e.exports=n("b19a")},"0983":function(e,t,n){var r=n("c901");e.exports=function(e){return Object(r(e))}},"09dc":function(e,t,n){"use strict";e.exports=c;var r=n("9d8a").codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,s=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=r.ERR_TRANSFORM_WITH_LENGTH_0,u=n("e666");function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length=0;i--)t===r[i]&&r.splice(i,1)},e.emit=function(e,t){for(var r=n(e).map((function(e){return e})),i=0;il)u.call(e,s=a[l++])&&t.push(s)}return t}},"0ae3":function(e,t,n){"use strict";e.exports=i;var r=n("09dc");function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n("3fb5")(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},"0b99":function(e,t,n){"use strict";var r=n("19fa")(!0);n("393a")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},"0bad":function(e,t,n){e.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0be8":function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},"0bfb":function(e,t,n){var r,i,o,s,a=!1,u=!1,l=n("115b")("parse"),c=n("c415");function h(e,t){var n,a;t||(t={}),r=!!t.comments,o=!!t.position,i=0,s=Array.isArray(e)?e.slice():c(e);var h,f=[];u&&(n=Date.now());while(h=d())a=D(h),a&&f.push(a);return u&&l("ran in",Date.now()-n+"ms"),{type:"stylesheet",stylesheet:{rules:f}}}function f(e,t){var n;t||(t={});for(var r=["type","name","value"],i={},s=0;s]*>)/g,a=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,u,l,c){var h=n+e.length,f=u.length,d=a;return void 0!==l&&(l=r(l),d=s),o.call(c,d,(function(r,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(h);case"<":s=l[o.slice(1,-1)];break;default:var a=+o;if(0===a)return r;if(a>f){var c=i(a/10);return 0===c?r:c<=f?void 0===u[c-1]?o.charAt(1):u[c-1]+o.charAt(1):r}s=u[a-1]}return void 0===s?"":s}))}},"0cbb":function(e,t,n){"use strict";var r,i=t,o=n("7d92"),s=n("4136"),a=n("f3a3"),u=a.assert;function l(e){"short"===e.type?this.curve=new s.short(e):"edwards"===e.type?this.curve=new s.edwards(e):this.curve=new s.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,u(this.g.validate(),"Invalid curve"),u(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var n=new l(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=l,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n("409b")}catch(h){r=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},"0ccb":function(e,t,n){var r=n("50c4"),i=n("1148"),o=n("1d80"),s=Math.ceil,a=function(e){return function(t,n,a){var u,l,c=String(o(t)),h=c.length,f=void 0===a?" ":String(a),d=r(n);return d<=h||""==f?c:(u=d-h,l=i.call(f,s(u/f.length)),l.length>u&&(l=l.slice(0,u)),e?c+l:l+c)}};e.exports={start:a(!1),end:a(!0)}},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d3b":function(e,t,n){var r=n("d039"),i=n("b622"),o=n("c430"),s=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"0da4":function(e,t,n){"use strict";var r=n("da3e"),i=n("3fb5"),o={};function s(e){r.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t=0;n--){var i=r[n][2];(!i||i+a=0;i--){var o=r[i];o[0]===e&&o[1]===t&&r.splice(i,1)}r.unshift([e,t,Math.round(Date.now()/1e3)]),r.length>n&&r.splice(n),h()}},removeUploadId:function(e){c.call(this),delete f.using[e];for(var t=r.length-1;t>=0;t--)r[t][1]===e&&r.splice(t,1);h()}};e.exports=f},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0e15":function(e,t,n){var r=n("597f");e.exports=function(e,t,n){return void 0===n?r(e,t,!1):r(e,n,!1!==t)}},"0e54":function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return r=e[Symbol.iterator](),r.next.bind(r)}function o(e){var t={exports:{}};return e(t,t.exports),t.exports}var s=o((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function n(t){e.exports.defaults=t}e.exports={defaults:t(),getDefaults:t,changeDefaults:n}})),a=/[&<>"']/,u=/[&<>"']/g,l=/[<>"']|&(?!#?\w+;)/,c=/[<>"']|&(?!#?\w+;)/g,h={"&":"&","<":"<",">":">",'"':""","'":"'"},f=function(e){return h[e]};function d(e,t){if(t){if(a.test(e))return e.replace(u,f)}else if(l.test(e))return e.replace(c,f);return e}var p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function m(e){return e.replace(p,(function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var g=/(^|[^\[])\^/g;function v(e,t){e=e.source||e,t=t||"";var n={replace:function(t,r){return r=r.source||r,r=r.replace(g,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n}var y=/[^\w:]/g,b=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function w(e,t,n){if(e){var r;try{r=decodeURIComponent(m(n)).replace(y,"").toLowerCase()}catch(i){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!b.test(n)&&(n=C(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(i){return null}return n}var D={},E=/^[^:]+:\/*[^/]*$/,x=/^([^:]+:)[\s\S]*$/,_=/^([^:]+:\/*[^/]*)[\s\S]*$/;function C(e,t){D[" "+e]||(E.test(e)?D[" "+e]=e+"/":D[" "+e]=T(e,"/",!0)),e=D[" "+e];var n=-1===e.indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(x,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(_,"$1")+t:e+t}var k={exec:function(){}};function S(e){for(var t,n,r=1;r=0&&"\\"===n[i])r=!r;return r?"|":" |"})),r=n.split(/ \|/),i=0;if(r.length>t)r.splice(t);else while(r.length1)1&t&&(n+=e),t>>=1,e+=e;return n+e}var F={escape:d,unescape:m,edit:v,cleanUrl:w,resolveUrl:C,noopTest:k,merge:S,splitCells:A,rtrim:T,findClosingBracket:M,checkSanitizeDeprecation:O,repeatString:N},I=s.defaults,R=F.rtrim,P=F.splitCells,L=F.escape,B=F.findClosingBracket;function j(e,t,n){var r=t.href,i=t.title?L(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:i,text:o}:{type:"image",raw:n,href:r,title:i,text:L(o)}}function $(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);if(null===t)return e;var n=t[0];return n.length>=r.length?e.slice(r.length):e})).join("\n")}var U=function(){function e(e){this.options=e||I}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:R(n,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=$(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:r}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var r=R(n,"#");this.options.pedantic?n=r.trim():r&&!/ $/.test(r)||(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n}}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:P(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var r,i=n.align.length;for(r=0;r ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var n,r,i,o,s,a,u,l,c,h=t[0],f=t[2],d=f.length>1,p={type:"list",raw:h,ordered:d,start:d?+f.slice(0,-1):"",loose:!1,items:[]},m=t[0].match(this.rules.block.item),g=!1,v=m.length;i=this.rules.block.listItemStart.exec(m[0]);for(var y=0;yi[1].length:o[1].length>=i[0].length||o[1].length>3){m.splice(y,2,m[y]+(!this.options.pedantic&&o[1].length/i.test(r[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):L(r[0]):r[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;var r=R(n.slice(0,-1),"\\");if((n.length-r.length)%2===0)return}else{var i=B(t[2],"()");if(i>-1){var o=0===t[0].indexOf("!")?5:4,s=o+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,s).trim(),t[3]=""}}var a=t[2],u="";if(this.options.pedantic){var l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);l&&(a=l[1],u=l[3])}else u=t[3]?t[3].slice(1,-1):"";return a=a.trim(),/^$/.test(n)?a.slice(1):a.slice(1,-1)),j(t,{href:a?a.replace(this.rules.inline._escapes,"$1"):a,title:u?u.replace(this.rules.inline._escapes,"$1"):u},t[0])}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(r=t[r.toLowerCase()],!r||!r.href){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return j(n,r,n[0])}},t.emStrong=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.emStrong.lDelim.exec(e);if(r&&(!r[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD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uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var i=r[1]||r[2]||"";if(!i||i&&(""===n||this.rules.inline.punctuation.exec(n))){var o,s,a=r[0].length-1,u=a,l=0,c="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;c.lastIndex=0,t=t.slice(-1*e.length+a);while(null!=(r=c.exec(t)))if(o=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],o)if(s=o.length,r[3]||r[4])u+=s;else if(!((r[5]||r[6])&&a%3)||(a+s)%3){if(u-=s,!(u>0)){if(u+l-s<=0&&!t.slice(c.lastIndex).match(c)&&(s=Math.min(s,s+u+l)),Math.min(a,s)%2)return{type:"em",raw:e.slice(0,a+r.index+s+1),text:e.slice(1,a+r.index+s)};if(Math.min(a,s)%2===0)return{type:"strong",raw:e.slice(0,a+r.index+s+1),text:e.slice(2,a+r.index+s-1)}}}else l+=s}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return r&&i&&(n=n.substring(1,n.length-1)),n=L(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2]}},t.autolink=function(e,t){var n,r,i=this.rules.inline.autolink.exec(e);if(i)return"@"===i[2]?(n=L(this.options.mangle?t(i[1]):i[1]),r="mailto:"+n):(n=L(i[1]),r=n),{type:"link",raw:i[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,i;if("@"===n[2])r=L(this.options.mangle?t(n[0]):n[0]),i="mailto:"+r;else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);r=L(n[0]),i="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}},t.inlineText=function(e,t,n){var r,i=this.rules.inline.text.exec(e);if(i)return r=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):L(i[0]):i[0]:L(this.options.smartypants?n(i[0]):i[0]),{type:"text",raw:i[0],text:r}},e}(),q=F.noopTest,H=F.edit,z=F.merge,V={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:q,table:q,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};V.def=H(V.def).replace("label",V._label).replace("title",V._title).getRegex(),V.bullet=/(?:[*+-]|\d{1,9}[.)])/,V.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,V.item=H(V.item,"gm").replace(/bull/g,V.bullet).getRegex(),V.listItemStart=H(/^( *)(bull) */).replace("bull",V.bullet).getRegex(),V.list=H(V.list).replace(/bull/g,V.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+V.def.source+")").getRegex(),V._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",V._comment=/|$)/,V.html=H(V.html,"i").replace("comment",V._comment).replace("tag",V._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),V.paragraph=H(V._paragraph).replace("hr",V.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",V._tag).getRegex(),V.blockquote=H(V.blockquote).replace("paragraph",V.paragraph).getRegex(),V.normal=z({},V),V.gfm=z({},V.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),V.gfm.nptable=H(V.gfm.nptable).replace("hr",V.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",V._tag).getRegex(),V.gfm.table=H(V.gfm.table).replace("hr",V.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",V._tag).getRegex(),V.pedantic=z({},V.normal,{html:H("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",V._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:q,paragraph:H(V.normal._paragraph).replace("hr",V.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",V.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var W={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:q,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_]*?\*[^_]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^*]*?\_[^*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:q,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};W.punctuation=H(W.punctuation).replace(/punctuation/g,W._punctuation).getRegex(),W.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,W.escapedEmSt=/\\\*|\\_/g,W._comment=H(V._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),W.emStrong.lDelim=H(W.emStrong.lDelim).replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimAst=H(W.emStrong.rDelimAst,"g").replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimUnd=H(W.emStrong.rDelimUnd,"g").replace(/punct/g,W._punctuation).getRegex(),W._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,W._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,W._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,W.autolink=H(W.autolink).replace("scheme",W._scheme).replace("email",W._email).getRegex(),W._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,W.tag=H(W.tag).replace("comment",W._comment).replace("attribute",W._attribute).getRegex(),W._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,W._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,W._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,W.link=H(W.link).replace("label",W._label).replace("href",W._href).replace("title",W._title).getRegex(),W.reflink=H(W.reflink).replace("label",W._label).getRegex(),W.reflinkSearch=H(W.reflinkSearch,"g").replace("reflink",W.reflink).replace("nolink",W.nolink).getRegex(),W.normal=z({},W),W.pedantic=z({},W.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:H(/^!?\[(label)\]\((.*?)\)/).replace("label",W._label).getRegex(),reflink:H(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",W._label).getRegex()}),W.gfm=z({},W.normal,{escape:H(W.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var ee=function(){function e(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||K,this.options.tokenizer=this.options.tokenizer||new U,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:X.normal,inline:Y.normal};this.options.pedantic?(t.block=X.pedantic,t.inline=Y.pedantic):this.options.gfm&&(t.block=X.gfm,this.options.breaks?t.inline=Y.breaks:t.inline=Y.gfm),this.tokenizer.rules=t}e.lex=function(t,n){var r=new e(n);return r.lex(t)},e.lexInline=function(t,n){var r=new e(n);return r.inlineTokens(t)};var n=e.prototype;return n.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},n.blockTokens=function(e,t,n){var r,i,o,s;void 0===t&&(t=[]),void 0===n&&(n=!0),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));while(e)if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),r.type&&t.push(r);else if(r=this.tokenizer.code(e))e=e.substring(r.raw.length),s=t[t.length-1],s&&"paragraph"===s.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.text):t.push(r);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.nptable(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),t.push(r);else if(r=this.tokenizer.list(e)){for(e=e.substring(r.raw.length),o=r.items.length,i=0;i0)while(null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(l)))c.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,s.index)+"["+J("a",s[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}while(null!=(s=this.tokenizer.rules.inline.blockSkip.exec(l)))l=l.slice(0,s.index)+"["+J("a",s[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while(null!=(s=this.tokenizer.rules.inline.escapedEmSt.exec(l)))l=l.slice(0,s.index)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);while(e)if(a||(u=""),a=!1,i=this.tokenizer.escape(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.tag(e,n,r)){e=e.substring(i.raw.length),n=i.inLink,r=i.inRawBlock;var h=t[t.length-1];h&&"text"===i.type&&"text"===h.type?(h.raw+=i.raw,h.text+=i.text):t.push(i)}else if(i=this.tokenizer.link(e))e=e.substring(i.raw.length),"link"===i.type&&(i.tokens=this.inlineTokens(i.text,[],!0,r)),t.push(i);else if(i=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(i.raw.length);var f=t[t.length-1];"link"===i.type?(i.tokens=this.inlineTokens(i.text,[],!0,r),t.push(i)):f&&"text"===i.type&&"text"===f.type?(f.raw+=i.raw,f.text+=i.text):t.push(i)}else if(i=this.tokenizer.emStrong(e,l,u))e=e.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),t.push(i);else if(i=this.tokenizer.codespan(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.br(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.del(e))e=e.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),t.push(i);else if(i=this.tokenizer.autolink(e,Q))e=e.substring(i.raw.length),t.push(i);else if(n||!(i=this.tokenizer.url(e,Q))){if(i=this.tokenizer.inlineText(e,r,Z))e=e.substring(i.raw.length),"_"!==i.raw.slice(-1)&&(u=i.raw.slice(-1)),a=!0,o=t[t.length-1],o&&"text"===o.type?(o.raw+=i.raw,o.text+=i.text):t.push(i);else if(e){var d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}throw new Error(d)}}else e=e.substring(i.raw.length),t.push(i);return t},t(e,null,[{key:"rules",get:function(){return{block:X,inline:Y}}}]),e}(),te=s.defaults,ne=F.cleanUrl,re=F.escape,ie=function(){function e(e){this.options=e||te}var t=e.prototype;return t.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return e=e.replace(/\n$/,"")+"\n",r?'
    '+(n?e:re(e,!0))+"
    \n":"
    "+(n?e:re(e,!0))+"
    \n"},t.blockquote=function(e){return"
    \n"+e+"
    \n"},t.html=function(e){return e},t.heading=function(e,t,n,r){return this.options.headerIds?"'+e+"\n":""+e+"\n"},t.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},t.list=function(e,t,n){var r=t?"ol":"ul",i=t&&1!==n?' start="'+n+'"':"";return"<"+r+i+">\n"+e+"\n"},t.listitem=function(e){return"
  • "+e+"
  • \n"},t.checkbox=function(e){return" "},t.paragraph=function(e){return"

    "+e+"

    \n"},t.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},t.tablerow=function(e){return"\n"+e+"\n"},t.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' align="'+t.align+'">':"<"+n+">";return r+e+"\n"},t.strong=function(e){return""+e+""},t.em=function(e){return""+e+""},t.codespan=function(e){return""+e+""},t.br=function(){return this.options.xhtml?"
    ":"
    "},t.del=function(e){return""+e+""},t.link=function(e,t,n){if(e=ne(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r='
    ",r},t.image=function(e,t,n){if(e=ne(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r=''+n+'":">",r},t.text=function(e){return e},e}(),oe=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),se=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{r++,n=e+"-"+r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),ae=s.defaults,ue=F.unescape,le=function(){function e(e){this.options=e||ae,this.options.renderer=this.options.renderer||new ie,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new oe,this.slugger=new se}e.parse=function(t,n){var r=new e(n);return r.parse(t)},e.parseInline=function(t,n){var r=new e(n);return r.parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var n,r,i,o,s,a,u,l,c,h,f,d,p,m,g,v,y,b,w="",D=e.length;for(n=0;n0&&"text"===g.tokens[0].type?(g.tokens[0].text=b+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=b+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:b}):m+=b),m+=this.parse(g.tokens,p),c+=this.renderer.listitem(m,y,v);w+=this.renderer.list(c,f,d);continue;case"html":w+=this.renderer.html(h.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":c=h.tokens?this.parseInline(h.tokens):h.text;while(n+1An error occurred:

    "+fe(u.message+"",!0)+"
    ";throw u}}ge.options=ge.setOptions=function(e){return ce(ge.defaults,e),pe(ge.defaults),ge},ge.getDefaults=de,ge.defaults=me,ge.use=function(e){var t=ce({},e);if(e.renderer&&function(){var n=ge.defaults.renderer||new ie,r=function(t){var r=n[t];n[t]=function(){for(var i=arguments.length,o=new Array(i),s=0;sAn error occurred:

    "+fe(r.message+"",!0)+"
    ";throw r}},ge.Parser=le,ge.parser=le.parse,ge.Renderer=ie,ge.TextRenderer=oe,ge.Lexer=ee,ge.lexer=ee.lex,ge.Tokenizer=U,ge.Slugger=se,ge.parse=ge;var ve=ge;return ve}))},"0edf":function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n":"child","<":"parent","~":"sibling","+":"adjacent"},l={"#":["id","equals"],".":["class","element"]},c=new Set(["has","not","matches","is","host","host-context"]),h=new Set(r(["descendant"],Object.keys(u).map((function(e){return u[e]})))),f=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function d(e){return h.has(e.type)}t.isTraversal=d;var p=new Set(["contains","icontains"]),m=new Set(['"',"'"]);function g(e,t,n){var r=parseInt(t,16)-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)}function v(e){return e.replace(o,g)}function y(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function b(e,t){var n=[],r=w(n,""+e,t,0);if(r0&&d(g[g.length-1]))throw new Error("Did not expect successive traversals.")}x(0);while(""!==t){var k=t.charAt(r);if(y(k))b=!0,x(1);else if(k in u)C(),g.push({type:u[k]}),b=!1,x(1);else if(","===k){if(0===g.length)throw new Error("Empty sub-selector");e.push(g),g=[],b=!1,x(1)}else if("/"===k&&"*"===t.charAt(r+1)){var S=t.indexOf("*/",r+2);if(S<0)throw new Error("Comment was not terminated");r=S+2}else if(b&&(C(),g.push({type:"descendant"}),b=!1),k in l){var A=l[k],T=A[0],M=A[1];g.push({type:"attribute",name:T,action:M,value:E(1),namespace:null,ignoreCase:!!n.xmlMode&&null})}else if("["===k){var O=t.slice(r+1).match(s);if(!O)throw new Error("Malformed attribute selector: "+t.slice(r));var N=O[0],F=O[1],I=void 0===F?null:F,R=O[2],P=O[3],L=O[5],B=void 0===L?"":L,j=O[6],$=void 0===j?B:j,U=O[7];r+=N.length+1;var q=v(R);(null!==(o=n.lowerCaseAttributeNames)&&void 0!==o?o:!n.xmlMode)&&(q=q.toLowerCase());var H=U?"i"===U.toLowerCase():n.xmlMode?null:f.has(q),z={type:"attribute",name:q,action:a[P],value:v($),namespace:I,ignoreCase:H};g.push(z)}else if(":"===k){if(":"===t.charAt(r+1)){g.push({type:"pseudo-element",name:E(2).toLowerCase()});continue}var V=E(1).toLowerCase(),W=null;if("("===t.charAt(r))if(c.has(V)){if(m.has(t.charAt(r+1)))throw new Error("Pseudo-selector "+V+" cannot be quoted");if(W=[],r=w(W,t,n,r+1),")"!==t.charAt(r))throw new Error("Missing closing parenthesis in :"+V+" ("+t+")");r+=1}else{r+=1;for(var G=r,K=1;K>0&&r0&&0===t.length)throw new Error("Empty sub-selector");e.push(t)}t.default=b},"0efe":function(e,t,n){"use strict";const r=t.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};t.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},t.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const i=t.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};t.SPECIAL_ELEMENTS={[r.HTML]:{[i.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i.MTEXT]:!0,[i.ANNOTATION_XML]:!0},[r.SVG]:{[i.TITLE]:!0,[i.FOREIGN_OBJECT]:!0,[i.DESC]:!0}}},"0f22":function(e,t,n){var r=n("29d8").DOMParser,i=function(){this.version="1.3.5";var e={mergeCDATA:!0,normalize:!0,stripElemPrefix:!0},t=new RegExp(/(?!xmlns)^.*:/);new RegExp(/^\s+|\s+$/g);return this.grokType=function(e){return/^\s*$/.test(e)?null:/^(?:true|false)$/i.test(e)?"true"===e.toLowerCase():isFinite(e)?parseFloat(e):e},this.parseString=function(e,t){if(e){var n=this.stringToXML(e);return n.getElementsByTagName("parsererror").length?null:this.parseXML(n,t)}return null},this.parseXML=function(n,r){for(var o in r)e[o]=r[o];var s={},a=0,u="",l=n.childNodes.length;if(l)for(var c,h,f,d=0;d=t.length){o++;break}var s=t.slice(2,i-1);if(("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++,s.length<8&&o++,o)throw new Error("decryption error");return t.slice(i)}function d(e,t){e=c.from(e),t=c.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));var i=-1;while(++id||new s(t).cmp(u.modulus)>=0)throw new Error("decryption error");o=n?l(new s(t),u):a(t,u);var p=c.alloc(d-o.length);if(o=c.concat([p,o],d),4===i)return h(u,o);if(1===i)return f(u,o,n);if(3===i)return o;throw new Error("unknown padding")}},"0fae":function(e,t,n){},1098:function(e,t,n){"use strict";t.__esModule=!0;var r=n("17ed"),i=u(r),o=n("f893"),s=u(o),a="function"===typeof s.default&&"symbol"===typeof i.default?function(e){return typeof e}:function(e){return e&&"function"===typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};function u(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof s.default&&"symbol"===a(i.default)?function(e){return"undefined"===typeof e?"undefined":a(e)}:function(e){return e&&"function"===typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"===typeof e?"undefined":a(e)}},"10b2":function(e,t,n){(function(e){e(n("56b3"))})((function(e){var t={pairs:"()[]{}''\"\"",closeBefore:")]}'\":;>",triples:"",explode:"[]{}"},n=e.Pos;function r(e,n){return"pairs"==n&&"string"==typeof e?e:"object"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption("autoCloseBrackets",!1,(function(t,n,s){s&&s!=e.Init&&(t.removeKeyMap(i),t.state.closeBrackets=null),n&&(o(r(n,"pairs")),t.state.closeBrackets=n,t.addKeyMap(i))}));var i={Backspace:u,Enter:l};function o(e){for(var t=0;t=0;u--){var c=s[u].head;t.replaceRange("",n(c.line,c.ch-1),n(c.line,c.ch+1),"+delete")}}function l(t){var n=a(t),i=n&&r(n,"explode");if(!i||t.getOption("disableInput"))return e.Pass;for(var o=t.listSelections(),s=0;s0?{line:s.head.line,ch:s.head.ch+t}:{line:s.head.line-1};n.push({anchor:a,head:a})}e.setSelections(n,i)}function h(t){var r=e.cmpPos(t.anchor,t.head)>0;return{anchor:new n(t.anchor.line,t.anchor.ch+(r?-1:1)),head:new n(t.head.line,t.head.ch+(r?1:-1))}}function f(t,i){var o=a(t);if(!o||t.getOption("disableInput"))return e.Pass;var s=r(o,"pairs"),u=s.indexOf(i);if(-1==u)return e.Pass;for(var l,f=r(o,"closeBefore"),d=r(o,"triples"),m=s.charAt(u+1)==i,g=t.listSelections(),v=u%2==0,y=0;y1&&d.indexOf(i)>=0&&t.getRange(n(D.line,D.ch-2),D)==i+i){if(D.ch>2&&/\bstring/.test(t.getTokenTypeAt(n(D.line,D.ch-2))))return e.Pass;b="addFour"}else if(m){var x=0==D.ch?" ":t.getRange(n(D.line,D.ch-1),D);if(e.isWordChar(E)||x==i||e.isWordChar(x))return e.Pass;b="both"}else{if(!v||!(0===E.length||/\s/.test(E)||f.indexOf(E)>-1))return e.Pass;b="both"}else b=m&&p(t,D)?"both":d.indexOf(i)>=0&&t.getRange(D,n(D.line,D.ch+3))==i+i+i?"skipThree":"skip";if(l){if(l!=b)return e.Pass}else l=b}var _=u%2?s.charAt(u-1):i,C=u%2?i:s.charAt(u+1);t.operation((function(){if("skip"==l)c(t,1);else if("skipThree"==l)c(t,3);else if("surround"==l){for(var e=t.getSelections(),n=0;n>>24)|4278255360&(i<<24|i>>>8)}var o,s,d,w,D,E,x,_,C,k,S,A=this._hash.words,T=h.words,M=f.words,O=a.words,N=u.words,F=l.words,I=c.words;E=o=A[0],x=s=A[1],_=d=A[2],C=w=A[3],k=D=A[4];for(n=0;n<80;n+=1)S=o+e[t+O[n]]|0,S+=n<16?p(s,d,w)+T[0]:n<32?m(s,d,w)+T[1]:n<48?g(s,d,w)+T[2]:n<64?v(s,d,w)+T[3]:y(s,d,w)+T[4],S|=0,S=b(S,F[n]),S=S+D|0,o=D,D=w,w=b(d,10),d=s,s=S,S=E+e[t+N[n]]|0,S+=n<16?y(x,_,C)+M[0]:n<32?v(x,_,C)+M[1]:n<48?g(x,_,C)+M[2]:n<64?m(x,_,C)+M[3]:p(x,_,C)+M[4],S|=0,S=b(S,I[n]),S=S+k|0,E=k,k=C,C=b(_,10),_=x,x=S;S=A[1]+d+C|0,A[1]=A[2]+w+k|0,A[2]=A[3]+D+E|0,A[3]=A[4]+o+x|0,A[4]=A[0]+s+_|0,A[0]=S},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,o=i.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return i},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function v(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function b(e,t){return e<>>32-t}n.RIPEMD160=o._createHelper(d),n.HmacRIPEMD160=o._createHmacHelper(d)}(Math),e.RIPEMD160}))},"10db":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"111b":function(e,t,n){(function(e){e(n("56b3"),n("7b00"))})((function(e){"use strict";var t={active:1,after:1,before:1,checked:1,default:1,disabled:1,empty:1,enabled:1,"first-child":1,"first-letter":1,"first-line":1,"first-of-type":1,focus:1,hover:1,"in-range":1,indeterminate:1,invalid:1,lang:1,"last-child":1,"last-of-type":1,link:1,not:1,"nth-child":1,"nth-last-child":1,"nth-last-of-type":1,"nth-of-type":1,"only-of-type":1,"only-child":1,optional:1,"out-of-range":1,placeholder:1,"read-only":1,"read-write":1,required:1,root:1,selection:1,target:1,valid:1,visited:1};e.registerHelper("hint","css",(function(n){var r=n.getCursor(),i=n.getTokenAt(r),o=e.innerMode(n.getMode(),i.state);if("css"==o.mode.name){if("keyword"==i.type&&0=="!important".indexOf(i.string))return{list:["!important"],from:e.Pos(r.line,i.start),to:e.Pos(r.line,i.end)};var s=i.start,a=r.ch,u=i.string.slice(0,a-s);/[^\w$_-]/.test(u)&&(u="",s=a=r.ch);var l=e.resolveMode("text/css"),c=[],h=o.state.state;return"pseudo"==h||"variable-3"==i.type?f(t):"block"==h||"maybeprop"==h?f(l.propertyKeywords):"prop"==h||"parens"==h||"at"==h||"params"==h?(f(l.valueKeywords),f(l.colorKeywords)):"media"!=h&&"media_parens"!=h||(f(l.mediaTypes),f(l.mediaFeatures)),c.length?{list:c,from:e.Pos(r.line,s),to:e.Pos(r.line,a)}:void 0}function f(e){for(var t in e)u&&0!=t.lastIndexOf(u,0)||c.push(t)}}))}))},1132:function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,i=t.enc;i.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o>>2]>>>24-o%4*8&255,a=t[o+1>>>2]>>>24-(o+1)%4*8&255,u=t[o+2>>>2]>>>24-(o+2)%4*8&255,l=s<<16|a<<8|u,c=0;c<4&&o+.75*c>>6*(3-c)&63));var h=r.charAt(64);if(h)while(i.length%4)i.push(h);return i.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var i=0;i>>6-s%4*2,l=a|u;i[o>>>2]|=l<<24-o%4*8,o++}return r.create(i,o)}}(),e.enc.Base64}))},1148:function(e,t,n){"use strict";var r=n("a691"),i=n("1d80");e.exports=function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},"115b":function(e,t,n){(function(t){function n(e){return r.bind(null,e)}function r(e){var n=[].slice.call(arguments,1);n.unshift("["+e+"]"),t.stderr.write(n.join(" ")+"\n")}e.exports=n}).call(this,n("4362"))},"116d":function(e,t,n){e.exports=n("b4e8")},"11dc":function(e,t,n){"use strict";(function(t,r){var i=65536,o=4294967295;function s(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var a=n("8707").Buffer,u=t.crypto||t.msCrypto;function l(e,t){if(e>o)throw new RangeError("requested too many random bytes");var n=a.allocUnsafe(e);if(e>0)if(e>i)for(var s=0;s1||"".split(/.?/).length?function(e,n){var r=String(s(this)),o=void 0===n?g:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!i(e))return t.call(r,e,o);var a,u,l,c=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,m=new RegExp(e.source,f+"g");while(a=h.call(m,r)){if(u=m.lastIndex,u>d&&(c.push(r.slice(d,a.index)),a.length>1&&a.index=o))break;m.lastIndex===a.index&&m.lastIndex++}return d===r.length?!l&&m.test("")||c.push(""):c.push(r.slice(d)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=s(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var s=n(r,e,this,i,r!==t);if(s.done)return s.value;var h=o(e),f=String(this),p=a(h,RegExp),v=h.unicode,y=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(d?"g":"y"),b=new p(d?"^(?:"+h.source+")":h,y),w=void 0===i?g:i>>>0;if(0===w)return[];if(0===f.length)return null===c(b,f)?[f]:[];var D=0,E=0,x=[];while(E>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(n=0;n<4;n++)l.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(t){var o=t.words,s=o[0],a=o[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),h=u>>>16|4294901760&c,f=c<<16|65535&u;i[0]^=u,i[1]^=h,i[2]^=c,i[3]^=f,i[4]^=u,i[5]^=h,i[6]^=c,i[7]^=f;for(n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)s[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,o=r>>>16,u=((i*i>>>17)+i*o>>>15)+o*o,l=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=u^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.Rabbit=r._createHelper(u)}(),e.Rabbit}))},"13d6":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.filters=void 0;var i=r(n("dbba")),o=n("99e4");function s(e,t){return function(n){var r=t.getParent(n);return null!=r&&t.isTag(r)&&e(n)}}function a(e){return function(t,n,r){var i=r.adapter,s=i[e];return"function"!==typeof s?o.falseFunc:function(e){return s(e)&&t(e)}}}t.filters={contains:function(e,t,n){var r=n.adapter;return function(n){return e(n)&&r.getText(n).includes(t)}},icontains:function(e,t,n){var r=n.adapter,i=t.toLowerCase();return function(t){return e(t)&&r.getText(t).toLowerCase().includes(i)}},"nth-child":function(e,t,n){var r=n.adapter,a=n.equals,u=i.default(t);return u===o.falseFunc?o.falseFunc:u===o.trueFunc?s(e,r):function(t){for(var n=r.getSiblings(t),i=0,o=0;o=0;o--){if(a(t,n[o]))break;r.isTag(n[o])&&i++}return u(i)&&e(t)}},"nth-of-type":function(e,t,n){var r=n.adapter,a=n.equals,u=i.default(t);return u===o.falseFunc?o.falseFunc:u===o.trueFunc?s(e,r):function(t){for(var n=r.getSiblings(t),i=0,o=0;o=0;o--){var s=n[o];if(a(t,s))break;r.isTag(s)&&r.getName(s)===r.getName(t)&&i++}return u(i)&&e(t)}},root:function(e,t,n){var r=n.adapter;return function(t){var n=r.getParent(t);return(null==n||!r.isTag(n))&&e(t)}},scope:function(e,n,r,i){var o=r.equals;return i&&0!==i.length?1===i.length?function(t){return o(i[0],t)&&e(t)}:function(t){return i.includes(t)&&e(t)}:t.filters.root(e,n,r)},hover:a("isHovered"),visited:a("isVisited"),active:a("isActive")}},"13e2":function(e,t,n){"use strict";var r=n("c3c0"),i=n("edc9"),o=n("aa56"),s=r.rotl32,a=r.sum32,u=r.sum32_5,l=o.ft_1,c=i.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(f,c),e.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r1?arguments[1]:void 0)}},"17e1":function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(){if("function"==typeof ArrayBuffer){var t=e,n=t.lib,r=n.WordArray,i=r.init,o=r.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],r=0;r>>2]|=e[r]<<24-r%4*8;i.call(this,n,t)}else i.apply(this,arguments)};o.prototype=r}}(),e.lib.WordArray}))},"17ed":function(e,t,n){e.exports={default:n("511f"),__esModule:!0}},1836:function(e,t,n){var r=n("6ca1"),i=n("6438").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return i(e)}catch(t){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==o.call(e)?a(e):i(r(e))}},1917:function(e,t){t.f={}.propertyIsEnumerable},"191b":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("94f8"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,i=t.algo,o=i.SHA256,s=i.SHA224=o.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=o._createHelper(s),t.HmacSHA224=o._createHmacHelper(s)}(),e.SHA224}))},"19aa":function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},"19ea":function(e,t,n){"use strict";(function(t,r){function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){V(t,e)}}var o;e.exports=A,A.WritableState=S;var s={deprecate:n("b7d1")},a=n("5bbb"),u=n("b639").Buffer,l=t.Uint8Array||function(){};function c(e){return u.from(e)}function h(e){return u.isBuffer(e)||e instanceof l}var f,d=n("493f"),p=n("b9b5"),m=p.getHighWaterMark,g=n("9d8a").codes,v=g.ERR_INVALID_ARG_TYPE,y=g.ERR_METHOD_NOT_IMPLEMENTED,b=g.ERR_MULTIPLE_CALLBACK,w=g.ERR_STREAM_CANNOT_PIPE,D=g.ERR_STREAM_DESTROYED,E=g.ERR_STREAM_NULL_VALUES,x=g.ERR_STREAM_WRITE_AFTER_END,_=g.ERR_UNKNOWN_ENCODING,C=d.errorOrDestroy;function k(){}function S(e,t,r){o=o||n("e666"),e=e||{},"boolean"!==typeof r&&(r=t instanceof o),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=m(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){R(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function A(e){o=o||n("e666");var t=this instanceof o;if(!t&&!f.call(A,this))return new A(e);this._writableState=new S(e,this,t),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)),a.call(this)}function T(e,t){var n=new x;C(e,n),r.nextTick(t,n)}function M(e,t,n,i){var o;return null===n?o=new E:"string"===typeof n||t.objectMode||(o=new v("chunk",["string","Buffer"],n)),!o||(C(e,o),r.nextTick(i,o),!1)}function O(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=u.from(t,n)),t}function N(e,t,n,r,i,o){if(!n){var s=O(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=t.objectMode?1:r.length;t.length+=a;var u=t.length-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),A.prototype._write=function(e,t,n){n(new y("_write()"))},A.prototype._writev=null,A.prototype.end=function(e,t,n){var r=this._writableState;return"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||z(this,r,n),this},Object.defineProperty(A.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),A.prototype.destroy=d.destroy,A.prototype._undestroy=d.undestroy,A.prototype._destroy=function(e,t){t(e)}}).call(this,n("c8ba"),n("4362"))},"19fa":function(e,t,n){var r=n("fc5e"),i=n("c901");e.exports=function(e){return function(t,n){var o,s,a=String(i(t)),u=r(n),l=a.length;return u<0||u>=l?e?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===l||(s=a.charCodeAt(u+1))<56320||s>57343?e?a.charAt(u):o:e?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},"1a14":function(e,t,n){var r=n("77e9"),i=n("faf5"),o=n("3397"),s=Object.defineProperty;t.f=n("0bad")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return s(e,t,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"1a2a":function(e,t,n){"use strict";var r=n("3fb5"),i=n("d424"),o=n("6430"),s=n("8707").Buffer,a=n("5a76"),u=n("b5ca"),l=n("69f2"),c=s.alloc(128);function h(e,t){o.call(this,"digest"),"string"===typeof t&&(t=s.from(t));var n="sha512"===e||"sha384"===e?128:64;if(this._alg=e,this._key=t,t.length>n){var r="rmd160"===e?new u:l(e);t=r.update(t).digest()}else t.length{const t=s[e];Object.defineProperty(a.prototype,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}),t.createDocument=function(){return new a({type:"root",name:"root",parent:null,prev:null,next:null,children:[],"x-mode":i.NO_QUIRKS})},t.createDocumentFragment=function(){return new a({type:"root",name:"root",parent:null,prev:null,next:null,children:[]})},t.createElement=function(e,t,n){const r=Object.create(null),i=Object.create(null),o=Object.create(null);for(let s=0;sv)return t(null,!1);if(n>1){var r=Math.max(e[0].Size,e[1].Size);if(r!==g)return t(null,!1)}var i=function(r){if(r=o.length)E.emit("has_and_check_upload_id",t);else{var i=o[e];if(!s.isInArray(t,i))return r.removeUploadId.call(d,i),void l(e+1);r.using[i]?l(e+1):c.call(d,{Bucket:a,Region:u,Key:h,UploadId:i},(function(t,o){d._isRunningTask(n)&&(t?(r.removeUploadId.call(d,i),l(e+1)):E.emit("upload_id_available",{UploadId:i,PartList:o.PartList}))}))}};l(0)}else E.emit("has_and_check_upload_id",t)})),E.on("get_remote_upload_id_list",(function(){l.call(d,{Bucket:a,Region:u,Key:h},(function(t,i){if(d._isRunningTask(n)){if(t)return E.emit("error",t);var o=s.filter(i.UploadList,(function(e){return e.Key===h&&(!f||e.StorageClass.toUpperCase()===f.toUpperCase())})).reverse().map((function(e){return e.UploadId||e.UploadID}));if(o.length)E.emit("seek_local_avail_upload_id",o);else{var u,l=r.getFileId(e.Body,e.ChunkSize,a,h);l&&(u=r.getUploadIdList.call(d,l))&&s.each(u,(function(e){r.removeUploadId.call(d,e)})),E.emit("no_available_upload_id")}}}))})),E.emit("get_remote_upload_id_list")}function l(e,t){var n=this,r=[],i={Bucket:e.Bucket,Region:e.Region,Prefix:e.Key},o=function(){n.multipartList(i,(function(e,n){if(e)return t(e);r.push.apply(r,n.Upload||[]),"true"===n.IsTruncated?(i.KeyMarker=n.NextKeyMarker,i.UploadIdMarker=n.NextUploadIdMarker,o()):t(null,{UploadList:r})}))};o()}function c(e,t){var n=this,r=[],i={Bucket:e.Bucket,Region:e.Region,Key:e.Key,UploadId:e.UploadId},o=function(){n.multipartListPart(i,(function(e,n){if(e)return t(e);r.push.apply(r,n.Part||[]),"true"===n.IsTruncated?(i.PartNumberMarker=n.NextPartNumberMarker,o()):t(null,{PartList:r})}))};o()}function h(e,t){var n=this,r=e.TaskId,o=e.Bucket,a=e.Region,u=e.Key,l=e.UploadData,c=e.FileSize,h=e.SliceSize,d=Math.min(e.AsyncLimit||n.options.ChunkParallelLimit||1,256),p=e.Body,m=Math.ceil(c/h),g=0,v=e.ServerSideEncryption,y=s.filter(l.PartList,(function(e){return e["Uploaded"]&&(g+=e["PartNumber"]>=m&&c%h||h),!e["Uploaded"]})),b=e.onProgress;i.eachLimit(y,d,(function(e,t){if(n._isRunningTask(r)){var i=e["PartNumber"],s=Math.min(c,e["PartNumber"]*h)-(e["PartNumber"]-1)*h,d=0;f.call(n,{TaskId:r,Bucket:o,Region:a,Key:u,SliceSize:h,FileSize:c,PartNumber:i,ServerSideEncryption:v,Body:p,UploadData:l,onProgress:function(e){g+=e.loaded-d,d=e.loaded,b({loaded:g,total:c})}},(function(i,o){n._isRunningTask(r)&&(i||o.ETag||(i='get ETag error, please add "ETag" to CORS ExposeHeader setting.'),i?g-=d:(g+=s-d,e.ETag=o.ETag),b({loaded:g,total:c}),t(i||null,o))}))}}),(function(e){if(n._isRunningTask(r))return e?t(e):void t(null,{UploadId:l.UploadId,SliceList:l.PartList})}))}function f(e,t){var n=this,r=e.TaskId,o=e.Bucket,a=e.Region,u=e.Key,l=e.FileSize,c=e.Body,h=1*e.PartNumber,f=e.SliceSize,d=e.ServerSideEncryption,p=e.UploadData,m=n.options.ChunkRetryTimes+1,g=f*(h-1),v=f,y=g+f;y>l&&(y=l,v=y-g);var b=p.PartList[h-1];i.retry(m,(function(t){n._isRunningTask(r)&&s.fileSlice(c,g,y,!0,(function(i){n.multipartUpload({TaskId:r,Bucket:o,Region:a,Key:u,ContentLength:v,PartNumber:h,UploadId:p.UploadId,ServerSideEncryption:d,Body:i,onProgress:e.onProgress},(function(e,i){if(n._isRunningTask(r))return e?t(e):(b.Uploaded=!0,t(null,i))}))}))}),(function(e,i){if(n._isRunningTask(r))return t(e,i)}))}function d(e,t){var n=e.Bucket,r=e.Region,o=e.Key,s=e.UploadId,a=e.SliceList,u=this,l=this.options.ChunkRetryTimes+1,c=e.Headers,h=a.map((function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));i.retry(l,(function(e){u.multipartComplete({Bucket:n,Region:r,Key:o,UploadId:s,Parts:h,Headers:c},e)}),(function(e,n){t(e,n)}))}function p(e,t){var n=e.Bucket,r=e.Region,i=e.Key,a=e.UploadId,u=e.Level||"task",c=e.AsyncLimit,h=this,f=new o;if(f.on("error",(function(e){return t(e)})),f.on("get_abort_array",(function(o){m.call(h,{Bucket:n,Region:r,Key:i,Headers:e.Headers,AsyncLimit:c,AbortArray:o},t)})),"bucket"===u)l.call(h,{Bucket:n,Region:r},(function(e,n){if(e)return t(e);f.emit("get_abort_array",n.UploadList||[])}));else if("file"===u){if(!i)return t(s.error(new Error("abort_upload_task_no_key")));l.call(h,{Bucket:n,Region:r,Key:i},(function(e,n){if(e)return t(e);f.emit("get_abort_array",n.UploadList||[])}))}else{if("task"!==u)return t(s.error(new Error("abort_unknown_level")));if(!a)return t(s.error(new Error("abort_upload_task_no_id")));if(!i)return t(s.error(new Error("abort_upload_task_no_key")));f.emit("get_abort_array",[{Key:i,UploadId:a}])}}function m(e,t){var n=e.Bucket,r=e.Region,o=e.Key,s=e.AbortArray,a=e.AsyncLimit||1,u=this,l=0,c=new Array(s.length);i.eachLimit(s,a,(function(t,i){var s=l;if(o&&o!==t.Key)return c[s]={error:{KeyNotMatch:!0}},void i(null);var a=t.UploadId||t.UploadID;u.multipartAbort({Bucket:n,Region:r,Key:t.Key,Headers:e.Headers,UploadId:a},(function(e){var o={Bucket:n,Region:r,Key:t.Key,UploadId:a};c[s]={error:e,task:o},i(null)})),l++}),(function(e){if(e)return t(e);for(var n=[],r=[],i=0,o=c.length;ir?"sliceUploadFile":"putObject";f.push({api:b,params:e,callback:y})})()})),n._addTasks(f)}function v(e,t){var n=new o,r=this,a=e.Bucket,u=e.Region,l=e.Key,c=e.CopySource,h=c.match(/^([^.]+-\d+)\.cos(v6)?\.([^.]+)\.[^/]+\/(.+)$/);if(h){var f=h[1],d=h[3],p=decodeURIComponent(h[4]),m=void 0===e.CopySliceSize?r.options.CopySliceSize:e.CopySliceSize;m=Math.max(0,m);var g,v,b=e.CopyChunkSize||this.options.CopyChunkSize,w=this.options.CopyChunkParallelLimit,D=0;n.on("copy_slice_complete",(function(n){var i={};s.each(e.Headers,(function(e,t){0===t.toLowerCase().indexOf("x-cos-meta-")&&(i[t]=e)}));var o=s.map(n.PartList,(function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));r.multipartComplete({Bucket:a,Region:u,Key:l,UploadId:n.UploadId,Parts:o},(function(e,n){if(e)return v(null,!0),t(e);v({loaded:g,total:g},!0),t(null,n)}))})),n.on("get_copy_data_finish",(function(e){i.eachLimit(e.PartList,w,(function(t,n){var i=t.PartNumber,o=t.CopySourceRange,s=t.end-t.start;y.call(r,{Bucket:a,Region:u,Key:l,CopySource:c,UploadId:e.UploadId,PartNumber:i,CopySourceRange:o},(function(e,r){if(e)return n(e);D+=s,v({loaded:D,total:g}),t.ETag=r.ETag,n(e||null,r)}))}),(function(r){if(r)return v(null,!0),t(r);n.emit("copy_slice_complete",e)}))})),n.on("get_file_size_finish",(function(i){var o;if(function(){for(var t=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],n=1048576,i=0;in.length&&(u[t]=e)})),n.emit("get_file_size_finish",u)}else t(s.error(new Error('get Content-Length error, please add "Content-Length" to CORS ExposeHeader setting.')))}))}else t(s.error(new Error("CopySource format error")))}function y(e,t){var n=e.TaskId,r=e.Bucket,o=e.Region,s=e.Key,a=e.CopySource,u=e.UploadId,l=1*e.PartNumber,c=e.CopySourceRange,h=this.options.ChunkRetryTimes+1,f=this;i.retry(h,(function(e){f.uploadPartCopy({TaskId:n,Bucket:r,Region:o,Key:s,CopySource:a,UploadId:u,PartNumber:l,CopySourceRange:c},(function(t,n){e(t||null,n)}))}),(function(e,n){return t(e,n)}))}var b={sliceUploadFile:a,abortUploadTask:p,uploadFiles:g,sliceCopyFile:v};e.exports.init=function(e,t){t.transferToTaskMethod(b,"sliceUploadFile"),s.each(b,(function(t,n){e.prototype[n]=s.apiWrapper(n,t)}))}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c46":function(e,t,n){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=n("11dc"),t.createHash=t.Hash=n("98e6"),t.createHmac=t.Hmac=n("1a2a");var r=n("116d"),i=Object.keys(r),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return o};var s=n("a099");t.pbkdf2=s.pbkdf2,t.pbkdf2Sync=s.pbkdf2Sync;var a=n("956a");t.Cipher=a.Cipher,t.createCipher=a.createCipher,t.Cipheriv=a.Cipheriv,t.createCipheriv=a.createCipheriv,t.Decipher=a.Decipher,t.createDecipher=a.createDecipher,t.Decipheriv=a.Decipheriv,t.createDecipheriv=a.createDecipheriv,t.getCiphers=a.getCiphers,t.listCiphers=a.listCiphers;var u=n("00dc");t.DiffieHellmanGroup=u.DiffieHellmanGroup,t.createDiffieHellmanGroup=u.createDiffieHellmanGroup,t.getDiffieHellman=u.getDiffieHellman,t.createDiffieHellman=u.createDiffieHellman,t.DiffieHellman=u.DiffieHellman;var l=n("b692");t.createSign=l.createSign,t.Sign=l.Sign,t.createVerify=l.createVerify,t.Verify=l.Verify,t.createECDH=n("e1d3");var c=n("6442");t.publicEncrypt=c.publicEncrypt,t.privateEncrypt=c.privateEncrypt,t.publicDecrypt=c.publicDecrypt,t.privateDecrypt=c.privateDecrypt;var h=n("75cc");t.randomFill=h.randomFill,t.randomFillSync=h.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},"1c7e":function(e,t,n){var r=n("b622"),i=r("iterator"),o=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(u){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(u){}return n}},"1cdc":function(e,t,n){var r=n("342f");e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(r)},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=51||!r((function(){var t=[],n=t.constructor={};return n[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"1e3c":function(e,t,n){var r=n("6430"),i=n("1545"),o=n("3fb5"),s=n("8707").Buffer,a={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function u(e){r.call(this);var t,n=e.mode.toLowerCase(),i=a[n];t=e.decrypt?"decrypt":"encrypt";var o=e.key;s.isBuffer(o)||(o=s.from(o)),"des-ede"!==n&&"des-ede-cbc"!==n||(o=s.concat([o,o.slice(0,8)]));var u=e.iv;s.isBuffer(u)||(u=s.from(u)),this._des=i.create({key:o,iv:u,type:t})}a.des=a["des-cbc"],a.des3=a["des-ede3-cbc"],e.exports=u,o(u,r),u.prototype._update=function(e){return s.from(this._des.update(e))},u.prototype._final=function(){return s.from(this._des.final())}},"1e54":function(e,t,n){"use strict";const r=n("f30b"),i=r.TAG_NAMES,o=r.NAMESPACES;function s(e){switch(e.length){case 1:return e===i.P;case 2:return e===i.RB||e===i.RP||e===i.RT||e===i.DD||e===i.DT||e===i.LI;case 3:return e===i.RTC;case 6:return e===i.OPTION;case 8:return e===i.OPTGROUP}return!1}function a(e){switch(e.length){case 1:return e===i.P;case 2:return e===i.RB||e===i.RP||e===i.RT||e===i.DD||e===i.DT||e===i.LI||e===i.TD||e===i.TH||e===i.TR;case 3:return e===i.RTC;case 5:return e===i.TBODY||e===i.TFOOT||e===i.THEAD;case 6:return e===i.OPTION;case 7:return e===i.CAPTION;case 8:return e===i.OPTGROUP||e===i.COLGROUP}return!1}function u(e,t){switch(e.length){case 2:if(e===i.TD||e===i.TH)return t===o.HTML;if(e===i.MI||e===i.MO||e===i.MN||e===i.MS)return t===o.MATHML;break;case 4:if(e===i.HTML)return t===o.HTML;if(e===i.DESC)return t===o.SVG;break;case 5:if(e===i.TABLE)return t===o.HTML;if(e===i.MTEXT)return t===o.MATHML;if(e===i.TITLE)return t===o.SVG;break;case 6:return(e===i.APPLET||e===i.OBJECT)&&t===o.HTML;case 7:return(e===i.CAPTION||e===i.MARQUEE)&&t===o.HTML;case 8:return e===i.TEMPLATE&&t===o.HTML;case 13:return e===i.FOREIGN_OBJECT&&t===o.SVG;case 14:return e===i.ANNOTATION_XML&&t===o.MATHML}return!1}class l{constructor(e,t){this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=t}_indexOf(e){let t=-1;for(let n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}_isInTemplate(){return this.currentTagName===i.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===o.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}insertAfter(e,t){const n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(e){while(this.stackTop>-1){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===o.HTML)break}}popUntilElementPopped(e){while(this.stackTop>-1){const t=this.current;if(this.pop(),t===e)break}}popUntilNumberedHeaderPopped(){while(this.stackTop>-1){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===i.H1||e===i.H2||e===i.H3||e===i.H4||e===i.H5||e===i.H6&&t===o.HTML)break}}popUntilTableCellPopped(){while(this.stackTop>-1){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===i.TD||e===i.TH&&t===o.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){while(this.currentTagName!==i.TABLE&&this.currentTagName!==i.TEMPLATE&&this.currentTagName!==i.HTML||this.treeAdapter.getNamespaceURI(this.current)!==o.HTML)this.pop()}clearBackToTableBodyContext(){while(this.currentTagName!==i.TBODY&&this.currentTagName!==i.TFOOT&&this.currentTagName!==i.THEAD&&this.currentTagName!==i.TEMPLATE&&this.currentTagName!==i.HTML||this.treeAdapter.getNamespaceURI(this.current)!==o.HTML)this.pop()}clearBackToTableRowContext(){while(this.currentTagName!==i.TR&&this.currentTagName!==i.TEMPLATE&&this.currentTagName!==i.HTML||this.treeAdapter.getNamespaceURI(this.current)!==o.HTML)this.pop()}remove(e){for(let t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const e=this.items[1];return e&&this.treeAdapter.getTagName(e)===i.BODY?e:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e);return--t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.currentTagName===i.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===o.HTML)return!0;if(u(n,r))return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===i.H1||t===i.H2||t===i.H3||t===i.H4||t===i.H5||t===i.H6)&&n===o.HTML)return!0;if(u(t,n))return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===o.HTML)return!0;if((n===i.UL||n===i.OL)&&r===o.HTML||u(n,r))return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===o.HTML)return!0;if(n===i.BUTTON&&r===o.HTML||u(n,r))return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===o.HTML){if(n===e)return!0;if(n===i.TABLE||n===i.TEMPLATE||n===i.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===o.HTML){if(t===i.TBODY||t===i.THEAD||t===i.TFOOT)return!0;if(t===i.TABLE||t===i.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===o.HTML){if(n===e)return!0;if(n!==i.OPTION&&n!==i.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){while(s(this.currentTagName))this.pop()}generateImpliedEndTagsThoroughly(){while(a(this.currentTagName))this.pop()}generateImpliedEndTagsWithExclusion(e){while(s(this.currentTagName)&&this.currentTagName!==e)this.pop()}}e.exports=l},"1fb5":function(e,t,n){"use strict";t.byteLength=c,t.toByteArray=f,t.fromByteArray=m;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=s.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r}function h(e,t,n){return 3*(t+n)/4-n}function f(e){var t,n,r=l(e),s=r[0],a=r[1],u=new o(h(e,s,a)),c=0,f=a>0?s-4:s;for(n=0;n>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===a&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,u[c++]=255&t),1===a&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u}function d(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function p(e,t,n){for(var r,i=[],o=t;ou?u:a+s));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"1fec":function(e,t,n){"use strict";var r=n("da3e"),i=n("3fb5"),o=n("0184"),s=n("4e2b");function a(e,t){r.equal(t.length,24,"Invalid key length");var n=t.slice(0,8),i=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[s.create({type:"encrypt",key:n}),s.create({type:"decrypt",key:i}),s.create({type:"encrypt",key:o})]:[s.create({type:"decrypt",key:o}),s.create({type:"encrypt",key:i}),s.create({type:"decrypt",key:n})]}function u(e){o.call(this,e);var t=new a(this.type,this.options.key);this._edeState=t}i(u,o),e.exports=u,u.create=function(e){return new u(e)},u.prototype._update=function(e,t,n,r){var i=this._edeState;i.ciphers[0]._update(e,t,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},u.prototype._pad=s.prototype._pad,u.prototype._unpad=s.prototype._unpad},"1ff4":function(e,t,n){"use strict";const{DOCUMENT_MODE:r}=n("f30b"),i="html",o="about:legacy-compat",s="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",a=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],u=a.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),l=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],c=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],h=c.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function f(e){const t=-1!==e.indexOf('"')?"'":'"';return t+e+t}function d(e,t){for(let n=0;n-1)return r.QUIRKS;let e=null===t?u:a;if(d(n,e))return r.QUIRKS;if(e=null===t?c:h,d(n,e))return r.LIMITED_QUIRKS}return r.NO_QUIRKS},t.serializeContent=function(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+f(t):n&&(r+=" SYSTEM"),null!==n&&(r+=" "+f(n)),r}},"205b":function(e){e.exports=JSON.parse('{"_args":[["cheerio@1.0.0-rc.6","/home/runner/work/md/md"]],"_from":"cheerio@1.0.0-rc.6","_id":"cheerio@1.0.0-rc.6","_inBundle":false,"_integrity":"sha1-pa6Bq0g67voSgMMlVDxgEUVQYkA=","_location":"/cheerio","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"cheerio@1.0.0-rc.6","name":"cheerio","escapedName":"cheerio","rawSpec":"1.0.0-rc.6","saveSpec":null,"fetchSpec":"1.0.0-rc.6"},"_requiredBy":["/juice"],"_resolved":"https://registry.npm.taobao.org/cheerio/download/cheerio-1.0.0-rc.6.tgz","_spec":"1.0.0-rc.6","_where":"/home/runner/work/md/md","author":{"name":"Matt Mueller","email":"mattmuelle@gmail.com","url":"mat.io"},"bugs":{"url":"https://github.com/cheeriojs/cheerio/issues"},"dependencies":{"cheerio-select":"^1.3.0","dom-serializer":"^1.3.1","domhandler":"^4.1.0","htmlparser2":"^6.1.0","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1"},"description":"Tiny, fast, and elegant implementation of core jQuery designed specifically for the server","devDependencies":{"@types/node":"^14.14.37","benchmark":"^2.1.4","clean-jsdoc-theme":"^3.1.2","eslint":"^7.23.0","eslint-config-prettier":"^8.1.0","eslint-plugin-jest":"^24.3.4","eslint-plugin-jsdoc":"^32.3.0","eslint-plugin-node":"^11.1.0","husky":"^4.3.8","jest":"^26.6.3","jquery":"^3.6.0","jsdoc":"^3.6.6","jsdom":"^16.5.2","lint-staged":"^10.5.4","prettier":"^2.2.1","prettier-plugin-jsdoc":"0.3.14","tsd":"^0.14.0"},"engines":{"node":">= 0.12"},"files":["index.js","types/index.d.ts","lib"],"homepage":"https://cheerio.js.org/","jest":{"testEnvironment":"node","testMatch":["/test/**/*.js"],"testPathIgnorePatterns":["/__fixtures__/"]},"keywords":["htmlparser","jquery","selector","scraper","parser","html"],"license":"MIT","lint-staged":{"*.js":["prettier --write","npm run test:lint -- --fix"],"*.{json,md,ts,yml}":["prettier --write"]},"main":"./index.js","name":"cheerio","prettier":{"singleQuote":true,"tabWidth":2},"repository":{"type":"git","url":"git://github.com/cheeriojs/cheerio.git"},"scripts":{"bench":"npm run benchmark","benchmark":"node benchmark/benchmark.js --regex \\"^(?!.*highmem)\\"","build:docs":"jsdoc --configure jsdoc-config.json","format":"npm run format:es && npm run format:prettier","format:es":"npm run lint:es -- --fix","format:prettier":"npm run format:prettier:raw -- --write","format:prettier:raw":"prettier \\"**/*.{js,ts,md,json,yml}\\" --ignore-path .gitignore","lint":"npm run lint:es && npm run lint:prettier","lint:es":"eslint --ignore-path .gitignore .","lint:prettier":"npm run format:prettier:raw -- --check","pre-commit":"lint-staged","test":"npm run lint && npm run test:jest && npm run test:types","test:jest":"jest","test:jest:cov":"npm run test:jest -- --coverage","test:types":"tsd"},"types":"types/index.d.ts","version":"1.0.0-rc.6"}')},"206d":function(e,t,n){(function(t){var r,i,o=n("8707").Buffer,s=n("7d2a"),a=n("9f9d"),u=n("e07b"),l=n("8be6"),c=t.crypto&&t.crypto.subtle,h={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},f=[];function d(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!c||!c.importKey||!c.deriveBits)return Promise.resolve(!1);if(void 0!==f[e])return f[e];r=r||o.alloc(8);var n=m(r,r,10,128,e).then((function(){return!0})).catch((function(){return!1}));return f[e]=n,n}function p(){return i||(i=t.process&&t.process.nextTick?t.process.nextTick:t.queueMicrotask?t.queueMicrotask:t.setImmediate?t.setImmediate:t.setTimeout,i)}function m(e,t,n,r,i){return c.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return c.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:i}},e,r<<3)})).then((function(e){return o.from(e)}))}function g(e,t){e.then((function(e){p()((function(){t(null,e)}))}),(function(e){p()((function(){t(e)}))}))}e.exports=function(e,n,r,i,o,c){"function"===typeof o&&(c=o,o=void 0),o=o||"sha1";var f=h[o.toLowerCase()];if(f&&"function"===typeof t.Promise){if(s(r,i),e=l(e,a,"Password"),n=l(n,a,"Salt"),"function"!==typeof c)throw new Error("No callback provided to pbkdf2");g(d(f).then((function(t){return t?m(e,n,r,i,f):u(e,n,r,i,o)})),c)}else p()((function(){var t;try{t=u(e,n,r,i,o)}catch(s){return c(s)}c(null,t)}))}}).call(this,n("c8ba"))},"20f6":function(e,t,n){"use strict";const r=t;r.der=n("cfbd"),r.pem=n("8df7")},2137:function(e,t,n){"use strict";var r=n("c3c0"),i=n("da3e");function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}e.exports=o,o.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t>>2]>>>24-o%4*8&255;t[r+o>>>2]|=s<<24-(r+o)%4*8}else for(o=0;o>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},d=h.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},p=h.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},m=u.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,s=this.blockSize,a=4*s,u=o/a;u=t?e.ceil(u):e.max((0|u)-this._minBufferSize,0);var l=u*s,h=e.min(4*l,o);if(l){for(var f=0;ff;f++)if(p=x(e[f]),p&&p instanceof l)return p;return new l(!1)}c=h.call(e)}m=c.next;while(!(g=m.call(c)).done){try{p=x(g.value)}catch(_){throw u(c),_}if("object"==typeof p&&p&&p instanceof l)return p}return new l(!1)}},"22ab":function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";var t=this.head,n=""+t.data;while(t=t.next)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return c.alloc(0);var t=c.allocUnsafe(e>>>0),n=this.head,r=0;while(n)p(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),e-=o,0===e){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=c.allocUnsafe(e),n=this.head,r=1;n.data.copy(t),e-=n.data.length;while(n=n.next){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),e-=o,0===e){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:d,value:function(e,t){return f(this,i({},t,{depth:0,customInspect:!1}))}}]),e}()},"23cb":function(e,t,n){var r=n("a691"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),s=n("6eeb"),a=n("ce4e"),u=n("e893"),l=n("94ca");e.exports=function(e,t){var n,c,h,f,d,p,m=e.target,g=e.global,v=e.stat;if(c=g?r:v?r[m]||a(m,{}):(r[m]||{}).prototype,c)for(h in t){if(d=t[h],e.noTargetGet?(p=i(c,h),f=p&&p.value):f=c[h],n=l(g?h:m+(v?".":"#")+h,e.forced),!n&&void 0!==f){if(typeof d===typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),s(c,h,d,e)}}},"241c":function(e,t,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},2444:function(e,t,n){"use strict";(function(t){var r=n("c532"),i=n("c8af"),o=n("387f"),s={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function u(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("b50d")),e}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:u(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(a(t,"application/json"),JSON.stringify(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(a){if(s){if("SyntaxError"===a.name)throw o(a,this,"E_JSON_PARSE");throw a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(s)})),e.exports=l}).call(this,n("4362"))},2504:function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},2532:function(e,t,n){"use strict";var r=n("23e7"),i=n("5a34"),o=n("1d80"),s=n("ab13");r({target:"String",proto:!0,forced:!s("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},2562:function(e,t,n){"use strict";var r=/([-.*+?^${}()|[\]\/\\])/g,i=/\\/g,o=function(e){return(e+"").replace(r,"\\$1")},s=function(e){return(e+"").replace(i,"")},a=RegExp("^(?:\\s*(,)\\s*|\\s*(+)\\s*|(\\s+)|(+|\\*)|\\#(+)|\\.(+)|\\[\\s*(+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:([\"']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(+)(?:\\((?:(?:([\"'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)".replace(//,"["+o(">+~`!@$%^&={}\\;/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(//g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),u=function(e){this.combinator=e||" ",this.tag="*"};u.prototype.toString=function(){if(!this.raw){var e,t,n="";if(n+=this.tag||"*",this.id&&(n+="#"+this.id),this.classes&&(n+="."+this.classList.join(".")),this.attributes)for(e=0;t=this.attributes[e++];)n+="["+t.name+(t.operator?t.operator+'"'+t.value+'"':"")+"]";if(this.pseudos)for(e=0;t=this.pseudos[e++];)n+=":"+t.name,t.value&&(n+="("+t.value+")");this.raw=n}return this.raw};var l=function(){this.length=0};l.prototype.toString=function(){if(!this.raw){for(var e,t="",n=0;e=this[n++];)1!==n&&(t+=" ")," "!==e.combinator&&(t+=e.combinator+" "),t+=e;this.raw=t}return this.raw};var c=function(e,t,n,r,i,a,c,h,f,d,p,m,g,v,y,b){var w,D;if((t||!this.length)&&(w=this[this.length++]=new l,t))return"";if(w||(w=this[this.length-1]),(n||r||!w.length)&&(D=w[w.length++]=new u(n)),D||(D=w[w.length-1]),i)D.tag=s(i);else if(a)D.id=s(a);else if(c){var E=s(c),x=D.classes||(D.classes={});if(!x[E]){x[E]=o(c);var _=D.classList||(D.classList=[]);_.push(E),_.sort()}}else g?(b=b||y,(D.pseudos||(D.pseudos=[])).push({type:1==m.length?"class":"element",name:s(g),escapedName:o(g),value:b?s(b):null,escapedValue:b?o(b):null})):h&&(p=p?o(p):null,(D.attributes||(D.attributes=[])).push({operator:f,name:s(h),escapedName:o(h),value:p?s(p):null,escapedValue:p?o(p):null}));return""},h=function(e){this.length=0;var t,n=this,r=e;while(e){if(t=e.replace(a,(function(){return c.apply(n,arguments)})),t===e)throw new Error(r+" is an invalid expression");e=t}};h.prototype.toString=function(){if(!this.raw){for(var e,t=[],n=0;e=this[n++];)t.push(e);this.raw=t.join(", ")}return this.raw};var f={},d=function(e){return null==e?null:(e=(""+e).replace(/^\s+|\s+$/g,""),f[e]||(f[e]=new h(e)))};e.exports=d},2567:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n=t+n||t?new java.lang.String(e,t,n)+"":e}function l(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}r.prototype.parseFromString=function(e,t){var n=this.options,r=new c,s=n.domBuilder||new o,a=n.errorHandler,u=n.locator,l=n.xmlns||{},h={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return u&&s.setDocumentLocator(u),r.errorHandler=i(a,s,u),r.domBuilder=n.domBuilder||s,/\/x?html?$/.test(t)&&(h.nbsp=" ",h.copy="©",l[""]="http://www.w3.org/1999/xhtml"),l.xml=l.xml||"http://www.w3.org/XML/1998/namespace",e?r.parse(e,l,h):r.errorHandler.error("invalid doc source"),s.doc},o.prototype={startDocument:function(){this.doc=(new h).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,o=i.createElementNS(e,n||t),a=r.length;l(this,o),this.currentElement=o,this.locator&&s(this.locator,o);for(var u=0;uu&&(e.scrollTop=s-e.clientHeight)}else e.scrollTop=0}},"2a62":function(e,t,n){var r=n("825a");e.exports=function(e){var t=e["return"];if(void 0!==t)return r(t.call(e)).value}},"2a66":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},e.pad.ZeroPadding}))},"2aee":function(e,t,n){var r=n("4111"),i=n("d70e"),o=n("4dd0"),s=n("fda6"),a=n("a099"),u=n("8707").Buffer;function l(e){var t;"object"!==typeof e||u.isBuffer(e)||(t=e.passphrase,e=e.key),"string"===typeof e&&(e=u.from(e));var n,i,s=o(e,t),a=s.tag,l=s.data;switch(a){case"CERTIFICATE":i=r.certificate.decode(l,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(i||(i=r.PublicKey.decode(l,"der")),n=i.algorithm.algorithm.join("."),n){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(i.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return i.subjectPrivateKey=i.subjectPublicKey,{type:"ec",data:i};case"1.2.840.10040.4.1":return i.algorithm.params.pub_key=r.DSAparam.decode(i.subjectPublicKey.data,"der"),{type:"dsa",data:i.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":l=r.EncryptedPrivateKey.decode(l,"der"),l=c(l,t);case"PRIVATE KEY":switch(i=r.PrivateKey.decode(l,"der"),n=i.algorithm.algorithm.join("."),n){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(i.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:i.algorithm.curve,privateKey:r.ECPrivateKey.decode(i.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return i.algorithm.params.priv_key=r.DSAparam.decode(i.subjectPrivateKey,"der"),{type:"dsa",params:i.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(l,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(l,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(l,"der")};case"EC PRIVATE KEY":return l=r.ECPrivateKey.decode(l,"der"),{curve:l.parameters.value,privateKey:l.privateKey};default:throw new Error("unknown key type "+a)}}function c(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],l=e.algorithm.decrypt.cipher.iv,c=e.subjectPrivateKey,h=parseInt(o.split("-")[1],10)/8,f=a.pbkdf2Sync(t,n,r,h,"sha1"),d=s.createDecipheriv(o,f,l),p=[];return p.push(d.update(c)),p.push(d.final()),u.concat(p)}e.exports=l,l.signature=r.signature},"2b0e":function(e,t,n){"use strict";n.r(t),function(e){ +return function(t){var n=e,r=n.lib,i=r.WordArray,o=r.Hasher,s=n.algo,a=i.create([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]),u=i.create([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]),l=i.create([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]),c=i.create([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]),h=i.create([0,1518500249,1859775393,2400959708,2840853838]),f=i.create([1352829926,1548603684,1836072691,2053994217,0]),d=s.RIPEMD160=o.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,s,d,w,D,E,x,_,C,k,S,A=this._hash.words,T=h.words,M=f.words,O=a.words,N=u.words,F=l.words,I=c.words;E=o=A[0],x=s=A[1],_=d=A[2],C=w=A[3],k=D=A[4];for(n=0;n<80;n+=1)S=o+e[t+O[n]]|0,S+=n<16?p(s,d,w)+T[0]:n<32?m(s,d,w)+T[1]:n<48?g(s,d,w)+T[2]:n<64?v(s,d,w)+T[3]:y(s,d,w)+T[4],S|=0,S=b(S,F[n]),S=S+D|0,o=D,D=w,w=b(d,10),d=s,s=S,S=E+e[t+N[n]]|0,S+=n<16?y(x,_,C)+M[0]:n<32?v(x,_,C)+M[1]:n<48?g(x,_,C)+M[2]:n<64?m(x,_,C)+M[3]:p(x,_,C)+M[4],S|=0,S=b(S,I[n]),S=S+k|0,E=k,k=C,C=b(_,10),_=x,x=S;S=A[1]+d+C|0,A[1]=A[2]+w+k|0,A[2]=A[3]+D+E|0,A[3]=A[4]+o+x|0,A[4]=A[0]+s+_|0,A[0]=S},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,o=i.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return i},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function v(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function b(e,t){return e<>>32-t}n.RIPEMD160=o._createHelper(d),n.HmacRIPEMD160=o._createHmacHelper(d)}(Math),e.RIPEMD160}))},"10db":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"111b":function(e,t,n){(function(e){e(n("56b3"),n("7b00"))})((function(e){"use strict";var t={active:1,after:1,before:1,checked:1,default:1,disabled:1,empty:1,enabled:1,"first-child":1,"first-letter":1,"first-line":1,"first-of-type":1,focus:1,hover:1,"in-range":1,indeterminate:1,invalid:1,lang:1,"last-child":1,"last-of-type":1,link:1,not:1,"nth-child":1,"nth-last-child":1,"nth-last-of-type":1,"nth-of-type":1,"only-of-type":1,"only-child":1,optional:1,"out-of-range":1,placeholder:1,"read-only":1,"read-write":1,required:1,root:1,selection:1,target:1,valid:1,visited:1};e.registerHelper("hint","css",(function(n){var r=n.getCursor(),i=n.getTokenAt(r),o=e.innerMode(n.getMode(),i.state);if("css"==o.mode.name){if("keyword"==i.type&&0=="!important".indexOf(i.string))return{list:["!important"],from:e.Pos(r.line,i.start),to:e.Pos(r.line,i.end)};var s=i.start,a=r.ch,u=i.string.slice(0,a-s);/[^\w$_-]/.test(u)&&(u="",s=a=r.ch);var l=e.resolveMode("text/css"),c=[],h=o.state.state;return"pseudo"==h||"variable-3"==i.type?f(t):"block"==h||"maybeprop"==h?f(l.propertyKeywords):"prop"==h||"parens"==h||"at"==h||"params"==h?(f(l.valueKeywords),f(l.colorKeywords)):"media"!=h&&"media_parens"!=h||(f(l.mediaTypes),f(l.mediaFeatures)),c.length?{list:c,from:e.Pos(r.line,s),to:e.Pos(r.line,a)}:void 0}function f(e){for(var t in e)u&&0!=t.lastIndexOf(u,0)||c.push(t)}}))}))},1132:function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,i=t.enc;i.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o>>2]>>>24-o%4*8&255,a=t[o+1>>>2]>>>24-(o+1)%4*8&255,u=t[o+2>>>2]>>>24-(o+2)%4*8&255,l=s<<16|a<<8|u,c=0;c<4&&o+.75*c>>6*(3-c)&63));var h=r.charAt(64);if(h)while(i.length%4)i.push(h);return i.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var i=0;i>>6-s%4*2,l=a|u;i[o>>>2]|=l<<24-o%4*8,o++}return r.create(i,o)}}(),e.enc.Base64}))},1148:function(e,t,n){"use strict";var r=n("a691"),i=n("1d80");e.exports=function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},"115b":function(e,t,n){(function(t){function n(e){return r.bind(null,e)}function r(e){var n=[].slice.call(arguments,1);n.unshift("["+e+"]"),t.stderr.write(n.join(" ")+"\n")}e.exports=n}).call(this,n("4362"))},"116d":function(e,t,n){e.exports=n("b4e8")},"11dc":function(e,t,n){"use strict";(function(t,r){var i=65536,o=4294967295;function s(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var a=n("8707").Buffer,u=t.crypto||t.msCrypto;function l(e,t){if(e>o)throw new RangeError("requested too many random bytes");var n=a.allocUnsafe(e);if(e>0)if(e>i)for(var s=0;s1||"".split(/.?/).length?function(e,n){var r=String(s(this)),o=void 0===n?g:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!i(e))return t.call(r,e,o);var a,u,l,c=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,m=new RegExp(e.source,f+"g");while(a=h.call(m,r)){if(u=m.lastIndex,u>d&&(c.push(r.slice(d,a.index)),a.length>1&&a.index=o))break;m.lastIndex===a.index&&m.lastIndex++}return d===r.length?!l&&m.test("")||c.push(""):c.push(r.slice(d)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=s(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var s=n(r,e,this,i,r!==t);if(s.done)return s.value;var h=o(e),f=String(this),p=a(h,RegExp),v=h.unicode,y=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(d?"g":"y"),b=new p(d?"^(?:"+h.source+")":h,y),w=void 0===i?g:i>>>0;if(0===w)return[];if(0===f.length)return null===c(b,f)?[f]:[];var D=0,E=0,x=[];while(E>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(n=0;n<4;n++)l.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(t){var o=t.words,s=o[0],a=o[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),h=u>>>16|4294901760&c,f=c<<16|65535&u;i[0]^=u,i[1]^=h,i[2]^=c,i[3]^=f,i[4]^=u,i[5]^=h,i[6]^=c,i[7]^=f;for(n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)s[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,o=r>>>16,u=((i*i>>>17)+i*o>>>15)+o*o,l=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=u^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.Rabbit=r._createHelper(u)}(),e.Rabbit}))},"13d6":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.filters=void 0;var i=r(n("dbba")),o=n("99e4");function s(e,t){return function(n){var r=t.getParent(n);return null!=r&&t.isTag(r)&&e(n)}}function a(e){return function(t,n,r){var i=r.adapter,s=i[e];return"function"!==typeof s?o.falseFunc:function(e){return s(e)&&t(e)}}}t.filters={contains:function(e,t,n){var r=n.adapter;return function(n){return e(n)&&r.getText(n).includes(t)}},icontains:function(e,t,n){var r=n.adapter,i=t.toLowerCase();return function(t){return e(t)&&r.getText(t).toLowerCase().includes(i)}},"nth-child":function(e,t,n){var r=n.adapter,a=n.equals,u=i.default(t);return u===o.falseFunc?o.falseFunc:u===o.trueFunc?s(e,r):function(t){for(var n=r.getSiblings(t),i=0,o=0;o=0;o--){if(a(t,n[o]))break;r.isTag(n[o])&&i++}return u(i)&&e(t)}},"nth-of-type":function(e,t,n){var r=n.adapter,a=n.equals,u=i.default(t);return u===o.falseFunc?o.falseFunc:u===o.trueFunc?s(e,r):function(t){for(var n=r.getSiblings(t),i=0,o=0;o=0;o--){var s=n[o];if(a(t,s))break;r.isTag(s)&&r.getName(s)===r.getName(t)&&i++}return u(i)&&e(t)}},root:function(e,t,n){var r=n.adapter;return function(t){var n=r.getParent(t);return(null==n||!r.isTag(n))&&e(t)}},scope:function(e,n,r,i){var o=r.equals;return i&&0!==i.length?1===i.length?function(t){return o(i[0],t)&&e(t)}:function(t){return i.includes(t)&&e(t)}:t.filters.root(e,n,r)},hover:a("isHovered"),visited:a("isVisited"),active:a("isActive")}},"13e2":function(e,t,n){"use strict";var r=n("c3c0"),i=n("edc9"),o=n("aa56"),s=r.rotl32,a=r.sum32,u=r.sum32_5,l=o.ft_1,c=i.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(f,c),e.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r1?arguments[1]:void 0)}},"17e1":function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(){if("function"==typeof ArrayBuffer){var t=e,n=t.lib,r=n.WordArray,i=r.init,o=r.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],r=0;r>>2]|=e[r]<<24-r%4*8;i.call(this,n,t)}else i.apply(this,arguments)};o.prototype=r}}(),e.lib.WordArray}))},"17ed":function(e,t,n){e.exports={default:n("511f"),__esModule:!0}},1836:function(e,t,n){var r=n("6ca1"),i=n("6438").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return i(e)}catch(t){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==o.call(e)?a(e):i(r(e))}},1917:function(e,t){t.f={}.propertyIsEnumerable},"191b":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("94f8"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,i=t.algo,o=i.SHA256,s=i.SHA224=o.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=o._createHelper(s),t.HmacSHA224=o._createHmacHelper(s)}(),e.SHA224}))},"19aa":function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},"19ea":function(e,t,n){"use strict";(function(t,r){function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){V(t,e)}}var o;e.exports=A,A.WritableState=S;var s={deprecate:n("b7d1")},a=n("5bbb"),u=n("b639").Buffer,l=t.Uint8Array||function(){};function c(e){return u.from(e)}function h(e){return u.isBuffer(e)||e instanceof l}var f,d=n("493f"),p=n("b9b5"),m=p.getHighWaterMark,g=n("9d8a").codes,v=g.ERR_INVALID_ARG_TYPE,y=g.ERR_METHOD_NOT_IMPLEMENTED,b=g.ERR_MULTIPLE_CALLBACK,w=g.ERR_STREAM_CANNOT_PIPE,D=g.ERR_STREAM_DESTROYED,E=g.ERR_STREAM_NULL_VALUES,x=g.ERR_STREAM_WRITE_AFTER_END,_=g.ERR_UNKNOWN_ENCODING,C=d.errorOrDestroy;function k(){}function S(e,t,r){o=o||n("e666"),e=e||{},"boolean"!==typeof r&&(r=t instanceof o),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=m(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){P(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function A(e){o=o||n("e666");var t=this instanceof o;if(!t&&!f.call(A,this))return new A(e);this._writableState=new S(e,this,t),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)),a.call(this)}function T(e,t){var n=new x;C(e,n),r.nextTick(t,n)}function M(e,t,n,i){var o;return null===n?o=new E:"string"===typeof n||t.objectMode||(o=new v("chunk",["string","Buffer"],n)),!o||(C(e,o),r.nextTick(i,o),!1)}function O(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=u.from(t,n)),t}function N(e,t,n,r,i,o){if(!n){var s=O(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=t.objectMode?1:r.length;t.length+=a;var u=t.length-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),A.prototype._write=function(e,t,n){n(new y("_write()"))},A.prototype._writev=null,A.prototype.end=function(e,t,n){var r=this._writableState;return"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||z(this,r,n),this},Object.defineProperty(A.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),A.prototype.destroy=d.destroy,A.prototype._undestroy=d.undestroy,A.prototype._destroy=function(e,t){t(e)}}).call(this,n("c8ba"),n("4362"))},"19fa":function(e,t,n){var r=n("fc5e"),i=n("c901");e.exports=function(e){return function(t,n){var o,s,a=String(i(t)),u=r(n),l=a.length;return u<0||u>=l?e?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===l||(s=a.charCodeAt(u+1))<56320||s>57343?e?a.charAt(u):o:e?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},"1a14":function(e,t,n){var r=n("77e9"),i=n("faf5"),o=n("3397"),s=Object.defineProperty;t.f=n("0bad")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return s(e,t,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"1a2a":function(e,t,n){"use strict";var r=n("3fb5"),i=n("d424"),o=n("6430"),s=n("8707").Buffer,a=n("5a76"),u=n("b5ca"),l=n("69f2"),c=s.alloc(128);function h(e,t){o.call(this,"digest"),"string"===typeof t&&(t=s.from(t));var n="sha512"===e||"sha384"===e?128:64;if(this._alg=e,this._key=t,t.length>n){var r="rmd160"===e?new u:l(e);t=r.update(t).digest()}else t.length{const t=s[e];Object.defineProperty(a.prototype,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}),t.createDocument=function(){return new a({type:"root",name:"root",parent:null,prev:null,next:null,children:[],"x-mode":i.NO_QUIRKS})},t.createDocumentFragment=function(){return new a({type:"root",name:"root",parent:null,prev:null,next:null,children:[]})},t.createElement=function(e,t,n){const r=Object.create(null),i=Object.create(null),o=Object.create(null);for(let s=0;sv)return t(null,!1);if(n>1){var r=Math.max(e[0].Size,e[1].Size);if(r!==g)return t(null,!1)}var i=function(r){if(r=o.length)E.emit("has_and_check_upload_id",t);else{var i=o[e];if(!s.isInArray(t,i))return r.removeUploadId.call(d,i),void l(e+1);r.using[i]?l(e+1):c.call(d,{Bucket:a,Region:u,Key:h,UploadId:i},(function(t,o){d._isRunningTask(n)&&(t?(r.removeUploadId.call(d,i),l(e+1)):E.emit("upload_id_available",{UploadId:i,PartList:o.PartList}))}))}};l(0)}else E.emit("has_and_check_upload_id",t)})),E.on("get_remote_upload_id_list",(function(){l.call(d,{Bucket:a,Region:u,Key:h},(function(t,i){if(d._isRunningTask(n)){if(t)return E.emit("error",t);var o=s.filter(i.UploadList,(function(e){return e.Key===h&&(!f||e.StorageClass.toUpperCase()===f.toUpperCase())})).reverse().map((function(e){return e.UploadId||e.UploadID}));if(o.length)E.emit("seek_local_avail_upload_id",o);else{var u,l=r.getFileId(e.Body,e.ChunkSize,a,h);l&&(u=r.getUploadIdList.call(d,l))&&s.each(u,(function(e){r.removeUploadId.call(d,e)})),E.emit("no_available_upload_id")}}}))})),E.emit("get_remote_upload_id_list")}function l(e,t){var n=this,r=[],i={Bucket:e.Bucket,Region:e.Region,Prefix:e.Key},o=function(){n.multipartList(i,(function(e,n){if(e)return t(e);r.push.apply(r,n.Upload||[]),"true"===n.IsTruncated?(i.KeyMarker=n.NextKeyMarker,i.UploadIdMarker=n.NextUploadIdMarker,o()):t(null,{UploadList:r})}))};o()}function c(e,t){var n=this,r=[],i={Bucket:e.Bucket,Region:e.Region,Key:e.Key,UploadId:e.UploadId},o=function(){n.multipartListPart(i,(function(e,n){if(e)return t(e);r.push.apply(r,n.Part||[]),"true"===n.IsTruncated?(i.PartNumberMarker=n.NextPartNumberMarker,o()):t(null,{PartList:r})}))};o()}function h(e,t){var n=this,r=e.TaskId,o=e.Bucket,a=e.Region,u=e.Key,l=e.UploadData,c=e.FileSize,h=e.SliceSize,d=Math.min(e.AsyncLimit||n.options.ChunkParallelLimit||1,256),p=e.Body,m=Math.ceil(c/h),g=0,v=e.ServerSideEncryption,y=s.filter(l.PartList,(function(e){return e["Uploaded"]&&(g+=e["PartNumber"]>=m&&c%h||h),!e["Uploaded"]})),b=e.onProgress;i.eachLimit(y,d,(function(e,t){if(n._isRunningTask(r)){var i=e["PartNumber"],s=Math.min(c,e["PartNumber"]*h)-(e["PartNumber"]-1)*h,d=0;f.call(n,{TaskId:r,Bucket:o,Region:a,Key:u,SliceSize:h,FileSize:c,PartNumber:i,ServerSideEncryption:v,Body:p,UploadData:l,onProgress:function(e){g+=e.loaded-d,d=e.loaded,b({loaded:g,total:c})}},(function(i,o){n._isRunningTask(r)&&(i||o.ETag||(i='get ETag error, please add "ETag" to CORS ExposeHeader setting.'),i?g-=d:(g+=s-d,e.ETag=o.ETag),b({loaded:g,total:c}),t(i||null,o))}))}}),(function(e){if(n._isRunningTask(r))return e?t(e):void t(null,{UploadId:l.UploadId,SliceList:l.PartList})}))}function f(e,t){var n=this,r=e.TaskId,o=e.Bucket,a=e.Region,u=e.Key,l=e.FileSize,c=e.Body,h=1*e.PartNumber,f=e.SliceSize,d=e.ServerSideEncryption,p=e.UploadData,m=n.options.ChunkRetryTimes+1,g=f*(h-1),v=f,y=g+f;y>l&&(y=l,v=y-g);var b=p.PartList[h-1];i.retry(m,(function(t){n._isRunningTask(r)&&s.fileSlice(c,g,y,!0,(function(i){n.multipartUpload({TaskId:r,Bucket:o,Region:a,Key:u,ContentLength:v,PartNumber:h,UploadId:p.UploadId,ServerSideEncryption:d,Body:i,onProgress:e.onProgress},(function(e,i){if(n._isRunningTask(r))return e?t(e):(b.Uploaded=!0,t(null,i))}))}))}),(function(e,i){if(n._isRunningTask(r))return t(e,i)}))}function d(e,t){var n=e.Bucket,r=e.Region,o=e.Key,s=e.UploadId,a=e.SliceList,u=this,l=this.options.ChunkRetryTimes+1,c=e.Headers,h=a.map((function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));i.retry(l,(function(e){u.multipartComplete({Bucket:n,Region:r,Key:o,UploadId:s,Parts:h,Headers:c},e)}),(function(e,n){t(e,n)}))}function p(e,t){var n=e.Bucket,r=e.Region,i=e.Key,a=e.UploadId,u=e.Level||"task",c=e.AsyncLimit,h=this,f=new o;if(f.on("error",(function(e){return t(e)})),f.on("get_abort_array",(function(o){m.call(h,{Bucket:n,Region:r,Key:i,Headers:e.Headers,AsyncLimit:c,AbortArray:o},t)})),"bucket"===u)l.call(h,{Bucket:n,Region:r},(function(e,n){if(e)return t(e);f.emit("get_abort_array",n.UploadList||[])}));else if("file"===u){if(!i)return t(s.error(new Error("abort_upload_task_no_key")));l.call(h,{Bucket:n,Region:r,Key:i},(function(e,n){if(e)return t(e);f.emit("get_abort_array",n.UploadList||[])}))}else{if("task"!==u)return t(s.error(new Error("abort_unknown_level")));if(!a)return t(s.error(new Error("abort_upload_task_no_id")));if(!i)return t(s.error(new Error("abort_upload_task_no_key")));f.emit("get_abort_array",[{Key:i,UploadId:a}])}}function m(e,t){var n=e.Bucket,r=e.Region,o=e.Key,s=e.AbortArray,a=e.AsyncLimit||1,u=this,l=0,c=new Array(s.length);i.eachLimit(s,a,(function(t,i){var s=l;if(o&&o!==t.Key)return c[s]={error:{KeyNotMatch:!0}},void i(null);var a=t.UploadId||t.UploadID;u.multipartAbort({Bucket:n,Region:r,Key:t.Key,Headers:e.Headers,UploadId:a},(function(e){var o={Bucket:n,Region:r,Key:t.Key,UploadId:a};c[s]={error:e,task:o},i(null)})),l++}),(function(e){if(e)return t(e);for(var n=[],r=[],i=0,o=c.length;ir?"sliceUploadFile":"putObject";f.push({api:b,params:e,callback:y})})()})),n._addTasks(f)}function v(e,t){var n=new o,r=this,a=e.Bucket,u=e.Region,l=e.Key,c=e.CopySource,h=c.match(/^([^.]+-\d+)\.cos(v6)?\.([^.]+)\.[^/]+\/(.+)$/);if(h){var f=h[1],d=h[3],p=decodeURIComponent(h[4]),m=void 0===e.CopySliceSize?r.options.CopySliceSize:e.CopySliceSize;m=Math.max(0,m);var g,v,b=e.CopyChunkSize||this.options.CopyChunkSize,w=this.options.CopyChunkParallelLimit,D=0;n.on("copy_slice_complete",(function(n){var i={};s.each(e.Headers,(function(e,t){0===t.toLowerCase().indexOf("x-cos-meta-")&&(i[t]=e)}));var o=s.map(n.PartList,(function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));r.multipartComplete({Bucket:a,Region:u,Key:l,UploadId:n.UploadId,Parts:o},(function(e,n){if(e)return v(null,!0),t(e);v({loaded:g,total:g},!0),t(null,n)}))})),n.on("get_copy_data_finish",(function(e){i.eachLimit(e.PartList,w,(function(t,n){var i=t.PartNumber,o=t.CopySourceRange,s=t.end-t.start;y.call(r,{Bucket:a,Region:u,Key:l,CopySource:c,UploadId:e.UploadId,PartNumber:i,CopySourceRange:o},(function(e,r){if(e)return n(e);D+=s,v({loaded:D,total:g}),t.ETag=r.ETag,n(e||null,r)}))}),(function(r){if(r)return v(null,!0),t(r);n.emit("copy_slice_complete",e)}))})),n.on("get_file_size_finish",(function(i){var o;if(function(){for(var t=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],n=1048576,i=0;in.length&&(u[t]=e)})),n.emit("get_file_size_finish",u)}else t(s.error(new Error('get Content-Length error, please add "Content-Length" to CORS ExposeHeader setting.')))}))}else t(s.error(new Error("CopySource format error")))}function y(e,t){var n=e.TaskId,r=e.Bucket,o=e.Region,s=e.Key,a=e.CopySource,u=e.UploadId,l=1*e.PartNumber,c=e.CopySourceRange,h=this.options.ChunkRetryTimes+1,f=this;i.retry(h,(function(e){f.uploadPartCopy({TaskId:n,Bucket:r,Region:o,Key:s,CopySource:a,UploadId:u,PartNumber:l,CopySourceRange:c},(function(t,n){e(t||null,n)}))}),(function(e,n){return t(e,n)}))}var b={sliceUploadFile:a,abortUploadTask:p,uploadFiles:g,sliceCopyFile:v};e.exports.init=function(e,t){t.transferToTaskMethod(b,"sliceUploadFile"),s.each(b,(function(t,n){e.prototype[n]=s.apiWrapper(n,t)}))}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c46":function(e,t,n){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=n("11dc"),t.createHash=t.Hash=n("98e6"),t.createHmac=t.Hmac=n("1a2a");var r=n("116d"),i=Object.keys(r),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return o};var s=n("a099");t.pbkdf2=s.pbkdf2,t.pbkdf2Sync=s.pbkdf2Sync;var a=n("956a");t.Cipher=a.Cipher,t.createCipher=a.createCipher,t.Cipheriv=a.Cipheriv,t.createCipheriv=a.createCipheriv,t.Decipher=a.Decipher,t.createDecipher=a.createDecipher,t.Decipheriv=a.Decipheriv,t.createDecipheriv=a.createDecipheriv,t.getCiphers=a.getCiphers,t.listCiphers=a.listCiphers;var u=n("00dc");t.DiffieHellmanGroup=u.DiffieHellmanGroup,t.createDiffieHellmanGroup=u.createDiffieHellmanGroup,t.getDiffieHellman=u.getDiffieHellman,t.createDiffieHellman=u.createDiffieHellman,t.DiffieHellman=u.DiffieHellman;var l=n("b692");t.createSign=l.createSign,t.Sign=l.Sign,t.createVerify=l.createVerify,t.Verify=l.Verify,t.createECDH=n("e1d3");var c=n("6442");t.publicEncrypt=c.publicEncrypt,t.privateEncrypt=c.privateEncrypt,t.publicDecrypt=c.publicDecrypt,t.privateDecrypt=c.privateDecrypt;var h=n("75cc");t.randomFill=h.randomFill,t.randomFillSync=h.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},"1c7e":function(e,t,n){var r=n("b622"),i=r("iterator"),o=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(u){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(u){}return n}},"1cdc":function(e,t,n){var r=n("342f");e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(r)},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=51||!r((function(){var t=[],n=t.constructor={};return n[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"1e3c":function(e,t,n){var r=n("6430"),i=n("1545"),o=n("3fb5"),s=n("8707").Buffer,a={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function u(e){r.call(this);var t,n=e.mode.toLowerCase(),i=a[n];t=e.decrypt?"decrypt":"encrypt";var o=e.key;s.isBuffer(o)||(o=s.from(o)),"des-ede"!==n&&"des-ede-cbc"!==n||(o=s.concat([o,o.slice(0,8)]));var u=e.iv;s.isBuffer(u)||(u=s.from(u)),this._des=i.create({key:o,iv:u,type:t})}a.des=a["des-cbc"],a.des3=a["des-ede3-cbc"],e.exports=u,o(u,r),u.prototype._update=function(e){return s.from(this._des.update(e))},u.prototype._final=function(){return s.from(this._des.final())}},"1e54":function(e,t,n){"use strict";const r=n("f30b"),i=r.TAG_NAMES,o=r.NAMESPACES;function s(e){switch(e.length){case 1:return e===i.P;case 2:return e===i.RB||e===i.RP||e===i.RT||e===i.DD||e===i.DT||e===i.LI;case 3:return e===i.RTC;case 6:return e===i.OPTION;case 8:return e===i.OPTGROUP}return!1}function a(e){switch(e.length){case 1:return e===i.P;case 2:return e===i.RB||e===i.RP||e===i.RT||e===i.DD||e===i.DT||e===i.LI||e===i.TD||e===i.TH||e===i.TR;case 3:return e===i.RTC;case 5:return e===i.TBODY||e===i.TFOOT||e===i.THEAD;case 6:return e===i.OPTION;case 7:return e===i.CAPTION;case 8:return e===i.OPTGROUP||e===i.COLGROUP}return!1}function u(e,t){switch(e.length){case 2:if(e===i.TD||e===i.TH)return t===o.HTML;if(e===i.MI||e===i.MO||e===i.MN||e===i.MS)return t===o.MATHML;break;case 4:if(e===i.HTML)return t===o.HTML;if(e===i.DESC)return t===o.SVG;break;case 5:if(e===i.TABLE)return t===o.HTML;if(e===i.MTEXT)return t===o.MATHML;if(e===i.TITLE)return t===o.SVG;break;case 6:return(e===i.APPLET||e===i.OBJECT)&&t===o.HTML;case 7:return(e===i.CAPTION||e===i.MARQUEE)&&t===o.HTML;case 8:return e===i.TEMPLATE&&t===o.HTML;case 13:return e===i.FOREIGN_OBJECT&&t===o.SVG;case 14:return e===i.ANNOTATION_XML&&t===o.MATHML}return!1}class l{constructor(e,t){this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=t}_indexOf(e){let t=-1;for(let n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}_isInTemplate(){return this.currentTagName===i.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===o.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}insertAfter(e,t){const n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(e){while(this.stackTop>-1){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===o.HTML)break}}popUntilElementPopped(e){while(this.stackTop>-1){const t=this.current;if(this.pop(),t===e)break}}popUntilNumberedHeaderPopped(){while(this.stackTop>-1){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===i.H1||e===i.H2||e===i.H3||e===i.H4||e===i.H5||e===i.H6&&t===o.HTML)break}}popUntilTableCellPopped(){while(this.stackTop>-1){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===i.TD||e===i.TH&&t===o.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){while(this.currentTagName!==i.TABLE&&this.currentTagName!==i.TEMPLATE&&this.currentTagName!==i.HTML||this.treeAdapter.getNamespaceURI(this.current)!==o.HTML)this.pop()}clearBackToTableBodyContext(){while(this.currentTagName!==i.TBODY&&this.currentTagName!==i.TFOOT&&this.currentTagName!==i.THEAD&&this.currentTagName!==i.TEMPLATE&&this.currentTagName!==i.HTML||this.treeAdapter.getNamespaceURI(this.current)!==o.HTML)this.pop()}clearBackToTableRowContext(){while(this.currentTagName!==i.TR&&this.currentTagName!==i.TEMPLATE&&this.currentTagName!==i.HTML||this.treeAdapter.getNamespaceURI(this.current)!==o.HTML)this.pop()}remove(e){for(let t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const e=this.items[1];return e&&this.treeAdapter.getTagName(e)===i.BODY?e:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e);return--t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.currentTagName===i.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===o.HTML)return!0;if(u(n,r))return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===i.H1||t===i.H2||t===i.H3||t===i.H4||t===i.H5||t===i.H6)&&n===o.HTML)return!0;if(u(t,n))return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===o.HTML)return!0;if((n===i.UL||n===i.OL)&&r===o.HTML||u(n,r))return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===o.HTML)return!0;if(n===i.BUTTON&&r===o.HTML||u(n,r))return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===o.HTML){if(n===e)return!0;if(n===i.TABLE||n===i.TEMPLATE||n===i.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===o.HTML){if(t===i.TBODY||t===i.THEAD||t===i.TFOOT)return!0;if(t===i.TABLE||t===i.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===o.HTML){if(n===e)return!0;if(n!==i.OPTION&&n!==i.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){while(s(this.currentTagName))this.pop()}generateImpliedEndTagsThoroughly(){while(a(this.currentTagName))this.pop()}generateImpliedEndTagsWithExclusion(e){while(s(this.currentTagName)&&this.currentTagName!==e)this.pop()}}e.exports=l},"1fb5":function(e,t,n){"use strict";t.byteLength=c,t.toByteArray=f,t.fromByteArray=m;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=s.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r}function h(e,t,n){return 3*(t+n)/4-n}function f(e){var t,n,r=l(e),s=r[0],a=r[1],u=new o(h(e,s,a)),c=0,f=a>0?s-4:s;for(n=0;n>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===a&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,u[c++]=255&t),1===a&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u}function d(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function p(e,t,n){for(var r,i=[],o=t;ou?u:a+s));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"1fec":function(e,t,n){"use strict";var r=n("da3e"),i=n("3fb5"),o=n("0184"),s=n("4e2b");function a(e,t){r.equal(t.length,24,"Invalid key length");var n=t.slice(0,8),i=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[s.create({type:"encrypt",key:n}),s.create({type:"decrypt",key:i}),s.create({type:"encrypt",key:o})]:[s.create({type:"decrypt",key:o}),s.create({type:"encrypt",key:i}),s.create({type:"decrypt",key:n})]}function u(e){o.call(this,e);var t=new a(this.type,this.options.key);this._edeState=t}i(u,o),e.exports=u,u.create=function(e){return new u(e)},u.prototype._update=function(e,t,n,r){var i=this._edeState;i.ciphers[0]._update(e,t,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},u.prototype._pad=s.prototype._pad,u.prototype._unpad=s.prototype._unpad},"1ff4":function(e,t,n){"use strict";const{DOCUMENT_MODE:r}=n("f30b"),i="html",o="about:legacy-compat",s="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",a=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],u=a.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),l=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],c=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],h=c.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function f(e){const t=-1!==e.indexOf('"')?"'":'"';return t+e+t}function d(e,t){for(let n=0;n-1)return r.QUIRKS;let e=null===t?u:a;if(d(n,e))return r.QUIRKS;if(e=null===t?c:h,d(n,e))return r.LIMITED_QUIRKS}return r.NO_QUIRKS},t.serializeContent=function(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+f(t):n&&(r+=" SYSTEM"),null!==n&&(r+=" "+f(n)),r}},"205b":function(e){e.exports=JSON.parse('{"_args":[["cheerio@1.0.0-rc.6","/home/runner/work/md/md"]],"_from":"cheerio@1.0.0-rc.6","_id":"cheerio@1.0.0-rc.6","_inBundle":false,"_integrity":"sha1-pa6Bq0g67voSgMMlVDxgEUVQYkA=","_location":"/cheerio","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"cheerio@1.0.0-rc.6","name":"cheerio","escapedName":"cheerio","rawSpec":"1.0.0-rc.6","saveSpec":null,"fetchSpec":"1.0.0-rc.6"},"_requiredBy":["/juice"],"_resolved":"https://registry.npm.taobao.org/cheerio/download/cheerio-1.0.0-rc.6.tgz","_spec":"1.0.0-rc.6","_where":"/home/runner/work/md/md","author":{"name":"Matt Mueller","email":"mattmuelle@gmail.com","url":"mat.io"},"bugs":{"url":"https://github.com/cheeriojs/cheerio/issues"},"dependencies":{"cheerio-select":"^1.3.0","dom-serializer":"^1.3.1","domhandler":"^4.1.0","htmlparser2":"^6.1.0","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1"},"description":"Tiny, fast, and elegant implementation of core jQuery designed specifically for the server","devDependencies":{"@types/node":"^14.14.37","benchmark":"^2.1.4","clean-jsdoc-theme":"^3.1.2","eslint":"^7.23.0","eslint-config-prettier":"^8.1.0","eslint-plugin-jest":"^24.3.4","eslint-plugin-jsdoc":"^32.3.0","eslint-plugin-node":"^11.1.0","husky":"^4.3.8","jest":"^26.6.3","jquery":"^3.6.0","jsdoc":"^3.6.6","jsdom":"^16.5.2","lint-staged":"^10.5.4","prettier":"^2.2.1","prettier-plugin-jsdoc":"0.3.14","tsd":"^0.14.0"},"engines":{"node":">= 0.12"},"files":["index.js","types/index.d.ts","lib"],"homepage":"https://cheerio.js.org/","jest":{"testEnvironment":"node","testMatch":["/test/**/*.js"],"testPathIgnorePatterns":["/__fixtures__/"]},"keywords":["htmlparser","jquery","selector","scraper","parser","html"],"license":"MIT","lint-staged":{"*.js":["prettier --write","npm run test:lint -- --fix"],"*.{json,md,ts,yml}":["prettier --write"]},"main":"./index.js","name":"cheerio","prettier":{"singleQuote":true,"tabWidth":2},"repository":{"type":"git","url":"git://github.com/cheeriojs/cheerio.git"},"scripts":{"bench":"npm run benchmark","benchmark":"node benchmark/benchmark.js --regex \\"^(?!.*highmem)\\"","build:docs":"jsdoc --configure jsdoc-config.json","format":"npm run format:es && npm run format:prettier","format:es":"npm run lint:es -- --fix","format:prettier":"npm run format:prettier:raw -- --write","format:prettier:raw":"prettier \\"**/*.{js,ts,md,json,yml}\\" --ignore-path .gitignore","lint":"npm run lint:es && npm run lint:prettier","lint:es":"eslint --ignore-path .gitignore .","lint:prettier":"npm run format:prettier:raw -- --check","pre-commit":"lint-staged","test":"npm run lint && npm run test:jest && npm run test:types","test:jest":"jest","test:jest:cov":"npm run test:jest -- --coverage","test:types":"tsd"},"types":"types/index.d.ts","version":"1.0.0-rc.6"}')},"206d":function(e,t,n){(function(t){var r,i,o=n("8707").Buffer,s=n("7d2a"),a=n("9f9d"),u=n("e07b"),l=n("8be6"),c=t.crypto&&t.crypto.subtle,h={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},f=[];function d(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!c||!c.importKey||!c.deriveBits)return Promise.resolve(!1);if(void 0!==f[e])return f[e];r=r||o.alloc(8);var n=m(r,r,10,128,e).then((function(){return!0})).catch((function(){return!1}));return f[e]=n,n}function p(){return i||(i=t.process&&t.process.nextTick?t.process.nextTick:t.queueMicrotask?t.queueMicrotask:t.setImmediate?t.setImmediate:t.setTimeout,i)}function m(e,t,n,r,i){return c.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return c.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:i}},e,r<<3)})).then((function(e){return o.from(e)}))}function g(e,t){e.then((function(e){p()((function(){t(null,e)}))}),(function(e){p()((function(){t(e)}))}))}e.exports=function(e,n,r,i,o,c){"function"===typeof o&&(c=o,o=void 0),o=o||"sha1";var f=h[o.toLowerCase()];if(f&&"function"===typeof t.Promise){if(s(r,i),e=l(e,a,"Password"),n=l(n,a,"Salt"),"function"!==typeof c)throw new Error("No callback provided to pbkdf2");g(d(f).then((function(t){return t?m(e,n,r,i,f):u(e,n,r,i,o)})),c)}else p()((function(){var t;try{t=u(e,n,r,i,o)}catch(s){return c(s)}c(null,t)}))}}).call(this,n("c8ba"))},"20f6":function(e,t,n){"use strict";const r=t;r.der=n("cfbd"),r.pem=n("8df7")},2137:function(e,t,n){"use strict";var r=n("c3c0"),i=n("da3e");function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}e.exports=o,o.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t>>2]>>>24-o%4*8&255;t[r+o>>>2]|=s<<24-(r+o)%4*8}else for(o=0;o>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},d=h.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},p=h.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},m=u.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,s=this.blockSize,a=4*s,u=o/a;u=t?e.ceil(u):e.max((0|u)-this._minBufferSize,0);var l=u*s,h=e.min(4*l,o);if(l){for(var f=0;ff;f++)if(p=x(e[f]),p&&p instanceof l)return p;return new l(!1)}c=h.call(e)}m=c.next;while(!(g=m.call(c)).done){try{p=x(g.value)}catch(_){throw u(c),_}if("object"==typeof p&&p&&p instanceof l)return p}return new l(!1)}},"22ab":function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";var t=this.head,n=""+t.data;while(t=t.next)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return c.alloc(0);var t=c.allocUnsafe(e>>>0),n=this.head,r=0;while(n)p(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),e-=o,0===e){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=c.allocUnsafe(e),n=this.head,r=1;n.data.copy(t),e-=n.data.length;while(n=n.next){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),e-=o,0===e){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:d,value:function(e,t){return f(this,i({},t,{depth:0,customInspect:!1}))}}]),e}()},"23cb":function(e,t,n){var r=n("a691"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),s=n("6eeb"),a=n("ce4e"),u=n("e893"),l=n("94ca");e.exports=function(e,t){var n,c,h,f,d,p,m=e.target,g=e.global,v=e.stat;if(c=g?r:v?r[m]||a(m,{}):(r[m]||{}).prototype,c)for(h in t){if(d=t[h],e.noTargetGet?(p=i(c,h),f=p&&p.value):f=c[h],n=l(g?h:m+(v?".":"#")+h,e.forced),!n&&void 0!==f){if(typeof d===typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),s(c,h,d,e)}}},"241c":function(e,t,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},2444:function(e,t,n){"use strict";(function(t){var r=n("c532"),i=n("c8af"),o=n("387f"),s={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function u(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("b50d")),e}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:u(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(a(t,"application/json"),JSON.stringify(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(a){if(s){if("SyntaxError"===a.name)throw o(a,this,"E_JSON_PARSE");throw a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(s)})),e.exports=l}).call(this,n("4362"))},2504:function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},2532:function(e,t,n){"use strict";var r=n("23e7"),i=n("5a34"),o=n("1d80"),s=n("ab13");r({target:"String",proto:!0,forced:!s("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},2562:function(e,t,n){"use strict";var r=/([-.*+?^${}()|[\]\/\\])/g,i=/\\/g,o=function(e){return(e+"").replace(r,"\\$1")},s=function(e){return(e+"").replace(i,"")},a=RegExp("^(?:\\s*(,)\\s*|\\s*(+)\\s*|(\\s+)|(+|\\*)|\\#(+)|\\.(+)|\\[\\s*(+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:([\"']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(+)(?:\\((?:(?:([\"'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)".replace(//,"["+o(">+~`!@$%^&={}\\;/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(//g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),u=function(e){this.combinator=e||" ",this.tag="*"};u.prototype.toString=function(){if(!this.raw){var e,t,n="";if(n+=this.tag||"*",this.id&&(n+="#"+this.id),this.classes&&(n+="."+this.classList.join(".")),this.attributes)for(e=0;t=this.attributes[e++];)n+="["+t.name+(t.operator?t.operator+'"'+t.value+'"':"")+"]";if(this.pseudos)for(e=0;t=this.pseudos[e++];)n+=":"+t.name,t.value&&(n+="("+t.value+")");this.raw=n}return this.raw};var l=function(){this.length=0};l.prototype.toString=function(){if(!this.raw){for(var e,t="",n=0;e=this[n++];)1!==n&&(t+=" ")," "!==e.combinator&&(t+=e.combinator+" "),t+=e;this.raw=t}return this.raw};var c=function(e,t,n,r,i,a,c,h,f,d,p,m,g,v,y,b){var w,D;if((t||!this.length)&&(w=this[this.length++]=new l,t))return"";if(w||(w=this[this.length-1]),(n||r||!w.length)&&(D=w[w.length++]=new u(n)),D||(D=w[w.length-1]),i)D.tag=s(i);else if(a)D.id=s(a);else if(c){var E=s(c),x=D.classes||(D.classes={});if(!x[E]){x[E]=o(c);var _=D.classList||(D.classList=[]);_.push(E),_.sort()}}else g?(b=b||y,(D.pseudos||(D.pseudos=[])).push({type:1==m.length?"class":"element",name:s(g),escapedName:o(g),value:b?s(b):null,escapedValue:b?o(b):null})):h&&(p=p?o(p):null,(D.attributes||(D.attributes=[])).push({operator:f,name:s(h),escapedName:o(h),value:p?s(p):null,escapedValue:p?o(p):null}));return""},h=function(e){this.length=0;var t,n=this,r=e;while(e){if(t=e.replace(a,(function(){return c.apply(n,arguments)})),t===e)throw new Error(r+" is an invalid expression");e=t}};h.prototype.toString=function(){if(!this.raw){for(var e,t=[],n=0;e=this[n++];)t.push(e);this.raw=t.join(", ")}return this.raw};var f={},d=function(e){return null==e?null:(e=(""+e).replace(/^\s+|\s+$/g,""),f[e]||(f[e]=new h(e)))};e.exports=d},2567:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n=t+n||t?new java.lang.String(e,t,n)+"":e}function l(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}r.prototype.parseFromString=function(e,t){var n=this.options,r=new c,s=n.domBuilder||new o,a=n.errorHandler,u=n.locator,l=n.xmlns||{},h={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return u&&s.setDocumentLocator(u),r.errorHandler=i(a,s,u),r.domBuilder=n.domBuilder||s,/\/x?html?$/.test(t)&&(h.nbsp=" ",h.copy="©",l[""]="http://www.w3.org/1999/xhtml"),l.xml=l.xml||"http://www.w3.org/XML/1998/namespace",e?r.parse(e,l,h):r.errorHandler.error("invalid doc source"),s.doc},o.prototype={startDocument:function(){this.doc=(new h).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,o=i.createElementNS(e,n||t),a=r.length;l(this,o),this.currentElement=o,this.locator&&s(this.locator,o);for(var u=0;uu&&(e.scrollTop=s-e.clientHeight)}else e.scrollTop=0}},"2a62":function(e,t,n){var r=n("825a");e.exports=function(e){var t=e["return"];if(void 0!==t)return r(t.call(e)).value}},"2a66":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},e.pad.ZeroPadding}))},"2aee":function(e,t,n){var r=n("4111"),i=n("d70e"),o=n("4dd0"),s=n("fda6"),a=n("a099"),u=n("8707").Buffer;function l(e){var t;"object"!==typeof e||u.isBuffer(e)||(t=e.passphrase,e=e.key),"string"===typeof e&&(e=u.from(e));var n,i,s=o(e,t),a=s.tag,l=s.data;switch(a){case"CERTIFICATE":i=r.certificate.decode(l,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(i||(i=r.PublicKey.decode(l,"der")),n=i.algorithm.algorithm.join("."),n){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(i.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return i.subjectPrivateKey=i.subjectPublicKey,{type:"ec",data:i};case"1.2.840.10040.4.1":return i.algorithm.params.pub_key=r.DSAparam.decode(i.subjectPublicKey.data,"der"),{type:"dsa",data:i.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":l=r.EncryptedPrivateKey.decode(l,"der"),l=c(l,t);case"PRIVATE KEY":switch(i=r.PrivateKey.decode(l,"der"),n=i.algorithm.algorithm.join("."),n){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(i.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:i.algorithm.curve,privateKey:r.ECPrivateKey.decode(i.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return i.algorithm.params.priv_key=r.DSAparam.decode(i.subjectPrivateKey,"der"),{type:"dsa",params:i.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(l,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(l,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(l,"der")};case"EC PRIVATE KEY":return l=r.ECPrivateKey.decode(l,"der"),{curve:l.parameters.value,privateKey:l.privateKey};default:throw new Error("unknown key type "+a)}}function c(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],l=e.algorithm.decrypt.cipher.iv,c=e.subjectPrivateKey,h=parseInt(o.split("-")[1],10)/8,f=a.pbkdf2Sync(t,n,r,h,"sha1"),d=s.createDecipheriv(o,f,l),p=[];return p.push(d.update(c)),p.push(d.final()),u.concat(p)}e.exports=l,l.signature=r.signature},"2b0e":function(e,t,n){"use strict";n.r(t),function(e){ /*! * Vue.js v2.6.12 * (c) 2014-2020 Evan You * Released under the MIT License. */ -var n=Object.freeze({});function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function o(e){return!0===e}function s(e){return!1===e}function a(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function u(e){return null!==e&&"object"===typeof e}var l=Object.prototype.toString;function c(e){return"[object Object]"===l.call(e)}function h(e){return"[object RegExp]"===l.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function w(e,t){return b.call(e,t)}function D(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var E=/-(\w)/g,x=D((function(e){return e.replace(E,(function(e,t){return t?t.toUpperCase():""}))})),_=D((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),C=/\B([A-Z])/g,k=D((function(e){return e.replace(C,"-$1").toLowerCase()}));function S(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function A(e,t){return e.bind(t)}var T=Function.prototype.bind?A:S;function M(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function O(e,t){for(var n in t)e[n]=t[n];return e}function N(e){for(var t={},n=0;n0,ne=Q&&Q.indexOf("edge/")>0,re=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===Z),ie=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),oe={}.watch,se=!1;if(Y)try{var ae={};Object.defineProperty(ae,"passive",{get:function(){se=!0}}),window.addEventListener("test-passive",null,ae)}catch(xs){}var ue=function(){return void 0===K&&(K=!Y&&!J&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),K},le=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"===typeof e&&/native code/.test(e.toString())}var he,fe="undefined"!==typeof Symbol&&ce(Symbol)&&"undefined"!==typeof Reflect&&ce(Reflect.ownKeys);he="undefined"!==typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var de=F,pe=0,me=function(){this.id=pe++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){y(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(o&&!w(i,"default"))s=!1;else if(""===s||s===k(e)){var u=et(String,i.type);(u<0||a0&&(s=St(s,(t||"")+"_"+n),kt(s[0])&&kt(l)&&(c[u]=Ee(l.text+s[0].text),s.shift()),c.push.apply(c,s)):a(s)?kt(l)?c[u]=Ee(l.text+s):""!==s&&c.push(Ee(s)):kt(s)&&kt(l)?c[u]=Ee(l.text+s.text):(o(e._isVList)&&i(s.tag)&&r(s.key)&&i(t)&&(s.key="__vlist"+t+"_"+n+"__"),c.push(s)));return c}function At(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function Tt(e){var t=Mt(e.$options.inject,e);t&&(Te(!1),Object.keys(t).forEach((function(n){Ie(e,n,t[n])})),Te(!0))}function Mt(e,t){if(e){for(var n=Object.create(null),r=fe?Reflect.ownKeys(e):Object.keys(e),i=0;i0,s=e?!!e.$stable:!o,a=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&r&&r!==n&&a===r.$key&&!o&&!r.$hasNormal)return r;for(var u in i={},e)e[u]&&"$"!==u[0]&&(i[u]=It(t,u,e[u]))}else i={};for(var l in t)l in i||(i[l]=Pt(t,l));return e&&Object.isExtensible(e)&&(e._normalized=i),V(i,"$stable",s),V(i,"$key",a),V(i,"$hasNormal",o),i}function It(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:Ct(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function Pt(e,t){return function(){return e[t]}}function Rt(e,t){var n,r,o,s,a;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,o=e.length;r1?M(n):n;for(var r=M(arguments,1),i='event handler for "'+e+'"',o=0,s=n.length;odocument.createEvent("Event").timeStamp&&(Kn=function(){return Xn.now()})}function Yn(){var e,t;for(Gn=Kn(),zn=!0,$n.sort((function(e,t){return e.id-t.id})),Vn=0;Vn<$n.length;Vn++)e=$n[Vn],e.before&&e.before(),t=e.id,Un[t]=null,e.run();var n=qn.slice(),r=$n.slice();Wn(),Qn(n),Jn(r),le&&U.devtools&&le.emit("flush")}function Jn(e){var t=e.length;while(t--){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&jn(r,"updated")}}function Zn(e){e._inactive=!1,qn.push(e)}function Qn(e){for(var t=0;tVn&&$n[n].id>e.id)n--;$n.splice(n+1,0,e)}else $n.push(e);Hn||(Hn=!0,pt(Yn))}}var tr=0,nr=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++tr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new he,this.newDepIds=new he,this.expression="","function"===typeof t?this.getter=t:(this.getter=G(t),this.getter||(this.getter=F)),this.value=this.lazy?void 0:this.get()};nr.prototype.get=function(){var e;ve(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(xs){if(!this.user)throw xs;tt(xs,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&>(e),ye(),this.cleanupDeps()}return e},nr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},nr.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},nr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():er(this)},nr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||u(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(xs){tt(xs,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},nr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},nr.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},nr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var rr={enumerable:!0,configurable:!0,get:F,set:F};function ir(e,t,n){rr.get=function(){return this[t][n]},rr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,rr)}function or(e){e._watchers=[];var t=e.$options;t.props&&sr(e,t.props),t.methods&&pr(e,t.methods),t.data?ar(e):Fe(e._data={},!0),t.computed&&cr(e,t.computed),t.watch&&t.watch!==oe&&mr(e,t.watch)}function sr(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;o||Te(!1);var s=function(o){i.push(o);var s=Ye(o,t,n,e);Ie(r,o,s),o in e||ir(e,"_props",o)};for(var a in t)s(a);Te(!0)}function ar(e){var t=e.$options.data;t=e._data="function"===typeof t?ur(t,e):t||{},c(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);while(i--){var o=n[i];0,r&&w(r,o)||z(o)||ir(e,"_data",o)}Fe(t,!0)}function ur(e,t){ve();try{return e.call(t,t)}catch(xs){return tt(xs,t,"data()"),{}}finally{ye()}}var lr={lazy:!0};function cr(e,t){var n=e._computedWatchers=Object.create(null),r=ue();for(var i in t){var o=t[i],s="function"===typeof o?o:o.get;0,r||(n[i]=new nr(e,s||F,F,lr)),i in e||hr(e,i,o)}}function hr(e,t,n){var r=!ue();"function"===typeof n?(rr.get=r?fr(t):dr(n),rr.set=F):(rr.get=n.get?r&&!1!==n.cache?fr(t):dr(n.get):F,rr.set=n.set||F),Object.defineProperty(e,t,rr)}function fr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function dr(e){return function(){return e.call(this,this)}}function pr(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?F:T(t[n],e)}function mr(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1)return this;var n=M(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function Cr(e){e.mixin=function(e){return this.options=Ke(this.options,e),this}}function kr(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name;var s=function(e){this._init(e)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=t++,s.options=Ke(n.options,e),s["super"]=n,s.options.props&&Sr(s),s.options.computed&&Ar(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,$.forEach((function(e){s[e]=n[e]})),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=e,s.sealedOptions=O({},s.options),i[r]=s,s}}function Sr(e){var t=e.options.props;for(var n in t)ir(e.prototype,"_props",n)}function Ar(e){var t=e.options.computed;for(var n in t)hr(e.prototype,n,t[n])}function Tr(e){$.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function Mr(e){return e&&(e.Ctor.options.name||e.tag)}function Or(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!h(e)&&e.test(t)}function Nr(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var s=n[o];if(s){var a=Mr(s.componentOptions);a&&!t(a)&&Fr(n,o,r,i)}}}function Fr(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,y(n,t)}br(xr),vr(xr),Tn(xr),Fn(xr),yn(xr);var Ir=[String,RegExp,Array],Pr={name:"keep-alive",abstract:!0,props:{include:Ir,exclude:Ir,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Fr(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Nr(e,(function(e){return Or(t,e)}))})),this.$watch("exclude",(function(t){Nr(e,(function(e){return!Or(t,e)}))}))},render:function(){var e=this.$slots.default,t=xn(e),n=t&&t.componentOptions;if(n){var r=Mr(n),i=this,o=i.include,s=i.exclude;if(o&&(!r||!Or(o,r))||s&&r&&Or(s,r))return t;var a=this,u=a.cache,l=a.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;u[c]?(t.componentInstance=u[c].componentInstance,y(l,c),l.push(c)):(u[c]=t,l.push(c),this.max&&l.length>parseInt(this.max)&&Fr(u,l[0],l,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Rr={KeepAlive:Pr};function Lr(e){var t={get:function(){return U}};Object.defineProperty(e,"config",t),e.util={warn:de,extend:O,mergeOptions:Ke,defineReactive:Ie},e.set=Pe,e.delete=Re,e.nextTick=pt,e.observable=function(e){return Fe(e),e},e.options=Object.create(null),$.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,O(e.options.components,Rr),_r(e),Cr(e),kr(e),Tr(e)}Lr(xr),Object.defineProperty(xr.prototype,"$isServer",{get:ue}),Object.defineProperty(xr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(xr,"FunctionalRenderContext",{value:Jt}),xr.version="2.6.12";var Br=g("style,class"),jr=g("input,textarea,option,select,progress"),$r=function(e,t,n){return"value"===n&&jr(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},qr=g("contenteditable,draggable,spellcheck"),Ur=g("events,caret,typing,plaintext-only"),Hr=function(e,t){return Kr(t)||"false"===t?"false":"contenteditable"===e&&Ur(t)?t:"true"},zr=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Vr="http://www.w3.org/1999/xlink",Wr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Gr=function(e){return Wr(e)?e.slice(6,e.length):""},Kr=function(e){return null==e||!1===e};function Xr(e){var t=e.data,n=e,r=e;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(t=Yr(r.data,t));while(i(n=n.parent))n&&n.data&&(t=Yr(t,n.data));return Jr(t.staticClass,t.class)}function Yr(e,t){return{staticClass:Zr(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Jr(e,t){return i(e)||i(t)?Zr(e,Qr(t)):""}function Zr(e,t){return e?t?e+" "+t:e:t||""}function Qr(e){return Array.isArray(e)?ei(e):u(e)?ti(e):"string"===typeof e?e:""}function ei(e){for(var t,n="",r=0,o=e.length;r-1?ai[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:ai[e]=/HTMLUnknownElement/.test(t.toString())}var li=g("text,number,password,search,email,tel,url");function ci(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function hi(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function fi(e,t){return document.createElementNS(ni[e],t)}function di(e){return document.createTextNode(e)}function pi(e){return document.createComment(e)}function mi(e,t,n){e.insertBefore(t,n)}function gi(e,t){e.removeChild(t)}function vi(e,t){e.appendChild(t)}function yi(e){return e.parentNode}function bi(e){return e.nextSibling}function wi(e){return e.tagName}function Di(e,t){e.textContent=t}function Ei(e,t){e.setAttribute(t,"")}var xi=Object.freeze({createElement:hi,createElementNS:fi,createTextNode:di,createComment:pi,insertBefore:mi,removeChild:gi,appendChild:vi,parentNode:yi,nextSibling:bi,tagName:wi,setTextContent:Di,setStyleScope:Ei}),_i={create:function(e,t){Ci(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Ci(e,!0),Ci(t))},destroy:function(e){Ci(e,!0)}};function Ci(e,t){var n=e.data.ref;if(i(n)){var r=e.context,o=e.componentInstance||e.elm,s=r.$refs;t?Array.isArray(s[n])?y(s[n],o):s[n]===o&&(s[n]=void 0):e.data.refInFor?Array.isArray(s[n])?s[n].indexOf(o)<0&&s[n].push(o):s[n]=[o]:s[n]=o}}var ki=new be("",{},[]),Si=["create","activate","update","remove","destroy"];function Ai(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&i(e.data)===i(t.data)&&Ti(e,t)||o(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function Ti(e,t){if("input"!==e.tag)return!0;var n,r=i(n=e.data)&&i(n=n.attrs)&&n.type,o=i(n=t.data)&&i(n=n.attrs)&&n.type;return r===o||li(r)&&li(o)}function Mi(e,t,n){var r,o,s={};for(r=t;r<=n;++r)o=e[r].key,i(o)&&(s[o]=r);return s}function Oi(e){var t,n,s={},u=e.modules,l=e.nodeOps;for(t=0;tm?(h=r(n[y+1])?null:n[y+1].elm,x(e,h,n,p,y,o)):p>y&&C(t,f,m)}function A(e,t,n,r){for(var o=n;o-1?Ui(e,t,n):zr(t)?Kr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):qr(t)?e.setAttribute(t,Hr(t,n)):Wr(t)?Kr(n)?e.removeAttributeNS(Vr,Gr(t)):e.setAttributeNS(Vr,t,n):Ui(e,t,n)}function Ui(e,t,n){if(Kr(n))e.removeAttribute(t);else{if(ee&&!te&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Hi={create:$i,update:$i};function zi(e,t){var n=t.elm,o=t.data,s=e.data;if(!(r(o.staticClass)&&r(o.class)&&(r(s)||r(s.staticClass)&&r(s.class)))){var a=Xr(t),u=n._transitionClasses;i(u)&&(a=Zr(a,Qr(u))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var Vi,Wi={create:zi,update:zi},Gi="__r",Ki="__c";function Xi(e){if(i(e[Gi])){var t=ee?"change":"input";e[t]=[].concat(e[Gi],e[t]||[]),delete e[Gi]}i(e[Ki])&&(e.change=[].concat(e[Ki],e.change||[]),delete e[Ki])}function Yi(e,t,n){var r=Vi;return function i(){var o=t.apply(null,arguments);null!==o&&Qi(e,i,n,r)}}var Ji=st&&!(ie&&Number(ie[1])<=53);function Zi(e,t,n,r){if(Ji){var i=Gn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Vi.addEventListener(e,t,se?{capture:n,passive:r}:n)}function Qi(e,t,n,r){(r||Vi).removeEventListener(e,t._wrapper||t,n)}function eo(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Vi=t.elm,Xi(n),wt(n,i,Zi,Qi,Yi,t.context),Vi=void 0}}var to,no={create:eo,update:eo};function ro(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,o,s=t.elm,a=e.data.domProps||{},u=t.data.domProps||{};for(n in i(u.__ob__)&&(u=t.data.domProps=O({},u)),a)n in u||(s[n]="");for(n in u){if(o=u[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),o===a[n])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===n&&"PROGRESS"!==s.tagName){s._value=o;var l=r(o)?"":String(o);io(s,l)&&(s.value=l)}else if("innerHTML"===n&&ii(s.tagName)&&r(s.innerHTML)){to=to||document.createElement("div"),to.innerHTML=""+o+"";var c=to.firstChild;while(s.firstChild)s.removeChild(s.firstChild);while(c.firstChild)s.appendChild(c.firstChild)}else if(o!==a[n])try{s[n]=o}catch(xs){}}}}function io(e,t){return!e.composing&&("OPTION"===e.tagName||oo(e,t)||so(e,t))}function oo(e,t){var n=!0;try{n=document.activeElement!==e}catch(xs){}return n&&e.value!==t}function so(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return m(n)!==m(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var ao={create:ro,update:ro},uo=D((function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function lo(e){var t=co(e.style);return e.staticStyle?O(e.staticStyle,t):t}function co(e){return Array.isArray(e)?N(e):"string"===typeof e?uo(e):e}function ho(e,t){var n,r={};if(t){var i=e;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=lo(i.data))&&O(r,n)}(n=lo(e.data))&&O(r,n);var o=e;while(o=o.parent)o.data&&(n=lo(o.data))&&O(r,n);return r}var fo,po=/^--/,mo=/\s*!important$/,go=function(e,t,n){if(po.test(t))e.style.setProperty(t,n);else if(mo.test(n))e.style.setProperty(k(t),n.replace(mo,""),"important");else{var r=yo(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(Do).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function xo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Do).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function _o(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&O(t,Co(e.name||"v")),O(t,e),t}return"string"===typeof e?Co(e):void 0}}var Co=D((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),ko=Y&&!te,So="transition",Ao="animation",To="transition",Mo="transitionend",Oo="animation",No="animationend";ko&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(To="WebkitTransition",Mo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oo="WebkitAnimation",No="webkitAnimationEnd"));var Fo=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Io(e){Fo((function(){Fo(e)}))}function Po(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Eo(e,t))}function Ro(e,t){e._transitionClasses&&y(e._transitionClasses,t),xo(e,t)}function Lo(e,t,n){var r=jo(e,t),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===So?Mo:No,u=0,l=function(){e.removeEventListener(a,c),n()},c=function(t){t.target===e&&++u>=s&&l()};setTimeout((function(){u0&&(n=So,c=s,h=o.length):t===Ao?l>0&&(n=Ao,c=l,h=u.length):(c=Math.max(s,l),n=c>0?s>l?So:Ao:null,h=n?n===So?o.length:u.length:0);var f=n===So&&Bo.test(r[To+"Property"]);return{type:n,timeout:c,propCount:h,hasTransform:f}}function $o(e,t){while(e.length1}function Wo(e,t){!0!==t.data.show&&Uo(t)}var Go=Y?{create:Wo,activate:Wo,remove:function(e,t){!0!==e.data.show?Ho(e,t):t()}}:{},Ko=[Hi,Wi,no,ao,wo,Go],Xo=Ko.concat(ji),Yo=Oi({nodeOps:xi,modules:Xo});te&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&is(e,"input")}));var Jo={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Dt(n,"postpatch",(function(){Jo.componentUpdated(e,t,n)})):Zo(e,t,n.context),e._vOptions=[].map.call(e.options,ts)):("textarea"===n.tag||li(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",ns),e.addEventListener("compositionend",rs),e.addEventListener("change",rs),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Zo(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,ts);if(i.some((function(e,t){return!R(e,r[t])}))){var o=e.multiple?t.value.some((function(e){return es(e,i)})):t.value!==t.oldValue&&es(t.value,i);o&&is(e,"change")}}}};function Zo(e,t,n){Qo(e,t,n),(ee||ne)&&setTimeout((function(){Qo(e,t,n)}),0)}function Qo(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,u=e.options.length;a-1,s.selected!==o&&(s.selected=o);else if(R(ts(s),r))return void(e.selectedIndex!==a&&(e.selectedIndex=a));i||(e.selectedIndex=-1)}}function es(e,t){return t.every((function(t){return!R(t,e)}))}function ts(e){return"_value"in e?e._value:e.value}function ns(e){e.target.composing=!0}function rs(e){e.target.composing&&(e.target.composing=!1,is(e.target,"input"))}function is(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function os(e){return!e.componentInstance||e.data&&e.data.transition?e:os(e.componentInstance._vnode)}var ss={bind:function(e,t,n){var r=t.value;n=os(n);var i=n.data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Uo(n,(function(){e.style.display=o}))):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value,i=t.oldValue;if(!r!==!i){n=os(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?Uo(n,(function(){e.style.display=e.__vOriginalDisplay})):Ho(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},as={model:Jo,show:ss},us={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ls(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ls(xn(t.children)):e}function cs(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[x(o)]=i[o];return t}function hs(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function fs(e){while(e=e.parent)if(e.data.transition)return!0}function ds(e,t){return t.key===e.key&&t.tag===e.tag}var ps=function(e){return e.tag||En(e)},ms=function(e){return"show"===e.name},gs={name:"transition",props:us,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(ps),n.length)){0;var r=this.mode;0;var i=n[0];if(fs(this.$vnode))return i;var o=ls(i);if(!o)return i;if(this._leaving)return hs(e,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var u=(o.data||(o.data={})).transition=cs(this),l=this._vnode,c=ls(l);if(o.data.directives&&o.data.directives.some(ms)&&(o.data.show=!0),c&&c.data&&!ds(o,c)&&!En(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var h=c.data.transition=O({},u);if("out-in"===r)return this._leaving=!0,Dt(h,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),hs(e,i);if("in-out"===r){if(En(o))return l;var f,d=function(){f()};Dt(u,"afterEnter",d),Dt(u,"enterCancelled",d),Dt(h,"delayLeave",(function(e){f=e}))}}return i}}},vs=O({tag:String,moveClass:String},us);delete vs.mode;var ys={props:vs,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=On(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],s=cs(this),a=0;a4)return e;for(n=[],r=0;r1&&"0"==i.charAt(0)&&(o=F.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)s=0;else{if(!(10==o?P:8==o?I:R).test(i))return e;s=parseInt(i,o)}n.push(s)}for(r=0;r=C(256,5-t))return null}else if(s>255)return null;for(a=n.pop(),r=0;r6)return;r=0;while(f()){if(i=null,r>0){if(!("."==f()&&r<4))return;h++}if(!N.test(f()))return;while(N.test(f())){if(o=parseInt(f(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;h++}u[l]=256*u[l]+i,r++,2!=r&&4!=r||l++}if(4!=r)return;break}if(":"==f()){if(h++,!f())return}else if(f())return;u[l++]=t}else{if(null!==c)return;h++,l++,c=l}}if(null!==c){s=l-c,l=7;while(0!=l&&s>0)a=u[l],u[l--]=u[c+s-1],u[c+--s]=a}else if(8!=l)return;return u},z=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t},V=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=_(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=z(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},W={},G=f({},W,{" ":1,'"':1,"<":1,">":1,"`":1}),K=f({},G,{"#":1,"?":1,"{":1,"}":1}),X=f({},K,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(e,t){var n=p(e,0);return n>32&&n<127&&!h(t,e)?e:encodeURIComponent(e)},J={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return h(J,e.scheme)},Q=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var n;return 2==e.length&&M.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ne=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},re=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&te(t[0],!0)||t.pop()},ie=function(e){return"."===e||"%2e"===e.toLowerCase()},oe=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},se={},ae={},ue={},le={},ce={},he={},fe={},de={},pe={},me={},ge={},ve={},ye={},be={},we={},De={},Ee={},xe={},_e={},Ce={},ke={},Se=function(e,t,n,i){var o,s,a,u,l=n||se,c=0,f="",p=!1,m=!1,g=!1;n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(j,"")),t=t.replace($,""),o=d(t);while(c<=o.length){switch(s=o[c],l){case se:if(!s||!M.test(s)){if(n)return S;l=ue;continue}f+=s.toLowerCase(),l=ae;break;case ae:if(s&&(O.test(s)||"+"==s||"-"==s||"."==s))f+=s.toLowerCase();else{if(":"!=s){if(n)return S;f="",l=ue,c=0;continue}if(n&&(Z(e)!=h(J,f)||"file"==f&&(Q(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=f,n)return void(Z(e)&&J[e.scheme]==e.port&&(e.port=null));f="","file"==e.scheme?l=be:Z(e)&&i&&i.scheme==e.scheme?l=le:Z(e)?l=de:"/"==o[c+1]?(l=ce,c++):(e.cannotBeABaseURL=!0,e.path.push(""),l=_e)}break;case ue:if(!i||i.cannotBeABaseURL&&"#"!=s)return S;if(i.cannotBeABaseURL&&"#"==s){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,l=ke;break}l="file"==i.scheme?be:he;continue;case le:if("/"!=s||"/"!=o[c+1]){l=he;continue}l=pe,c++;break;case ce:if("/"==s){l=me;break}l=xe;continue;case he:if(e.scheme=i.scheme,s==r)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==s||"\\"==s&&Z(e))l=fe;else if("?"==s)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",l=Ce;else{if("#"!=s){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),l=xe;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",l=ke}break;case fe:if(!Z(e)||"/"!=s&&"\\"!=s){if("/"!=s){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,l=xe;continue}l=me}else l=pe;break;case de:if(l=pe,"/"!=s||"/"!=f.charAt(c+1))continue;c++;break;case pe:if("/"!=s&&"\\"!=s){l=me;continue}break;case me:if("@"==s){p&&(f="%40"+f),p=!0,a=d(f);for(var v=0;v65535)return T;e.port=Z(e)&&w===J[e.scheme]?null:w,f=""}if(n)return;l=Ee;continue}return T}f+=s;break;case be:if(e.scheme="file","/"==s||"\\"==s)l=we;else{if(!i||"file"!=i.scheme){l=xe;continue}if(s==r)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==s)e.host=i.host,e.path=i.path.slice(),e.query="",l=Ce;else{if("#"!=s){ne(o.slice(c).join(""))||(e.host=i.host,e.path=i.path.slice(),re(e)),l=xe;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",l=ke}}break;case we:if("/"==s||"\\"==s){l=De;break}i&&"file"==i.scheme&&!ne(o.slice(c).join(""))&&(te(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),l=xe;continue;case De:if(s==r||"/"==s||"\\"==s||"?"==s||"#"==s){if(!n&&te(f))l=xe;else if(""==f){if(e.host="",n)return;l=Ee}else{if(u=q(e,f),u)return u;if("localhost"==e.host&&(e.host=""),n)return;f="",l=Ee}continue}f+=s;break;case Ee:if(Z(e)){if(l=xe,"/"!=s&&"\\"!=s)continue}else if(n||"?"!=s)if(n||"#"!=s){if(s!=r&&(l=xe,"/"!=s))continue}else e.fragment="",l=ke;else e.query="",l=Ce;break;case xe:if(s==r||"/"==s||"\\"==s&&Z(e)||!n&&("?"==s||"#"==s)){if(oe(f)?(re(e),"/"==s||"\\"==s&&Z(e)||e.path.push("")):ie(f)?"/"==s||"\\"==s&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(f)&&(e.host&&(e.host=""),f=f.charAt(0)+":"),e.path.push(f)),f="","file"==e.scheme&&(s==r||"?"==s||"#"==s))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==s?(e.query="",l=Ce):"#"==s&&(e.fragment="",l=ke)}else f+=Y(s,K);break;case _e:"?"==s?(e.query="",l=Ce):"#"==s?(e.fragment="",l=ke):s!=r&&(e.path[0]+=Y(s,W));break;case Ce:n||"#"!=s?s!=r&&("'"==s&&Z(e)?e.query+="%27":e.query+="#"==s?"%23":Y(s,W)):(e.fragment="",l=ke);break;case ke:s!=r&&(e.fragment+=Y(s,G));break}c++}},Ae=function(e){var t,n,r=c(this,Ae,"URL"),i=arguments.length>1?arguments[1]:void 0,s=String(e),a=E(r,{type:"URL"});if(void 0!==i)if(i instanceof Ae)t=x(i);else if(n=Se(t={},String(i)),n)throw TypeError(n);if(n=Se(a,s,null,t),n)throw TypeError(n);var u=a.searchParams=new w,l=D(u);l.updateSearchParams(a.query),l.updateURL=function(){a.query=String(u)||null},o||(r.href=Me.call(r),r.origin=Oe.call(r),r.protocol=Ne.call(r),r.username=Fe.call(r),r.password=Ie.call(r),r.host=Pe.call(r),r.hostname=Re.call(r),r.port=Le.call(r),r.pathname=Be.call(r),r.search=je.call(r),r.searchParams=$e.call(r),r.hash=qe.call(r))},Te=Ae.prototype,Me=function(){var e=x(this),t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,s=e.path,a=e.query,u=e.fragment,l=t+":";return null!==i?(l+="//",Q(e)&&(l+=n+(r?":"+r:"")+"@"),l+=V(i),null!==o&&(l+=":"+o)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?s[0]:s.length?"/"+s.join("/"):"",null!==a&&(l+="?"+a),null!==u&&(l+="#"+u),l},Oe=function(){var e=x(this),t=e.scheme,n=e.port;if("blob"==t)try{return new Ae(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&Z(e)?t+"://"+V(e.host)+(null!==n?":"+n:""):"null"},Ne=function(){return x(this).scheme+":"},Fe=function(){return x(this).username},Ie=function(){return x(this).password},Pe=function(){var e=x(this),t=e.host,n=e.port;return null===t?"":null===n?V(t):V(t)+":"+n},Re=function(){var e=x(this).host;return null===e?"":V(e)},Le=function(){var e=x(this).port;return null===e?"":String(e)},Be=function(){var e=x(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},je=function(){var e=x(this).query;return e?"?"+e:""},$e=function(){return x(this).searchParams},qe=function(){var e=x(this).fragment;return e?"#"+e:""},Ue=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&u(Te,{href:Ue(Me,(function(e){var t=x(this),n=String(e),r=Se(t,n);if(r)throw TypeError(r);D(t.searchParams).updateSearchParams(t.query)})),origin:Ue(Oe),protocol:Ue(Ne,(function(e){var t=x(this);Se(t,String(e)+":",se)})),username:Ue(Fe,(function(e){var t=x(this),n=d(String(e));if(!ee(t)){t.username="";for(var r=0;r1?arguments[1]:void 0,t.length)),r=String(e);return c?c.call(t,r,n):t.slice(n,n+r.length)===r}})},"2cf4":function(e,t,n){var r,i,o,s=n("da84"),a=n("d039"),u=n("0366"),l=n("1be4"),c=n("cc12"),h=n("1cdc"),f=n("605d"),d=s.location,p=s.setImmediate,m=s.clearImmediate,g=s.process,v=s.MessageChannel,y=s.Dispatch,b=0,w={},D="onreadystatechange",E=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},x=function(e){return function(){E(e)}},_=function(e){E(e.data)},C=function(e){s.postMessage(e+"",d.protocol+"//"+d.host)};p&&m||(p=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete w[e]},f?r=function(e){g.nextTick(x(e))}:y&&y.now?r=function(e){y.now(x(e))}:v&&!h?(i=new v,o=i.port2,i.port1.onmessage=_,r=u(o.postMessage,o,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts&&d&&"file:"!==d.protocol&&!a(C)?(r=C,s.addEventListener("message",_,!1)):r=D in c("script")?function(e){l.appendChild(c("script"))[D]=function(){l.removeChild(this),E(e)}}:function(e){setTimeout(x(e),0)}),e.exports={set:p,clear:m}},"2d00":function(e,t,n){var r,i,o=n("da84"),s=n("342f"),a=o.process,u=a&&a.versions,l=u&&u.v8;l?(r=l.split("."),i=r[0]+r[1]):s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(i=r[1]))),e.exports=i&&+i},"2d83":function(e,t,n){"use strict";var r=n("387f");e.exports=function(e,t,n,i,o){var s=new Error(e);return r(s,t,n,i,o)}},"2e34":function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=t.parse=void 0,i(n("0edf"),t);var s=n("0edf");Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return o(s).default}});var a=n("94ac");Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o(a).default}})},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"2e90":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.compileToken=t.compileUnsafe=t.compile=void 0;var i=n("e0d2"),o=n("99e4"),s=r(n("50ea")),a=n("ee17"),u=n("fce4"),l=n("2567");function c(e,t,n){var r=h(e,t,n);return l.ensureIsTag(r,t.adapter)}function h(e,t,n){var r="string"===typeof e?i.parse(e,t):e;return v(r,t,n)}function f(e){return"pseudo"===e.type&&("scope"===e.name||Array.isArray(e.data)&&e.data.some((function(e){return e.some(f)})))}t.compile=c,t.compileUnsafe=h;var d={type:"descendant"},p={type:"_flexibleDescendant"},m={type:"pseudo",name:"scope",data:null};function g(e,t,n){for(var r=t.adapter,i=!!(null===n||void 0===n?void 0:n.every((function(e){var t=r.isTag(e)&&r.getParent(e);return e===l.PLACEHOLDER_ELEMENT||t&&r.isTag(t)}))),o=0,s=e;o0&&a.isTraversal(u[0])&&"descendant"!==u[0].type);else{if(!i||u.some(f))continue;u.unshift(d)}u.unshift(m)}}function v(e,t,n){var r;e=e.filter((function(e){return e.length>0})),e.forEach(s.default),n=null!==(r=t.context)&&void 0!==r?r:n;var i=Array.isArray(n),a=n&&(Array.isArray(n)?n:[n]);g(e,t,a);var u=!1,l=e.map((function(e){if(e.length>=2){var n=e[0],r=e[1];"pseudo"!==n.type||"scope"!==n.name||(i&&"descendant"===r.type?e[1]=p:"adjacent"!==r.type&&"sibling"!==r.type||(u=!0))}return y(e,t,a)})).reduce(b,o.falseFunc);return l.shouldTestNextSiblings=u,l}function y(e,t,n){var r;return e.reduce((function(e,r){return e===o.falseFunc?o.falseFunc:u.compileGeneralSelector(e,r,t,n,v)}),null!==(r=t.rootFunc)&&void 0!==r?r:o.trueFunc)}function b(e,t){return t===o.falseFunc||e===o.trueFunc?e:e===o.falseFunc||t===o.trueFunc?t:function(n){return e(n)||t(n)}}t.compileToken=v},"2e99":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compilePseudoSelector=t.aliases=t.pseudos=t.filters=void 0;var r=n("99e4"),i=n("e0d2"),o=n("13d6");Object.defineProperty(t,"filters",{enumerable:!0,get:function(){return o.filters}});var s=n("95bd");Object.defineProperty(t,"pseudos",{enumerable:!0,get:function(){return s.pseudos}});var a=n("5ebc");Object.defineProperty(t,"aliases",{enumerable:!0,get:function(){return a.aliases}});var u=n("2567");function l(e,t,n,l,c){var h=t.name,f=t.data;if(Array.isArray(f))return u.subselects[h](e,f,n,l,c);if(h in a.aliases){if(null!=f)throw new Error("Pseudo "+h+" doesn't have any arguments");var d=i.parse(a.aliases[h],n);return u.subselects.is(e,d,n,l,c)}if(h in o.filters)return o.filters[h](e,f,n,l);if(h in s.pseudos){var p=s.pseudos[h];return s.verifyPseudoArgs(p,h,f),p===r.falseFunc?r.falseFunc:e===r.trueFunc?function(e){return p(e,n,f)}:function(t){return p(t,n,f)&&e(t)}}throw new Error("unmatched pseudo-class :"+h)}t.compilePseudoSelector=l},"2f62":function(e,t,n){"use strict";(function(e){ +var n=Object.freeze({});function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function o(e){return!0===e}function s(e){return!1===e}function a(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function u(e){return null!==e&&"object"===typeof e}var l=Object.prototype.toString;function c(e){return"[object Object]"===l.call(e)}function h(e){return"[object RegExp]"===l.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function w(e,t){return b.call(e,t)}function D(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var E=/-(\w)/g,x=D((function(e){return e.replace(E,(function(e,t){return t?t.toUpperCase():""}))})),_=D((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),C=/\B([A-Z])/g,k=D((function(e){return e.replace(C,"-$1").toLowerCase()}));function S(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function A(e,t){return e.bind(t)}var T=Function.prototype.bind?A:S;function M(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function O(e,t){for(var n in t)e[n]=t[n];return e}function N(e){for(var t={},n=0;n0,ne=Q&&Q.indexOf("edge/")>0,re=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===Z),ie=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),oe={}.watch,se=!1;if(Y)try{var ae={};Object.defineProperty(ae,"passive",{get:function(){se=!0}}),window.addEventListener("test-passive",null,ae)}catch(xs){}var ue=function(){return void 0===K&&(K=!Y&&!J&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),K},le=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"===typeof e&&/native code/.test(e.toString())}var he,fe="undefined"!==typeof Symbol&&ce(Symbol)&&"undefined"!==typeof Reflect&&ce(Reflect.ownKeys);he="undefined"!==typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var de=F,pe=0,me=function(){this.id=pe++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){y(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(o&&!w(i,"default"))s=!1;else if(""===s||s===k(e)){var u=et(String,i.type);(u<0||a0&&(s=St(s,(t||"")+"_"+n),kt(s[0])&&kt(l)&&(c[u]=Ee(l.text+s[0].text),s.shift()),c.push.apply(c,s)):a(s)?kt(l)?c[u]=Ee(l.text+s):""!==s&&c.push(Ee(s)):kt(s)&&kt(l)?c[u]=Ee(l.text+s.text):(o(e._isVList)&&i(s.tag)&&r(s.key)&&i(t)&&(s.key="__vlist"+t+"_"+n+"__"),c.push(s)));return c}function At(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function Tt(e){var t=Mt(e.$options.inject,e);t&&(Te(!1),Object.keys(t).forEach((function(n){Ie(e,n,t[n])})),Te(!0))}function Mt(e,t){if(e){for(var n=Object.create(null),r=fe?Reflect.ownKeys(e):Object.keys(e),i=0;i0,s=e?!!e.$stable:!o,a=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&r&&r!==n&&a===r.$key&&!o&&!r.$hasNormal)return r;for(var u in i={},e)e[u]&&"$"!==u[0]&&(i[u]=It(t,u,e[u]))}else i={};for(var l in t)l in i||(i[l]=Rt(t,l));return e&&Object.isExtensible(e)&&(e._normalized=i),V(i,"$stable",s),V(i,"$key",a),V(i,"$hasNormal",o),i}function It(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:Ct(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function Rt(e,t){return function(){return e[t]}}function Pt(e,t){var n,r,o,s,a;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,o=e.length;r1?M(n):n;for(var r=M(arguments,1),i='event handler for "'+e+'"',o=0,s=n.length;odocument.createEvent("Event").timeStamp&&(Kn=function(){return Xn.now()})}function Yn(){var e,t;for(Gn=Kn(),zn=!0,$n.sort((function(e,t){return e.id-t.id})),Vn=0;Vn<$n.length;Vn++)e=$n[Vn],e.before&&e.before(),t=e.id,qn[t]=null,e.run();var n=Un.slice(),r=$n.slice();Wn(),Qn(n),Jn(r),le&&q.devtools&&le.emit("flush")}function Jn(e){var t=e.length;while(t--){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&jn(r,"updated")}}function Zn(e){e._inactive=!1,Un.push(e)}function Qn(e){for(var t=0;tVn&&$n[n].id>e.id)n--;$n.splice(n+1,0,e)}else $n.push(e);Hn||(Hn=!0,pt(Yn))}}var tr=0,nr=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++tr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new he,this.newDepIds=new he,this.expression="","function"===typeof t?this.getter=t:(this.getter=G(t),this.getter||(this.getter=F)),this.value=this.lazy?void 0:this.get()};nr.prototype.get=function(){var e;ve(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(xs){if(!this.user)throw xs;tt(xs,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&>(e),ye(),this.cleanupDeps()}return e},nr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},nr.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},nr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():er(this)},nr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||u(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(xs){tt(xs,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},nr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},nr.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},nr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var rr={enumerable:!0,configurable:!0,get:F,set:F};function ir(e,t,n){rr.get=function(){return this[t][n]},rr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,rr)}function or(e){e._watchers=[];var t=e.$options;t.props&&sr(e,t.props),t.methods&&pr(e,t.methods),t.data?ar(e):Fe(e._data={},!0),t.computed&&cr(e,t.computed),t.watch&&t.watch!==oe&&mr(e,t.watch)}function sr(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;o||Te(!1);var s=function(o){i.push(o);var s=Ye(o,t,n,e);Ie(r,o,s),o in e||ir(e,"_props",o)};for(var a in t)s(a);Te(!0)}function ar(e){var t=e.$options.data;t=e._data="function"===typeof t?ur(t,e):t||{},c(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);while(i--){var o=n[i];0,r&&w(r,o)||z(o)||ir(e,"_data",o)}Fe(t,!0)}function ur(e,t){ve();try{return e.call(t,t)}catch(xs){return tt(xs,t,"data()"),{}}finally{ye()}}var lr={lazy:!0};function cr(e,t){var n=e._computedWatchers=Object.create(null),r=ue();for(var i in t){var o=t[i],s="function"===typeof o?o:o.get;0,r||(n[i]=new nr(e,s||F,F,lr)),i in e||hr(e,i,o)}}function hr(e,t,n){var r=!ue();"function"===typeof n?(rr.get=r?fr(t):dr(n),rr.set=F):(rr.get=n.get?r&&!1!==n.cache?fr(t):dr(n.get):F,rr.set=n.set||F),Object.defineProperty(e,t,rr)}function fr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function dr(e){return function(){return e.call(this,this)}}function pr(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?F:T(t[n],e)}function mr(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1)return this;var n=M(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function Cr(e){e.mixin=function(e){return this.options=Ke(this.options,e),this}}function kr(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name;var s=function(e){this._init(e)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=t++,s.options=Ke(n.options,e),s["super"]=n,s.options.props&&Sr(s),s.options.computed&&Ar(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,$.forEach((function(e){s[e]=n[e]})),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=e,s.sealedOptions=O({},s.options),i[r]=s,s}}function Sr(e){var t=e.options.props;for(var n in t)ir(e.prototype,"_props",n)}function Ar(e){var t=e.options.computed;for(var n in t)hr(e.prototype,n,t[n])}function Tr(e){$.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function Mr(e){return e&&(e.Ctor.options.name||e.tag)}function Or(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!h(e)&&e.test(t)}function Nr(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var s=n[o];if(s){var a=Mr(s.componentOptions);a&&!t(a)&&Fr(n,o,r,i)}}}function Fr(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,y(n,t)}br(xr),vr(xr),Tn(xr),Fn(xr),yn(xr);var Ir=[String,RegExp,Array],Rr={name:"keep-alive",abstract:!0,props:{include:Ir,exclude:Ir,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Fr(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Nr(e,(function(e){return Or(t,e)}))})),this.$watch("exclude",(function(t){Nr(e,(function(e){return!Or(t,e)}))}))},render:function(){var e=this.$slots.default,t=xn(e),n=t&&t.componentOptions;if(n){var r=Mr(n),i=this,o=i.include,s=i.exclude;if(o&&(!r||!Or(o,r))||s&&r&&Or(s,r))return t;var a=this,u=a.cache,l=a.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;u[c]?(t.componentInstance=u[c].componentInstance,y(l,c),l.push(c)):(u[c]=t,l.push(c),this.max&&l.length>parseInt(this.max)&&Fr(u,l[0],l,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Pr={KeepAlive:Rr};function Lr(e){var t={get:function(){return q}};Object.defineProperty(e,"config",t),e.util={warn:de,extend:O,mergeOptions:Ke,defineReactive:Ie},e.set=Re,e.delete=Pe,e.nextTick=pt,e.observable=function(e){return Fe(e),e},e.options=Object.create(null),$.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,O(e.options.components,Pr),_r(e),Cr(e),kr(e),Tr(e)}Lr(xr),Object.defineProperty(xr.prototype,"$isServer",{get:ue}),Object.defineProperty(xr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(xr,"FunctionalRenderContext",{value:Jt}),xr.version="2.6.12";var Br=g("style,class"),jr=g("input,textarea,option,select,progress"),$r=function(e,t,n){return"value"===n&&jr(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Ur=g("contenteditable,draggable,spellcheck"),qr=g("events,caret,typing,plaintext-only"),Hr=function(e,t){return Kr(t)||"false"===t?"false":"contenteditable"===e&&qr(t)?t:"true"},zr=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Vr="http://www.w3.org/1999/xlink",Wr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Gr=function(e){return Wr(e)?e.slice(6,e.length):""},Kr=function(e){return null==e||!1===e};function Xr(e){var t=e.data,n=e,r=e;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(t=Yr(r.data,t));while(i(n=n.parent))n&&n.data&&(t=Yr(t,n.data));return Jr(t.staticClass,t.class)}function Yr(e,t){return{staticClass:Zr(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Jr(e,t){return i(e)||i(t)?Zr(e,Qr(t)):""}function Zr(e,t){return e?t?e+" "+t:e:t||""}function Qr(e){return Array.isArray(e)?ei(e):u(e)?ti(e):"string"===typeof e?e:""}function ei(e){for(var t,n="",r=0,o=e.length;r-1?ai[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:ai[e]=/HTMLUnknownElement/.test(t.toString())}var li=g("text,number,password,search,email,tel,url");function ci(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function hi(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function fi(e,t){return document.createElementNS(ni[e],t)}function di(e){return document.createTextNode(e)}function pi(e){return document.createComment(e)}function mi(e,t,n){e.insertBefore(t,n)}function gi(e,t){e.removeChild(t)}function vi(e,t){e.appendChild(t)}function yi(e){return e.parentNode}function bi(e){return e.nextSibling}function wi(e){return e.tagName}function Di(e,t){e.textContent=t}function Ei(e,t){e.setAttribute(t,"")}var xi=Object.freeze({createElement:hi,createElementNS:fi,createTextNode:di,createComment:pi,insertBefore:mi,removeChild:gi,appendChild:vi,parentNode:yi,nextSibling:bi,tagName:wi,setTextContent:Di,setStyleScope:Ei}),_i={create:function(e,t){Ci(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Ci(e,!0),Ci(t))},destroy:function(e){Ci(e,!0)}};function Ci(e,t){var n=e.data.ref;if(i(n)){var r=e.context,o=e.componentInstance||e.elm,s=r.$refs;t?Array.isArray(s[n])?y(s[n],o):s[n]===o&&(s[n]=void 0):e.data.refInFor?Array.isArray(s[n])?s[n].indexOf(o)<0&&s[n].push(o):s[n]=[o]:s[n]=o}}var ki=new be("",{},[]),Si=["create","activate","update","remove","destroy"];function Ai(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&i(e.data)===i(t.data)&&Ti(e,t)||o(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function Ti(e,t){if("input"!==e.tag)return!0;var n,r=i(n=e.data)&&i(n=n.attrs)&&n.type,o=i(n=t.data)&&i(n=n.attrs)&&n.type;return r===o||li(r)&&li(o)}function Mi(e,t,n){var r,o,s={};for(r=t;r<=n;++r)o=e[r].key,i(o)&&(s[o]=r);return s}function Oi(e){var t,n,s={},u=e.modules,l=e.nodeOps;for(t=0;tm?(h=r(n[y+1])?null:n[y+1].elm,x(e,h,n,p,y,o)):p>y&&C(t,f,m)}function A(e,t,n,r){for(var o=n;o-1?qi(e,t,n):zr(t)?Kr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Ur(t)?e.setAttribute(t,Hr(t,n)):Wr(t)?Kr(n)?e.removeAttributeNS(Vr,Gr(t)):e.setAttributeNS(Vr,t,n):qi(e,t,n)}function qi(e,t,n){if(Kr(n))e.removeAttribute(t);else{if(ee&&!te&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Hi={create:$i,update:$i};function zi(e,t){var n=t.elm,o=t.data,s=e.data;if(!(r(o.staticClass)&&r(o.class)&&(r(s)||r(s.staticClass)&&r(s.class)))){var a=Xr(t),u=n._transitionClasses;i(u)&&(a=Zr(a,Qr(u))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var Vi,Wi={create:zi,update:zi},Gi="__r",Ki="__c";function Xi(e){if(i(e[Gi])){var t=ee?"change":"input";e[t]=[].concat(e[Gi],e[t]||[]),delete e[Gi]}i(e[Ki])&&(e.change=[].concat(e[Ki],e.change||[]),delete e[Ki])}function Yi(e,t,n){var r=Vi;return function i(){var o=t.apply(null,arguments);null!==o&&Qi(e,i,n,r)}}var Ji=st&&!(ie&&Number(ie[1])<=53);function Zi(e,t,n,r){if(Ji){var i=Gn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Vi.addEventListener(e,t,se?{capture:n,passive:r}:n)}function Qi(e,t,n,r){(r||Vi).removeEventListener(e,t._wrapper||t,n)}function eo(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Vi=t.elm,Xi(n),wt(n,i,Zi,Qi,Yi,t.context),Vi=void 0}}var to,no={create:eo,update:eo};function ro(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,o,s=t.elm,a=e.data.domProps||{},u=t.data.domProps||{};for(n in i(u.__ob__)&&(u=t.data.domProps=O({},u)),a)n in u||(s[n]="");for(n in u){if(o=u[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),o===a[n])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===n&&"PROGRESS"!==s.tagName){s._value=o;var l=r(o)?"":String(o);io(s,l)&&(s.value=l)}else if("innerHTML"===n&&ii(s.tagName)&&r(s.innerHTML)){to=to||document.createElement("div"),to.innerHTML=""+o+"";var c=to.firstChild;while(s.firstChild)s.removeChild(s.firstChild);while(c.firstChild)s.appendChild(c.firstChild)}else if(o!==a[n])try{s[n]=o}catch(xs){}}}}function io(e,t){return!e.composing&&("OPTION"===e.tagName||oo(e,t)||so(e,t))}function oo(e,t){var n=!0;try{n=document.activeElement!==e}catch(xs){}return n&&e.value!==t}function so(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return m(n)!==m(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var ao={create:ro,update:ro},uo=D((function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function lo(e){var t=co(e.style);return e.staticStyle?O(e.staticStyle,t):t}function co(e){return Array.isArray(e)?N(e):"string"===typeof e?uo(e):e}function ho(e,t){var n,r={};if(t){var i=e;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=lo(i.data))&&O(r,n)}(n=lo(e.data))&&O(r,n);var o=e;while(o=o.parent)o.data&&(n=lo(o.data))&&O(r,n);return r}var fo,po=/^--/,mo=/\s*!important$/,go=function(e,t,n){if(po.test(t))e.style.setProperty(t,n);else if(mo.test(n))e.style.setProperty(k(t),n.replace(mo,""),"important");else{var r=yo(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(Do).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function xo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Do).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function _o(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&O(t,Co(e.name||"v")),O(t,e),t}return"string"===typeof e?Co(e):void 0}}var Co=D((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),ko=Y&&!te,So="transition",Ao="animation",To="transition",Mo="transitionend",Oo="animation",No="animationend";ko&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(To="WebkitTransition",Mo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oo="WebkitAnimation",No="webkitAnimationEnd"));var Fo=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Io(e){Fo((function(){Fo(e)}))}function Ro(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Eo(e,t))}function Po(e,t){e._transitionClasses&&y(e._transitionClasses,t),xo(e,t)}function Lo(e,t,n){var r=jo(e,t),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===So?Mo:No,u=0,l=function(){e.removeEventListener(a,c),n()},c=function(t){t.target===e&&++u>=s&&l()};setTimeout((function(){u0&&(n=So,c=s,h=o.length):t===Ao?l>0&&(n=Ao,c=l,h=u.length):(c=Math.max(s,l),n=c>0?s>l?So:Ao:null,h=n?n===So?o.length:u.length:0);var f=n===So&&Bo.test(r[To+"Property"]);return{type:n,timeout:c,propCount:h,hasTransform:f}}function $o(e,t){while(e.length1}function Wo(e,t){!0!==t.data.show&&qo(t)}var Go=Y?{create:Wo,activate:Wo,remove:function(e,t){!0!==e.data.show?Ho(e,t):t()}}:{},Ko=[Hi,Wi,no,ao,wo,Go],Xo=Ko.concat(ji),Yo=Oi({nodeOps:xi,modules:Xo});te&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&is(e,"input")}));var Jo={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Dt(n,"postpatch",(function(){Jo.componentUpdated(e,t,n)})):Zo(e,t,n.context),e._vOptions=[].map.call(e.options,ts)):("textarea"===n.tag||li(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",ns),e.addEventListener("compositionend",rs),e.addEventListener("change",rs),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Zo(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,ts);if(i.some((function(e,t){return!P(e,r[t])}))){var o=e.multiple?t.value.some((function(e){return es(e,i)})):t.value!==t.oldValue&&es(t.value,i);o&&is(e,"change")}}}};function Zo(e,t,n){Qo(e,t,n),(ee||ne)&&setTimeout((function(){Qo(e,t,n)}),0)}function Qo(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,u=e.options.length;a-1,s.selected!==o&&(s.selected=o);else if(P(ts(s),r))return void(e.selectedIndex!==a&&(e.selectedIndex=a));i||(e.selectedIndex=-1)}}function es(e,t){return t.every((function(t){return!P(t,e)}))}function ts(e){return"_value"in e?e._value:e.value}function ns(e){e.target.composing=!0}function rs(e){e.target.composing&&(e.target.composing=!1,is(e.target,"input"))}function is(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function os(e){return!e.componentInstance||e.data&&e.data.transition?e:os(e.componentInstance._vnode)}var ss={bind:function(e,t,n){var r=t.value;n=os(n);var i=n.data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,qo(n,(function(){e.style.display=o}))):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value,i=t.oldValue;if(!r!==!i){n=os(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?qo(n,(function(){e.style.display=e.__vOriginalDisplay})):Ho(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},as={model:Jo,show:ss},us={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ls(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ls(xn(t.children)):e}function cs(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[x(o)]=i[o];return t}function hs(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function fs(e){while(e=e.parent)if(e.data.transition)return!0}function ds(e,t){return t.key===e.key&&t.tag===e.tag}var ps=function(e){return e.tag||En(e)},ms=function(e){return"show"===e.name},gs={name:"transition",props:us,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(ps),n.length)){0;var r=this.mode;0;var i=n[0];if(fs(this.$vnode))return i;var o=ls(i);if(!o)return i;if(this._leaving)return hs(e,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var u=(o.data||(o.data={})).transition=cs(this),l=this._vnode,c=ls(l);if(o.data.directives&&o.data.directives.some(ms)&&(o.data.show=!0),c&&c.data&&!ds(o,c)&&!En(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var h=c.data.transition=O({},u);if("out-in"===r)return this._leaving=!0,Dt(h,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),hs(e,i);if("in-out"===r){if(En(o))return l;var f,d=function(){f()};Dt(u,"afterEnter",d),Dt(u,"enterCancelled",d),Dt(h,"delayLeave",(function(e){f=e}))}}return i}}},vs=O({tag:String,moveClass:String},us);delete vs.mode;var ys={props:vs,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=On(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],s=cs(this),a=0;a4)return e;for(n=[],r=0;r1&&"0"==i.charAt(0)&&(o=F.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)s=0;else{if(!(10==o?R:8==o?I:P).test(i))return e;s=parseInt(i,o)}n.push(s)}for(r=0;r=C(256,5-t))return null}else if(s>255)return null;for(a=n.pop(),r=0;r6)return;r=0;while(f()){if(i=null,r>0){if(!("."==f()&&r<4))return;h++}if(!N.test(f()))return;while(N.test(f())){if(o=parseInt(f(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;h++}u[l]=256*u[l]+i,r++,2!=r&&4!=r||l++}if(4!=r)return;break}if(":"==f()){if(h++,!f())return}else if(f())return;u[l++]=t}else{if(null!==c)return;h++,l++,c=l}}if(null!==c){s=l-c,l=7;while(0!=l&&s>0)a=u[l],u[l--]=u[c+s-1],u[c+--s]=a}else if(8!=l)return;return u},z=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t},V=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=_(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=z(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},W={},G=f({},W,{" ":1,'"':1,"<":1,">":1,"`":1}),K=f({},G,{"#":1,"?":1,"{":1,"}":1}),X=f({},K,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(e,t){var n=p(e,0);return n>32&&n<127&&!h(t,e)?e:encodeURIComponent(e)},J={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return h(J,e.scheme)},Q=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var n;return 2==e.length&&M.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ne=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},re=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&te(t[0],!0)||t.pop()},ie=function(e){return"."===e||"%2e"===e.toLowerCase()},oe=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},se={},ae={},ue={},le={},ce={},he={},fe={},de={},pe={},me={},ge={},ve={},ye={},be={},we={},De={},Ee={},xe={},_e={},Ce={},ke={},Se=function(e,t,n,i){var o,s,a,u,l=n||se,c=0,f="",p=!1,m=!1,g=!1;n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(j,"")),t=t.replace($,""),o=d(t);while(c<=o.length){switch(s=o[c],l){case se:if(!s||!M.test(s)){if(n)return S;l=ue;continue}f+=s.toLowerCase(),l=ae;break;case ae:if(s&&(O.test(s)||"+"==s||"-"==s||"."==s))f+=s.toLowerCase();else{if(":"!=s){if(n)return S;f="",l=ue,c=0;continue}if(n&&(Z(e)!=h(J,f)||"file"==f&&(Q(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=f,n)return void(Z(e)&&J[e.scheme]==e.port&&(e.port=null));f="","file"==e.scheme?l=be:Z(e)&&i&&i.scheme==e.scheme?l=le:Z(e)?l=de:"/"==o[c+1]?(l=ce,c++):(e.cannotBeABaseURL=!0,e.path.push(""),l=_e)}break;case ue:if(!i||i.cannotBeABaseURL&&"#"!=s)return S;if(i.cannotBeABaseURL&&"#"==s){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,l=ke;break}l="file"==i.scheme?be:he;continue;case le:if("/"!=s||"/"!=o[c+1]){l=he;continue}l=pe,c++;break;case ce:if("/"==s){l=me;break}l=xe;continue;case he:if(e.scheme=i.scheme,s==r)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==s||"\\"==s&&Z(e))l=fe;else if("?"==s)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",l=Ce;else{if("#"!=s){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),l=xe;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",l=ke}break;case fe:if(!Z(e)||"/"!=s&&"\\"!=s){if("/"!=s){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,l=xe;continue}l=me}else l=pe;break;case de:if(l=pe,"/"!=s||"/"!=f.charAt(c+1))continue;c++;break;case pe:if("/"!=s&&"\\"!=s){l=me;continue}break;case me:if("@"==s){p&&(f="%40"+f),p=!0,a=d(f);for(var v=0;v65535)return T;e.port=Z(e)&&w===J[e.scheme]?null:w,f=""}if(n)return;l=Ee;continue}return T}f+=s;break;case be:if(e.scheme="file","/"==s||"\\"==s)l=we;else{if(!i||"file"!=i.scheme){l=xe;continue}if(s==r)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==s)e.host=i.host,e.path=i.path.slice(),e.query="",l=Ce;else{if("#"!=s){ne(o.slice(c).join(""))||(e.host=i.host,e.path=i.path.slice(),re(e)),l=xe;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",l=ke}}break;case we:if("/"==s||"\\"==s){l=De;break}i&&"file"==i.scheme&&!ne(o.slice(c).join(""))&&(te(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),l=xe;continue;case De:if(s==r||"/"==s||"\\"==s||"?"==s||"#"==s){if(!n&&te(f))l=xe;else if(""==f){if(e.host="",n)return;l=Ee}else{if(u=U(e,f),u)return u;if("localhost"==e.host&&(e.host=""),n)return;f="",l=Ee}continue}f+=s;break;case Ee:if(Z(e)){if(l=xe,"/"!=s&&"\\"!=s)continue}else if(n||"?"!=s)if(n||"#"!=s){if(s!=r&&(l=xe,"/"!=s))continue}else e.fragment="",l=ke;else e.query="",l=Ce;break;case xe:if(s==r||"/"==s||"\\"==s&&Z(e)||!n&&("?"==s||"#"==s)){if(oe(f)?(re(e),"/"==s||"\\"==s&&Z(e)||e.path.push("")):ie(f)?"/"==s||"\\"==s&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(f)&&(e.host&&(e.host=""),f=f.charAt(0)+":"),e.path.push(f)),f="","file"==e.scheme&&(s==r||"?"==s||"#"==s))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==s?(e.query="",l=Ce):"#"==s&&(e.fragment="",l=ke)}else f+=Y(s,K);break;case _e:"?"==s?(e.query="",l=Ce):"#"==s?(e.fragment="",l=ke):s!=r&&(e.path[0]+=Y(s,W));break;case Ce:n||"#"!=s?s!=r&&("'"==s&&Z(e)?e.query+="%27":e.query+="#"==s?"%23":Y(s,W)):(e.fragment="",l=ke);break;case ke:s!=r&&(e.fragment+=Y(s,G));break}c++}},Ae=function(e){var t,n,r=c(this,Ae,"URL"),i=arguments.length>1?arguments[1]:void 0,s=String(e),a=E(r,{type:"URL"});if(void 0!==i)if(i instanceof Ae)t=x(i);else if(n=Se(t={},String(i)),n)throw TypeError(n);if(n=Se(a,s,null,t),n)throw TypeError(n);var u=a.searchParams=new w,l=D(u);l.updateSearchParams(a.query),l.updateURL=function(){a.query=String(u)||null},o||(r.href=Me.call(r),r.origin=Oe.call(r),r.protocol=Ne.call(r),r.username=Fe.call(r),r.password=Ie.call(r),r.host=Re.call(r),r.hostname=Pe.call(r),r.port=Le.call(r),r.pathname=Be.call(r),r.search=je.call(r),r.searchParams=$e.call(r),r.hash=Ue.call(r))},Te=Ae.prototype,Me=function(){var e=x(this),t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,s=e.path,a=e.query,u=e.fragment,l=t+":";return null!==i?(l+="//",Q(e)&&(l+=n+(r?":"+r:"")+"@"),l+=V(i),null!==o&&(l+=":"+o)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?s[0]:s.length?"/"+s.join("/"):"",null!==a&&(l+="?"+a),null!==u&&(l+="#"+u),l},Oe=function(){var e=x(this),t=e.scheme,n=e.port;if("blob"==t)try{return new Ae(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&Z(e)?t+"://"+V(e.host)+(null!==n?":"+n:""):"null"},Ne=function(){return x(this).scheme+":"},Fe=function(){return x(this).username},Ie=function(){return x(this).password},Re=function(){var e=x(this),t=e.host,n=e.port;return null===t?"":null===n?V(t):V(t)+":"+n},Pe=function(){var e=x(this).host;return null===e?"":V(e)},Le=function(){var e=x(this).port;return null===e?"":String(e)},Be=function(){var e=x(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},je=function(){var e=x(this).query;return e?"?"+e:""},$e=function(){return x(this).searchParams},Ue=function(){var e=x(this).fragment;return e?"#"+e:""},qe=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&u(Te,{href:qe(Me,(function(e){var t=x(this),n=String(e),r=Se(t,n);if(r)throw TypeError(r);D(t.searchParams).updateSearchParams(t.query)})),origin:qe(Oe),protocol:qe(Ne,(function(e){var t=x(this);Se(t,String(e)+":",se)})),username:qe(Fe,(function(e){var t=x(this),n=d(String(e));if(!ee(t)){t.username="";for(var r=0;r1?arguments[1]:void 0,t.length)),r=String(e);return c?c.call(t,r,n):t.slice(n,n+r.length)===r}})},"2cf4":function(e,t,n){var r,i,o,s=n("da84"),a=n("d039"),u=n("0366"),l=n("1be4"),c=n("cc12"),h=n("1cdc"),f=n("605d"),d=s.location,p=s.setImmediate,m=s.clearImmediate,g=s.process,v=s.MessageChannel,y=s.Dispatch,b=0,w={},D="onreadystatechange",E=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},x=function(e){return function(){E(e)}},_=function(e){E(e.data)},C=function(e){s.postMessage(e+"",d.protocol+"//"+d.host)};p&&m||(p=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete w[e]},f?r=function(e){g.nextTick(x(e))}:y&&y.now?r=function(e){y.now(x(e))}:v&&!h?(i=new v,o=i.port2,i.port1.onmessage=_,r=u(o.postMessage,o,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts&&d&&"file:"!==d.protocol&&!a(C)?(r=C,s.addEventListener("message",_,!1)):r=D in c("script")?function(e){l.appendChild(c("script"))[D]=function(){l.removeChild(this),E(e)}}:function(e){setTimeout(x(e),0)}),e.exports={set:p,clear:m}},"2d00":function(e,t,n){var r,i,o=n("da84"),s=n("342f"),a=o.process,u=a&&a.versions,l=u&&u.v8;l?(r=l.split("."),i=r[0]+r[1]):s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(i=r[1]))),e.exports=i&&+i},"2d83":function(e,t,n){"use strict";var r=n("387f");e.exports=function(e,t,n,i,o){var s=new Error(e);return r(s,t,n,i,o)}},"2e34":function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=t.parse=void 0,i(n("0edf"),t);var s=n("0edf");Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return o(s).default}});var a=n("94ac");Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o(a).default}})},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"2e90":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.compileToken=t.compileUnsafe=t.compile=void 0;var i=n("e0d2"),o=n("99e4"),s=r(n("50ea")),a=n("ee17"),u=n("fce4"),l=n("2567");function c(e,t,n){var r=h(e,t,n);return l.ensureIsTag(r,t.adapter)}function h(e,t,n){var r="string"===typeof e?i.parse(e,t):e;return v(r,t,n)}function f(e){return"pseudo"===e.type&&("scope"===e.name||Array.isArray(e.data)&&e.data.some((function(e){return e.some(f)})))}t.compile=c,t.compileUnsafe=h;var d={type:"descendant"},p={type:"_flexibleDescendant"},m={type:"pseudo",name:"scope",data:null};function g(e,t,n){for(var r=t.adapter,i=!!(null===n||void 0===n?void 0:n.every((function(e){var t=r.isTag(e)&&r.getParent(e);return e===l.PLACEHOLDER_ELEMENT||t&&r.isTag(t)}))),o=0,s=e;o0&&a.isTraversal(u[0])&&"descendant"!==u[0].type);else{if(!i||u.some(f))continue;u.unshift(d)}u.unshift(m)}}function v(e,t,n){var r;e=e.filter((function(e){return e.length>0})),e.forEach(s.default),n=null!==(r=t.context)&&void 0!==r?r:n;var i=Array.isArray(n),a=n&&(Array.isArray(n)?n:[n]);g(e,t,a);var u=!1,l=e.map((function(e){if(e.length>=2){var n=e[0],r=e[1];"pseudo"!==n.type||"scope"!==n.name||(i&&"descendant"===r.type?e[1]=p:"adjacent"!==r.type&&"sibling"!==r.type||(u=!0))}return y(e,t,a)})).reduce(b,o.falseFunc);return l.shouldTestNextSiblings=u,l}function y(e,t,n){var r;return e.reduce((function(e,r){return e===o.falseFunc?o.falseFunc:u.compileGeneralSelector(e,r,t,n,v)}),null!==(r=t.rootFunc)&&void 0!==r?r:o.trueFunc)}function b(e,t){return t===o.falseFunc||e===o.trueFunc?e:e===o.falseFunc||t===o.trueFunc?t:function(n){return e(n)||t(n)}}t.compileToken=v},"2e99":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compilePseudoSelector=t.aliases=t.pseudos=t.filters=void 0;var r=n("99e4"),i=n("e0d2"),o=n("13d6");Object.defineProperty(t,"filters",{enumerable:!0,get:function(){return o.filters}});var s=n("95bd");Object.defineProperty(t,"pseudos",{enumerable:!0,get:function(){return s.pseudos}});var a=n("5ebc");Object.defineProperty(t,"aliases",{enumerable:!0,get:function(){return a.aliases}});var u=n("2567");function l(e,t,n,l,c){var h=t.name,f=t.data;if(Array.isArray(f))return u.subselects[h](e,f,n,l,c);if(h in a.aliases){if(null!=f)throw new Error("Pseudo "+h+" doesn't have any arguments");var d=i.parse(a.aliases[h],n);return u.subselects.is(e,d,n,l,c)}if(h in o.filters)return o.filters[h](e,f,n,l);if(h in s.pseudos){var p=s.pseudos[h];return s.verifyPseudoArgs(p,h,f),p===r.falseFunc?r.falseFunc:e===r.trueFunc?function(e){return p(e,n,f)}:function(t){return p(t,n,f)&&e(t)}}throw new Error("unmatched pseudo-class :"+h)}t.compilePseudoSelector=l},"2f62":function(e,t,n){"use strict";(function(e){ /*! * vuex v3.6.2 * (c) 2021 Evan You * @license MIT */ -function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"b",(function(){return I})),n.d(t,"c",(function(){return F}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},o=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function s(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){o.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){o.emit("vuex:action",e,t)}),{prepend:!0}))}function a(e,t){return e.filter(t)[0]}function u(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=a(t,(function(t){return t.original===e}));if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach((function(n){r[n]=u(e[n],t)})),r}function l(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function h(e){return e&&"function"===typeof e.then}function f(e,t){return function(){return e(t)}}var d=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(e,t){this._children[e]=t},d.prototype.removeChild=function(e){delete this._children[e]},d.prototype.getChild=function(e){return this._children[e]},d.prototype.hasChild=function(e){return e in this._children},d.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},d.prototype.forEachChild=function(e){l(this._children,e)},d.prototype.forEachGetter=function(e){this._rawModule.getters&&l(this._rawModule.getters,e)},d.prototype.forEachAction=function(e){this._rawModule.actions&&l(this._rawModule.actions,e)},d.prototype.forEachMutation=function(e){this._rawModule.mutations&&l(this._rawModule.mutations,e)},Object.defineProperties(d.prototype,p);var m=function(e){this.register([],e,!1)};function g(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;g(e.concat(r),t.getChild(r),n.modules[r])}}m.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},m.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},m.prototype.update=function(e){g([],this.root,e)},m.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new d(t,n);if(0===e.length)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}t.modules&&l(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},m.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},m.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var v;var y=function(e){var t=this;void 0===e&&(e={}),!v&&"undefined"!==typeof window&&window.Vue&&N(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new v,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,a=o.dispatch,u=o.commit;this.dispatch=function(e,t){return a.call(i,e,t)},this.commit=function(e,t,n){return u.call(i,e,t,n)},this.strict=r;var l=this._modules.root.state;x(this,l,[],this._modules.root),E(this,l),n.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:v.config.devtools;c&&s(this)},b={state:{configurable:!0}};function w(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function D(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;x(e,n,[],e._modules.root,!0),E(e,n,t)}function E(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};l(i,(function(t,n){o[n]=f(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var s=v.config.silent;v.config.silent=!0,e._vm=new v({data:{$$state:t},computed:o}),v.config.silent=s,e.strict&&T(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),v.nextTick((function(){return r.$destroy()})))}function x(e,t,n,r,i){var o=!n.length,s=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=r),!o&&!i){var a=M(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit((function(){v.set(a,u,r.state)}))}var l=r.context=_(e,s,n);r.forEachMutation((function(t,n){var r=s+n;k(e,r,t,l)})),r.forEachAction((function(t,n){var r=t.root?n:s+n,i=t.handler||t;S(e,r,i,l)})),r.forEachGetter((function(t,n){var r=s+n;A(e,r,t,l)})),r.forEachChild((function(r,o){x(e,t,n.concat(o),r,i)}))}function _(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=O(n,r,i),s=o.payload,a=o.options,u=o.type;return a&&a.root||(u=t+u),e.dispatch(u,s)},commit:r?e.commit:function(n,r,i){var o=O(n,r,i),s=o.payload,a=o.options,u=o.type;a&&a.root||(u=t+u),e.commit(u,s,a)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return C(e,t)}},state:{get:function(){return M(e.state,n)}}}),i}function C(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function k(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,r.state,t)}))}function S(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return h(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function A(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function T(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function M(e,t){return t.reduce((function(e,t){return e[t]}),e)}function O(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function N(e){v&&e===v||(v=e,r(v))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},y.prototype.commit=function(e,t,n){var r=this,i=O(e,t,n),o=i.type,s=i.payload,a=(i.options,{type:o,payload:s}),u=this._mutations[o];u&&(this._withCommit((function(){u.forEach((function(e){e(s)}))})),this._subscribers.slice().forEach((function(e){return e(a,r.state)})))},y.prototype.dispatch=function(e,t){var n=this,r=O(e,t),i=r.type,o=r.payload,s={type:i,payload:o},a=this._actions[i];if(a){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(s,n.state)}))}catch(l){0}var u=a.length>1?Promise.all(a.map((function(e){return e(o)}))):a[0](o);return new Promise((function(e,t){u.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(s,n.state)}))}catch(l){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(s,n.state,e)}))}catch(l){0}t(e)}))}))}},y.prototype.subscribe=function(e,t){return w(e,this._subscribers,t)},y.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return w(n,this._actionSubscribers,t)},y.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},y.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},y.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),x(this,this.state,e,this._modules.get(e),n.preserveState),E(this,this.state)},y.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=M(t.state,e.slice(0,-1));v.delete(n,e[e.length-1])})),D(this)},y.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},y.prototype.hotUpdate=function(e){this._modules.update(e),D(this,!0)},y.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(y.prototype,b);var F=$((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=q(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),I=$((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=q(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),P=$((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||q(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),R=$((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=q(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),L=function(e){return{mapState:F.bind(null,e),mapGetters:P.bind(null,e),mapMutations:I.bind(null,e),mapActions:R.bind(null,e)}};function B(e){return j(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function j(e){return Array.isArray(e)||c(e)}function $(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function q(e,t,n){var r=e._modulesNamespaceMap[n];return r}function U(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var o=e.actionFilter;void 0===o&&(o=function(e,t){return!0});var s=e.actionTransformer;void 0===s&&(s=function(e){return e});var a=e.logMutations;void 0===a&&(a=!0);var l=e.logActions;void 0===l&&(l=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var h=u(e.state);"undefined"!==typeof c&&(a&&e.subscribe((function(e,o){var s=u(o);if(n(e,h,s)){var a=V(),l=i(e),f="mutation "+e.type+a;H(c,f,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(h)),c.log("%c mutation","color: #03A9F4; font-weight: bold",l),c.log("%c next state","color: #4CAF50; font-weight: bold",r(s)),z(c)}h=s})),l&&e.subscribeAction((function(e,n){if(o(e,n)){var r=V(),i=s(e),a="action "+e.type+r;H(c,a,t),c.log("%c action","color: #03A9F4; font-weight: bold",i),z(c)}})))}}function H(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(i){e.log(t)}}function z(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function V(){var e=new Date;return" @ "+G(e.getHours(),2)+":"+G(e.getMinutes(),2)+":"+G(e.getSeconds(),2)+"."+G(e.getMilliseconds(),3)}function W(e,t){return new Array(t+1).join(e)}function G(e,t){return W("0",t-e.toString().length)+e}var K={Store:y,install:N,version:"3.6.2",mapState:F,mapMutations:I,mapGetters:P,mapActions:R,createNamespacedHelpers:L,createLogger:U};t["a"]=K}).call(this,n("c8ba"))},"2f9a":function(e,t){e.exports=function(){}},"301c":function(e,t,n){n("e198")("asyncIterator")},"30b5":function(e,t,n){"use strict";var r=n("c532");function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var s=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(i(t)+"="+i(e))})))})),o=s.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},"31c5":function(e,t,n){(function(e){e(n("56b3"))})((function(e){"use strict";var t="CodeMirror-activeline",n="CodeMirror-activeline-background",r="CodeMirror-activeline-gutter";function i(e){for(var i=0;i=0||(i[n]=e[n]);return i}function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var r={name:"prettier",version:"2.2.1",description:"Prettier is an opinionated code formatter",bin:"./bin/prettier.js",repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:{node:">=10.13.0"},files:["index.js","standalone.js","src","bin"],dependencies:{"@angular/compiler":"10.2.3","@babel/code-frame":"7.10.4","@babel/parser":"7.12.5","@glimmer/syntax":"0.66.0","@iarna/toml":"2.2.5","@typescript-eslint/typescript-estree":"4.8.1","angular-estree-parser":"2.2.1","angular-html-parser":"1.7.1",camelcase:"6.2.0",chalk:"4.1.0","ci-info":"watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540","cjk-regex":"2.0.0",cosmiconfig:"7.0.0",dashify:"2.0.0",diff:"5.0.0",editorconfig:"0.15.3","editorconfig-to-prettier":"0.2.0","escape-string-regexp":"4.0.0",espree:"7.3.0",esutils:"2.0.3","fast-glob":"3.2.4","fast-json-stable-stringify":"2.1.0","find-parent-dir":"0.3.0","flow-parser":"0.138.0","get-stdin":"8.0.0",globby:"11.0.1",graphql:"15.4.0","html-element-attributes":"2.3.0","html-styles":"1.0.0","html-tag-names":"1.1.5","html-void-elements":"1.0.5",ignore:"4.0.6","jest-docblock":"26.0.0",json5:"2.1.3",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.12.1",lodash:"4.17.20",mem:"8.0.0",meriyah:"3.1.6",minimatch:"3.0.4",minimist:"1.2.5","n-readlines":"1.0.1",outdent:"0.7.1","parse-srcset":"ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee","please-upgrade-node":"3.2.0","postcss-less":"3.1.4","postcss-media-query-parser":"0.2.3","postcss-scss":"2.1.1","postcss-selector-parser":"2.2.3","postcss-values-parser":"2.0.1","regexp-util":"1.2.2","remark-footnotes":"2.0.0","remark-math":"3.0.1","remark-parse":"8.0.3",resolve:"1.19.0",semver:"7.3.2","string-width":"4.2.0",typescript:"4.1.2","unicode-regex":"3.0.0",unified:"9.2.0",vnopts:"1.0.2","yaml-unist-parser":"1.3.1"},devDependencies:{"@babel/core":"7.12.3","@babel/preset-env":"7.12.1","@babel/types":"7.12.6","@glimmer/reference":"0.66.0","@rollup/plugin-alias":"3.1.1","@rollup/plugin-babel":"5.2.1","@rollup/plugin-commonjs":"16.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"10.0.0","@rollup/plugin-replace":"2.3.4","@types/estree":"0.0.45","@types/node":"14.14.0","@typescript-eslint/types":"4.8.1","babel-jest":"26.6.3","babel-loader":"8.2.1",benchmark:"2.1.4","builtin-modules":"3.1.0","cross-env":"7.0.2",cspell:"4.2.2",eslint:"7.13.0","eslint-config-prettier":"6.15.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.22.1","eslint-plugin-jest":"24.1.3","eslint-plugin-prettier-internal-rules":"file:scripts/tools/eslint-plugin-prettier-internal-rules","eslint-plugin-react":"7.21.5","eslint-plugin-unicorn":"23.0.0",execa:"4.1.0",jest:"26.6.3","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.1.0","jest-watch-typeahead":"0.6.1","npm-run-all":"4.1.5","path-browserify":"1.0.1",prettier:"2.2.0",rimraf:"3.0.2",rollup:"2.33.3","rollup-plugin-node-globals":"1.4.0","rollup-plugin-terser":"7.0.2",shelljs:"0.8.4","snapshot-diff":"0.8.1","strip-ansi":"6.0.0","synchronous-promise":"2.0.15",tempy:"1.0.0","terser-webpack-plugin":"5.0.3",webpack:"5.5.1"},scripts:{prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dev-package":"cross-env INSTALL_PACKAGE=1 jest","test:dist":"cross-env NODE_ENV=production jest","test:dist-standalone":"cross-env NODE_ENV=production TEST_STANDALONE=1 jest","test:integration":"jest tests_integration","perf:repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",lint:"run-p lint:*","lint:typecheck":"tsc","lint:eslint":"cross-env EFF_NO_LINK_RULES=true eslint . --format friendly","lint:changelog":"node ./scripts/lint-changelog.js","lint:prettier":'prettier . "!test*" --check',"lint:dist":'eslint --no-eslintrc --no-ignore --env=es6,browser --parser-options=ecmaVersion:2018 "dist/!(bin-prettier|index|third-party).js"',"lint:spellcheck":'cspell "**/*" ".github/**/*"',"lint:deps":"node ./scripts/check-deps.js",fix:"run-s fix:eslint fix:prettier","fix:eslint":"yarn lint:eslint --fix","fix:prettier":"yarn lint:prettier --write",build:"node --max-old-space-size=3072 ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js"}};function i(){}function o(e,t,n,r,i){for(var o=0,s=t.length,a=0,u=0;oe.length?n:e})),l.value=e.join(h)}else l.value=e.join(n.slice(a,a+l.count));a+=l.count,l.added||(u+=l.count)}}var f=t[s-1];return s>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[s-2].value+=f.value,t.pop()),t}function s(e){return{newPos:e.newPos,components:e.components.slice(0)}}i.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function a(e){return r?(setTimeout((function(){r(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var u=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,c=1,h=u+l,f=[{newPos:-1,components:[]}],d=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=u&&d+1>=l)return a([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*c;n<=c;n+=2){var r=void 0,h=f[n-1],d=f[n+1],p=(d?d.newPos:0)-n;h&&(f[n-1]=void 0);var m=h&&h.newPos+1=u&&p+1>=l)return a(o(i,r.components,t,e,i.useLongestToken));f[n]=r}else f[n]=void 0}c++}if(r)!function e(){setTimeout((function(){if(c>h)return r();p()||e()}),0)}();else for(;c<=h;){var m=p();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var i=t.length,o=n.length,s=e.newPos,a=s-r,u=0;s+1e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],i=[],o=0;function s(){var e={};for(i.push(e);o2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=x(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,i,o=e.split(/\r\n|[\n\v\f\r\x85]/),s=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=t.hunks,u=n.compareLine||function(e,t,n,r){return t===r},l=0,c=n.fuzzFactor||0,h=0,f=0;function d(e,t){for(var n=0;n0?r[0]:" ",s=r.length>0?r.substr(1):r;if(" "===i||"-"===i){if(!u(t+1,o[t],i,s)&&++l>c)return!1;t++}}return!0}for(var p=0;p0?S[0]:" ",T=S.length>0?S.substr(1):S,M=E.linedelimiters[k];if(" "===A)C++;else if("-"===A)o.splice(C,1),s.splice(C,1);else if("+"===A)o.splice(C,0,T),s.splice(C,0,M),C++;else if("\\"===A){var O=E.lines[k-1]?E.lines[k-1][0]:null;"+"===O?r=!0:"-"===O&&(i=!0)}}}if(r)for(;!o[o.length-1];)o.pop(),s.pop();else i&&(o.push(""),s.push("\n"));for(var N=0;N0?u(d.lines.slice(-s.context)):[],c-=f.length,h-=f.length)}(o=f).push.apply(o,v(i.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=i.length:p+=i.length}else{if(c)if(i.length<=2*s.context&&e=a.length-2&&i.length<=s.context){var D=/\n$/.test(n),E=/\n$/.test(r),x=0==i.length&&f.length>w.oldLines;!D&&x&&n.length>0&&f.splice(w.oldLines,0,"\\ No newline at end of file"),(D||x)&&E||f.push("\\ No newline at end of file")}l.push(w),c=0,h=0,f=[]}p+=i.length,m+=i.length}},y=0;ye.length)return!1;for(var n=0;n/g,">")).replace(/"/g,""")}E.tokenize=function(e){return e.slice()},E.join=E.removeEmpty=function(e){return e};var W=Object.freeze({__proto__:null,Diff:i,applyPatch:C,applyPatches:function(e,t){"string"==typeof e&&(e=x(e));var n=0;!function r(){var i=e[n++];if(!i)return t.complete();t.loadFile(i,(function(e,n){if(e)return t.complete(e);var o=C(n,i,t);t.patched(i,o,(function(e){if(e)return t.complete(e);r()}))}))}()},canonicalize:D,convertChangesToDMP:function(e){for(var t,n,r=[],i=0;i"):r.removed&&t.push(""),t.push(V(r.value)),r.added?t.push(""):r.removed&&t.push("")}return t.join("")},createPatch:function(e,t,n,r,i,o){return S(e,e,t,n,r,i,o)},createTwoFilesPatch:S,diffArrays:function(e,t,n){return E.diff(e,t,n)},diffChars:function(e,t,n){return a.diff(e,t,n)},diffCss:function(e,t,n){return m.diff(e,t,n)},diffJson:function(e,t,n){return w.diff(e,t,n)},diffLines:d,diffSentences:function(e,t,n){return p.diff(e,t,n)},diffTrimmedLines:function(e,t,n){var r=u(n,{ignoreWhitespace:!0});return f.diff(e,t,r)},diffWords:function(e,t,n){return n=u(n,{ignoreWhitespace:!0}),h.diff(e,t,n)},diffWordsWithSpace:function(e,t,n){return h.diff(e,t,n)},merge:function(e,t,n){e=M(e,n),t=M(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(O(e)?O(t)?(r.oldFileName=N(r,e.oldFileName,t.oldFileName),r.newFileName=N(r,e.newFileName,t.newFileName),r.oldHeader=N(r,e.oldHeader,t.oldHeader),r.newHeader=N(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var i=0,o=0,s=0,a=0;i0){for(let e=0;e"string"==typeof e?e.replace((({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")})(),""):e;const ne=e=>!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141);var re=ne,ie=ne;re.default=ie;const oe=e=>{if("string"!=typeof(e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)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\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," "))||0===e.length)return 0;e=te(e);let t=0;for(let n=0;n=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=re(r)?2:1)}return t};var se=oe,ae=oe;se.default=ae;var ue=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},le=e=>e[e.length-1],ce="undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function he(){throw new Error("setTimeout has not been defined")}function fe(){throw new Error("clearTimeout has not been defined")}var de=he,pe=fe;function me(e){if(de===setTimeout)return setTimeout(e,0);if((de===he||!de)&&setTimeout)return de=setTimeout,setTimeout(e,0);try{return de(e,0)}catch(n){try{return de.call(null,e,0)}catch(n){return de.call(this,e,0)}}}"function"==typeof ce.setTimeout&&(de=setTimeout),"function"==typeof ce.clearTimeout&&(pe=clearTimeout);var ge,ve=[],ye=!1,be=-1;function we(){ye&&ge&&(ye=!1,ge.length?ve=ge.concat(ve):be=-1,ve.length&&De())}function De(){if(!ye){var e=me(we);ye=!0;for(var t=ve.length;t;){for(ge=ve,ve=[];++be1)for(var n=1;nconsole.error("SEMVER",...e):()=>{},Re={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Le="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof t?t:"undefined"!=typeof self?self:{};function Be(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}function je(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $e=Be((function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=Re,r=(t=e.exports={}).re=[],i=t.src=[],o=t.t={};let s=0;const a=(e,t,n)=>{const a=s++;Pe(a,t),o[e]=a,i[a]=t,r[a]=new RegExp(t,n?"g":void 0)};a("NUMERICIDENTIFIER","0|[1-9]\\d*"),a("NUMERICIDENTIFIERLOOSE","[0-9]+"),a("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),a("MAINVERSION","(".concat(i[o.NUMERICIDENTIFIER],")\\.")+"(".concat(i[o.NUMERICIDENTIFIER],")\\.")+"(".concat(i[o.NUMERICIDENTIFIER],")")),a("MAINVERSIONLOOSE","(".concat(i[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[o.NUMERICIDENTIFIERLOOSE],")")),a("PRERELEASEIDENTIFIER","(?:".concat(i[o.NUMERICIDENTIFIER],"|").concat(i[o.NONNUMERICIDENTIFIER],")")),a("PRERELEASEIDENTIFIERLOOSE","(?:".concat(i[o.NUMERICIDENTIFIERLOOSE],"|").concat(i[o.NONNUMERICIDENTIFIER],")")),a("PRERELEASE","(?:-(".concat(i[o.PRERELEASEIDENTIFIER],"(?:\\.").concat(i[o.PRERELEASEIDENTIFIER],")*))")),a("PRERELEASELOOSE","(?:-?(".concat(i[o.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(i[o.PRERELEASEIDENTIFIERLOOSE],")*))")),a("BUILDIDENTIFIER","[0-9A-Za-z-]+"),a("BUILD","(?:\\+(".concat(i[o.BUILDIDENTIFIER],"(?:\\.").concat(i[o.BUILDIDENTIFIER],")*))")),a("FULLPLAIN","v?".concat(i[o.MAINVERSION]).concat(i[o.PRERELEASE],"?").concat(i[o.BUILD],"?")),a("FULL","^".concat(i[o.FULLPLAIN],"$")),a("LOOSEPLAIN","[v=\\s]*".concat(i[o.MAINVERSIONLOOSE]).concat(i[o.PRERELEASELOOSE],"?").concat(i[o.BUILD],"?")),a("LOOSE","^".concat(i[o.LOOSEPLAIN],"$")),a("GTLT","((?:<|>)?=?)"),a("XRANGEIDENTIFIERLOOSE","".concat(i[o.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),a("XRANGEIDENTIFIER","".concat(i[o.NUMERICIDENTIFIER],"|x|X|\\*")),a("XRANGEPLAIN","[v=\\s]*(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:".concat(i[o.PRERELEASE],")?").concat(i[o.BUILD],"?")+")?)?"),a("XRANGEPLAINLOOSE","[v=\\s]*(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(i[o.PRERELEASELOOSE],")?").concat(i[o.BUILD],"?")+")?)?"),a("XRANGE","^".concat(i[o.GTLT],"\\s*").concat(i[o.XRANGEPLAIN],"$")),a("XRANGELOOSE","^".concat(i[o.GTLT],"\\s*").concat(i[o.XRANGEPLAINLOOSE],"$")),a("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),a("COERCERTL",i[o.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM","(\\s*)".concat(i[o.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",a("TILDE","^".concat(i[o.LONETILDE]).concat(i[o.XRANGEPLAIN],"$")),a("TILDELOOSE","^".concat(i[o.LONETILDE]).concat(i[o.XRANGEPLAINLOOSE],"$")),a("LONECARET","(?:\\^)"),a("CARETTRIM","(\\s*)".concat(i[o.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",a("CARET","^".concat(i[o.LONECARET]).concat(i[o.XRANGEPLAIN],"$")),a("CARETLOOSE","^".concat(i[o.LONECARET]).concat(i[o.XRANGEPLAINLOOSE],"$")),a("COMPARATORLOOSE","^".concat(i[o.GTLT],"\\s*(").concat(i[o.LOOSEPLAIN],")$|^$")),a("COMPARATOR","^".concat(i[o.GTLT],"\\s*(").concat(i[o.FULLPLAIN],")$|^$")),a("COMPARATORTRIM","(\\s*)".concat(i[o.GTLT],"\\s*(").concat(i[o.LOOSEPLAIN],"|").concat(i[o.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE","^\\s*(".concat(i[o.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(i[o.XRANGEPLAIN],")")+"\\s*$"),a("HYPHENRANGELOOSE","^\\s*(".concat(i[o.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(i[o.XRANGEPLAINLOOSE],")")+"\\s*$"),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}));const qe=/^[0-9]+$/,Ue=(e,t)=>{const n=qe.test(e),r=qe.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:eUe(t,e)};const{MAX_LENGTH:ze,MAX_SAFE_INTEGER:Ve}=Re,{re:We,t:Ge}=$e,{compareIdentifiers:Ke}=He;class Xe{constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof Xe){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>ze)throw new TypeError("version is longer than ".concat(ze," characters"));Pe("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?We[Ge.LOOSE]:We[Ge.FULL]);if(!n)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Ve||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ve||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ve||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}var Ye=Xe,Je=(e,t,n)=>new Ye(e,n).compare(new Ye(t,n)),Ze=(e,t,n)=>Je(e,t,n)<0,Qe=(e,t,n)=>Je(e,t,n)>=0,et=Be((function(e,t){function n(){for(var e=[],t=0;t"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:null,description:"Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:ht,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:ut},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:ht,description:at(it()),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:ut},printWidth:{since:"0.0.0",category:ht,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{since:"1.4.0",category:ft,type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:at(rt()),cliCategory:lt},rangeStart:{since:"1.4.0",category:ft,type:"int",default:0,range:{start:0,end:1/0,step:1},description:at(nt()),cliCategory:lt},requirePragma:{since:"1.7.0",category:ft,type:"boolean",default:!1,description:at(tt()),cliCategory:ct},tabWidth:{type:"int",category:ht,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{since:"1.0.0",category:ht,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:ht,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},pt={compare:Je,lt:Ze,gte:Qe},mt=r.version,gt={CATEGORY_CONFIG:ut,CATEGORY_EDITOR:lt,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:ct,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:ht,CATEGORY_SPECIAL:ft,options:dt}.options;var vt={getSupportInfo:function({plugins:t=[],showUnreleased:n=!1,showDeprecated:r=!1,showInternal:i=!1}={}){const o=mt.split("-",1)[0],s=t.reduce((e,t)=>e.concat(t.languages||[]),[]).filter(u),a=((e,t)=>Object.entries(e).map(([e,n])=>Object.assign({[t]:e},n)))(Object.assign({},...t.map(({options:e})=>e),gt),"name").filter(e=>u(e)&&l(e)).sort((e,t)=>e.name===t.name?0:e.name{e=Object.assign({},e),Array.isArray(e.default)&&(e.default=1===e.default.length?e.default[0].value:e.default.filter(u).sort((e,t)=>pt.compare(t.since,e.since))[0].value),Array.isArray(e.choices)&&(e.choices=e.choices.filter(e=>u(e)&&l(e)),"parser"===e.name&&function(e,t,n){const r=new Set(e.choices.map(e=>e.value));for(const i of t)if(i.parsers)for(const t of i.parsers)if(!r.has(t)){r.add(t);const o=n.find(e=>e.parsers&&e.parsers[t]);let s=i.name;o&&o.name&&(s+=" (plugin: ".concat(o.name,")")),e.choices.push({value:t,description:s})}}(e,s,t));const n=t.filter(t=>t.defaultOptions&&void 0!==t.defaultOptions[e.name]).reduce((t,n)=>(t[n.name]=n.defaultOptions[e.name],t),{});return Object.assign({},e,{pluginDefaults:n})});return{languages:s,options:a};function u(e){return n||!("since"in e)||e.since&&pt.gte(o,e.since)}function l(e){return r||!("deprecated"in e)||e.deprecated&&pt.lt(o,e.deprecated)}}};const{getSupportInfo:yt}=vt,bt=/[^\x20-\x7F]/;function wt(e){return(t,n,r)=>{const i=r&&r.backwards;if(!1===n)return!1;const{length:o}=t;let s=n;for(;s>=0&&s(n.match(s.regex)||[]).length?s.quote:o.quote),a}function It(e,t,n){const r='"'===t?"'":'"',i=e.replace(/\\([\S\s])|(["'])/g,(e,i,o)=>i===r?i:o===t?"\\"+o:o||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i));return t+i+t}function Pt(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,"JSXText"===e.type&&(t.printed=!0)}var Rt={inferParserByLanguage:function(e,t){const{languages:n}=yt({plugins:t.plugins}),r=n.find(({name:t})=>t.toLowerCase()===e)||n.find(({aliases:t})=>Array.isArray(t)&&t.includes(e))||n.find(({extensions:t})=>Array.isArray(t)&&t.includes(".".concat(e)));return r&&r.parsers[0]},replaceEndOfLineWith:function(e,t){const n=[];for(const r of e.split("\n"))0!==n.length&&n.push(t),n.push(r);return n},getStringWidth:function(e){return e?bt.test(e)?se(e):e.length:0},getMaxContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(ue(t),")+"),"g"));return null===n?0:n.reduce((e,n)=>Math.max(e,n.length/t.length),0)},getMinNotPresentContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(ue(t),")+"),"g"));if(null===n)return 0;const r=new Map;let i=0;for(const o of n){const e=o.length/t.length;r.set(e,!0),e>i&&(i=e)}for(let o=1;oe[e.length-2],getLast:le,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Mt,getNextNonSpaceNonCommentCharacterIndex:Ot,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(Ot(e,t,n))},skip:wt,skipWhitespace:Dt,skipSpaces:Et,skipToLineEnd:xt,skipEverythingButNewLine:_t,skipInlineComment:Ct,skipTrailingComment:kt,skipNewline:St,isNextLineEmptyAfterIndex:Tt,isNextLineEmpty:function(e,t,n){return Tt(e,n(t))},isPreviousLineEmpty:function(e,t,n){let r=n(t)-1;return r=Et(e,r,{backwards:!0}),r=St(e,r,{backwards:!0}),r=Et(e,r,{backwards:!0}),r!==St(e,r,{backwards:!0})},hasNewline:At,hasNewlineInRange:function(e,t,n){for(let r=t;r=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let n;if("\n"===t)n=/\n/g;else if("\r"===t)n=/\r/g;else{if("\r\n"!==t)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));n=/\r\n/g}const r=e.match(n);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}};const{getStringWidth:Bt}=Rt,{convertEndOfLineToChars:jt}=Lt,{concat:$t,fill:qt,cursor:Ut}=ee;let Ht;function zt(e,t){return Wt(e,{type:"indent"},t)}function Vt(e,t,n){return t===-1/0?e.root||{value:"",length:0,queue:[]}:t<0?Wt(e,{type:"dedent"},n):t?"root"===t.type?Object.assign({},e,{root:e}):Wt(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n):e}function Wt(e,t,n){const r="dedent"===t.type?e.queue.slice(0,-1):e.queue.concat(t);let i="",o=0,s=0,a=0;for(const d of r)switch(d.type){case"indent":c(),n.useTabs?u(1):l(n.tabWidth);break;case"stringAlign":c(),i+=d.n,o+=d.n.length;break;case"numberAlign":s+=1,a+=d.n;break;default:throw new Error("Unexpected type '".concat(d.type,"'"))}return h(),Object.assign({},e,{value:i,length:o,queue:r});function u(e){i+="\t".repeat(e),o+=n.tabWidth*e}function l(e){i+=" ".repeat(e),o+=e}function c(){n.useTabs?function(){s>0&&u(s),f()}():h()}function h(){a>0&&l(a),f()}function f(){s=0,a=0}}function Gt(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof e[e.length-1]&&e[e.length-1].match(/^[\t ]*$/);)t+=e.pop().length;if(e.length&&"string"==typeof e[e.length-1]){const n=e[e.length-1].replace(/[\t ]*$/,"");t+=e[e.length-1].length-n.length,e[e.length-1]=n}return t}function Kt(e,t,n,r,i){let o=t.length;const s=[e],a=[];for(;n>=0;){if(0===s.length){if(0===o)return!0;s.push(t[o-1]),o--;continue}const[e,u,l]=s.pop();if("string"==typeof l)a.push(l),n-=Bt(l);else switch(l.type){case"concat":for(let t=l.parts.length-1;t>=0;t--)s.push([e,u,l.parts[t]]);break;case"indent":s.push([zt(e,r),u,l.contents]);break;case"align":s.push([Vt(e,l.n,r),u,l.contents]);break;case"trim":n+=Gt(a);break;case"group":if(i&&l.break)return!1;s.push([e,l.break?1:u,l.contents]),l.id&&(Ht[l.id]=s[s.length-1][1]);break;case"fill":for(let t=l.parts.length-1;t>=0;t--)s.push([e,u,l.parts[t]]);break;case"if-break":{const t=l.groupId?Ht[l.groupId]:u;1===t&&l.breakContents&&s.push([e,u,l.breakContents]),2===t&&l.flatContents&&s.push([e,u,l.flatContents]);break}case"line":switch(u){case 2:if(!l.hard){l.soft||(a.push(" "),n-=1);break}return!0;case 1:return!0}}}return!1}var Xt={printDocToString:function(e,t){Ht={};const n=t.printWidth,r=jt(t.endOfLine);let i=0;const o=[[{value:"",length:0,queue:[]},1,e]],s=[];let a=!1,u=[];for(;0!==o.length;){const[e,l,c]=o.pop();if("string"==typeof c){const e="\n"!==r&&c.includes("\n")?c.replace(/\n/g,r):c;s.push(e),i+=Bt(e)}else switch(c.type){case"cursor":s.push(Ut.placeholder);break;case"concat":for(let t=c.parts.length-1;t>=0;t--)o.push([e,l,c.parts[t]]);break;case"indent":o.push([zt(e,t),l,c.contents]);break;case"align":o.push([Vt(e,c.n,t),l,c.contents]);break;case"trim":i-=Gt(s);break;case"group":switch(l){case 2:if(!a){o.push([e,c.break?1:2,c.contents]);break}case 1:{a=!1;const r=[e,2,c.contents],s=n-i;if(!c.break&&Kt(r,o,s,t))o.push(r);else if(c.expandedStates){const n=c.expandedStates[c.expandedStates.length-1];if(c.break){o.push([e,1,n]);break}for(let r=1;r=c.expandedStates.length){o.push([e,1,n]);break}{const n=[e,2,c.expandedStates[r]];if(Kt(n,o,s,t)){o.push(n);break}}}}else o.push([e,1,c.contents]);break}}c.id&&(Ht[c.id]=o[o.length-1][1]);break;case"fill":{const r=n-i,{parts:s}=c;if(0===s.length)break;const[a,u]=s,h=[e,2,a],f=[e,1,a],d=Kt(h,[],r,t,!0);if(1===s.length){d?o.push(h):o.push(f);break}const p=[e,2,u],m=[e,1,u];if(2===s.length){d?(o.push(p),o.push(h)):(o.push(m),o.push(f));break}s.splice(0,2);const g=[e,l,qt(s)],v=s[0];Kt([e,2,$t([a,u,v])],[],r,t,!0)?(o.push(g),o.push(p),o.push(h)):d?(o.push(g),o.push(m),o.push(h)):(o.push(g),o.push(m),o.push(f));break}case"if-break":{const t=c.groupId?Ht[c.groupId]:l;1===t&&c.breakContents&&o.push([e,l,c.breakContents]),2===t&&c.flatContents&&o.push([e,l,c.flatContents]);break}case"line-suffix":u.push([e,l,c.contents]);break;case"line-suffix-boundary":u.length>0&&o.push([e,l,{type:"line",hard:!0}]);break;case"line":switch(l){case 2:if(!c.hard){c.soft||(s.push(" "),i+=1);break}a=!0;case 1:if(u.length){o.push([e,l,c]),o.push(...u.reverse()),u=[];break}c.literal?e.root?(s.push(r,e.root.value),i=e.root.length):(s.push(r),i=0):(i-=Gt(s),s.push(r+e.value),i=e.length)}}0===o.length&&u.length&&(o.push(...u.reverse()),u=[])}const l=s.indexOf(Ut.placeholder);if(-1!==l){const e=s.indexOf(Ut.placeholder,l+1),t=s.slice(0,l).join(""),n=s.slice(l+1,e).join("");return{formatted:t+n+s.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:n}}return{formatted:s.join("")}}};const{literalline:Yt,concat:Jt}=ee,Zt={};function Qt(e,t,n,r){const i=[e];for(;0!==i.length;){const e=i.pop();if(e!==Zt){if(n&&i.push(e,Zt),!t||!1!==t(e))if("concat"===e.type||"fill"===e.type)for(let t=e.parts.length-1;t>=0;--t)i.push(e.parts[t]);else if("if-break"===e.type)e.flatContents&&i.push(e.flatContents),e.breakContents&&i.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(r)for(let t=e.expandedStates.length-1;t>=0;--t)i.push(e.expandedStates[t]);else i.push(e.contents);else e.contents&&i.push(e.contents)}else n(i.pop())}}function en(e,t){if("concat"===e.type||"fill"===e.type){const n=e.parts.map(e=>en(e,t));return t(Object.assign({},e,{parts:n}))}if("if-break"===e.type){const n=e.breakContents&&en(e.breakContents,t),r=e.flatContents&&en(e.flatContents,t);return t(Object.assign({},e,{breakContents:n,flatContents:r}))}if(e.contents){const n=en(e.contents,t);return t(Object.assign({},e,{contents:n}))}return t(e)}function tn(e,t,n){let r=n,i=!1;return Qt(e,(function(e){const n=t(e);if(void 0!==n&&(i=!0,r=n),i)return!1})),r}function nn(e){return"string"!=typeof e&&("line"===e.type||void 0)}function rn(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function on(e){if(e.length>0){const t=e[e.length-1];t.expandedStates||(t.break=!0)}return null}function sn(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function an(e){const t=[],n=e.filter(Boolean);for(;0!==n.length;){const e=n.shift();e&&("concat"!==e.type?0===t.length||"string"!=typeof t[t.length-1]||"string"!=typeof e?t.push(e):t[t.length-1]+=e:n.unshift(...e.parts))}return t}function un(e){if("concat"===e.type){const t=[];for(let n=0;n0&&!t;r--)t=n[r-1];return"group"===t.type&&(n=t.contents.parts),n}(t):t.parts,i=r[r.length-1];if("concat"===i.type)return 2===i.parts.length&&i.parts[0].hard&&"break-parent"===i.parts[1].type?{type:"concat",parts:r.slice(0,-1)}:{type:"concat",parts:t.parts.slice(0,-1).concat(e(i))}}return t},normalizeParts:an,normalizeDoc:function(e){return en(e,e=>e.parts?Object.assign({},e,{parts:an(e.parts)}):e)},replaceNewlinesWithLiterallines:function(e){return en(e,e=>"string"==typeof e&&e.includes("\n")?Jt(e.split(/(\n)/g).map((e,t)=>t%2==0?e:Yt)):e)}},debug:{printDocToDebug:e=>ln(un(e))}};const hn=()=>!1,fn=()=>"";var dn={existsSync:hn,readFileSync:fn},pn=Object.freeze({__proto__:null,existsSync:hn,readFileSync:fn,default:dn});function mn(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function gn(e,t){for(var n,r="",i=0,o=-1,s=0,a=0;a<=e.length;++a){if(a2){var u=r.lastIndexOf("/");if(u!==r.length-1){-1===u?(r="",i=0):i=(r=r.slice(0,u)).length-1-r.lastIndexOf("/"),o=a,s=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=a,s=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,a):r=e.slice(o+1,a),i=a-o-1;o=a,s=0}else 46===n&&-1!==s?++s:s=-1}return r}var vn={resolve:function(){for(var e,t="",n=!1,r=arguments.length-1;r>=-1&&!n;r--){var i;r>=0?i=arguments[r]:(void 0===e&&(e=Ie.cwd()),i=e),mn(i),0!==i.length&&(t=i+"/"+t,n=47===i.charCodeAt(0))}return t=gn(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(mn(e),0===e.length)return".";var t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0!==(e=gn(e,!t)).length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return mn(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":vn.normalize(e)},relative:function(e,t){if(mn(e),mn(t),e===t)return"";if((e=vn.resolve(e))===(t=vn.resolve(t)))return"";for(var n=1;na){if(47===t.charCodeAt(o+l))return t.slice(o+l+1);if(0===l)return t.slice(o+l)}else i>a&&(47===e.charCodeAt(n+l)?u=l:0===l&&(u=0));break}var c=e.charCodeAt(n+l);if(c!==t.charCodeAt(o+l))break;47===c&&(u=l)}var h="";for(l=n+u+1;l<=r;++l)l!==r&&47!==e.charCodeAt(l)||(0===h.length?h+="..":h+="/..");return h.length>0?h+t.slice(o+u):(o+=u,47===t.charCodeAt(o)&&++o,t.slice(o))},_makeLong:function(e){return e},dirname:function(e){if(mn(e),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(47===(t=e.charCodeAt(o))){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"//":e.slice(0,r)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');mn(e);var n,r=0,i=-1,o=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){var u=e.charCodeAt(n);if(47===u){if(!o){r=n+1;break}}else-1===a&&(o=!1,a=n+1),s>=0&&(u===t.charCodeAt(s)?-1==--s&&(i=n):(s=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!o){r=n+1;break}}else-1===i&&(o=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname:function(e){mn(e);for(var t=-1,n=0,r=-1,i=!0,o=0,s=e.length-1;s>=0;--s){var a=e.charCodeAt(s);if(47!==a)-1===r&&(i=!1,r=s+1),46===a?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=s+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}("/",e)},parse:function(e){mn(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,r=e.charCodeAt(0),i=47===r;i?(t.root="/",n=1):n=0;for(var o=-1,s=0,a=-1,u=!0,l=e.length-1,c=0;l>=n;--l)if(47!==(r=e.charCodeAt(l)))-1===a&&(u=!1,a=l+1),46===r?-1===o?o=l:1!==c&&(c=1):-1!==o&&(c=-1);else if(!u){s=l+1;break}return-1===o||-1===a||0===c||1===c&&o===a-1&&o===s+1?-1!==a&&(t.base=t.name=0===s&&i?e.slice(1,a):e.slice(s,a)):(0===s&&i?(t.name=e.slice(1,o),t.base=e.slice(1,a)):(t.name=e.slice(s,o),t.base=e.slice(s,a)),t.ext=e.slice(o,a)),s>0?t.dir=e.slice(0,s-1):i&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};vn.posix=vn;var yn=vn,bn=Object.freeze(Object.assign(Object.create(null),yn,{default:yn,__moduleExports:yn})),wn=[],Dn=[],En="undefined"!=typeof Uint8Array?Uint8Array:Array,xn=!1;function _n(){xn=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t>18&63]+wn[i>>12&63]+wn[i>>6&63]+wn[63&i]);return o.join("")}function kn(e){var t;xn||_n();for(var n=e.length,r=n%3,i="",o=[],s=16383,a=0,u=n-r;au?u:a+s));return 1===r?(t=e[n-1],i+=wn[t>>2],i+=wn[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=wn[t>>10],i+=wn[t>>4&63],i+=wn[t<<2&63],i+="="),o.push(i),o.join("")}function Sn(e,t,n,r,i){var o,s,a=8*i-r-1,u=(1<>1,c=-7,h=n?i-1:0,f=n?-1:1,d=e[t+h];for(h+=f,o=d&(1<<-c)-1,d>>=-c,c+=a;c>0;o=256*o+e[t+h],h+=f,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=r;c>0;s=256*s+e[t+h],h+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),o-=l}return(d?-1:1)*s*Math.pow(2,o-r)}function An(e,t,n,r,i,o){var s,a,u,l=8*o-i-1,c=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+h>=1?f/u:f*Math.pow(2,1-h))*u>=2&&(s++,u/=2),s+h>=c?(a=0,s=c):s+h>=1?(a=(t*u-1)*Math.pow(2,i),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;e[n+d]=255&a,d+=p,a/=256,i-=8);for(s=s<0;e[n+d]=255&s,d+=p,s/=256,l-=8);e[n+d-p]|=128*m}var Tn={}.toString,Mn=Array.isArray||function(e){return"[object Array]"==Tn.call(e)};function On(){return Fn.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Nn(e,t){if(On()=On())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+On().toString(16)+" bytes");return 0|e}function jn(e){return!(null==e||!e._isBuffer)}function $n(e,t){if(jn(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return dr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return pr(e).length;default:if(r)return dr(e).length;t=(""+t).toLowerCase(),r=!0}}function qn(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return nr(this,t,n);case"utf8":case"utf-8":return Zn(this,t,n);case"ascii":return er(this,t,n);case"latin1":case"binary":return tr(this,t,n);case"base64":return Jn(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rr(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Un(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Hn(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=Fn.from(t,r)),jn(t))return 0===t.length?-1:zn(e,t,n,r,i);if("number"==typeof t)return t&=255,Fn.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):zn(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function zn(e,t,n,r,i){var o,s=1,a=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,n/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var c=-1;for(o=n;oa&&(n=a-u),o=n;o>=0;o--){for(var h=!0,f=0;fi&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function Jn(e,t,n){return 0===t&&n===e.length?kn(e):kn(e.slice(t,n))}function Zn(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+h<=n)switch(h){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=e[i+1],s=e[i+2],128==(192&o)&&128==(192&s)&&(u=(15&l)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(u=(15&l)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(c=u)}null===c?(c=65533,h=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=h}return function(e){var t=e.length;if(t<=Qn)return String.fromCharCode.apply(String,e);for(var n="",r=0;r0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},Fn.prototype.compare=function(e,t,n,r,i){if(!jn(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0),a=Math.min(o,s),u=this.slice(r,i),l=e.slice(t,n),c=0;ci)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return Vn(this,e,t,n);case"utf8":case"utf-8":return Wn(this,e,t,n);case"ascii":return Gn(this,e,t,n);case"latin1":case"binary":return Kn(this,e,t,n);case"base64":return Xn(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Yn(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},Fn.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Qn=4096;function er(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function or(e,t,n,r,i,o){if(!jn(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function sr(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function ar(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function ur(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function lr(e,t,n,r,i){return i||ur(e,0,n,4),An(e,t,n,r,23,4),n+4}function cr(e,t,n,r,i){return i||ur(e,0,n,8),An(e,t,n,r,52,8),n+8}Fn.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},Fn.prototype.readUInt8=function(e,t){return t||ir(e,1,this.length),this[e]},Fn.prototype.readUInt16LE=function(e,t){return t||ir(e,2,this.length),this[e]|this[e+1]<<8},Fn.prototype.readUInt16BE=function(e,t){return t||ir(e,2,this.length),this[e]<<8|this[e+1]},Fn.prototype.readUInt32LE=function(e,t){return t||ir(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Fn.prototype.readUInt32BE=function(e,t){return t||ir(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Fn.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||ir(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},Fn.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||ir(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},Fn.prototype.readInt8=function(e,t){return t||ir(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Fn.prototype.readInt16LE=function(e,t){t||ir(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Fn.prototype.readInt16BE=function(e,t){t||ir(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Fn.prototype.readInt32LE=function(e,t){return t||ir(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Fn.prototype.readInt32BE=function(e,t){return t||ir(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Fn.prototype.readFloatLE=function(e,t){return t||ir(e,4,this.length),Sn(this,e,!0,23,4)},Fn.prototype.readFloatBE=function(e,t){return t||ir(e,4,this.length),Sn(this,e,!1,23,4)},Fn.prototype.readDoubleLE=function(e,t){return t||ir(e,8,this.length),Sn(this,e,!0,52,8)},Fn.prototype.readDoubleBE=function(e,t){return t||ir(e,8,this.length),Sn(this,e,!1,52,8)},Fn.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||or(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},Fn.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,1,255,0),Fn.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Fn.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,2,65535,0),Fn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):sr(this,e,t,!0),t+2},Fn.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,2,65535,0),Fn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):sr(this,e,t,!1),t+2},Fn.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,4,4294967295,0),Fn.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):ar(this,e,t,!0),t+4},Fn.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,4,4294967295,0),Fn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):ar(this,e,t,!1),t+4},Fn.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);or(this,e,t,n,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+n},Fn.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);or(this,e,t,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},Fn.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,1,127,-128),Fn.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Fn.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,2,32767,-32768),Fn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):sr(this,e,t,!0),t+2},Fn.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,2,32767,-32768),Fn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):sr(this,e,t,!1),t+2},Fn.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,4,2147483647,-2147483648),Fn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):ar(this,e,t,!0),t+4},Fn.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Fn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):ar(this,e,t,!1),t+4},Fn.prototype.writeFloatLE=function(e,t,n){return lr(this,e,t,!0,n)},Fn.prototype.writeFloatBE=function(e,t,n){return lr(this,e,t,!1,n)},Fn.prototype.writeDoubleLE=function(e,t,n){return cr(this,e,t,!0,n)},Fn.prototype.writeDoubleBE=function(e,t,n){return cr(this,e,t,!1,n)},Fn.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!Fn.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function pr(e){return function(e){var t,n,r,i,o,s;xn||_n();var a=e.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[a-2]?2:"="===e[a-1]?1:0,s=new En(3*a/4-o),r=o>0?a-4:a;var u=0;for(t=0,n=0;t>16&255,s[u++]=i>>8&255,s[u++]=255&i;return 2===o?(i=Dn[e.charCodeAt(t)]<<2|Dn[e.charCodeAt(t+1)]>>4,s[u++]=255&i):1===o&&(i=Dn[e.charCodeAt(t)]<<10|Dn[e.charCodeAt(t+1)]<<4|Dn[e.charCodeAt(t+2)]>>2,s[u++]=i>>8&255,s[u++]=255&i),s}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(hr,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function mr(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function gr(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var vr=je(pn),yr=class{constructor(e,t){(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter?t.newLineCharacter=t.newLineCharacter.charCodeAt(0):t.newLineCharacter=10,this.fd="number"==typeof e?e:vr.openSync(e,"r"),this.options=t,this.newLineCharacter=t.newLineCharacter,this.reset()}_searchInBuffer(e,t){let n=-1;for(let r=0;r<=e.length;r++)if(e[r]===t){n=r;break}return n}reset(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}close(){vr.closeSync(this.fd),this.fd=null}_extractLines(e){let t;const n=[];let r=0,i=0;for(;;){let o=e[r++];if(o===this.newLineCharacter)t=e.slice(i,r),n.push(t),i=r;else if(void 0===o)break}let o=e.slice(i,r);return o.length&&n.push(o),n}_readChunk(e){let t,n=0;const r=[];do{const e=new Fn(this.options.readChunk);t=vr.readSync(this.fd,e,0,this.options.readChunk,this.fdPosition),n+=t,this.fdPosition=this.fdPosition+t,r.push(e)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));let i=Fn.concat(r);return t=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"b",(function(){return I})),n.d(t,"c",(function(){return F}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},o=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function s(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){o.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){o.emit("vuex:action",e,t)}),{prepend:!0}))}function a(e,t){return e.filter(t)[0]}function u(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=a(t,(function(t){return t.original===e}));if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach((function(n){r[n]=u(e[n],t)})),r}function l(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function h(e){return e&&"function"===typeof e.then}function f(e,t){return function(){return e(t)}}var d=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(e,t){this._children[e]=t},d.prototype.removeChild=function(e){delete this._children[e]},d.prototype.getChild=function(e){return this._children[e]},d.prototype.hasChild=function(e){return e in this._children},d.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},d.prototype.forEachChild=function(e){l(this._children,e)},d.prototype.forEachGetter=function(e){this._rawModule.getters&&l(this._rawModule.getters,e)},d.prototype.forEachAction=function(e){this._rawModule.actions&&l(this._rawModule.actions,e)},d.prototype.forEachMutation=function(e){this._rawModule.mutations&&l(this._rawModule.mutations,e)},Object.defineProperties(d.prototype,p);var m=function(e){this.register([],e,!1)};function g(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;g(e.concat(r),t.getChild(r),n.modules[r])}}m.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},m.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},m.prototype.update=function(e){g([],this.root,e)},m.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new d(t,n);if(0===e.length)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}t.modules&&l(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},m.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},m.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var v;var y=function(e){var t=this;void 0===e&&(e={}),!v&&"undefined"!==typeof window&&window.Vue&&N(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new v,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,a=o.dispatch,u=o.commit;this.dispatch=function(e,t){return a.call(i,e,t)},this.commit=function(e,t,n){return u.call(i,e,t,n)},this.strict=r;var l=this._modules.root.state;x(this,l,[],this._modules.root),E(this,l),n.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:v.config.devtools;c&&s(this)},b={state:{configurable:!0}};function w(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function D(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;x(e,n,[],e._modules.root,!0),E(e,n,t)}function E(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};l(i,(function(t,n){o[n]=f(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var s=v.config.silent;v.config.silent=!0,e._vm=new v({data:{$$state:t},computed:o}),v.config.silent=s,e.strict&&T(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),v.nextTick((function(){return r.$destroy()})))}function x(e,t,n,r,i){var o=!n.length,s=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=r),!o&&!i){var a=M(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit((function(){v.set(a,u,r.state)}))}var l=r.context=_(e,s,n);r.forEachMutation((function(t,n){var r=s+n;k(e,r,t,l)})),r.forEachAction((function(t,n){var r=t.root?n:s+n,i=t.handler||t;S(e,r,i,l)})),r.forEachGetter((function(t,n){var r=s+n;A(e,r,t,l)})),r.forEachChild((function(r,o){x(e,t,n.concat(o),r,i)}))}function _(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=O(n,r,i),s=o.payload,a=o.options,u=o.type;return a&&a.root||(u=t+u),e.dispatch(u,s)},commit:r?e.commit:function(n,r,i){var o=O(n,r,i),s=o.payload,a=o.options,u=o.type;a&&a.root||(u=t+u),e.commit(u,s,a)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return C(e,t)}},state:{get:function(){return M(e.state,n)}}}),i}function C(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function k(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,r.state,t)}))}function S(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return h(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function A(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function T(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function M(e,t){return t.reduce((function(e,t){return e[t]}),e)}function O(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function N(e){v&&e===v||(v=e,r(v))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},y.prototype.commit=function(e,t,n){var r=this,i=O(e,t,n),o=i.type,s=i.payload,a=(i.options,{type:o,payload:s}),u=this._mutations[o];u&&(this._withCommit((function(){u.forEach((function(e){e(s)}))})),this._subscribers.slice().forEach((function(e){return e(a,r.state)})))},y.prototype.dispatch=function(e,t){var n=this,r=O(e,t),i=r.type,o=r.payload,s={type:i,payload:o},a=this._actions[i];if(a){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(s,n.state)}))}catch(l){0}var u=a.length>1?Promise.all(a.map((function(e){return e(o)}))):a[0](o);return new Promise((function(e,t){u.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(s,n.state)}))}catch(l){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(s,n.state,e)}))}catch(l){0}t(e)}))}))}},y.prototype.subscribe=function(e,t){return w(e,this._subscribers,t)},y.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return w(n,this._actionSubscribers,t)},y.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},y.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},y.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),x(this,this.state,e,this._modules.get(e),n.preserveState),E(this,this.state)},y.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=M(t.state,e.slice(0,-1));v.delete(n,e[e.length-1])})),D(this)},y.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},y.prototype.hotUpdate=function(e){this._modules.update(e),D(this,!0)},y.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(y.prototype,b);var F=$((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=U(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),I=$((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=U(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),R=$((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||U(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),P=$((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=U(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),L=function(e){return{mapState:F.bind(null,e),mapGetters:R.bind(null,e),mapMutations:I.bind(null,e),mapActions:P.bind(null,e)}};function B(e){return j(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function j(e){return Array.isArray(e)||c(e)}function $(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function U(e,t,n){var r=e._modulesNamespaceMap[n];return r}function q(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var o=e.actionFilter;void 0===o&&(o=function(e,t){return!0});var s=e.actionTransformer;void 0===s&&(s=function(e){return e});var a=e.logMutations;void 0===a&&(a=!0);var l=e.logActions;void 0===l&&(l=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var h=u(e.state);"undefined"!==typeof c&&(a&&e.subscribe((function(e,o){var s=u(o);if(n(e,h,s)){var a=V(),l=i(e),f="mutation "+e.type+a;H(c,f,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(h)),c.log("%c mutation","color: #03A9F4; font-weight: bold",l),c.log("%c next state","color: #4CAF50; font-weight: bold",r(s)),z(c)}h=s})),l&&e.subscribeAction((function(e,n){if(o(e,n)){var r=V(),i=s(e),a="action "+e.type+r;H(c,a,t),c.log("%c action","color: #03A9F4; font-weight: bold",i),z(c)}})))}}function H(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(i){e.log(t)}}function z(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function V(){var e=new Date;return" @ "+G(e.getHours(),2)+":"+G(e.getMinutes(),2)+":"+G(e.getSeconds(),2)+"."+G(e.getMilliseconds(),3)}function W(e,t){return new Array(t+1).join(e)}function G(e,t){return W("0",t-e.toString().length)+e}var K={Store:y,install:N,version:"3.6.2",mapState:F,mapMutations:I,mapGetters:R,mapActions:P,createNamespacedHelpers:L,createLogger:q};t["a"]=K}).call(this,n("c8ba"))},"2f9a":function(e,t){e.exports=function(){}},"301c":function(e,t,n){n("e198")("asyncIterator")},"30b5":function(e,t,n){"use strict";var r=n("c532");function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var s=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(i(t)+"="+i(e))})))})),o=s.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},"31c5":function(e,t,n){(function(e){e(n("56b3"))})((function(e){"use strict";var t="CodeMirror-activeline",n="CodeMirror-activeline-background",r="CodeMirror-activeline-gutter";function i(e){for(var i=0;i=0||(i[n]=e[n]);return i}function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var r={name:"prettier",version:"2.2.1",description:"Prettier is an opinionated code formatter",bin:"./bin/prettier.js",repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:{node:">=10.13.0"},files:["index.js","standalone.js","src","bin"],dependencies:{"@angular/compiler":"10.2.3","@babel/code-frame":"7.10.4","@babel/parser":"7.12.5","@glimmer/syntax":"0.66.0","@iarna/toml":"2.2.5","@typescript-eslint/typescript-estree":"4.8.1","angular-estree-parser":"2.2.1","angular-html-parser":"1.7.1",camelcase:"6.2.0",chalk:"4.1.0","ci-info":"watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540","cjk-regex":"2.0.0",cosmiconfig:"7.0.0",dashify:"2.0.0",diff:"5.0.0",editorconfig:"0.15.3","editorconfig-to-prettier":"0.2.0","escape-string-regexp":"4.0.0",espree:"7.3.0",esutils:"2.0.3","fast-glob":"3.2.4","fast-json-stable-stringify":"2.1.0","find-parent-dir":"0.3.0","flow-parser":"0.138.0","get-stdin":"8.0.0",globby:"11.0.1",graphql:"15.4.0","html-element-attributes":"2.3.0","html-styles":"1.0.0","html-tag-names":"1.1.5","html-void-elements":"1.0.5",ignore:"4.0.6","jest-docblock":"26.0.0",json5:"2.1.3",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.12.1",lodash:"4.17.20",mem:"8.0.0",meriyah:"3.1.6",minimatch:"3.0.4",minimist:"1.2.5","n-readlines":"1.0.1",outdent:"0.7.1","parse-srcset":"ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee","please-upgrade-node":"3.2.0","postcss-less":"3.1.4","postcss-media-query-parser":"0.2.3","postcss-scss":"2.1.1","postcss-selector-parser":"2.2.3","postcss-values-parser":"2.0.1","regexp-util":"1.2.2","remark-footnotes":"2.0.0","remark-math":"3.0.1","remark-parse":"8.0.3",resolve:"1.19.0",semver:"7.3.2","string-width":"4.2.0",typescript:"4.1.2","unicode-regex":"3.0.0",unified:"9.2.0",vnopts:"1.0.2","yaml-unist-parser":"1.3.1"},devDependencies:{"@babel/core":"7.12.3","@babel/preset-env":"7.12.1","@babel/types":"7.12.6","@glimmer/reference":"0.66.0","@rollup/plugin-alias":"3.1.1","@rollup/plugin-babel":"5.2.1","@rollup/plugin-commonjs":"16.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"10.0.0","@rollup/plugin-replace":"2.3.4","@types/estree":"0.0.45","@types/node":"14.14.0","@typescript-eslint/types":"4.8.1","babel-jest":"26.6.3","babel-loader":"8.2.1",benchmark:"2.1.4","builtin-modules":"3.1.0","cross-env":"7.0.2",cspell:"4.2.2",eslint:"7.13.0","eslint-config-prettier":"6.15.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.22.1","eslint-plugin-jest":"24.1.3","eslint-plugin-prettier-internal-rules":"file:scripts/tools/eslint-plugin-prettier-internal-rules","eslint-plugin-react":"7.21.5","eslint-plugin-unicorn":"23.0.0",execa:"4.1.0",jest:"26.6.3","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.1.0","jest-watch-typeahead":"0.6.1","npm-run-all":"4.1.5","path-browserify":"1.0.1",prettier:"2.2.0",rimraf:"3.0.2",rollup:"2.33.3","rollup-plugin-node-globals":"1.4.0","rollup-plugin-terser":"7.0.2",shelljs:"0.8.4","snapshot-diff":"0.8.1","strip-ansi":"6.0.0","synchronous-promise":"2.0.15",tempy:"1.0.0","terser-webpack-plugin":"5.0.3",webpack:"5.5.1"},scripts:{prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dev-package":"cross-env INSTALL_PACKAGE=1 jest","test:dist":"cross-env NODE_ENV=production jest","test:dist-standalone":"cross-env NODE_ENV=production TEST_STANDALONE=1 jest","test:integration":"jest tests_integration","perf:repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",lint:"run-p lint:*","lint:typecheck":"tsc","lint:eslint":"cross-env EFF_NO_LINK_RULES=true eslint . --format friendly","lint:changelog":"node ./scripts/lint-changelog.js","lint:prettier":'prettier . "!test*" --check',"lint:dist":'eslint --no-eslintrc --no-ignore --env=es6,browser --parser-options=ecmaVersion:2018 "dist/!(bin-prettier|index|third-party).js"',"lint:spellcheck":'cspell "**/*" ".github/**/*"',"lint:deps":"node ./scripts/check-deps.js",fix:"run-s fix:eslint fix:prettier","fix:eslint":"yarn lint:eslint --fix","fix:prettier":"yarn lint:prettier --write",build:"node --max-old-space-size=3072 ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js"}};function i(){}function o(e,t,n,r,i){for(var o=0,s=t.length,a=0,u=0;oe.length?n:e})),l.value=e.join(h)}else l.value=e.join(n.slice(a,a+l.count));a+=l.count,l.added||(u+=l.count)}}var f=t[s-1];return s>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[s-2].value+=f.value,t.pop()),t}function s(e){return{newPos:e.newPos,components:e.components.slice(0)}}i.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function a(e){return r?(setTimeout((function(){r(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var u=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,c=1,h=u+l,f=[{newPos:-1,components:[]}],d=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=u&&d+1>=l)return a([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*c;n<=c;n+=2){var r=void 0,h=f[n-1],d=f[n+1],p=(d?d.newPos:0)-n;h&&(f[n-1]=void 0);var m=h&&h.newPos+1=u&&p+1>=l)return a(o(i,r.components,t,e,i.useLongestToken));f[n]=r}else f[n]=void 0}c++}if(r)!function e(){setTimeout((function(){if(c>h)return r();p()||e()}),0)}();else for(;c<=h;){var m=p();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var i=t.length,o=n.length,s=e.newPos,a=s-r,u=0;s+1e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],i=[],o=0;function s(){var e={};for(i.push(e);o2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=x(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,i,o=e.split(/\r\n|[\n\v\f\r\x85]/),s=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=t.hunks,u=n.compareLine||function(e,t,n,r){return t===r},l=0,c=n.fuzzFactor||0,h=0,f=0;function d(e,t){for(var n=0;n0?r[0]:" ",s=r.length>0?r.substr(1):r;if(" "===i||"-"===i){if(!u(t+1,o[t],i,s)&&++l>c)return!1;t++}}return!0}for(var p=0;p0?S[0]:" ",T=S.length>0?S.substr(1):S,M=E.linedelimiters[k];if(" "===A)C++;else if("-"===A)o.splice(C,1),s.splice(C,1);else if("+"===A)o.splice(C,0,T),s.splice(C,0,M),C++;else if("\\"===A){var O=E.lines[k-1]?E.lines[k-1][0]:null;"+"===O?r=!0:"-"===O&&(i=!0)}}}if(r)for(;!o[o.length-1];)o.pop(),s.pop();else i&&(o.push(""),s.push("\n"));for(var N=0;N0?u(d.lines.slice(-s.context)):[],c-=f.length,h-=f.length)}(o=f).push.apply(o,v(i.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=i.length:p+=i.length}else{if(c)if(i.length<=2*s.context&&e=a.length-2&&i.length<=s.context){var D=/\n$/.test(n),E=/\n$/.test(r),x=0==i.length&&f.length>w.oldLines;!D&&x&&n.length>0&&f.splice(w.oldLines,0,"\\ No newline at end of file"),(D||x)&&E||f.push("\\ No newline at end of file")}l.push(w),c=0,h=0,f=[]}p+=i.length,m+=i.length}},y=0;ye.length)return!1;for(var n=0;n/g,">")).replace(/"/g,""")}E.tokenize=function(e){return e.slice()},E.join=E.removeEmpty=function(e){return e};var W=Object.freeze({__proto__:null,Diff:i,applyPatch:C,applyPatches:function(e,t){"string"==typeof e&&(e=x(e));var n=0;!function r(){var i=e[n++];if(!i)return t.complete();t.loadFile(i,(function(e,n){if(e)return t.complete(e);var o=C(n,i,t);t.patched(i,o,(function(e){if(e)return t.complete(e);r()}))}))}()},canonicalize:D,convertChangesToDMP:function(e){for(var t,n,r=[],i=0;i"):r.removed&&t.push(""),t.push(V(r.value)),r.added?t.push(""):r.removed&&t.push("")}return t.join("")},createPatch:function(e,t,n,r,i,o){return S(e,e,t,n,r,i,o)},createTwoFilesPatch:S,diffArrays:function(e,t,n){return E.diff(e,t,n)},diffChars:function(e,t,n){return a.diff(e,t,n)},diffCss:function(e,t,n){return m.diff(e,t,n)},diffJson:function(e,t,n){return w.diff(e,t,n)},diffLines:d,diffSentences:function(e,t,n){return p.diff(e,t,n)},diffTrimmedLines:function(e,t,n){var r=u(n,{ignoreWhitespace:!0});return f.diff(e,t,r)},diffWords:function(e,t,n){return n=u(n,{ignoreWhitespace:!0}),h.diff(e,t,n)},diffWordsWithSpace:function(e,t,n){return h.diff(e,t,n)},merge:function(e,t,n){e=M(e,n),t=M(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(O(e)?O(t)?(r.oldFileName=N(r,e.oldFileName,t.oldFileName),r.newFileName=N(r,e.newFileName,t.newFileName),r.oldHeader=N(r,e.oldHeader,t.oldHeader),r.newHeader=N(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var i=0,o=0,s=0,a=0;i0){for(let e=0;e"string"==typeof e?e.replace((({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")})(),""):e;const ne=e=>!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141);var re=ne,ie=ne;re.default=ie;const oe=e=>{if("string"!=typeof(e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uD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DD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," "))||0===e.length)return 0;e=te(e);let t=0;for(let n=0;n=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=re(r)?2:1)}return t};var se=oe,ae=oe;se.default=ae;var ue=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},le=e=>e[e.length-1],ce="undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function he(){throw new Error("setTimeout has not been defined")}function fe(){throw new Error("clearTimeout has not been defined")}var de=he,pe=fe;function me(e){if(de===setTimeout)return setTimeout(e,0);if((de===he||!de)&&setTimeout)return de=setTimeout,setTimeout(e,0);try{return de(e,0)}catch(n){try{return de.call(null,e,0)}catch(n){return de.call(this,e,0)}}}"function"==typeof ce.setTimeout&&(de=setTimeout),"function"==typeof ce.clearTimeout&&(pe=clearTimeout);var ge,ve=[],ye=!1,be=-1;function we(){ye&&ge&&(ye=!1,ge.length?ve=ge.concat(ve):be=-1,ve.length&&De())}function De(){if(!ye){var e=me(we);ye=!0;for(var t=ve.length;t;){for(ge=ve,ve=[];++be1)for(var n=1;nconsole.error("SEMVER",...e):()=>{},Pe={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Le="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof t?t:"undefined"!=typeof self?self:{};function Be(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}function je(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $e=Be((function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=Pe,r=(t=e.exports={}).re=[],i=t.src=[],o=t.t={};let s=0;const a=(e,t,n)=>{const a=s++;Re(a,t),o[e]=a,i[a]=t,r[a]=new RegExp(t,n?"g":void 0)};a("NUMERICIDENTIFIER","0|[1-9]\\d*"),a("NUMERICIDENTIFIERLOOSE","[0-9]+"),a("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),a("MAINVERSION","(".concat(i[o.NUMERICIDENTIFIER],")\\.")+"(".concat(i[o.NUMERICIDENTIFIER],")\\.")+"(".concat(i[o.NUMERICIDENTIFIER],")")),a("MAINVERSIONLOOSE","(".concat(i[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[o.NUMERICIDENTIFIERLOOSE],")")),a("PRERELEASEIDENTIFIER","(?:".concat(i[o.NUMERICIDENTIFIER],"|").concat(i[o.NONNUMERICIDENTIFIER],")")),a("PRERELEASEIDENTIFIERLOOSE","(?:".concat(i[o.NUMERICIDENTIFIERLOOSE],"|").concat(i[o.NONNUMERICIDENTIFIER],")")),a("PRERELEASE","(?:-(".concat(i[o.PRERELEASEIDENTIFIER],"(?:\\.").concat(i[o.PRERELEASEIDENTIFIER],")*))")),a("PRERELEASELOOSE","(?:-?(".concat(i[o.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(i[o.PRERELEASEIDENTIFIERLOOSE],")*))")),a("BUILDIDENTIFIER","[0-9A-Za-z-]+"),a("BUILD","(?:\\+(".concat(i[o.BUILDIDENTIFIER],"(?:\\.").concat(i[o.BUILDIDENTIFIER],")*))")),a("FULLPLAIN","v?".concat(i[o.MAINVERSION]).concat(i[o.PRERELEASE],"?").concat(i[o.BUILD],"?")),a("FULL","^".concat(i[o.FULLPLAIN],"$")),a("LOOSEPLAIN","[v=\\s]*".concat(i[o.MAINVERSIONLOOSE]).concat(i[o.PRERELEASELOOSE],"?").concat(i[o.BUILD],"?")),a("LOOSE","^".concat(i[o.LOOSEPLAIN],"$")),a("GTLT","((?:<|>)?=?)"),a("XRANGEIDENTIFIERLOOSE","".concat(i[o.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),a("XRANGEIDENTIFIER","".concat(i[o.NUMERICIDENTIFIER],"|x|X|\\*")),a("XRANGEPLAIN","[v=\\s]*(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:".concat(i[o.PRERELEASE],")?").concat(i[o.BUILD],"?")+")?)?"),a("XRANGEPLAINLOOSE","[v=\\s]*(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(i[o.PRERELEASELOOSE],")?").concat(i[o.BUILD],"?")+")?)?"),a("XRANGE","^".concat(i[o.GTLT],"\\s*").concat(i[o.XRANGEPLAIN],"$")),a("XRANGELOOSE","^".concat(i[o.GTLT],"\\s*").concat(i[o.XRANGEPLAINLOOSE],"$")),a("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),a("COERCERTL",i[o.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM","(\\s*)".concat(i[o.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",a("TILDE","^".concat(i[o.LONETILDE]).concat(i[o.XRANGEPLAIN],"$")),a("TILDELOOSE","^".concat(i[o.LONETILDE]).concat(i[o.XRANGEPLAINLOOSE],"$")),a("LONECARET","(?:\\^)"),a("CARETTRIM","(\\s*)".concat(i[o.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",a("CARET","^".concat(i[o.LONECARET]).concat(i[o.XRANGEPLAIN],"$")),a("CARETLOOSE","^".concat(i[o.LONECARET]).concat(i[o.XRANGEPLAINLOOSE],"$")),a("COMPARATORLOOSE","^".concat(i[o.GTLT],"\\s*(").concat(i[o.LOOSEPLAIN],")$|^$")),a("COMPARATOR","^".concat(i[o.GTLT],"\\s*(").concat(i[o.FULLPLAIN],")$|^$")),a("COMPARATORTRIM","(\\s*)".concat(i[o.GTLT],"\\s*(").concat(i[o.LOOSEPLAIN],"|").concat(i[o.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE","^\\s*(".concat(i[o.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(i[o.XRANGEPLAIN],")")+"\\s*$"),a("HYPHENRANGELOOSE","^\\s*(".concat(i[o.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(i[o.XRANGEPLAINLOOSE],")")+"\\s*$"),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}));const Ue=/^[0-9]+$/,qe=(e,t)=>{const n=Ue.test(e),r=Ue.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:eqe(t,e)};const{MAX_LENGTH:ze,MAX_SAFE_INTEGER:Ve}=Pe,{re:We,t:Ge}=$e,{compareIdentifiers:Ke}=He;class Xe{constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof Xe){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>ze)throw new TypeError("version is longer than ".concat(ze," characters"));Re("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?We[Ge.LOOSE]:We[Ge.FULL]);if(!n)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Ve||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ve||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ve||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}var Ye=Xe,Je=(e,t,n)=>new Ye(e,n).compare(new Ye(t,n)),Ze=(e,t,n)=>Je(e,t,n)<0,Qe=(e,t,n)=>Je(e,t,n)>=0,et=Be((function(e,t){function n(){for(var e=[],t=0;t"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:null,description:"Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:ht,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:ut},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:ht,description:at(it()),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:ut},printWidth:{since:"0.0.0",category:ht,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{since:"1.4.0",category:ft,type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:at(rt()),cliCategory:lt},rangeStart:{since:"1.4.0",category:ft,type:"int",default:0,range:{start:0,end:1/0,step:1},description:at(nt()),cliCategory:lt},requirePragma:{since:"1.7.0",category:ft,type:"boolean",default:!1,description:at(tt()),cliCategory:ct},tabWidth:{type:"int",category:ht,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{since:"1.0.0",category:ht,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:ht,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},pt={compare:Je,lt:Ze,gte:Qe},mt=r.version,gt={CATEGORY_CONFIG:ut,CATEGORY_EDITOR:lt,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:ct,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:ht,CATEGORY_SPECIAL:ft,options:dt}.options;var vt={getSupportInfo:function({plugins:t=[],showUnreleased:n=!1,showDeprecated:r=!1,showInternal:i=!1}={}){const o=mt.split("-",1)[0],s=t.reduce((e,t)=>e.concat(t.languages||[]),[]).filter(u),a=((e,t)=>Object.entries(e).map(([e,n])=>Object.assign({[t]:e},n)))(Object.assign({},...t.map(({options:e})=>e),gt),"name").filter(e=>u(e)&&l(e)).sort((e,t)=>e.name===t.name?0:e.name{e=Object.assign({},e),Array.isArray(e.default)&&(e.default=1===e.default.length?e.default[0].value:e.default.filter(u).sort((e,t)=>pt.compare(t.since,e.since))[0].value),Array.isArray(e.choices)&&(e.choices=e.choices.filter(e=>u(e)&&l(e)),"parser"===e.name&&function(e,t,n){const r=new Set(e.choices.map(e=>e.value));for(const i of t)if(i.parsers)for(const t of i.parsers)if(!r.has(t)){r.add(t);const o=n.find(e=>e.parsers&&e.parsers[t]);let s=i.name;o&&o.name&&(s+=" (plugin: ".concat(o.name,")")),e.choices.push({value:t,description:s})}}(e,s,t));const n=t.filter(t=>t.defaultOptions&&void 0!==t.defaultOptions[e.name]).reduce((t,n)=>(t[n.name]=n.defaultOptions[e.name],t),{});return Object.assign({},e,{pluginDefaults:n})});return{languages:s,options:a};function u(e){return n||!("since"in e)||e.since&&pt.gte(o,e.since)}function l(e){return r||!("deprecated"in e)||e.deprecated&&pt.lt(o,e.deprecated)}}};const{getSupportInfo:yt}=vt,bt=/[^\x20-\x7F]/;function wt(e){return(t,n,r)=>{const i=r&&r.backwards;if(!1===n)return!1;const{length:o}=t;let s=n;for(;s>=0&&s(n.match(s.regex)||[]).length?s.quote:o.quote),a}function It(e,t,n){const r='"'===t?"'":'"',i=e.replace(/\\([\S\s])|(["'])/g,(e,i,o)=>i===r?i:o===t?"\\"+o:o||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i));return t+i+t}function Rt(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,"JSXText"===e.type&&(t.printed=!0)}var Pt={inferParserByLanguage:function(e,t){const{languages:n}=yt({plugins:t.plugins}),r=n.find(({name:t})=>t.toLowerCase()===e)||n.find(({aliases:t})=>Array.isArray(t)&&t.includes(e))||n.find(({extensions:t})=>Array.isArray(t)&&t.includes(".".concat(e)));return r&&r.parsers[0]},replaceEndOfLineWith:function(e,t){const n=[];for(const r of e.split("\n"))0!==n.length&&n.push(t),n.push(r);return n},getStringWidth:function(e){return e?bt.test(e)?se(e):e.length:0},getMaxContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(ue(t),")+"),"g"));return null===n?0:n.reduce((e,n)=>Math.max(e,n.length/t.length),0)},getMinNotPresentContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(ue(t),")+"),"g"));if(null===n)return 0;const r=new Map;let i=0;for(const o of n){const e=o.length/t.length;r.set(e,!0),e>i&&(i=e)}for(let o=1;oe[e.length-2],getLast:le,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Mt,getNextNonSpaceNonCommentCharacterIndex:Ot,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(Ot(e,t,n))},skip:wt,skipWhitespace:Dt,skipSpaces:Et,skipToLineEnd:xt,skipEverythingButNewLine:_t,skipInlineComment:Ct,skipTrailingComment:kt,skipNewline:St,isNextLineEmptyAfterIndex:Tt,isNextLineEmpty:function(e,t,n){return Tt(e,n(t))},isPreviousLineEmpty:function(e,t,n){let r=n(t)-1;return r=Et(e,r,{backwards:!0}),r=St(e,r,{backwards:!0}),r=Et(e,r,{backwards:!0}),r!==St(e,r,{backwards:!0})},hasNewline:At,hasNewlineInRange:function(e,t,n){for(let r=t;r=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let n;if("\n"===t)n=/\n/g;else if("\r"===t)n=/\r/g;else{if("\r\n"!==t)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));n=/\r\n/g}const r=e.match(n);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}};const{getStringWidth:Bt}=Pt,{convertEndOfLineToChars:jt}=Lt,{concat:$t,fill:Ut,cursor:qt}=ee;let Ht;function zt(e,t){return Wt(e,{type:"indent"},t)}function Vt(e,t,n){return t===-1/0?e.root||{value:"",length:0,queue:[]}:t<0?Wt(e,{type:"dedent"},n):t?"root"===t.type?Object.assign({},e,{root:e}):Wt(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n):e}function Wt(e,t,n){const r="dedent"===t.type?e.queue.slice(0,-1):e.queue.concat(t);let i="",o=0,s=0,a=0;for(const d of r)switch(d.type){case"indent":c(),n.useTabs?u(1):l(n.tabWidth);break;case"stringAlign":c(),i+=d.n,o+=d.n.length;break;case"numberAlign":s+=1,a+=d.n;break;default:throw new Error("Unexpected type '".concat(d.type,"'"))}return h(),Object.assign({},e,{value:i,length:o,queue:r});function u(e){i+="\t".repeat(e),o+=n.tabWidth*e}function l(e){i+=" ".repeat(e),o+=e}function c(){n.useTabs?function(){s>0&&u(s),f()}():h()}function h(){a>0&&l(a),f()}function f(){s=0,a=0}}function Gt(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof e[e.length-1]&&e[e.length-1].match(/^[\t ]*$/);)t+=e.pop().length;if(e.length&&"string"==typeof e[e.length-1]){const n=e[e.length-1].replace(/[\t ]*$/,"");t+=e[e.length-1].length-n.length,e[e.length-1]=n}return t}function Kt(e,t,n,r,i){let o=t.length;const s=[e],a=[];for(;n>=0;){if(0===s.length){if(0===o)return!0;s.push(t[o-1]),o--;continue}const[e,u,l]=s.pop();if("string"==typeof l)a.push(l),n-=Bt(l);else switch(l.type){case"concat":for(let t=l.parts.length-1;t>=0;t--)s.push([e,u,l.parts[t]]);break;case"indent":s.push([zt(e,r),u,l.contents]);break;case"align":s.push([Vt(e,l.n,r),u,l.contents]);break;case"trim":n+=Gt(a);break;case"group":if(i&&l.break)return!1;s.push([e,l.break?1:u,l.contents]),l.id&&(Ht[l.id]=s[s.length-1][1]);break;case"fill":for(let t=l.parts.length-1;t>=0;t--)s.push([e,u,l.parts[t]]);break;case"if-break":{const t=l.groupId?Ht[l.groupId]:u;1===t&&l.breakContents&&s.push([e,u,l.breakContents]),2===t&&l.flatContents&&s.push([e,u,l.flatContents]);break}case"line":switch(u){case 2:if(!l.hard){l.soft||(a.push(" "),n-=1);break}return!0;case 1:return!0}}}return!1}var Xt={printDocToString:function(e,t){Ht={};const n=t.printWidth,r=jt(t.endOfLine);let i=0;const o=[[{value:"",length:0,queue:[]},1,e]],s=[];let a=!1,u=[];for(;0!==o.length;){const[e,l,c]=o.pop();if("string"==typeof c){const e="\n"!==r&&c.includes("\n")?c.replace(/\n/g,r):c;s.push(e),i+=Bt(e)}else switch(c.type){case"cursor":s.push(qt.placeholder);break;case"concat":for(let t=c.parts.length-1;t>=0;t--)o.push([e,l,c.parts[t]]);break;case"indent":o.push([zt(e,t),l,c.contents]);break;case"align":o.push([Vt(e,c.n,t),l,c.contents]);break;case"trim":i-=Gt(s);break;case"group":switch(l){case 2:if(!a){o.push([e,c.break?1:2,c.contents]);break}case 1:{a=!1;const r=[e,2,c.contents],s=n-i;if(!c.break&&Kt(r,o,s,t))o.push(r);else if(c.expandedStates){const n=c.expandedStates[c.expandedStates.length-1];if(c.break){o.push([e,1,n]);break}for(let r=1;r=c.expandedStates.length){o.push([e,1,n]);break}{const n=[e,2,c.expandedStates[r]];if(Kt(n,o,s,t)){o.push(n);break}}}}else o.push([e,1,c.contents]);break}}c.id&&(Ht[c.id]=o[o.length-1][1]);break;case"fill":{const r=n-i,{parts:s}=c;if(0===s.length)break;const[a,u]=s,h=[e,2,a],f=[e,1,a],d=Kt(h,[],r,t,!0);if(1===s.length){d?o.push(h):o.push(f);break}const p=[e,2,u],m=[e,1,u];if(2===s.length){d?(o.push(p),o.push(h)):(o.push(m),o.push(f));break}s.splice(0,2);const g=[e,l,Ut(s)],v=s[0];Kt([e,2,$t([a,u,v])],[],r,t,!0)?(o.push(g),o.push(p),o.push(h)):d?(o.push(g),o.push(m),o.push(h)):(o.push(g),o.push(m),o.push(f));break}case"if-break":{const t=c.groupId?Ht[c.groupId]:l;1===t&&c.breakContents&&o.push([e,l,c.breakContents]),2===t&&c.flatContents&&o.push([e,l,c.flatContents]);break}case"line-suffix":u.push([e,l,c.contents]);break;case"line-suffix-boundary":u.length>0&&o.push([e,l,{type:"line",hard:!0}]);break;case"line":switch(l){case 2:if(!c.hard){c.soft||(s.push(" "),i+=1);break}a=!0;case 1:if(u.length){o.push([e,l,c]),o.push(...u.reverse()),u=[];break}c.literal?e.root?(s.push(r,e.root.value),i=e.root.length):(s.push(r),i=0):(i-=Gt(s),s.push(r+e.value),i=e.length)}}0===o.length&&u.length&&(o.push(...u.reverse()),u=[])}const l=s.indexOf(qt.placeholder);if(-1!==l){const e=s.indexOf(qt.placeholder,l+1),t=s.slice(0,l).join(""),n=s.slice(l+1,e).join("");return{formatted:t+n+s.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:n}}return{formatted:s.join("")}}};const{literalline:Yt,concat:Jt}=ee,Zt={};function Qt(e,t,n,r){const i=[e];for(;0!==i.length;){const e=i.pop();if(e!==Zt){if(n&&i.push(e,Zt),!t||!1!==t(e))if("concat"===e.type||"fill"===e.type)for(let t=e.parts.length-1;t>=0;--t)i.push(e.parts[t]);else if("if-break"===e.type)e.flatContents&&i.push(e.flatContents),e.breakContents&&i.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(r)for(let t=e.expandedStates.length-1;t>=0;--t)i.push(e.expandedStates[t]);else i.push(e.contents);else e.contents&&i.push(e.contents)}else n(i.pop())}}function en(e,t){if("concat"===e.type||"fill"===e.type){const n=e.parts.map(e=>en(e,t));return t(Object.assign({},e,{parts:n}))}if("if-break"===e.type){const n=e.breakContents&&en(e.breakContents,t),r=e.flatContents&&en(e.flatContents,t);return t(Object.assign({},e,{breakContents:n,flatContents:r}))}if(e.contents){const n=en(e.contents,t);return t(Object.assign({},e,{contents:n}))}return t(e)}function tn(e,t,n){let r=n,i=!1;return Qt(e,(function(e){const n=t(e);if(void 0!==n&&(i=!0,r=n),i)return!1})),r}function nn(e){return"string"!=typeof e&&("line"===e.type||void 0)}function rn(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function on(e){if(e.length>0){const t=e[e.length-1];t.expandedStates||(t.break=!0)}return null}function sn(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function an(e){const t=[],n=e.filter(Boolean);for(;0!==n.length;){const e=n.shift();e&&("concat"!==e.type?0===t.length||"string"!=typeof t[t.length-1]||"string"!=typeof e?t.push(e):t[t.length-1]+=e:n.unshift(...e.parts))}return t}function un(e){if("concat"===e.type){const t=[];for(let n=0;n0&&!t;r--)t=n[r-1];return"group"===t.type&&(n=t.contents.parts),n}(t):t.parts,i=r[r.length-1];if("concat"===i.type)return 2===i.parts.length&&i.parts[0].hard&&"break-parent"===i.parts[1].type?{type:"concat",parts:r.slice(0,-1)}:{type:"concat",parts:t.parts.slice(0,-1).concat(e(i))}}return t},normalizeParts:an,normalizeDoc:function(e){return en(e,e=>e.parts?Object.assign({},e,{parts:an(e.parts)}):e)},replaceNewlinesWithLiterallines:function(e){return en(e,e=>"string"==typeof e&&e.includes("\n")?Jt(e.split(/(\n)/g).map((e,t)=>t%2==0?e:Yt)):e)}},debug:{printDocToDebug:e=>ln(un(e))}};const hn=()=>!1,fn=()=>"";var dn={existsSync:hn,readFileSync:fn},pn=Object.freeze({__proto__:null,existsSync:hn,readFileSync:fn,default:dn});function mn(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function gn(e,t){for(var n,r="",i=0,o=-1,s=0,a=0;a<=e.length;++a){if(a2){var u=r.lastIndexOf("/");if(u!==r.length-1){-1===u?(r="",i=0):i=(r=r.slice(0,u)).length-1-r.lastIndexOf("/"),o=a,s=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=a,s=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,a):r=e.slice(o+1,a),i=a-o-1;o=a,s=0}else 46===n&&-1!==s?++s:s=-1}return r}var vn={resolve:function(){for(var e,t="",n=!1,r=arguments.length-1;r>=-1&&!n;r--){var i;r>=0?i=arguments[r]:(void 0===e&&(e=Ie.cwd()),i=e),mn(i),0!==i.length&&(t=i+"/"+t,n=47===i.charCodeAt(0))}return t=gn(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(mn(e),0===e.length)return".";var t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0!==(e=gn(e,!t)).length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return mn(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":vn.normalize(e)},relative:function(e,t){if(mn(e),mn(t),e===t)return"";if((e=vn.resolve(e))===(t=vn.resolve(t)))return"";for(var n=1;na){if(47===t.charCodeAt(o+l))return t.slice(o+l+1);if(0===l)return t.slice(o+l)}else i>a&&(47===e.charCodeAt(n+l)?u=l:0===l&&(u=0));break}var c=e.charCodeAt(n+l);if(c!==t.charCodeAt(o+l))break;47===c&&(u=l)}var h="";for(l=n+u+1;l<=r;++l)l!==r&&47!==e.charCodeAt(l)||(0===h.length?h+="..":h+="/..");return h.length>0?h+t.slice(o+u):(o+=u,47===t.charCodeAt(o)&&++o,t.slice(o))},_makeLong:function(e){return e},dirname:function(e){if(mn(e),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(47===(t=e.charCodeAt(o))){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"//":e.slice(0,r)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');mn(e);var n,r=0,i=-1,o=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){var u=e.charCodeAt(n);if(47===u){if(!o){r=n+1;break}}else-1===a&&(o=!1,a=n+1),s>=0&&(u===t.charCodeAt(s)?-1==--s&&(i=n):(s=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!o){r=n+1;break}}else-1===i&&(o=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname:function(e){mn(e);for(var t=-1,n=0,r=-1,i=!0,o=0,s=e.length-1;s>=0;--s){var a=e.charCodeAt(s);if(47!==a)-1===r&&(i=!1,r=s+1),46===a?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=s+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}("/",e)},parse:function(e){mn(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,r=e.charCodeAt(0),i=47===r;i?(t.root="/",n=1):n=0;for(var o=-1,s=0,a=-1,u=!0,l=e.length-1,c=0;l>=n;--l)if(47!==(r=e.charCodeAt(l)))-1===a&&(u=!1,a=l+1),46===r?-1===o?o=l:1!==c&&(c=1):-1!==o&&(c=-1);else if(!u){s=l+1;break}return-1===o||-1===a||0===c||1===c&&o===a-1&&o===s+1?-1!==a&&(t.base=t.name=0===s&&i?e.slice(1,a):e.slice(s,a)):(0===s&&i?(t.name=e.slice(1,o),t.base=e.slice(1,a)):(t.name=e.slice(s,o),t.base=e.slice(s,a)),t.ext=e.slice(o,a)),s>0?t.dir=e.slice(0,s-1):i&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};vn.posix=vn;var yn=vn,bn=Object.freeze(Object.assign(Object.create(null),yn,{default:yn,__moduleExports:yn})),wn=[],Dn=[],En="undefined"!=typeof Uint8Array?Uint8Array:Array,xn=!1;function _n(){xn=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t>18&63]+wn[i>>12&63]+wn[i>>6&63]+wn[63&i]);return o.join("")}function kn(e){var t;xn||_n();for(var n=e.length,r=n%3,i="",o=[],s=16383,a=0,u=n-r;au?u:a+s));return 1===r?(t=e[n-1],i+=wn[t>>2],i+=wn[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=wn[t>>10],i+=wn[t>>4&63],i+=wn[t<<2&63],i+="="),o.push(i),o.join("")}function Sn(e,t,n,r,i){var o,s,a=8*i-r-1,u=(1<>1,c=-7,h=n?i-1:0,f=n?-1:1,d=e[t+h];for(h+=f,o=d&(1<<-c)-1,d>>=-c,c+=a;c>0;o=256*o+e[t+h],h+=f,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=r;c>0;s=256*s+e[t+h],h+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),o-=l}return(d?-1:1)*s*Math.pow(2,o-r)}function An(e,t,n,r,i,o){var s,a,u,l=8*o-i-1,c=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+h>=1?f/u:f*Math.pow(2,1-h))*u>=2&&(s++,u/=2),s+h>=c?(a=0,s=c):s+h>=1?(a=(t*u-1)*Math.pow(2,i),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;e[n+d]=255&a,d+=p,a/=256,i-=8);for(s=s<0;e[n+d]=255&s,d+=p,s/=256,l-=8);e[n+d-p]|=128*m}var Tn={}.toString,Mn=Array.isArray||function(e){return"[object Array]"==Tn.call(e)};function On(){return Fn.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Nn(e,t){if(On()=On())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+On().toString(16)+" bytes");return 0|e}function jn(e){return!(null==e||!e._isBuffer)}function $n(e,t){if(jn(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return dr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return pr(e).length;default:if(r)return dr(e).length;t=(""+t).toLowerCase(),r=!0}}function Un(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return nr(this,t,n);case"utf8":case"utf-8":return Zn(this,t,n);case"ascii":return er(this,t,n);case"latin1":case"binary":return tr(this,t,n);case"base64":return Jn(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rr(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function qn(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Hn(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=Fn.from(t,r)),jn(t))return 0===t.length?-1:zn(e,t,n,r,i);if("number"==typeof t)return t&=255,Fn.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):zn(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function zn(e,t,n,r,i){var o,s=1,a=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,n/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var c=-1;for(o=n;oa&&(n=a-u),o=n;o>=0;o--){for(var h=!0,f=0;fi&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function Jn(e,t,n){return 0===t&&n===e.length?kn(e):kn(e.slice(t,n))}function Zn(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+h<=n)switch(h){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=e[i+1],s=e[i+2],128==(192&o)&&128==(192&s)&&(u=(15&l)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(u=(15&l)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(c=u)}null===c?(c=65533,h=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=h}return function(e){var t=e.length;if(t<=Qn)return String.fromCharCode.apply(String,e);for(var n="",r=0;r0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},Fn.prototype.compare=function(e,t,n,r,i){if(!jn(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0),a=Math.min(o,s),u=this.slice(r,i),l=e.slice(t,n),c=0;ci)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return Vn(this,e,t,n);case"utf8":case"utf-8":return Wn(this,e,t,n);case"ascii":return Gn(this,e,t,n);case"latin1":case"binary":return Kn(this,e,t,n);case"base64":return Xn(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Yn(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},Fn.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Qn=4096;function er(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function or(e,t,n,r,i,o){if(!jn(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function sr(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function ar(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function ur(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function lr(e,t,n,r,i){return i||ur(e,0,n,4),An(e,t,n,r,23,4),n+4}function cr(e,t,n,r,i){return i||ur(e,0,n,8),An(e,t,n,r,52,8),n+8}Fn.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},Fn.prototype.readUInt8=function(e,t){return t||ir(e,1,this.length),this[e]},Fn.prototype.readUInt16LE=function(e,t){return t||ir(e,2,this.length),this[e]|this[e+1]<<8},Fn.prototype.readUInt16BE=function(e,t){return t||ir(e,2,this.length),this[e]<<8|this[e+1]},Fn.prototype.readUInt32LE=function(e,t){return t||ir(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Fn.prototype.readUInt32BE=function(e,t){return t||ir(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Fn.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||ir(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},Fn.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||ir(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},Fn.prototype.readInt8=function(e,t){return t||ir(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Fn.prototype.readInt16LE=function(e,t){t||ir(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Fn.prototype.readInt16BE=function(e,t){t||ir(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Fn.prototype.readInt32LE=function(e,t){return t||ir(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Fn.prototype.readInt32BE=function(e,t){return t||ir(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Fn.prototype.readFloatLE=function(e,t){return t||ir(e,4,this.length),Sn(this,e,!0,23,4)},Fn.prototype.readFloatBE=function(e,t){return t||ir(e,4,this.length),Sn(this,e,!1,23,4)},Fn.prototype.readDoubleLE=function(e,t){return t||ir(e,8,this.length),Sn(this,e,!0,52,8)},Fn.prototype.readDoubleBE=function(e,t){return t||ir(e,8,this.length),Sn(this,e,!1,52,8)},Fn.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||or(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},Fn.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,1,255,0),Fn.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Fn.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,2,65535,0),Fn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):sr(this,e,t,!0),t+2},Fn.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,2,65535,0),Fn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):sr(this,e,t,!1),t+2},Fn.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,4,4294967295,0),Fn.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):ar(this,e,t,!0),t+4},Fn.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,4,4294967295,0),Fn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):ar(this,e,t,!1),t+4},Fn.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);or(this,e,t,n,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+n},Fn.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);or(this,e,t,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},Fn.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,1,127,-128),Fn.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Fn.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,2,32767,-32768),Fn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):sr(this,e,t,!0),t+2},Fn.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,2,32767,-32768),Fn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):sr(this,e,t,!1),t+2},Fn.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,4,2147483647,-2147483648),Fn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):ar(this,e,t,!0),t+4},Fn.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Fn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):ar(this,e,t,!1),t+4},Fn.prototype.writeFloatLE=function(e,t,n){return lr(this,e,t,!0,n)},Fn.prototype.writeFloatBE=function(e,t,n){return lr(this,e,t,!1,n)},Fn.prototype.writeDoubleLE=function(e,t,n){return cr(this,e,t,!0,n)},Fn.prototype.writeDoubleBE=function(e,t,n){return cr(this,e,t,!1,n)},Fn.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!Fn.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function pr(e){return function(e){var t,n,r,i,o,s;xn||_n();var a=e.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[a-2]?2:"="===e[a-1]?1:0,s=new En(3*a/4-o),r=o>0?a-4:a;var u=0;for(t=0,n=0;t>16&255,s[u++]=i>>8&255,s[u++]=255&i;return 2===o?(i=Dn[e.charCodeAt(t)]<<2|Dn[e.charCodeAt(t+1)]>>4,s[u++]=255&i):1===o&&(i=Dn[e.charCodeAt(t)]<<10|Dn[e.charCodeAt(t+1)]<<4|Dn[e.charCodeAt(t+2)]>>2,s[u++]=i>>8&255,s[u++]=255&i),s}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(hr,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function mr(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function gr(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var vr=je(pn),yr=class{constructor(e,t){(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter?t.newLineCharacter=t.newLineCharacter.charCodeAt(0):t.newLineCharacter=10,this.fd="number"==typeof e?e:vr.openSync(e,"r"),this.options=t,this.newLineCharacter=t.newLineCharacter,this.reset()}_searchInBuffer(e,t){let n=-1;for(let r=0;r<=e.length;r++)if(e[r]===t){n=r;break}return n}reset(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}close(){vr.closeSync(this.fd),this.fd=null}_extractLines(e){let t;const n=[];let r=0,i=0;for(;;){let o=e[r++];if(o===this.newLineCharacter)t=e.slice(i,r),n.push(t),i=r;else if(void 0===o)break}let o=e.slice(i,r);return o.length&&n.push(o),n}_readChunk(e){let t,n=0;const r=[];do{const e=new Fn(this.options.readChunk);t=vr.readSync(this.fd,e,0,this.options.readChunk,this.fdPosition),n+=t,this.fdPosition=this.fdPosition+t,r.push(e)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));let i=Fn.concat(r);return t=2)e.mixin({beforeCreat LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** */function kr(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Sr(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function Ar(e){return this instanceof Ar?(this.v=e,this):new Ar(e)}var Tr=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}_r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return Cr},__rest:function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},__param:function(e,t){return function(n,r){t(n,r,e)}},__metadata:function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(e){o(e)}}function a(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},__generator:function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1||a(e,t)}))})}function a(e,t){try{(n=i[e](t)).value instanceof Ar?Promise.resolve(n.value.v).then(u,l):c(o[0][2],n)}catch(e){c(o[0][3],e)}var n}function u(e){a("next",e)}function l(e){a("throw",e)}function c(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:Ar(e[r](t)),done:"return"===r}:i?i(t):t}:i}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=kr(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}}),Mr=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(null===e||"object"!=typeof e)return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map(e=>t.apiDescriptor.value(e)).join(", "),"]");const n=Object.keys(e);return 0===n.length?"{}":"{ ".concat(n.map(n=>"".concat(t.apiDescriptor.key(n),": ").concat(t.apiDescriptor.value(e[n]))).join(", ")," }")},pair:({key:e,value:n})=>t.apiDescriptor.value({[e]:n})}})),Or=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Tr.__exportStar(Mr,t)})),Nr=/[|\\{}()[\]^$+*?.]/g,Fr=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(Nr,"\\$&")},Ir={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Pr=Be((function(e){var t={};for(var n in Ir)Ir.hasOwnProperty(n)&&(t[Ir[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in r)if(r.hasOwnProperty(i)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);var o=r[i].channels,s=r[i].labels;delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:o}),Object.defineProperty(r[i],"labels",{value:s})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,s=Math.min(r,i,o),a=Math.max(r,i,o),u=a-s;return a===s?t=0:r===a?t=(i-o)/u:i===a?t=2+(o-r)/u:o===a&&(t=4+(r-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),n=(s+a)/2,[t,100*(a===s?0:n<=.5?u/(a+s):u/(2-a-s)),100*n]},r.rgb.hsv=function(e){var t,n,r,i,o,s=e[0]/255,a=e[1]/255,u=e[2]/255,l=Math.max(s,a,u),c=l-Math.min(s,a,u),h=function(e){return(l-e)/6/c+.5};return 0===c?i=o=0:(o=c/l,t=h(s),n=h(a),r=h(u),s===l?i=r-n:a===l?i=1/3+t-r:u===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,i,o,s=1/0;for(var a in Ir)if(Ir.hasOwnProperty(a)){var u=Ir[a],l=(i=e,o=u,Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));l.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],o=t[2];return i/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,r,i,o,s=e[0]/360,a=e[1]/100,u=e[2]/100;if(0===a)return[o=255*u,o,o];t=2*u-(n=u<.5?u*(1+a):u+a-u*a),i=[0,0,0];for(var l=0;l<3;l++)(r=s+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*o;return i},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),s=255*r*(1-n),a=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,s];case 1:return[a,r,s];case 2:return[s,r,u];case 3:return[s,a,r];case 4:return[u,s,r];case 5:return[r,s,a]}},r.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,s=e[2]/100,a=Math.max(s,.01);return r=(2-o)*s,n=o*a,[i,100*(n=(n/=(t=(2-o)*a)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,i,o,s,a,u=e[0]/360,l=e[1]/100,c=e[2]/100,h=l+c;switch(h>1&&(l/=h,c/=h),r=6*u-(t=Math.floor(6*u)),0!=(1&t)&&(r=1-r),i=l+r*((n=1-c)-l),t){default:case 6:case 0:o=n,s=i,a=l;break;case 1:o=i,s=n,a=l;break;case 2:o=l,s=n,a=i;break;case 3:o=l,s=i,a=n;break;case 4:o=i,s=l,a=n;break;case 5:o=n,s=l,a=i}return[255*o,255*s,255*a]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,s=e[2]/100;return n=-.9689*i+1.8758*o+.0415*s,r=.0557*i+-.204*o+1.057*s,t=(t=3.2406*i+-1.5372*o+-.4986*s)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),s=Math.pow(t,3),a=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var s=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(s+=60),s},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),s=Math.min(Math.min(n,r),i),a=o-s;return t=a<=0?0:o===n?(r-i)/a%6:o===r?2+(i-n)/a:4+(n-r)/a+4,t/=6,[360*(t%=1),100*a,100*(a<1?s/(1-a):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],s=t%1*6,a=s%1,u=1-a;switch(Math.floor(s)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function Rr(e){var t=function(){for(var e={},t=Object.keys(Pr),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var $r=jr,qr=Be((function(e){const t=(e,t)=>function(){const n=e.apply($r,arguments);return"[".concat(n+t,"m")},n=(e,t)=>function(){const n=e.apply($r,arguments);return"[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e.apply($r,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(const t of Object.keys(i)){const n=i[t];for(const t of Object.keys(n)){const r=n[t];i[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=i[t],e.set(r[0],r[1])}Object.defineProperty(i,t,{value:n,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}const o=e=>e,s=(e,t,n)=>[e,t,n];i.color.close="",i.bgColor.close="",i.color.ansi={ansi:t(o,0)},i.color.ansi256={ansi256:n(o,0)},i.color.ansi16m={rgb:r(s,0)},i.bgColor.ansi={ansi:t(o,10)},i.bgColor.ansi256={ansi256:n(o,10)},i.bgColor.ansi16m={rgb:r(s,10)};for(let a of Object.keys($r)){if("object"!=typeof $r[a])continue;const e=$r[a];"ansi16"===a&&(a="ansi"),"ansi16"in e&&(i.color.ansi[a]=t(e.ansi16,0),i.bgColor.ansi[a]=t(e.ansi16,10)),"ansi256"in e&&(i.color.ansi256[a]=n(e.ansi256,0),i.bgColor.ansi256[a]=n(e.ansi256,10)),"rgb"in e&&(i.color.ansi16m[a]=r(e.rgb,0),i.bgColor.ansi16m[a]=r(e.rgb,10))}return i}})})),Ur=(e,t)=>{t=t||Ie.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r"browser",cpus:()=>[{model:"Prettier"}]}}));const zr=Ie.env;let Vr;function Wr(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===Vr)return 0;if(Ur("color=16m")||Ur("color=full")||Ur("color=truecolor"))return 3;if(Ur("color=256"))return 2;if(e&&!e.isTTY&&!0!==Vr)return 0;const t=Vr?1:0;if("win32"===Ie.platform){const e=Hr.release().split(".");return Number(Ie.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in zr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in zr)||"codeship"===zr.CI_NAME?1:t;if("TEAMCITY_VERSION"in zr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(zr.TEAMCITY_VERSION)?1:0;if("truecolor"===zr.COLORTERM)return 3;if("TERM_PROGRAM"in zr){const e=parseInt((zr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(zr.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(zr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(zr.TERM)||"COLORTERM"in zr?1:(zr.TERM,t)}(e))}Ur("no-color")||Ur("no-colors")||Ur("color=false")?Vr=!1:(Ur("color")||Ur("colors")||Ur("color=true")||Ur("color=always"))&&(Vr=!0),"FORCE_COLOR"in zr&&(Vr=0===zr.FORCE_COLOR.length||0!==parseInt(zr.FORCE_COLOR,10));var Gr={supportsColor:Wr,stdout:Wr(Ie.stdout),stderr:Wr(Ie.stderr)};const Kr=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Xr=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Yr=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Jr=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Zr=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Qr(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Zr.get(e)||e}function ei(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r)if(isNaN(o)){if(!(i=o.match(Yr)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(i[2].replace(Jr,(e,t,n)=>t?Qr(t):n))}else n.push(Number(o));return n}function ti(e){Xr.lastIndex=0;const t=[];let n;for(;null!==(n=Xr.exec(e));){const e=n[1];if(n[2]){const r=ei(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function ni(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const i of Object.keys(n))if(Array.isArray(n[i])){if(!(i in r))throw new Error("Unknown Chalk style: ".concat(i));r=n[i].length>0?r[i].apply(r,n[i]):r[i]}return r}var ri=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(Kr,(t,o,s,a,u,l)=>{if(o)i.push(Qr(o));else if(a){const t=i.join("");i=[],r.push(0===n.length?t:ni(e,n)(t)),n.push({inverse:s,styles:ti(a)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(ni(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")},ii=Be((function(e){const t=Gr.stdout,n="win32"===Ie.platform&&!(Ie.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),o=Object.create(null);function s(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function a(e){if(!this||!(this instanceof a)||this.template){const t={};return s(t,e),t.template=function(){const e=[].slice.call(arguments);return h.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,a.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=a,t.template}s(this,e)}n&&(qr.blue.open="");for(const f of Object.keys(qr))qr[f].closeRe=new RegExp(Fr(qr[f].close),"g"),o[f]={get(){const e=qr[f];return l.call(this,this._styles?this._styles.concat(e):[e],this._empty,f)}};o.visible={get(){return l.call(this,this._styles||[],!0,"visible")}},qr.color.closeRe=new RegExp(Fr(qr.color.close),"g");for(const f of Object.keys(qr.color.ansi))i.has(f)||(o[f]={get(){const e=this.level;return function(){const t=qr.color[r[e]][f].apply(null,arguments),n={open:t,close:qr.color.close,closeRe:qr.color.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});qr.bgColor.closeRe=new RegExp(Fr(qr.bgColor.close),"g");for(const f of Object.keys(qr.bgColor.ansi))i.has(f)||(o["bg"+f[0].toUpperCase()+f.slice(1)]={get(){const e=this.level;return function(){const t=qr.bgColor[r[e]][f].apply(null,arguments),n={open:t,close:qr.bgColor.close,closeRe:qr.bgColor.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});const u=Object.defineProperties(()=>{},o);function l(e,t,n){const r=function(){return c.apply(r,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=u,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n{const r=["".concat(ii.default.yellow("string"==typeof e?n.key(e):n.pair(e))," is deprecated")];return t&&r.push("we now treat it as ".concat(ii.default.blue("string"==typeof t?n.key(t):n.pair(t)))),r.join("; ")+"."}})),si=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Tr.__exportStar(oi,t)})),ai=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.commonInvalidHandler=(e,t,n)=>["Invalid ".concat(ii.default.red(n.descriptor.key(e))," value."),"Expected ".concat(ii.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(ii.default.red(n.descriptor.value(t)),".")].join(" ")})),ui=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Tr.__exportStar(ai,t)})),li=[],ci=[],hi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.levenUnknownHandler=(e,t,{descriptor:n,logger:r,schemas:i})=>{const o=["Ignored unknown option ".concat(ii.default.yellow(n.pair({key:e,value:t})),".")],s=Object.keys(i).sort().find(t=>function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var r=e.length,i=t.length;if(0===r)return i;if(0===i)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;if(0===r)return i;for(var o,s,a,u,l=0;ls?u>s?s+1:u:u>a?a+1:u;return s}(e,t)<3);s&&o.push("Did you mean ".concat(ii.default.blue(n.key(s)),"?")),r.warn(o.join(" "))}})),fi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Tr.__exportStar(hi,t)})),di=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Tr.__exportStar(si,t),Tr.__exportStar(ui,t),Tr.__exportStar(fi,t)})),pi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,t){const r=new e(t),s=Object.create(r);for(const a of n)a in t&&(s[a]=o(t[a],r,i.prototype[a].length));return s}t.createSchema=r;class i{constructor(e){this.name=e.name}static create(e){return r(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return e}}function o(e,t,n){return"function"==typeof e?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e}t.Schema=i})),mi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}}t.AliasSchema=n})),gi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{expected(){return"anything"}validate(){return!0}}t.AnySchema=n})),vi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{constructor(e){var{valueSchema:t,name:n=t.name}=e,r=Tr.__rest(e,["valueSchema","name"]);super(Object.assign({},r,{name:n})),this._valueSchema=t}expected(e){return"an array of ".concat(this._valueSchema.expected(e))}validate(e,t){if(!Array.isArray(e))return!1;const n=[];for(const r of e){const e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);!0!==e&&n.push(e.value)}return 0===n.length||{value:n}}deprecated(e,t){const n=[];for(const r of e){const e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);!1!==e&&n.push(...e.map(({value:e})=>({value:[e]})))}return n}forward(e,t){const n=[];for(const i of e){const e=t.normalizeForwardResult(this._valueSchema.forward(i,t),i);n.push(...e.map(r))}return n}redirect(e,t){const n=[],i=[];for(const o of e){const e=t.normalizeRedirectResult(this._valueSchema.redirect(o,t),o);"remain"in e&&n.push(e.remain),i.push(...e.redirect.map(r))}return 0===n.length?{redirect:i}:{redirect:i,remain:n}}overlap(e,t){return e.concat(t)}}function r({from:e,to:t}){return{from:[e],to:t}}t.ArraySchema=n})),yi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}}t.BooleanSchema=n})),bi=Be((function(e,t){function n(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function r(e,t){return void 0===e?[]:Array.isArray(e)?e.map(e=>n(e,t)):[n(e,t)]}Object.defineProperty(t,"__esModule",{value:!0}),t.recordFromArray=function(e,t){const n=Object.create(null);for(const r of e){const e=r[t];if(n[e])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n[e]=r}return n},t.mapFromArray=function(e,t){const n=new Map;for(const r of e){const e=r[t];if(n.has(e))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n.set(e,r)}return n},t.createAutoChecklist=function(){const e=Object.create(null);return t=>{const n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},t.partition=function(e,t){const n=[],r=[];for(const i of e)t(i)?n.push(i):r.push(i);return[n,r]},t.isInt=function(e){return e===Math.floor(e)},t.comparePrimitive=function(e,t){if(e===t)return 0;const n=typeof e,r=typeof t,i=["undefined","object","boolean","number","string"];return n!==r?i.indexOf(n)-i.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)},t.normalizeDefaultResult=function(e){return void 0===e?{}:e},t.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},t.normalizeDeprecatedResult=function(e,t,n=!1){return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},t.normalizeTransferResult=n,t.normalizeForwardResult=r,t.normalizeRedirectResult=function(e,t){const n=r("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}})),wi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{constructor(e){super(e),this._choices=bi.mapFromArray(e.choices.map(e=>e&&"object"==typeof e?e:{value:e}),"value")}expected({descriptor:e}){const t=Array.from(this._choices.keys()).map(e=>this._choices.get(e)).filter(e=>!e.deprecated).map(e=>e.value).sort(bi.comparePrimitive).map(e.value),n=t.slice(0,-2),r=t.slice(-2);return n.concat(r.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){const t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){const t=this._choices.get(e);return t?t.forward:void 0}redirect(e){const t=this._choices.get(e);return t?t.redirect:void 0}}t.ChoiceSchema=n})),Di=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}}t.NumberSchema=n})),Ei=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends Di.NumberSchema{expected(){return"an integer"}validate(e,t){return!0===t.normalizeValidateResult(super.validate(e,t),e)&&bi.isInt(e)}}t.IntegerSchema=n})),xi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}}t.StringSchema=n})),_i=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Tr.__exportStar(mi,t),Tr.__exportStar(gi,t),Tr.__exportStar(vi,t),Tr.__exportStar(yi,t),Tr.__exportStar(wi,t),Tr.__exportStar(Ei,t),Tr.__exportStar(Di,t),Tr.__exportStar(xi,t)})),Ci=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultDescriptor=Mr.apiDescriptor,t.defaultUnknownHandler=hi.levenUnknownHandler,t.defaultInvalidHandler=ui.commonInvalidHandler,t.defaultDeprecatedHandler=oi.commonDeprecatedHandler})),ki=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=(e,t,r)=>new n(t,r).normalize(e);class n{constructor(e,t){const{logger:n=console,descriptor:r=Ci.defaultDescriptor,unknown:i=Ci.defaultUnknownHandler,invalid:o=Ci.defaultInvalidHandler,deprecated:s=Ci.defaultDeprecatedHandler}=t||{};this._utils={descriptor:r,logger:n||{warn:()=>{}},schemas:bi.recordFromArray(e,"name"),normalizeDefaultResult:bi.normalizeDefaultResult,normalizeDeprecatedResult:bi.normalizeDeprecatedResult,normalizeForwardResult:bi.normalizeForwardResult,normalizeRedirectResult:bi.normalizeRedirectResult,normalizeValidateResult:bi.normalizeValidateResult},this._unknownHandler=i,this._invalidHandler=o,this._deprecatedHandler=s,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=bi.createAutoChecklist()}normalize(e){const t={},n=[e],r=()=>{for(;0!==n.length;){const e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};r();for(const i of Object.keys(this._utils.schemas)){const e=this._utils.schemas[i];if(!(i in t)){const t=bi.normalizeDefaultResult(e.default(this._utils));"value"in t&&n.push({[i]:t.value})}}r();for(const i of Object.keys(this._utils.schemas)){const e=this._utils.schemas[i];i in t&&(t[i]=e.postprocess(t[i],this._utils))}return t}_applyNormalization(e,t){const n=[],[r,i]=bi.partition(Object.keys(e),e=>e in this._utils.schemas);for(const o of r){const r=this._utils.schemas[o],i=r.preprocess(e[o],this._utils),s=bi.normalizeValidateResult(r.validate(i,this._utils),i);if(!0!==s){const{value:e}=s,t=this._invalidHandler(o,e,this._utils);throw"string"==typeof t?new Error(t):t}const a=({from:e,to:t})=>{n.push("string"==typeof t?{[t]:e}:{[t.key]:t.value})},u=({value:e,redirectTo:t})=>{const n=bi.normalizeDeprecatedResult(r.deprecated(e,this._utils),i,!0);if(!1!==n)if(!0===n)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,t,this._utils));else for(const{value:r}of n){const e={key:o,value:r};if(!this._hasDeprecationWarned(e)){const n="string"==typeof t?{key:t,value:r}:t;this._utils.logger.warn(this._deprecatedHandler(e,n,this._utils))}}};bi.normalizeForwardResult(r.forward(i,this._utils),i).forEach(a);const l=bi.normalizeRedirectResult(r.redirect(i,this._utils),i);if(l.redirect.forEach(a),"remain"in l){const e=l.remain;t[o]=o in t?r.overlap(t[o],e,this._utils):e,u({value:e})}for(const{from:e,to:t}of l.redirect)u({value:e,redirectTo:t})}for(const o of i){const r=e[o],i=this._unknownHandler(o,r,this._utils);if(i)for(const e of Object.keys(i)){const r={[e]:i[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}}t.Normalizer=n})),Si=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Tr.__exportStar(Or,t),Tr.__exportStar(di,t),Tr.__exportStar(_i,t),Tr.__exportStar(ki,t),Tr.__exportStar(pi,t)}));const Ai=[],Ti=[],Mi=(e,t)=>{if(e===t)return 0;const n=e;e.length>t.length&&(e=t,t=n);let r=e.length,i=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;let o,s,a,u,l=0;for(;ls?u>s?s+1:u:u>a?a+1:u;return s};var Oi=Mi,Ni=Mi;Oi.default=Ni;var Fi={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const Ii={};for(const t of Object.keys(Fi))Ii[Fi[t]]=t;const Pi={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Ri=Pi;for(const t of Object.keys(Pi)){if(!("channels"in Pi[t]))throw new Error("missing channels property: "+t);if(!("labels"in Pi[t]))throw new Error("missing channel labels property: "+t);if(Pi[t].labels.length!==Pi[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=Pi[t];delete Pi[t].channels,delete Pi[t].labels,Object.defineProperty(Pi[t],"channels",{value:e}),Object.defineProperty(Pi[t],"labels",{value:n})}function Li(e){const t=function(){const e={},t=Object.keys(Ri);for(let n=t.length,r=0;r1&&(i-=1)),[360*i,100*o,100*l]},Pi.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const i=Pi.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,100*o,100*r]},Pi.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]},Pi.rgb.keyword=function(e){const t=Ii[e];if(t)return t;let n,r=1/0;for(const s of Object.keys(Fi)){const t=(o=Fi[s],((i=e)[0]-o[0])**2+(i[1]-o[1])**2+(i[2]-o[2])**2);t.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Pi.rgb.lab=function(e){const t=Pi.rgb.xyz(e);let n=t[0],r=t[1],i=t[2];return n/=95.047,r/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,[116*r-16,500*(n-r),200*(r-i)]},Pi.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let i,o,s;if(0===n)return s=255*r,[s,s,s];i=r<.5?r*(1+n):r+n-r*n;const a=2*r-i,u=[0,0,0];for(let l=0;l<3;l++)o=t+1/3*-(l-1),o<0&&o++,o>1&&o--,s=6*o<1?a+6*(i-a)*o:2*o<1?i:3*o<2?a+(i-a)*(2/3-o)*6:a,u[l]=255*s;return u},Pi.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,i=n;const o=Math.max(r,.01);return r*=2,n*=r<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},Pi.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const i=Math.floor(t)%6,o=t-Math.floor(t),s=255*r*(1-n),a=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,s];case 1:return[a,r,s];case 2:return[s,r,u];case 3:return[s,a,r];case 4:return[u,s,r];case 5:return[r,s,a]}},Pi.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01);let o,s;s=(2-n)*r;const a=(2-n)*i;return o=n*i,o/=a<=1?a:2-a,o=o||0,s/=2,[t,100*o,100*s]},Pi.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const i=n+r;let o;i>1&&(n/=i,r/=i);const s=Math.floor(6*t),a=1-r;o=6*t-s,0!=(1&s)&&(o=1-o);const u=n+o*(a-n);let l,c,h;switch(s){default:case 6:case 0:l=a,c=u,h=n;break;case 1:l=u,c=a,h=n;break;case 2:l=n,c=a,h=u;break;case 3:l=n,c=u,h=a;break;case 4:l=u,c=n,h=a;break;case 5:l=a,c=n,h=u}return[255*l,255*c,255*h]},Pi.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},Pi.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let i,o,s;return i=3.2406*t+-1.5372*n+-.4986*r,o=-.9689*t+1.8758*n+.0415*r,s=.0557*t+-.204*n+1.057*r,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),s=Math.min(Math.max(0,s),1),[255*i,255*o,255*s]},Pi.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];return t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*n-16,500*(t-n),200*(n-r)]},Pi.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const i=n**3,o=t**3,s=r**3;return n=i>.008856?i:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},Pi.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let i;return i=360*Math.atan2(r,n)/2/Math.PI,i<0&&(i+=360),[t,Math.sqrt(n*n+r*r),i]},Pi.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},Pi.rgb.ansi16=function(e,t=null){const[n,r,i]=e;let o=null===t?Pi.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),0===o)return 30;let s=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===o&&(s+=60),s},Pi.hsv.ansi16=function(e){return Pi.rgb.ansi16(Pi.hsv.rgb(e),e[2])},Pi.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},Pi.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},Pi.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},Pi.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},Pi.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},Pi.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),o=Math.min(Math.min(t,n),r),s=i-o;let a,u;return a=s<1?o/(1-s):0,u=s<=0?0:i===t?(n-r)/s%6:i===n?2+(r-t)/s:4+(t-n)/s,u/=6,u%=1,[360*u,100*s,100*a]},Pi.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},Pi.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Pi.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const i=[0,0,0],o=t%1*6,s=o%1,a=1-s;let u=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return u=(1-n)*r,[255*(n*i[0]+u),255*(n*i[1]+u),255*(n*i[2]+u)]},Pi.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},Pi.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},Pi.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},Pi.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Pi.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Pi.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Pi.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Pi.gray.hsl=function(e){return[0,0,e[0]]},Pi.gray.hsv=Pi.gray.hsl,Pi.gray.hwb=function(e){return[0,100,e[0]]},Pi.gray.cmyk=function(e){return[0,0,0,e[0]]},Pi.gray.lab=function(e){return[e[0],0,0]},Pi.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},Pi.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const $i={};Object.keys(Ri).forEach(e=>{$i[e]={},Object.defineProperty($i[e],"channels",{value:Ri[e].channels}),Object.defineProperty($i[e],"labels",{value:Ri[e].labels});const t=function(e){const t=Li(e),n={},r=Object.keys(t);for(let i=r.length,o=0;o{const r=t[n];$i[e][n]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,i=0;i1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)})});var qi=$i,Ui=Be((function(e){const t=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(r+t,"m")},n=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(38+t,";5;").concat(r,"m")},r=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(38+t,";2;").concat(r[0],";").concat(r[1],";").concat(r[2],"m")},i=e=>e,o=(e,t,n)=>[e,t,n],s=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})};let a;const u=(e,t,n,r)=>{void 0===a&&(a=qi);const i=r?10:0,o={};for(const[s,u]of Object.entries(a)){const r="ansi16"===s?"ansi":s;s===t?o[r]=e(n,i):"object"==typeof u&&(o[r]=e(u[t],i))}return o};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,a={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(const[t,n]of Object.entries(a)){for(const[t,r]of Object.entries(n))a[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=a[t],e.set(r[0],r[1]);Object.defineProperty(a,t,{value:n,enumerable:!1})}return Object.defineProperty(a,"codes",{value:e,enumerable:!1}),a.color.close="",a.bgColor.close="",s(a.color,"ansi",()=>u(t,"ansi16",i,!1)),s(a.color,"ansi256",()=>u(n,"ansi256",i,!1)),s(a.color,"ansi16m",()=>u(r,"rgb",o,!1)),s(a.bgColor,"ansi",()=>u(t,"ansi16",i,!0)),s(a.bgColor,"ansi256",()=>u(n,"ansi256",i,!0)),s(a.bgColor,"ansi16m",()=>u(r,"rgb",o,!0)),a}})})),Hi={isatty:()=>!1},zi=(e,t=Ie.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r=2,has16m:e>=3}}function Xi(e,t){if(0===Gi)return 0;if(zi("color=16m")||zi("color=full")||zi("color=truecolor"))return 3;if(zi("color=256"))return 2;if(e&&!t&&void 0===Gi)return 0;const n=Gi||0;if("dumb"===Wi.TERM)return n;if("win32"===Ie.platform){const e=Hr.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Wi)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in Wi)||"codeship"===Wi.CI_NAME?1:n;if("TEAMCITY_VERSION"in Wi)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Wi.TEAMCITY_VERSION)?1:0;if("GITHUB_ACTIONS"in Wi)return 1;if("truecolor"===Wi.COLORTERM)return 3;if("TERM_PROGRAM"in Wi){const e=parseInt((Wi.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Wi.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Wi.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Wi.TERM)||"COLORTERM"in Wi?1:n}zi("no-color")||zi("no-colors")||zi("color=false")||zi("color=never")?Gi=0:(zi("color")||zi("colors")||zi("color=true")||zi("color=always"))&&(Gi=1),"FORCE_COLOR"in Wi&&(Gi="true"===Wi.FORCE_COLOR?1:"false"===Wi.FORCE_COLOR?0:0===Wi.FORCE_COLOR.length?1:Math.min(parseInt(Wi.FORCE_COLOR,10),3));var Yi={supportsColor:function(e){return Ki(Xi(e,e&&e.isTTY))},stdout:Ki(Xi(!0,Vi.isatty(1))),stderr:Ki(Xi(!0,Vi.isatty(2)))},Ji={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(-1===r)return e;const i=t.length;let o=0,s="";do{s+=e.substr(o,r-o)+t+n,o=r+i,r=e.indexOf(t,o)}while(-1!==r);return s+=e.substr(o),s},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let i=0,o="";do{const s="\r"===e[r-1];o+=e.substr(i,(s?r-1:r)-i)+t+(s?"\r\n":"\n")+n,i=r+1,r=e.indexOf("\n",i)}while(-1!==r);return o+=e.substr(i),o}};const Zi=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Qi=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,eo=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,to=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,no=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function ro(e){const t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):no.get(e)||e}function io(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r){const t=Number(o);if(Number.isNaN(t)){if(!(i=o.match(eo)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(i[2].replace(to,(e,t,n)=>t?ro(t):n))}else n.push(t)}return n}function oo(e){Qi.lastIndex=0;const t=[];let n;for(;null!==(n=Qi.exec(e));){const e=n[1];if(n[2]){const r=io(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function so(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const[i,o]of Object.entries(n))if(Array.isArray(o)){if(!(i in r))throw new Error("Unknown Chalk style: ".concat(i));r=o.length>0?r[i](...o):r[i]}return r}var ao=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(Zi,(t,o,s,a,u,l)=>{if(o)i.push(ro(o));else if(a){const t=i.join("");i=[],r.push(0===n.length?t:so(e,n)(t)),n.push({inverse:s,styles:oo(a)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(so(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")};const{stdout:uo,stderr:lo}=Yi,{stringReplaceAll:co,stringEncaseCRLFWithFirstIndex:ho}=Ji,{isArray:fo}=Array,po=["ansi","ansi","ansi256","ansi16m"],mo=Object.create(null);class go{constructor(e){return vo(e)}}const vo=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=uo?uo.level:0;e.level=void 0===t.level?n:t.level})(t,e),t.template=(...e)=>Co(t.template,...e),Object.setPrototypeOf(t,yo.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=go,t.template};function yo(e){return vo(e)}for(const[t,rM]of Object.entries(Ui))mo[t]={get(){const e=Eo(this,Do(rM.open,rM.close,this._styler),this._isEmpty);return Object.defineProperty(this,t,{value:e}),e}};mo.visible={get(){const e=Eo(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const bo=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const t of bo)mo[t]={get(){const{level:e}=this;return function(...n){const r=Do(Ui.color[po[e]][t](...n),Ui.color.close,this._styler);return Eo(this,r,this._isEmpty)}}};for(const t of bo)mo["bg"+t[0].toUpperCase()+t.slice(1)]={get(){const{level:e}=this;return function(...n){const r=Do(Ui.bgColor[po[e]][t](...n),Ui.bgColor.close,this._styler);return Eo(this,r,this._isEmpty)}}};const wo=Object.defineProperties(()=>{},Object.assign({},mo,{level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}})),Do=(e,t,n)=>{let r,i;return void 0===n?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},Eo=(e,t,n)=>{const r=(...e)=>fo(e[0])&&fo(e[0].raw)?xo(r,Co(r,...e)):xo(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,wo),r._generator=e,r._styler=t,r._isEmpty=n,r},xo=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(void 0===n)return t;const{openAll:r,closeAll:i}=n;if(-1!==t.indexOf(""))for(;void 0!==n;)t=co(t,n.close,n.open),n=n.parent;const o=t.indexOf("\n");return-1!==o&&(t=ho(t,i,r,o)),r+t+i};let _o;const Co=(e,...t)=>{const[n]=t;if(!fo(n)||!fo(n.raw))return t.join(" ");const r=t.slice(1),i=[n.raw[0]];for(let o=1;o0&&r(u)?n>1?e(u,n-1,r,i,o):Ao(o,u):i||(o[o.length]=u)}return o},Jo=function(e){return null!=e&&e.length?Yo(e,1):[]};const Zo={key:e=>1===e.length?"-".concat(e):"--".concat(e),value:e=>Si.apiDescriptor.value(e),pair:({key:e,value:t})=>!1===t?"--no-".concat(e):!0===t?Zo.key(e):""===t?"".concat(Zo.key(e)," without an argument"):"".concat(Zo.key(e),"=").concat(t)};class Qo extends Si.ChoiceSchema{constructor({name:e,flags:t}){super({name:e,choices:t}),this._flags=t.slice().sort()}preprocess(e,t){if("string"==typeof e&&0!==e.length&&!this._flags.includes(e)){const n=this._flags.find(t=>Oi(t,e)<3);if(n)return t.logger.warn(["Unknown flag ".concat(So.yellow(t.descriptor.value(e)),","),"did you mean ".concat(So.blue(t.descriptor.value(n)),"?")].join(" ")),n}return e}expected(){return"a flag"}}let es;function ts(t,n,{logger:r,isCLI:i=!1,passThrough:o=!1}={}){const s=o?Array.isArray(o)?(e,t)=>o.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(t,n,r)=>{const i=e(r.schemas,["_"]);return Si.levenUnknownHandler(t,n,Object.assign({},r,{schemas:i}))},a=i?Zo:Si.apiDescriptor,u=function(e,{isCLI:t}){const n=[];t&&n.push(Si.AnySchema.create({name:"_"}));for(const r of e)n.push(ns(r,{isCLI:t,optionInfos:e})),r.alias&&t&&n.push(Si.AliasSchema.create({name:r.alias,sourceName:r.name}));return n}(n,{isCLI:i}),l=new Si.Normalizer(u,{logger:r,unknown:s,descriptor:a}),c=!1!==r;c&&es&&(l._hasDeprecationWarned=es);const h=l.normalize(t);return c&&(es=l._hasDeprecationWarned),h}function ns(e,{isCLI:t,optionInfos:n}){let r;const i={name:e.name},o={};switch(e.type){case"int":r=Si.IntegerSchema,t&&(i.preprocess=e=>Number(e));break;case"string":r=Si.StringSchema;break;case"choice":r=Si.ChoiceSchema,i.choices=e.choices.map(t=>"object"==typeof t&&t.redirect?Object.assign({},t,{redirect:{to:{key:e.name,value:t.redirect}}}):t);break;case"boolean":r=Si.BooleanSchema;break;case"flag":r=Qo,i.flags=Jo(n.map(e=>[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)));break;case"path":r=Si.StringSchema;break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?i.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):i.validate=(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(o.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(o.deprecated=!0),t&&!e.array){const e=i.preprocess||(e=>e);i.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?t[t.length-1]:t),r)}return e.array?Si.ArraySchema.create(Object.assign({},t?{preprocess:e=>[].concat(e)}:{},o,{valueSchema:r.create(i)})):r.create(Object.assign({},i,o))}var rs={normalizeApiOptions:function(e,t,n){return ts(e,t,n)},normalizeCliOptions:function(e,t,n){return ts(e,t,Object.assign({isCLI:!0},n))}};function is(e,t){const{ignoreDecorators:n}=t||{};if(!n){const t=e.declaration&&e.declaration.decorators||e.decorators;if(t&&t.length>0)return is(t[0])}return e.range?e.range[0]:e.start}function os(e){const t=e.range?e.range[1]:e.end;return e.typeAnnotation?Math.max(t,os(e.typeAnnotation)):t}function ss(e,t){return is(e)===is(t)}var as={locStart:is,locEnd:os,composeLoc:function(e,t=e){const n=is(e);return[n,"number"==typeof t?n+t:os(t)]},hasSameLocStart:ss,hasSameLoc:function(e,t){return ss(e,t)&&function(e,t){return os(e)===os(t)}(e,t)}},us=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}})),ls=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierStart=l,t.isIdentifierChar=c,t.isIdentifierName=function(e){let t=!0;for(let n=0,r=Array.from(e);ne)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function l(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):u(e,s)))}function c(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&o.test(String.fromCharCode(e)):u(e,s)||u(e,a))))}})),cs=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isReservedWord=a,t.isStrictReservedWord=u,t.isStrictBindOnlyReservedWord=l,t.isStrictBindReservedWord=function(e,t){return u(e,t)||l(e)},t.isKeyword=function(e){return i.has(e)};const n=["implements","interface","let","package","private","protected","public","static","yield"],r=["eval","arguments"],i=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),o=new Set(n),s=new Set(r);function a(e,t){return t&&"await"===e||"enum"===e}function u(e,t){return a(e,t)||o.has(e)}function l(e){return s.has(e)}})),hs=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return ls.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return ls.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return ls.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return cs.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return cs.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return cs.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return cs.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return cs.isKeyword}})})),fs=/[|\\{}()[\]^$+*?.]/g,ds=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(fs,"\\$&")},ps={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},ms=Be((function(e){var t={};for(var n in ps)ps.hasOwnProperty(n)&&(t[ps[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in r)if(r.hasOwnProperty(i)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);var o=r[i].channels,s=r[i].labels;delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:o}),Object.defineProperty(r[i],"labels",{value:s})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,s=Math.min(r,i,o),a=Math.max(r,i,o),u=a-s;return a===s?t=0:r===a?t=(i-o)/u:i===a?t=2+(o-r)/u:o===a&&(t=4+(r-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),n=(s+a)/2,[t,100*(a===s?0:n<=.5?u/(a+s):u/(2-a-s)),100*n]},r.rgb.hsv=function(e){var t,n,r,i,o,s=e[0]/255,a=e[1]/255,u=e[2]/255,l=Math.max(s,a,u),c=l-Math.min(s,a,u),h=function(e){return(l-e)/6/c+.5};return 0===c?i=o=0:(o=c/l,t=h(s),n=h(a),r=h(u),s===l?i=r-n:a===l?i=1/3+t-r:u===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,i,o,s=1/0;for(var a in ps)if(ps.hasOwnProperty(a)){var u=ps[a],l=(i=e,o=u,Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));l.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],o=t[2];return i/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,r,i,o,s=e[0]/360,a=e[1]/100,u=e[2]/100;if(0===a)return[o=255*u,o,o];t=2*u-(n=u<.5?u*(1+a):u+a-u*a),i=[0,0,0];for(var l=0;l<3;l++)(r=s+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*o;return i},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),s=255*r*(1-n),a=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,s];case 1:return[a,r,s];case 2:return[s,r,u];case 3:return[s,a,r];case 4:return[u,s,r];case 5:return[r,s,a]}},r.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,s=e[2]/100,a=Math.max(s,.01);return r=(2-o)*s,n=o*a,[i,100*(n=(n/=(t=(2-o)*a)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,i,o,s,a,u=e[0]/360,l=e[1]/100,c=e[2]/100,h=l+c;switch(h>1&&(l/=h,c/=h),r=6*u-(t=Math.floor(6*u)),0!=(1&t)&&(r=1-r),i=l+r*((n=1-c)-l),t){default:case 6:case 0:o=n,s=i,a=l;break;case 1:o=i,s=n,a=l;break;case 2:o=l,s=n,a=i;break;case 3:o=l,s=i,a=n;break;case 4:o=i,s=l,a=n;break;case 5:o=n,s=l,a=i}return[255*o,255*s,255*a]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,s=e[2]/100;return n=-.9689*i+1.8758*o+.0415*s,r=.0557*i+-.204*o+1.057*s,t=(t=3.2406*i+-1.5372*o+-.4986*s)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),s=Math.pow(t,3),a=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var s=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(s+=60),s},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),s=Math.min(Math.min(n,r),i),a=o-s;return t=a<=0?0:o===n?(r-i)/a%6:o===r?2+(i-n)/a:4+(n-r)/a+4,t/=6,[360*(t%=1),100*a,100*(a<1?s/(1-a):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],s=t%1*6,a=s%1,u=1-a;switch(Math.floor(s)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function gs(e){var t=function(){for(var e={},t=Object.keys(ms),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var ws=bs,Ds=Be((function(e){const t=(e,t)=>function(){const n=e.apply(ws,arguments);return"[".concat(n+t,"m")},n=(e,t)=>function(){const n=e.apply(ws,arguments);return"[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e.apply(ws,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(const t of Object.keys(i)){const n=i[t];for(const t of Object.keys(n)){const r=n[t];i[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=i[t],e.set(r[0],r[1])}Object.defineProperty(i,t,{value:n,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}const o=e=>e,s=(e,t,n)=>[e,t,n];i.color.close="",i.bgColor.close="",i.color.ansi={ansi:t(o,0)},i.color.ansi256={ansi256:n(o,0)},i.color.ansi16m={rgb:r(s,0)},i.bgColor.ansi={ansi:t(o,10)},i.bgColor.ansi256={ansi256:n(o,10)},i.bgColor.ansi16m={rgb:r(s,10)};for(let a of Object.keys(ws)){if("object"!=typeof ws[a])continue;const e=ws[a];"ansi16"===a&&(a="ansi"),"ansi16"in e&&(i.color.ansi[a]=t(e.ansi16,0),i.bgColor.ansi[a]=t(e.ansi16,10)),"ansi256"in e&&(i.color.ansi256[a]=n(e.ansi256,0),i.bgColor.ansi256[a]=n(e.ansi256,10)),"rgb"in e&&(i.color.ansi16m[a]=r(e.rgb,0),i.bgColor.ansi16m[a]=r(e.rgb,10))}return i}})}));const Es=Ie.env;let xs;function _s(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===xs)return 0;if(Ur("color=16m")||Ur("color=full")||Ur("color=truecolor"))return 3;if(Ur("color=256"))return 2;if(e&&!e.isTTY&&!0!==xs)return 0;const t=xs?1:0;if("win32"===Ie.platform){const e=Hr.release().split(".");return Number(Ie.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Es)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in Es)||"codeship"===Es.CI_NAME?1:t;if("TEAMCITY_VERSION"in Es)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Es.TEAMCITY_VERSION)?1:0;if("truecolor"===Es.COLORTERM)return 3;if("TERM_PROGRAM"in Es){const e=parseInt((Es.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Es.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Es.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Es.TERM)||"COLORTERM"in Es?1:(Es.TERM,t)}(e))}Ur("no-color")||Ur("no-colors")||Ur("color=false")?xs=!1:(Ur("color")||Ur("colors")||Ur("color=true")||Ur("color=always"))&&(xs=!0),"FORCE_COLOR"in Es&&(xs=0===Es.FORCE_COLOR.length||0!==parseInt(Es.FORCE_COLOR,10));var Cs={supportsColor:_s,stdout:_s(Ie.stdout),stderr:_s(Ie.stderr)};const ks=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Ss=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,As=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Ts=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Ms=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Os(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Ms.get(e)||e}function Ns(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r)if(isNaN(o)){if(!(i=o.match(As)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(i[2].replace(Ts,(e,t,n)=>t?Os(t):n))}else n.push(Number(o));return n}function Fs(e){Ss.lastIndex=0;const t=[];let n;for(;null!==(n=Ss.exec(e));){const e=n[1];if(n[2]){const r=Ns(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Is(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const i of Object.keys(n))if(Array.isArray(n[i])){if(!(i in r))throw new Error("Unknown Chalk style: ".concat(i));r=n[i].length>0?r[i].apply(r,n[i]):r[i]}return r}var Ps=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(ks,(t,o,s,a,u,l)=>{if(o)i.push(Os(o));else if(a){const t=i.join("");i=[],r.push(0===n.length?t:Is(e,n)(t)),n.push({inverse:s,styles:Fs(a)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Is(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")},Rs=Be((function(e){const t=Cs.stdout,n="win32"===Ie.platform&&!(Ie.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),o=Object.create(null);function s(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function a(e){if(!this||!(this instanceof a)||this.template){const t={};return s(t,e),t.template=function(){const e=[].slice.call(arguments);return h.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,a.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=a,t.template}s(this,e)}n&&(Ds.blue.open="");for(const f of Object.keys(Ds))Ds[f].closeRe=new RegExp(ds(Ds[f].close),"g"),o[f]={get(){const e=Ds[f];return l.call(this,this._styles?this._styles.concat(e):[e],this._empty,f)}};o.visible={get(){return l.call(this,this._styles||[],!0,"visible")}},Ds.color.closeRe=new RegExp(ds(Ds.color.close),"g");for(const f of Object.keys(Ds.color.ansi))i.has(f)||(o[f]={get(){const e=this.level;return function(){const t=Ds.color[r[e]][f].apply(null,arguments),n={open:t,close:Ds.color.close,closeRe:Ds.color.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});Ds.bgColor.closeRe=new RegExp(ds(Ds.bgColor.close),"g");for(const f of Object.keys(Ds.bgColor.ansi))i.has(f)||(o["bg"+f[0].toUpperCase()+f.slice(1)]={get(){const e=this.level;return function(){const t=Ds.bgColor[r[e]][f].apply(null,arguments),n={open:t,close:Ds.bgColor.close,closeRe:Ds.bgColor.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});const u=Object.defineProperties(()=>{},o);function l(e,t,n){const r=function(){return c.apply(r,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=u,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;ni(e)).join("\n"):t[0]}))}(function(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}(n),e)}return e};var n,r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=r?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(us),i=(n=Rs)&&n.__esModule?n:{default:n};function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}const s=/\r\n|[\n\r\u2028\u2029]/,a=/^[a-z][\w-]*$/i,u=/^[()[\]{}]$/;function l(e){return i.default.supportsColor||e.forceColor}function c(e){let t=i.default;return e.forceColor&&(t=new i.default.constructor({enabled:!0,level:1})),t}})),Bs=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.codeFrameColumns=s,t.default=function(e,t,n,r={}){if(!i){i=!0;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";Ie.emitWarning?Ie.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return n=Math.max(n,0),s(e,{start:{column:n,line:t}},r)};var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(n,o,s):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(Ls);function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}let i=!1;const o=/\r\n|[\n\r\u2028\u2029]/;function s(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r),s=(0,n.getChalk)(r),a=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(s),u=(e,t)=>i?e(t):t,l=e.split(o),{start:c,end:h,markerLines:f}=function(e,t,n){const r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),{linesAbove:o=2,linesBelow:s=3}=n||{},a=r.line,u=r.column,l=i.line,c=i.column;let h=Math.max(a-(o+1),0),f=Math.min(t.length,l+s);-1===a&&(h=0),-1===l&&(f=t.length);const d=l-a,p={};if(d)for(let m=0;m<=d;m++){const e=m+a;if(u)if(0===m){const n=t[e-1].length;p[e]=[u,n-u+1]}else if(m===d)p[e]=[0,c];else{const n=t[e-m].length;p[e]=[0,n]}else p[e]=!0}else p[a]=u===c?!u||[u,0]:[u,c-u];return{start:h,end:f,markerLines:p}}(t,l,r),d=t.start&&"number"==typeof t.start.column,p=String(h).length;let m=(i?(0,n.default)(e,r):e).split(o).slice(c,h).map((e,t)=>{const n=c+1+t,i=" ".concat(n).slice(-p),o=" ".concat(i," | "),s=f[n],l=!f[n+1];if(s){let t="";if(Array.isArray(s)){const n=e.slice(0,Math.max(s[0]-1,0)).replace(/[^\t]/g," "),i=s[1]||1;t=["\n ",u(a.gutter,o.replace(/\d/g," ")),n,u(a.marker,"^").repeat(i)].join(""),l&&r.message&&(t+=" "+u(a.message,r.message))}return[u(a.marker,">"),u(a.gutter,o),e,t].join("")}return" ".concat(u(a.gutter,o)).concat(e)}).join("\n");return r.message&&!d&&(m="".concat(" ".repeat(p+1)).concat(r.message,"\n").concat(m)),i?s.reset(m):m}})),js=je(bn);const{ConfigError:$s}=xr,{locStart:qs,locEnd:Us}=as,Hs=Object.getOwnPropertyNames,zs=Object.getOwnPropertyDescriptor;function Vs(e){const t={};for(const n of e.plugins)if(n.parsers)for(const e of Hs(n.parsers))Object.defineProperty(t,e,zs(n.parsers,e));return t}function Ws(e,t){if(t=t||Vs(e),"function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:qs,locEnd:Us};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new $s("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var Gs={parse:function(e,t){const n=Vs(t),r=Object.keys(n).reduce((e,t)=>Object.defineProperty(e,t,{enumerable:!0,get:()=>n[t].parse}),{}),i=Ws(t,n);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,r,t)}}catch(t){const{loc:n}=t;if(n){const{codeFrameColumns:r}=Bs;throw t.codeFrame=r(e,n,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:Ws};const{UndefinedParserError:Ks}=xr,{getSupportInfo:Xs}=vt,{resolveParser:Ys}=Gs,Js={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Zs(e,t){const n=js.basename(e).toLowerCase(),r=Xs({plugins:t}).languages.filter(e=>null!==e.since);let i=r.find(e=>e.extensions&&e.extensions.some(e=>n.endsWith(e))||e.filenames&&e.filenames.some(e=>e.toLowerCase()===n));if(!i&&!n.includes(".")){const t=function(e){if("string"!=typeof e)return"";let t;try{t=vr.openSync(e,"r")}catch(e){return""}try{const n=new yr(t).next().toString("utf8"),r=n.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(r)return r[1];const i=n.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return i?i[1]:""}catch(e){return""}finally{try{vr.closeSync(t)}catch(e){}}}(e);i=r.find(e=>e.interpreters&&e.interpreters.includes(t))}return i&&i.parsers[0]}var Qs={normalize:function(e,t){t=t||{};const n=Object.assign({},e),r=Xs({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,i=Object.assign({},Js,br(r.filter(e=>void 0!==e.default).map(e=>[e.name,e.default])));if(!n.parser)if(n.filepath){if(n.parser=Zs(n.filepath,n.plugins),!n.parser)throw new Ks("No parser could be inferred for file: ".concat(n.filepath))}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel";const o=Ys(rs.normalizeApiOptions(n,[r.find(e=>"parser"===e.name)],{passThrough:!0,logger:!1}));n.astFormat=o.astFormat,n.locEnd=o.locEnd,n.locStart=o.locStart;const s=function(e){const{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");const n=e.plugins.find(e=>e.printers&&e.printers[t]);if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n}(n);n.printer=s.printers[n.astFormat];const a=r.filter(e=>e.pluginDefaults&&void 0!==e.pluginDefaults[s.name]).reduce((e,t)=>Object.assign(e,{[t.name]:t.pluginDefaults[s.name]}),{}),u=Object.assign({},i,a);return Object.keys(u).forEach(e=>{null==n[e]&&(n[e]=u[e])}),"json"===n.parser&&(n.trailingComma="none"),rs.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(Js)},t))},hiddenDefaults:Js,inferParser:Zs},ea=function e(t,n,r){if(Array.isArray(t))return t.map(t=>e(t,n,r)).filter(Boolean);if(!t||"object"!=typeof t)return t;const i=n.printer.massageAstNode;let o;o=i&&i.ignoredProperties?i.ignoredProperties:new Set;const s={};for(const a of Object.keys(t))o.has(a)||"function"==typeof t[a]||(s[a]=e(t[a],n,t));if(i){const e=i(t,s,r);if(null===e)return;if(e)return e}return s};function ta(){}ta.ok=function(){},ta.strictEqual=function(){};var na=je(Object.freeze({__proto__:null,default:ta}));const{builders:{concat:ra,line:ia,hardline:oa,breakParent:sa,indent:aa,lineSuffix:ua,join:la,cursor:ca}}=cn,{hasNewline:ha,skipNewline:fa,skipSpaces:da,isPreviousLineEmpty:pa,addLeadingComment:ma,addDanglingComment:ga,addTrailingComment:va}=Rt,ya=Symbol("child-nodes");function ba(e,t,n){if(!e)return;const{printer:r,locStart:i,locEnd:o}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let t;for(t=n.length-1;t>=0&&!(i(n[t])<=i(e)&&o(n[t])<=o(e));--t);return void n.splice(t+1,0,e)}}else if(e[ya])return e[ya];const s=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.keys(e).filter(e=>"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e&&"tokens"!==e&&"comments"!==e).map(t=>e[t]);return s?(n||Object.defineProperty(e,ya,{value:n=[],enumerable:!1}),s.forEach(e=>{ba(e,t,n)}),n):void 0}function wa(e,t,n){const{locStart:r,locEnd:i}=n,o=r(t),s=i(t),a=ba(e,n);let u,l,c=0,h=a.length;for(;c>1,f=a[e],d=r(f),p=i(f);if(d<=o&&s<=p)return t.enclosingNode=f,void wa(f,t,n);if(d<=o)u=f,c=e+1;else{if(!(s<=d))throw new Error("Comment location overlaps with node location");l=f,h=e}}if(t.enclosingNode&&"TemplateLiteral"===t.enclosingNode.type){const{quasis:e}=t.enclosingNode,r=xa(e,t,n);u&&xa(e,u,n)!==r&&(u=null),l&&xa(e,l,n)!==r&&(l=null)}u&&(t.precedingNode=u),l&&(t.followingNode=l)}function Da(e,t,n){const r=e.length;if(0===r)return;const{precedingNode:i,followingNode:o,enclosingNode:s}=e[0],a=n.printer.getGapRegex&&n.printer.getGapRegex(s)||/^[\s(]*$/;let u,l=n.locStart(o);for(u=r;u>0;--u){const r=e[u-1];na.strictEqual(r.precedingNode,i),na.strictEqual(r.followingNode,o);const s=t.slice(n.locEnd(r),l);if(!a.test(s))break;l=n.locStart(r)}e.forEach((e,t)=>{t1&&c.comments.sort((e,t)=>n.locStart(e)-n.locStart(t));e.length=0}function Ea(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function xa(e,t,n){const r=n.locStart(t)-1;for(let i=1;i{if("json"===r.parser||"json5"===r.parser||"__js_expression"===r.parser||"__vue_expression"===r.parser){if(o(a)-o(t)<=0)return void ma(t,a);if(s(a)-s(t)>=0)return void va(t,a)}wa(t,a,r);const{precedingNode:l,enclosingNode:c,followingNode:h}=a,f=r.printer.handleComments&&r.printer.handleComments.ownLine?r.printer.handleComments.ownLine:()=>!1,d=r.printer.handleComments&&r.printer.handleComments.endOfLine?r.printer.handleComments.endOfLine:()=>!1,p=r.printer.handleComments&&r.printer.handleComments.remaining?r.printer.handleComments.remaining:()=>!1,m=e.length-1===u;if(ha(n,o(a),{backwards:!0}))f(a,n,r,t,m)||(h?ma(h,a):l?va(l,a):ga(c||t,a));else if(ha(n,s(a)))d(a,n,r,t,m)||(l?va(l,a):h?ma(h,a):ga(c||t,a));else if(p(a,n,r,t,m));else if(l&&h){const e=i.length;e>0&&i[e-1].followingNode!==a.followingNode&&Da(i,n,r),i.push(a)}else l?va(l,a):h?ma(h,a):ga(c||t,a)}),Da(i,n,r),e.forEach(e=>{delete e.precedingNode,delete e.enclosingNode,delete e.followingNode})},printComments:function(e,t,n,r){const i=e.getValue(),o=t(e),s=i&&i.comments;if(!s||0===s.length)return _a(e,n,o);const a=[],u=[r?";":"",o];return e.each(e=>{const t=e.getValue(),{leading:r,trailing:i}=t;if(r){const r=function(e,t){const n=e.getValue(),r=Ea(e,t);if(!r)return"";if(t.printer.isBlockComment&&t.printer.isBlockComment(n)){const e=ha(t.originalText,t.locEnd(n))?ha(t.originalText,t.locStart(n),{backwards:!0})?oa:ia:" ";return ra([r,e])}return ra([r,oa])}(e,n);if(!r)return;a.push(r);const i=n.originalText,o=fa(i,da(i,n.locEnd(t)));!1!==o&&ha(i,o)&&a.push(oa)}else i&&u.push(function(e,t){const n=e.getValue(),r=Ea(e,t);if(!r)return"";const{printer:i,originalText:o,locStart:s}=t,a=i.isBlockComment&&i.isBlockComment(n);if(ha(o,s(n),{backwards:!0})){const e=pa(o,n,s);return ua(ra([oa,e?oa:"",r]))}let u=ra([" ",r]);return a||(u=ra([ua(u),sa])),u}(e,n))},"comments"),_a(e,n,ra(a.concat(u)))},printDanglingComments:function(e,t,n,r){const i=[],o=e.getValue();return o&&o.comments?(e.each(e=>{const n=e.getValue();!n||n.leading||n.trailing||r&&!r(n)||i.push(Ea(e,t))},"comments"),0===i.length?"":n?la(oa,i):aa(ra([oa,la(oa,i)]))):""},getSortedChildNodes:ba,ensureAllCommentsPrinted:function(e){e&&e.forEach(e=>{if(!e.printed)throw new Error('Comment "'+e.value.trim()+'" was not printed. Please report this error!');delete e.printed})}};function ka(e,t){const n=Sa(e.stack,t);return-1===n?null:e.stack[n]}function Sa(e,t){for(let n=e.length-1;n>=0;n-=2){const r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}var Aa=class{constructor(e){this.stack=[e]}getName(){const{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return le(this.stack)}getNode(e=0){return ka(this,e)}getParentNode(e=0){return ka(this,e+1)}call(e,...t){const{stack:n}=this,{length:r}=n;let i=le(n);for(const s of t)i=i[s],n.push(s,i);const o=e(this);return n.length=r,o}callParent(e,t=0){const n=Sa(this.stack,t+1),r=this.stack.splice(n+1),i=e(this);return this.stack.push(...r),i}each(e,...t){const{stack:n}=this,{length:r}=n;let i=le(n);for(const o of t)i=i[o],n.push(o,i);for(let o=0;o{n[r]=e(t,r)},...t),n}match(...e){let t=this.stack.length-1,n=null,r=this.stack[t--];for(const i of e){if(void 0===r)return!1;let e=null;if("number"==typeof n&&(e=n,n=this.stack[t--],r=this.stack[t--]),i&&!i(r,n,e))return!1;n=this.stack[t--],r=this.stack[t--]}return!0}};const{utils:{stripTrailingHardline:Ta}}=cn,{normalize:Ma}=Qs;var Oa={printSubtree:function(e,t,n,r){if(n.printer.embed&&"auto"===n.embeddedLanguageFormatting)return n.printer.embed(e,t,(e,t,i)=>function(e,t,n,r,{stripTrailingHardline:i=!1}={}){const o=Ma(Object.assign({},n,t,{parentParser:n.parser,embeddedInHtml:!(!n.embeddedInHtml&&"html"!==n.parser&&"vue"!==n.parser&&"angular"!==n.parser&&"lwc"!==n.parser),originalText:e}),{passThrough:!0}),s=Gs.parse(e,o),{ast:a}=s;e=s.text;const u=a.comments;delete a.comments,Ca.attach(u,a,e,o),o[Symbol.for("comments")]=u||[],o[Symbol.for("tokens")]=a.tokens||[];const l=r(a,o);return Ca.ensureAllCommentsPrinted(u),i?"string"==typeof l?l.replace(/(?:\r?\n)*$/,""):Ta(l,!0):l}(e,t,n,r,i),n)}};const Na=cn,Fa=Na.builders,{concat:Ia,hardline:Pa,addAlignmentToDoc:Ra}=Fa,La=Na.utils;function Ba(e,t,n=0){const{printer:r}=t;r.preprocess&&(e=r.preprocess(e,t));const i=new Map;let o=function e(n,o){const s=n.getValue(),a=s&&"object"==typeof s&&void 0===o;if(a&&i.has(s))return i.get(s);let u;return u=r.willPrintOwnComments&&r.willPrintOwnComments(n,t)?ja(n,t,e,o):Ca.printComments(n,n=>ja(n,t,e,o),t,o&&o.needsSemi),a&&i.set(s,u),u}(new Aa(e));return n>0&&(o=Ra(Ia([Pa,o]),n,t.tabWidth)),La.propagateBreaks(o),o}function ja(e,t,n,r){na.ok(e instanceof Aa);const i=e.getValue(),{printer:o}=t;if(o.hasPrettierIgnore&&o.hasPrettierIgnore(e))return function(e,t){const{originalText:n,[Symbol.for("comments")]:r,locStart:i,locEnd:o}=t,s=i(e),a=o(e);for(const u of r)i(u)>=s&&o(u)<=a&&(u.printed=!0);return n.slice(s,a)}(i,t);if(i)try{const r=Oa.printSubtree(e,n,t,Ba);if(r)return r}catch(e){if(Le.PRETTIER_DEBUG)throw e}return o.print(e,t,n,r)}var $a=Ba;function qa(e,t,n,r,i=[]){if(!(tn.locEnd(e))){for(const o of Ca.getSortedChildNodes(e,n)){const s=qa(o,t,n,r,[e,...i]);if(s)return s}return!r||r(e)?{node:e,parentNodes:i}:void 0}}const Ua=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral"]),Ha=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function za(e,t){if(null==t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"espree":case"meriyah":return function(e){return"Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration")}(t.type);case"json":return Ua.has(t.type);case"graphql":return Ha.has(t.kind);case"vue":return"root"!==t.tag}return!1}var Va={calculateRange:function(e,t,n){const r=e.slice(t.rangeStart,t.rangeEnd),i=Math.max(t.rangeStart+r.search(/\S/),t.rangeStart);let o;for(o=t.rangeEnd;o>t.rangeStart&&!/\S/.test(e[o-1]);--o);const s=qa(n,i,t,e=>za(t,e)),a=qa(n,o,t,e=>za(t,e));if(!s||!a)return{rangeStart:0,rangeEnd:0};const{startNode:u,endNode:l}=function(e,t,n){let r=e.node,i=t.node;if(r===i)return{startNode:r,endNode:i};for(const o of t.parentNodes){if(!("Program"!==o.type&&"File"!==o.type&&n.locStart(o)>=n.locStart(e.node)))break;i=o}for(const o of e.parentNodes){if(!("Program"!==o.type&&"File"!==o.type&&n.locEnd(o)<=n.locEnd(t.node)))break;r=o}return{startNode:r,endNode:i}}(s,a,t);return{rangeStart:Math.min(t.locStart(u),t.locStart(l)),rangeEnd:Math.max(t.locEnd(u),t.locEnd(l))}},findNodeAtOffset:qa};const{printer:{printDocToString:Wa},debug:{printDocToDebug:Ga}}=cn,{getAlignmentSize:Ka}=Rt,{guessEndOfLine:Xa,convertEndOfLineToChars:Ya,countEndOfLineChars:Ja,normalizeEndOfLine:Za}=Lt,Qa=Qs.normalize,eu=Symbol("cursor");function tu(e,t,n){const r=t.comments;return r&&(delete t.comments,Ca.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function nu(e,t,n){if(!e||!e.trim().length)return{formatted:"",cursorOffset:-1};n=n||0;const{ast:r,text:i}=Gs.parse(e,t);if(t.cursorOffset>=0){const e=Va.findNodeAtOffset(r,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}const o=tu(i,r,t),s=$a(r,t,n),a=Wa(s,t);if(Ca.ensureAllCommentsPrinted(o),n>0){const e=a.formatted.trim();void 0!==a.cursorNodeStart&&(a.cursorNodeStart-=a.formatted.indexOf(e)),a.formatted=e+Ya(t.endOfLine)}if(t.cursorOffset>=0){let e,n,r,o,s;if(t.cursorNode&&a.cursorNodeText?(e=t.locStart(t.cursorNode),n=i.slice(e,t.locEnd(t.cursorNode)),r=t.cursorOffset-e,o=a.cursorNodeStart,s=a.cursorNodeText):(e=0,n=i,r=t.cursorOffset,o=0,s=a.formatted),n===s)return{formatted:a.formatted,cursorOffset:o+r};const u=n.split("");u.splice(r,0,eu);const l=s.split(""),c=W.diffArrays(u,l);let h=o;for(const t of c)if(t.removed){if(t.value.includes(eu))break}else h+=t.count;return{formatted:a.formatted,cursorOffset:h}}return{formatted:a.formatted,cursorOffset:-1}}function ru(e,t,n){return"number"!=typeof t||isNaN(t)||t<0||t>e.length?n:t}function iu(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i}=t;return n=ru(e,n,-1),r=ru(e,r,0),i=ru(e,i,e.length),Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:i})}function ou(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:o}=iu(e,t);const s="\ufeff"===e.charAt(0);if(s&&(e=e.slice(1),n--,r--,i--),"auto"===o&&(o=Xa(e)),e.includes("\r")){const t=t=>Ja(e.slice(0,Math.max(t,0)),"\r\n");n-=t(n),r-=t(r),i-=t(i),e=Za(e)}return{hasBOM:s,text:e,options:iu(e,Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:o}))}}function su(e,t){let{hasBOM:n,text:r,options:i}=ou(e,Qa(t));const o=Gs.resolveParser(i),s=!o.hasPragma||o.hasPragma(r);if(i.requirePragma&&!s)return{formatted:e,cursorOffset:t.cursorOffset};let a;return i.rangeStart>0||i.rangeEndi&&t.cursorOffset=o?f=t.cursorOffset+(h.length-s.length):c.cursorOffset>=0&&(f=c.cursorOffset+i);let d=r.slice(0,i)+h+r.slice(o);if("lf"!==t.endOfLine){const e=Ya(t.endOfLine);f>=0&&"\r\n"===e&&(f+=Ja(d.slice(0,f),"\n")),d=d.replace(/\n/g,e)}return{formatted:d,cursorOffset:f}}(r,i):(!s&&i.insertPragma&&i.printer.insertPragma&&(r=i.printer.insertPragma(r)),a=nu(r,i)),n&&(a.formatted="\ufeff"+a.formatted,a.cursorOffset>=0&&a.cursorOffset++),a}var au={formatWithCursor:su,parse(e,t,n){const{text:r,options:i}=ou(e,Qa(t)),o=Gs.parse(r,i);return n&&(o.ast=ea(o.ast,i)),o},formatAST(e,t){t=Qa(t);const n=$a(e,t);return Wa(n,t)},formatDoc:(e,t)=>su(Ga(e),Object.assign({},t,{parser:"babel"})).formatted,printToDoc(e,t){t=Qa(t);const{ast:n,text:r}=Gs.parse(e,t);return tu(r,n,t),$a(n,t)},printDocToString:(e,t)=>Wa(e,Qa(t))};const{getMaxContinuousCount:uu,getStringWidth:lu,getAlignmentSize:cu,getIndentSize:hu,skip:fu,skipWhitespace:du,skipSpaces:pu,skipNewline:mu,skipToLineEnd:gu,skipEverythingButNewLine:vu,skipInlineComment:yu,skipTrailingComment:bu,hasNewline:wu,hasNewlineInRange:Du,hasSpaces:Eu,isNextLineEmpty:xu,isNextLineEmptyAfterIndex:_u,isPreviousLineEmpty:Cu,getNextNonSpaceNonCommentCharacterIndex:ku,makeString:Su,addLeadingComment:Au,addDanglingComment:Tu,addTrailingComment:Mu}=Rt;var Ou={getMaxContinuousCount:uu,getStringWidth:lu,getAlignmentSize:cu,getIndentSize:hu,skip:fu,skipWhitespace:du,skipSpaces:pu,skipNewline:mu,skipToLineEnd:gu,skipEverythingButNewLine:vu,skipInlineComment:yu,skipTrailingComment:bu,hasNewline:wu,hasNewlineInRange:Du,hasSpaces:Eu,isNextLineEmpty:xu,isNextLineEmptyAfterIndex:_u,isPreviousLineEmpty:Cu,getNextNonSpaceNonCommentCharacterIndex:ku,makeString:Su,addLeadingComment:Au,addDanglingComment:Tu,addTrailingComment:Mu},Nu=function(t,n){const{languageId:r}=t,i=e(t,["languageId"]);return Object.assign({linguistLanguageId:r},i,n(t))},Fu=Be((function(e){!function(){function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()})),Iu=Be((function(e){!function(){var t,n,r,i,o,s;function a(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u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u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E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DE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF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uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),s=0;s<128;++s)i[s]=s>=97&&s<=122||s>=65&&s<=90||36===s||95===s;for(o=new Array(128),s=0;s<128;++s)o[s]=s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||36===s||95===s;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:n.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES5:function(e){return e<128?o[e]:n.NonAsciiIdentifierPart.test(a(e))},isIdentifierStartES6:function(e){return e<128?i[e]:t.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES6:function(e){return e<128?o[e]:t.NonAsciiIdentifierPart.test(a(e))}}}()})),Pu=Be((function(e){!function(){var t=Iu;function n(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function i(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function o(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function s(e){var n,r,i;if(0===e.length)return!1;if(i=e.charCodeAt(0),!t.isIdentifierStartES5(i))return!1;for(n=1,r=e.length;n=r)return!1;if(!(56320<=(o=e.charCodeAt(n))&&o<=57343))return!1;i=1024*(i-55296)+(o-56320)+65536}if(!s(i))return!1;s=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:i,isReservedWordES6:o,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:s,isIdentifierNameES6:a,isIdentifierES5:function(e,t){return s(e)&&!i(e,t)},isIdentifierES6:function(e,t){return a(e)&&!o(e,t)}}}()}));const Ru=Be((function(e,t){t.ast=Fu,t.code=Iu,t.keyword=Pu})).keyword.isIdentifierNameES5,{getLast:Lu,hasNewline:Bu,hasNewlineInRange:ju,skipWhitespace:$u}=Rt,{locStart:qu,locEnd:Uu,hasSameLocStart:Hu}=as,zu="(?:(?=.)\\s)",Vu=new RegExp("^".concat(zu,"*:")),Wu=new RegExp("^".concat(zu,"*::"));function Gu(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return e.some(e=>Gu(e,t));const n=t(e);return"boolean"==typeof n?n:Object.keys(e).some(n=>Gu(e[n],t))}function Ku(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||"CallExpression"===e.type||"OptionalCallExpression"===e.type||"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}function Xu(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}const Yu=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function Ju(e){return e&&Yu.has(e.type)}function Zu(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type}function Qu(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function el(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function tl(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function nl(e){return!("CallExpression"!==e.type&&"OptionalCallExpression"!==e.type||"Identifier"!==e.callee.type||"async"!==e.callee.name&&"inject"!==e.callee.name&&"fakeAsync"!==e.callee.name)}function rl(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function il(e){return"get"===e.kind||"set"===e.kind}function ol(e){return il(e)||Hu(e,e.value)}const sl=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]),al=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]),ul=/^(skip|[fx]?(it|describe|test))$/;function ll(e){return"CallExpression"===e.type||"OptionalCallExpression"===e.type}const cl=new RegExp("([ \n\r\t]+)"),hl=new RegExp("[^ \n\r\t]");function fl(e){return Zu(e)&&(hl.test(gl(e))||!/\n/.test(gl(e)))}function dl(e,t){return rl(t)?kl(t):t.comments&&t.comments.some(t=>t.leading&&Bu(e,Uu(t)))}function pl(e){return/^(\d+|\d+\.\d+)$/.test(e)}function ml(e){return e.quasis.some(e=>e.value.raw.includes("\n"))}function gl(e){return e.extra?e.extra.raw:e.raw}const vl={"==":!0,"!=":!0,"===":!0,"!==":!0},yl={"*":!0,"/":!0,"%":!0},bl={">>":!0,">>>":!0,"<<":!0},wl={};function Dl(e){return wl[e]}[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach((e,t)=>{e.forEach(e=>{wl[e]=t})});const El=new WeakMap;function xl(e){if(El.has(e))return El.get(e);const t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),El.set(e,t),t}const _l=new WeakMap;function Cl(e){return"prettier-ignore"===e.value.trim()}function kl(e){return e&&(e.comments&&e.comments.length>0&&e.comments.some(e=>Cl(e)&&!e.unignore)||e.prettierIgnore)}function Sl(e){return kl(e.getValue())}var Al={classChildNeedsASIProtection:function(e){if(e){if(e.static||e.accessibility)return!1;if(!e.computed){const t=e.key&&e.key.name;if("in"===t||"instanceof"===t)return!0}switch(e.type){case"ClassProperty":case"FieldDefinition":case"TSAbstractClassProperty":return e.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{const t=e.value?e.value.async:e.async,n=e.value?e.value.generator:e.generator;return!t&&"get"!==e.kind&&"set"!==e.kind&&!(!e.computed&&!n)}case"TSIndexSignature":return!0;default:return!1}}},classPropMayCauseASIProblems:function(e){const t=e.getNode();if("ClassProperty"!==t.type&&"FieldDefinition"!==t.type)return!1;const n=t.key&&t.key.name;return!("static"!==n&&"get"!==n&&"set"!==n||t.value||t.typeAnnotation)||void 0},getFunctionParameters:xl,iterateFunctionParametersPath:function(e,t){const n=e.getValue();let r=0;const i=e=>t(e,r++);n.this&&e.call(i,"this"),Array.isArray(n.parameters)?e.each(i,"parameters"):Array.isArray(n.params)&&e.each(i,"params"),n.rest&&e.call(i,"rest")},getCallArguments:function(e){if(_l.has(e))return _l.get(e);const t="ImportExpression"===e.type?[e.source]:e.arguments;return _l.set(e,t),t},iterateCallArgumentsPath:function(e,t){"ImportExpression"===e.getValue().type?e.call(e=>t(e,0),"source"):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;const t=xl(e);return t.length>0&&"RestElement"===Lu(t).type},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){const t=e.getParentNode();return"declaration"===e.getName()&&Ju(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasDanglingComments:function(e){return e.comments&&e.comments.some(e=>!e.leading&&!e.trailing)},hasFlowAnnotationComment:function(e){return e&&Xu(e[0])&&Wu.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&e.trailingComments&&Xu(e.trailingComments[0])&&Vu.test(e.trailingComments[0].value)},hasLeadingComment:function(e){return e.comments&&e.comments.some(e=>e.leading)},hasLeadingOwnLineComment:dl,hasNakedLeftSide:Ku,hasNewlineBetweenOrAfterDecorators:function(e,t){return ju(t.originalText,qu(e.decorators[0]),Uu(Lu(e.decorators)))||Bu(t.originalText,Uu(Lu(e.decorators)))},hasNgSideEffect:function(e){return Gu(e.getValue(),e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})},hasNode:Gu,hasPrettierIgnore:function(e){return Sl(e)||function(e){const t=e.getValue(),n=e.getParentNode();if(!(n&&t&&rl(t)&&rl(n)))return!1;let r=null;for(let i=n.children.indexOf(t);i>0;i--){const e=n.children[i-1];if("JSXText"!==e.type||fl(e)){r=e;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&r.expression.comments&&r.expression.comments.some(e=>Cl(e))}(e)},hasTrailingComment:function(e){return e.comments&&e.comments.some(e=>e.trailing)},hasTrailingLineComment:function(e){return e.comments&&e.comments.some(e=>e.trailing&&!Xu(e))},hasIgnoreComment:Sl,hasNodeIgnoreComment:kl,identity:function(e){return e},isBinaryish:function(e){return sl.has(e.type)},isBlockComment:Xu,isLineComment:function(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type},isPrettierIgnoreComment:Cl,isCallOrOptionalCallExpression:ll,isEmptyJSXElement:function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;const t=e.children[0];return Zu(t)&&!fl(t)},isExportDeclaration:Ju,isFlowAnnotationComment:function(e,t){const n=qu(t),r=$u(e,Uu(t));return!1!==r&&"/*"===e.slice(n,n+2)&&"*/"===e.slice(r,r+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(const n of e)if(tl(n)){if(t+=1,t>1)return!0}else if(ll(n))for(const e of n.arguments)if(tl(e))return!0;return!1},isFunctionNotation:ol,isFunctionOrArrowExpression:tl,isGetterOrSetter:il,isJestEachTemplateLiteral:function(e,t){const n=/^[fx]?(describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))},isJSXNode:rl,isJSXWhitespaceExpression:function(e){return"JSXExpressionContainer"===e.type&&Zu(e.expression)&&" "===e.expression.value&&!e.expression.comments},isLastStatement:function(e){const t=e.getParentNode();if(!t)return!0;const n=e.getValue(),r=(t.body||t.consequent).filter(e=>"EmptyStatement"!==e.type);return r[r.length-1]===n},isLiteral:Zu,isLongCurriedCallExpression:function(e){const t=e.getValue(),n=e.getParentNode();return ll(t)&&ll(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;const r=t=>e(t,n+1),i="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(i&&i.length>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every(e=>!e.computed&&(e.shorthand||e.value&&r(e.value))):"ArrayExpression"===t.type?t.elements.every(e=>null===e||r(e)):"ImportExpression"===t.type?r(t.source):"CallExpression"===t.type||"OptionalCallExpression"===t.type||"NewExpression"===t.type?e(t.callee,n)&&t.arguments.every(r):"MemberExpression"===t.type||"OptionalMemberExpression"===t.type?e(t.object,n)&&e(t.property,n):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,n):e(t.argument,n)))},isMeaningfulJSXText:fl,isMemberExpressionChain:function e(t){return("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&("Identifier"===t.object.type||e(t.object))},isMemberish:function(e){return"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"BindExpression"===e.type&&Boolean(e.object)},isNgForOf:function(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value},isNumericLiteral:Qu,isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type},isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||ol(e))},isSimpleType:function(e){return!!e&&(!("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)||!!al.has(e.type))},isSimpleNumber:pl,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");const n=e[t];return 0!==n.length&&n.every(e=>{if(e.comments)return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if("MemberExpression"===e.type||"OptionalMemberExpression"===e.type){let t=e;for(;"MemberExpression"===t.type||"OptionalMemberExpression"===t.type;){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(t=t.object,t.comments)return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1})},isStringLiteral:el,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&el(e.key)&&gl(e.key).slice(1,-1)===e.key.value&&(Ru(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||pl(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"espree"===t.parser||"meriyah"===t.parser))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&ml(e)||"TaggedTemplateExpression"===e.type&&ml(e.quasi))&&!Bu(t,qu(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(nl(t)&&n&&e(n))return tl(t.arguments[0]);if("Identifier"===(r=t).callee.type&&/^(before|after)(Each|All)$/.test(r.callee.name)&&1===r.arguments.length)return nl(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&ul.test(t.callee.name)||function(e){return("MemberExpression"===e.callee.type||"OptionalMemberExpression"===e.callee.type)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&ul.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name)}(t))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||el(t.arguments[0])))return!(t.arguments[2]&&!Qu(t.arguments[2]))&&((2===t.arguments.length?tl(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&xl(t.arguments[1]).length<=1)||nl(t.arguments[1]));var r;return!1},isTheOnlyJSXElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;const n=t.getNode();if(!n.expression||!rl(n.expression))return!1;const r=t.getParentNode();return"Program"===r.type&&1===r.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||Hu(e,e.typeAnnotation))},matchJsxWhitespaceRegex:cl,needsHardlineAfterDanglingComment:function(e){if(!e.comments)return!1;const t=Lu(e.comments.filter(e=>!e.leading&&!e.trailing));return t&&!Xu(t)},rawText:gl,returnArgumentHasLeadingComment:function(e,t){if(dl(e.originalText,t))return!0;if(Ku(t)){let r,i=t;for(;r=(n=i).expressions?n.expressions[0]:n.left||n.test||n.callee||n.object||n.tag||n.argument||n.expression;)if(i=r,dl(e.originalText,i))return!0}var n;return!1},shouldPrintComma:function(e,t="es5"){return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return!!bl[e]||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return Dl(t)===Dl(e)&&"**"!==e&&(!vl[e]||!vl[t])&&!("%"===t&&yl[e]||"%"===e&&yl[t])&&(t===e||!yl[t]||!yl[e])&&(!bl[e]||!bl[t])},startsWithNoLookaheadToken:function e(t,n){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":return e(t.expression,n);default:return!1}},getPrecedence:Dl};const{getLast:Tl,hasNewline:Ml,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Ol,getNextNonSpaceNonCommentCharacter:Nl,hasNewlineInRange:Fl,addLeadingComment:Il,addTrailingComment:Pl,addDanglingComment:Rl,getNextNonSpaceNonCommentCharacterIndex:Ll}=Rt,{isBlockComment:Bl,getFunctionParameters:jl,isPrettierIgnoreComment:$l,isJSXNode:ql,hasFlowShorthandAnnotationComment:Ul,hasFlowAnnotationComment:Hl,hasIgnoreComment:zl}=Al,{locStart:Vl,locEnd:Wl}=as;function Gl(e,t){const n=(e.body||e.properties).find(({type:e})=>"EmptyStatement"!==e);n?Il(n,t):Rl(e,t)}function Kl(e,t){"BlockStatement"===e.type?Gl(e,t):Il(e,t)}function Xl(e,t){const{precedingNode:n,enclosingNode:r,followingNode:i}=e;return!(!r||"IfStatement"!==r.type||!i)&&(")"===Nl(t,e,Wl)?(Pl(n,e),!0):n===r.consequent&&i===r.alternate?("BlockStatement"===n.type?Pl(n,e):Rl(r,e),!0):"BlockStatement"===i.type?(Gl(i,e),!0):"IfStatement"===i.type?(Kl(i.consequent,e),!0):r.consequent===i&&(Il(i,e),!0))}function Yl(e,t){const{precedingNode:n,enclosingNode:r,followingNode:i}=e;return!(!r||"WhileStatement"!==r.type||!i)&&(")"===Nl(t,e,Wl)?(Pl(n,e),!0):"BlockStatement"===i.type?(Gl(i,e),!0):r.body===i&&(Il(i,e),!0))}function Jl(e){const{precedingNode:t,enclosingNode:n,followingNode:r}=e;return!(!n||"TryStatement"!==n.type&&"CatchClause"!==n.type||!r)&&("CatchClause"===n.type&&t?(Pl(t,e),!0):"BlockStatement"===r.type?(Gl(r,e),!0):"TryStatement"===r.type?(Kl(r.finalizer,e),!0):"CatchClause"===r.type&&(Kl(r.body,e),!0))}function Zl(e){const{precedingNode:t,enclosingNode:n,followingNode:r}=e;if(n&&("ClassDeclaration"===n.type||"ClassExpression"===n.type||"DeclareClass"===n.type||"DeclareInterface"===n.type||"InterfaceDeclaration"===n.type||"TSInterfaceDeclaration"===n.type)){if(n.decorators&&n.decorators.length>0&&(!r||"Decorator"!==r.type))return Pl(n.decorators[n.decorators.length-1],e),!0;if(n.body&&r===n.body)return Gl(n.body,e),!0;if(r)for(const i of["implements","extends","mixins"])if(n[i]&&r===n[i][0])return!t||t!==n.id&&t!==n.typeParameters&&t!==n.superClass?Rl(n,e,i):Pl(t,e),!0}return!1}function Ql(e,t){const{precedingNode:n,enclosingNode:r}=e;return(r&&n&&("Property"===r.type||"TSDeclareMethod"===r.type||"TSAbstractMethodDefinition"===r.type)&&"Identifier"===n.type&&r.key===n&&":"!==Nl(t,n,Wl)||!(!n||!r||"Decorator"!==n.type||"ClassMethod"!==r.type&&"ClassProperty"!==r.type&&"FieldDefinition"!==r.type&&"TSAbstractClassProperty"!==r.type&&"TSAbstractMethodDefinition"!==r.type&&"TSDeclareMethod"!==r.type&&"MethodDefinition"!==r.type))&&(Pl(n,e),!0)}function ec(e,t){const{precedingNode:n,enclosingNode:r,followingNode:i}=e;if(n&&"FunctionTypeParam"===n.type&&r&&"FunctionTypeAnnotation"===r.type&&i&&"FunctionTypeParam"!==i.type)return Pl(n,e),!0;if(n&&("Identifier"===n.type||"AssignmentPattern"===n.type)&&r&&oc(r)&&")"===Nl(t,e,Wl))return Pl(n,e),!0;if(r&&"FunctionDeclaration"===r.type&&i&&"BlockStatement"===i.type){const n=(()=>{const e=jl(r);if(0!==e.length)return Ol(t,Wl(Tl(e)));const n=Ol(t,Wl(r.id));return!1!==n&&Ol(t,n+1)})();if(Vl(e)>n)return Gl(i,e),!0}return!1}function tc(e){const{enclosingNode:t}=e;return!(!t||"ImportSpecifier"!==t.type)&&(Il(t,e),!0)}function nc(e){const{enclosingNode:t}=e;return!(!t||"LabeledStatement"!==t.type)&&(Il(t,e),!0)}function rc(e,t,n){const{enclosingNode:r}=e;return t&&t.body&&0===t.body.length?(n?Rl(t,e):Il(t,e),!0):!(!r||"Program"!==r.type||0!==r.body.length||!r.directives||0!==r.directives.length)&&(n?Rl(r,e):Il(r,e),!0)}function ic(e){const{enclosingNode:t,followingNode:n}=e;if($l(e)&&t&&"TSMappedType"===t.type&&n&&"TSTypeParameter"===n.type&&n.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function oc(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function sc(e){return Bl(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var ac={handleOwnLineComment:function(e,t,n,r,i){return ic(e)||ec(e,t)||function(e){const{enclosingNode:t,followingNode:n}=e;return!(!t||"MemberExpression"!==t.type&&"OptionalMemberExpression"!==t.type||!n||"Identifier"!==n.type)&&(Il(t,e),!0)}(e)||Xl(e,t)||Yl(e,t)||Jl(e)||Zl(e)||tc(e)||function(e){const{enclosingNode:t}=e;return!(!t||"ForInStatement"!==t.type&&"ForOfStatement"!==t.type)&&(Il(t,e),!0)}(e)||function(e){const{precedingNode:t,enclosingNode:n,followingNode:r}=e;return!n||"UnionTypeAnnotation"!==n.type&&"TSUnionType"!==n.type?(r&&("UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)&&$l(e)&&(r.types[0].prettierIgnore=!0,e.unignore=!0),!1):($l(e)&&(r.prettierIgnore=!0,e.unignore=!0),!!t&&(Pl(t,e),!0))}(e)||rc(e,r,i)||function(e,t){const{precedingNode:n,enclosingNode:r}=e;return!!(n&&"ImportSpecifier"===n.type&&r&&"ImportDeclaration"===r.type&&Ml(t,Wl(e)))&&(Pl(n,e),!0)}(e,t)||function(e){const{enclosingNode:t}=e;return!(!t||"AssignmentPattern"!==t.type)&&(Il(t,e),!0)}(e)||Ql(e,t)||nc(e)},handleEndOfLineComment:function(e,t,n,r,i){return function(e){const{followingNode:t}=e;return!(!t||!sc(e))&&(Il(t,e),!0)}(e)||ec(e,t)||function(e,t){const{precedingNode:n,enclosingNode:r,followingNode:i}=e,o=n&&!Fl(t,Wl(n),Vl(e));return!(n&&o||!r||"ConditionalExpression"!==r.type&&"TSConditionalType"!==r.type||!i)&&(Il(i,e),!0)}(e,t)||tc(e)||Xl(e,t)||Yl(e,t)||Jl(e)||Zl(e)||nc(e)||function(e){const{precedingNode:t,enclosingNode:n}=e;return!!(n&&("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&t&&n.callee===t&&n.arguments.length>0)&&(Il(n.arguments[0],e),!0)}(e)||function(e){const{enclosingNode:t}=e;return!(!t||"Property"!==t.type&&"ObjectProperty"!==t.type)&&(Il(t,e),!0)}(e)||rc(e,r,i)||function(e){const{enclosingNode:t}=e;return!(!t||"TypeAlias"!==t.type)&&(Il(t,e),!0)}(e)||function(e){const{enclosingNode:t,followingNode:n}=e;return!(!t||"VariableDeclarator"!==t.type&&"AssignmentExpression"!==t.type||!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&"TemplateLiteral"!==n.type&&"TaggedTemplateExpression"!==n.type&&!Bl(e))&&(Il(n,e),!0)}(e)},handleRemainingComment:function(e,t,n,r,i){return!!(ic(e)||Xl(e,t)||Yl(e,t)||function(e){const{precedingNode:t,enclosingNode:n}=e;return!(!n||"ObjectProperty"!==n.type&&"Property"!==n.type||!n.shorthand||n.key!==t||"AssignmentPattern"!==n.value.type)&&(Pl(n.value.left,e),!0)}(e)||function(e,t){if(")"!==Nl(t,e,Wl))return!1;const{enclosingNode:n}=e;return n&&(oc(n)&&0===jl(n).length||("CallExpression"===n.type||"OptionalCallExpression"===n.type||"NewExpression"===n.type)&&0===n.arguments.length)?(Rl(n,e),!0):!(!n||"MethodDefinition"!==n.type||0!==jl(n.value).length)&&(Rl(n.value,e),!0)}(e,t)||Ql(e,t)||rc(e,r,i)||function(e,t){const{enclosingNode:n}=e;if(!n||"ArrowFunctionExpression"!==n.type)return!1;const r=Ll(t,e,Wl);return!1!==r&&"=>"===t.slice(r,r+2)&&(Rl(n,e),!0)}(e,t)||function(e,t){if("("!==Nl(t,e,Wl))return!1;const{precedingNode:n,enclosingNode:r}=e;return!(!n||!r||"FunctionDeclaration"!==r.type&&"FunctionExpression"!==r.type&&"ClassMethod"!==r.type&&"MethodDefinition"!==r.type&&"ObjectMethod"!==r.type)&&(Pl(n,e),!0)}(e,t)||function(e){const{precedingNode:t,enclosingNode:n,followingNode:r}=e;return!(!n||"TSMappedType"!==n.type)&&(r&&"TSTypeParameter"===r.type&&r.name?(Il(r.name,e),!0):!(!t||"TSTypeParameter"!==t.type||!t.constraint)&&(Pl(t.constraint,e),!0))}(e)||function(e){const{enclosingNode:t}=e;return!(!t||"ContinueStatement"!==t.type&&"BreakStatement"!==t.type||t.label)&&(Pl(t,e),!0)}(e)||function(e,t){const{enclosingNode:n,followingNode:r}=e;return!(r||!n||"TSMethodSignature"!==n.type&&"TSDeclareFunction"!==n.type&&"TSAbstractMethodDefinition"!==n.type||";"!==Nl(t,e,Wl))&&(Pl(n,e),!0)}(e,t))},hasLeadingComment:function(e,t=(()=>!0)){return e.leadingComments?e.leadingComments.some(t):!!e.comments&&e.comments.some(e=>e.leading&&t(e))},isTypeCastComment:sc,getGapRegex:function(e){if(e&&"BinaryExpression"!==e.type&&"LogicalExpression"!==e.type)return/^[\s&(|]*$/},getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"espree"===t.parser||"meriyah"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===jl(e.value).length&&!e.value.returnType&&(!e.value.typeParameters||0===e.value.typeParameters.length)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){const t=e.getValue(),n=e.getParentNode();return(t&&(ql(t)||Ul(t)||n&&("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&(Hl(t.leadingComments)||Hl(t.trailingComments)))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!zl(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}};const{getStringWidth:uc,getIndentSize:lc}=Rt,{builders:{concat:cc,join:hc,hardline:fc,softline:dc,group:pc,indent:mc,align:gc,lineSuffixBoundary:vc,addAlignmentToDoc:yc},printer:{printDocToString:bc},utils:{mapDoc:wc}}=cn,{isBinaryish:Dc,isJestEachTemplateLiteral:Ec,isSimpleTemplateLiteral:xc}=Al;function _c(e){return e.replace(/([\\`]|\${)/g,"\\$1")}var Cc={printTemplateLiteral:function(e,t,n){const r=e.getValue();if("TemplateLiteral"===r.type&&Ec(r,e.getParentNode())){const r=function(e,t,n){const r=e.getNode(),i=r.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(i.length>1||i.some(e=>0!==e.length)){t.__inJestEach=!0;const o=e.map(n,"expressions");t.__inJestEach=!1;const s=[],a=o.map(e=>"${"+bc(e,Object.assign({},t,{printWidth:1/0,endOfLine:"lf"})).formatted+"}"),u=[{hasLineBreak:!1,cells:[]}];for(let e=1;ee.cells.length)),c=Array.from({length:l}).fill(0),h=[{cells:i},...u.filter(e=>0!==e.cells.length)];for(const{cells:e}of h.filter(e=>!e.hasLineBreak))e.forEach((e,t)=>{c[t]=Math.max(c[t],uc(e))});return s.push(vc,"`",mc(cc([fc,hc(fc,h.map(e=>hc(" | ",e.cells.map((t,n)=>e.hasLineBreak?t:t+" ".repeat(c[n]-uc(t))))))])),fc,"`"),cc(s)}}(e,n,t);if(r)return r}let i="expressions";"TSTemplateLiteralType"===r.type&&(i="types");const o=[];let s=e.map(t,i);const a=xc(r);return a&&(s=s.map(e=>bc(e,Object.assign({},n,{printWidth:1/0})).formatted)),o.push(vc,"`"),e.each(e=>{const u=e.getName();if(o.push(t(e)),ufunction(e,t){const n=e.getValue();let r=t(e);return n.comments&&n.comments.length&&(r=pc(cc([mc(cc([dc,r])),dc]))),cc(["${",r,vc,"}"])}(e,t),"expressions")},escapeTemplateCharacters:function(e,t){return wc(e,e=>{if(!e.parts)return e;const n=e.parts.map(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):_c(e):e);return Object.assign({},e,{parts:n})})},uncookTemplateElementValue:_c};const{builders:{indent:kc,softline:Sc,literalline:Ac,concat:Tc,dedentToRoot:Mc}}=cn,{escapeTemplateCharacters:Oc}=Cc;var Nc=function(e,t,n){let r=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(e,t)=>"\\".repeat(t.length/2)+"`");const i=function(e){const t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(r),o=""!==i;o&&(r=r.replace(new RegExp("^".concat(i),"gm"),""));const s=Oc(n(r,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return Tc(["`",o?kc(Tc([Sc,s])):Tc([Ac,Mc(s)]),Sc,"`"])};const{builders:{indent:Fc,hardline:Ic,softline:Pc,concat:Rc},utils:{mapDoc:Lc,replaceNewlinesWithLiterallines:Bc}}=cn,{printTemplateExpressions:jc}=Cc;var $c=function(e,t,n){const r=e.getValue(),i=r.quasis.map(e=>e.value.raw);let o=0;return function(e,t,n){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";const r=function(e,t){if(!t||!t.length)return e;let n=0;const r=Lc(e,e=>{if(!e||!e.parts||!e.parts.length)return e;let{parts:r}=e;const i=r.indexOf("@"),o=i+1;if(i>-1&&"string"==typeof r[o]&&r[o].startsWith("prettier-placeholder")){const e=r[i],t=r[o],n=r.slice(o+1);r=r.slice(0,i).concat([e+t]).concat(n)}const s=[];return r.forEach(e=>{"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).forEach((e,r)=>{r%2!=0?(s.push(t[e]),n++):s.push(Bc(e))}):s.push(e)}),Object.assign({},e,{parts:s})});return t.length===n?r:null}(e,n);if(!r)throw new Error("Couldn't insert all the expressions");return Rc(["`",Fc(Rc([Ic,r])),Pc,"`"])}(n(i.reduce((e,t,n)=>0===n?t:e+"@prettier-placeholder-"+o+++"-id"+t,""),{parser:"scss"},{stripTrailingHardline:!0}),r,jc(e,t))};const{builders:{indent:qc,join:Uc,hardline:Hc,concat:zc}}=cn,{escapeTemplateCharacters:Vc,printTemplateExpressions:Wc}=Cc;function Gc(e){const t=[];let n=!1;return e.map(e=>e.trim()).forEach((e,r,i)=>{""!==e&&(""===i[r-1]&&n?t.push(zc([Hc,e])):t.push(e),n=!0)}),0===t.length?null:Uc(Hc,t)}var Kc=function(e,t,n){const r=e.getValue(),i=r.quasis.length;if(1===i&&""===r.quasis[0].value.raw.trim())return"``";const o=Wc(e,t),s=[];for(let a=0;a2&&""===l[0].trim()&&""===l[1].trim(),d=c>2&&""===l[c-1].trim()&&""===l[c-2].trim(),p=l.every(e=>/^\s*(?:#[^\n\r]*)?$/.test(e));if(!t&&/#[^\n\r]*$/.test(l[c-1]))return null;let m=null;m=p?Gc(l):n(u,{parser:"graphql"},{stripTrailingHardline:!0}),m?(m=Vc(m,!1),!e&&f&&s.push(""),s.push(m),!t&&d&&s.push("")):e||t||!f||s.push(""),h&&s.push(h)}return zc(["`",qc(zc([Hc,Uc(Hc,s)])),Hc,"`"])};const{builders:{indent:Xc,line:Yc,hardline:Jc,concat:Zc,group:Qc},utils:{mapDoc:eh}}=cn,{printTemplateExpressions:th,uncookTemplateElementValue:nh}=Cc;let rh=0;var ih=function(e,t,n,r,{parser:i}){const o=e.getValue(),s=rh;rh=rh+1>>>0;const a=e=>"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(s,"_IN_JS"),u=o.quasis.map((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+a(t)).join(""),l=th(e,t);if(0===l.length&&0===u.trim().length)return"``";const c=new RegExp(a("(\\d+)"),"g");let h=0;const f=n(u,{parser:i,__onHtmlRoot(e){h=e.children.length}},{stripTrailingHardline:!0}),d=eh(f,e=>{if("string"!=typeof e)return e;const t=[],n=e.split(c);for(let i=0;i1?Xc(Qc(d)):Qc(d),m,"`"]))};const{isBlockComment:oh}=Al,{hasLeadingComment:sh}=ac;function ah(e){return function(e){const t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some(e=>"jsx"===e.name.name)||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}(e)||function(e){const t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;const{tag:n}=t;switch(n.type){case"MemberExpression":return lh(n.object)||ch(n);case"CallExpression":return lh(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(lh(n.callee.object.object)||ch(n.callee.object))||"CallExpression"===n.callee.object.type&&lh(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}(e)||function(e){const t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}(e)||function(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"ArrayExpression"===e.type&&"elements"===t,(e,t)=>("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t,...uh)}(e)?"css":function(e){const t=e.getValue(),n=e.getParentNode();return hh(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)?"graphql":function(e){return hh(e.getValue(),"HTML")||e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t)}(e)?"html":function(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t,...uh)}(e)?"angular":function(e){const t=e.getValue(),n=e.getParentNode();return n&&"TaggedTemplateExpression"===n.type&&1===t.quasis.length&&"Identifier"===n.tag.type&&("md"===n.tag.name||"markdown"===n.tag.name)}(e)?"markdown":void 0}const uh=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function lh(e){return"Identifier"===e.type&&"styled"===e.name}function ch(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function hh(e,t){return sh(e,e=>oh(e)&&e.value===" ".concat(t," "))}var fh=function(e,t,n,r){const i=e.getValue();if("TemplateLiteral"!==i.type||function({quasis:e}){return e.some(({value:{cooked:e}})=>null===e)}(i))return;const o=ah(e);return o?"markdown"===o?Nc(e,t,n):"css"===o?$c(e,t,n):"graphql"===o?Kc(e,t,n):"html"===o||"angular"===o?ih(e,t,n,r,{parser:o}):void 0:void 0};const{isBlockComment:dh}=Al,ph=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]);function mh(e,t,n){if("Program"===e.type&&delete t.sourceType,"BigIntLiteral"!==e.type&&"BigIntLiteralTypeAnnotation"!==e.type||t.value&&(t.value=t.value.toLowerCase()),"BigIntLiteral"!==e.type&&"Literal"!==e.type||t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;"Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"ClassMethod"!==e.type&&"FieldDefinition"!==e.type&&"TSDeclareMethod"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!=typeof e.key||!e.key||"Literal"!==e.key.type&&"NumericLiteral"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"OptionalMemberExpression"===e.type&&!1===e.optional&&(t.type="MemberExpression",delete t.optional),"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some(e=>"jsx"===e.name.name)&&t.children.filter(e=>"JSXExpressionContainer"===e.type&&"TemplateLiteral"===e.expression.type).map(e=>e.expression).reduce((e,t)=>e.concat(t.quasis),[]).forEach(e=>delete e.value),"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&t.value.expression.quasis.forEach(e=>delete e.value),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));const r=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===r.type&&"Component"===r.callee.name&&1===r.arguments.length){const n=e.expression.arguments[0].properties;t.expression.arguments[0].properties.forEach((e,t)=>{let r=null;switch(n[t].key.name){case"styles":"ArrayExpression"===e.value.type&&(r=e.value.elements[0]);break;case"template":"TemplateLiteral"===e.value.type&&(r=e.value)}r&&r.quasis.forEach(e=>delete e.value)})}"TaggedTemplateExpression"!==e.type||"MemberExpression"!==e.tag.type&&("Identifier"!==e.tag.type||"gql"!==e.tag.name&&"graphql"!==e.tag.name&&"css"!==e.tag.name&&"md"!==e.tag.name&&"markdown"!==e.tag.name&&"html"!==e.tag.name)&&"CallExpression"!==e.tag.type||t.quasi.quasis.forEach(e=>delete e.value),"TemplateLiteral"===e.type&&((e.leadingComments&&e.leadingComments.some(e=>dh(e)&&["GraphQL","HTML"].some(t=>e.value===" ".concat(t," ")))||"CallExpression"===n.type&&"graphql"===n.callee.name)&&t.quasis.forEach(e=>delete e.value),e.leadingComments||t.quasis.forEach(e=>{e.value&&delete e.value.cooked})),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd())}mh.ignoredProperties=ph;var gh=mh;const vh=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");const t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;const n=t.filter(e=>"\r\n"===e).length;return n>t.length-n?"\r\n":"\n"};var yh=vh;yh.graceful=e=>"string"==typeof e&&vh(e)||"\n";var bh=Be((function(e,t){function n(){const e=Hr;return n=function(){return e},e}function r(){const e=(t=yh)&&t.__esModule?t:{default:t};var t;return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.extract=function(e){const t=e.match(s);return t?t[0].trimLeft():""},t.strip=function(e){const t=e.match(s);return t&&t[0]?e.substring(t[0].length):e},t.parse=function(e){return d(e).pragmas},t.parseWithComments=d,t.print=function({comments:e="",pragmas:t={}}){const i=(0,r().default)(e)||n().EOL,o=" *",s=Object.keys(t),a=s.map(e=>p(e,t[e])).reduce((e,t)=>e.concat(t),[]).map(e=>" * "+e+i).join("");if(!e){if(0===s.length)return"";if(1===s.length&&!Array.isArray(t[s[0]])){const e=t[s[0]];return"".concat("/**"," ").concat(p(s[0],e)[0]).concat(" */")}}const u=e.split(i).map(e=>"".concat(o," ").concat(e)).join(i)+i;return"/**"+i+(e?u:"")+(e&&s.length?o+i:"")+a+" */"};const i=/\*\/$/,o=/^\/\*\*/,s=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,a=/(^|\s+)\/\/([^\r\n]*)/g,u=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,h=/(\r?\n|^) *\* ?/g,f=[];function d(e){const t=(0,r().default)(e)||n().EOL;e=e.replace(o,"").replace(i,"").replace(h,"$1");let s="";for(;s!==e;)s=e,e=e.replace(l,"".concat(t,"$1 $2").concat(t));e=e.replace(u,"").trimRight();const d=Object.create(null),p=e.replace(c,"").replace(u,"").trimRight();let m;for(;m=c.exec(e);){const e=m[2].replace(a,"");"string"==typeof d[m[1]]||Array.isArray(d[m[1]])?d[m[1]]=f.concat(d[m[1]],e):d[m[1]]=e}return{comments:p,pragmas:d}}function p(e,t){return f.concat(t).map(t=>"@".concat(e," ").concat(t).trim())}}));const{parseWithComments:wh,strip:Dh,extract:Eh,print:xh}=bh,{getShebang:_h}=Rt,{normalizeEndOfLine:Ch}=Lt;function kh(e){const t=_h(e);t&&(e=e.slice(t.length+1));const n=Eh(e),{pragmas:r,comments:i}=wh(n);return{shebang:t,text:e,pragmas:r,comments:i}}var Sh={hasPragma:function(e){const t=Object.keys(kh(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){const{shebang:t,text:n,pragmas:r,comments:i}=kh(e),o=Dh(n),s=xh({pragmas:Object.assign({format:""},r),comments:i.trimStart()});return(t?"".concat(t,"\n"):"")+Ch(s)+(o.startsWith("\n")?"\n":"\n\n")+o}};const{getFunctionParameters:Ah,getLeftSidePathName:Th,hasFlowShorthandAnnotationComment:Mh,hasNakedLeftSide:Oh,hasNode:Nh,isBitwiseOperator:Fh,startsWithNoLookaheadToken:Ih,shouldFlatten:Ph,getPrecedence:Rh}=Al;function Lh(e,t){const n=e.getParentNode();if(!n)return!1;const r=e.getName(),i=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){switch(e.type){case"ObjectExpression":return!0;default:return!1}}(i)&&Bh(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"FieldDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(i))return!1;if("flow"!==t.parser&&Mh(e.getValue()))return!0;if("Identifier"===i.type)return!!(i.extra&&i.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(i.name));switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===r&&("ArrowFunctionExpression"===i.type||"AssignmentExpression"===i.type||"AwaitExpression"===i.type||"BinaryExpression"===i.type||"ConditionalExpression"===i.type||"LogicalExpression"===i.type||"NewExpression"===i.type||"ObjectExpression"===i.type||"ParenthesizedExpression"===i.type||"SequenceExpression"===i.type||"TaggedTemplateExpression"===i.type||"UnaryExpression"===i.type||"UpdateExpression"===i.type||"YieldExpression"===i.type))return!0;break;case"ExportDefaultDeclaration":return jh(e,t)||"SequenceExpression"===i.type;case"Decorator":if("expression"===r){let e=!1,t=!1,n=i;for(;n;)switch(n.type){case"MemberExpression":t=!0,n=n.object;break;case"CallExpression":if(t||e)return!0;e=!0,n=n.callee;break;case"Identifier":return!1;default:return!0}return!0}break;case"ExpressionStatement":if(Ih(i,!0))return!0;break;case"ArrowFunctionExpression":if("body"===r&&"SequenceExpression"!==i.type&&Ih(i,!1))return!0}switch(i.type){case"SpreadElement":case"SpreadProperty":return"object"===r&&"MemberExpression"===n.type;case"UpdateExpression":if("UnaryExpression"===n.type)return i.prefix&&("++"===i.operator&&"+"===n.operator||"--"===i.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return i.operator===n.operator&&("+"===i.operator||"-"===i.operator);case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"BinaryExpression":return"left"===r&&"**"===n.operator;case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if("UpdateExpression"===n.type||"PipelineTopicExpression"===n.type&&"|>"===i.operator)return!0;if("in"===i.operator&&function(e){let t=0,n=e.getValue();for(;n;){const r=e.getParentNode(t++);if(r&&"ForStatement"===r.type&&r.init===n)return!0;n=r}return!1}(e))return!0;if("|>"===i.operator&&i.extra&&i.extra.parenthesized){const t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"ConditionalExpression":return"TSAsExpression"===i.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===r;case"ClassExpression":case"ClassDeclaration":return"superClass"===r;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSAsExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"AssignmentExpression":return"left"===r&&("TSTypeAssertion"===i.type||"TSAsExpression"===i.type);case"LogicalExpression":if("LogicalExpression"===i.type)return n.operator!==i.operator;case"BinaryExpression":{const{operator:e,type:t}=i;if(!e&&"TSTypeAssertion"!==t)return!0;const o=Rh(e),s=n.operator,a=Rh(s);return a>o||"right"===r&&a===o||a===o&&!Ph(s,e)||(a"===n.operator);default:return!1}case"TSJSDocFunctionType":case"TSConditionalType":if("extendsType"===r&&"TSConditionalType"===n.type)return!0;case"TSFunctionType":case"TSConstructorType":if("checkType"===r&&"TSConditionalType"===n.type)return!0;case"TSUnionType":case"TSIntersectionType":if("TSUnionType"===n.type||"TSIntersectionType"===n.type)return!0;case"TSInferType":if("TSInferType"===i.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"objectType"===r&&"TSIndexedAccessType"===n.type||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&/^TSJSDoc/.test(e.getParentNode(1).type);case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type;case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type;case"FunctionTypeAnnotation":{const t="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===n.type&&null===n.name&&Ah(i).some(e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type)}case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof i.value&&"ExpressionStatement"===n.type&&!n.directive){const t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===r&&"MemberExpression"===n.type&&"number"==typeof i.value;case"AssignmentExpression":{const t=e.getParentNode(1);return"body"===r&&"ArrowFunctionExpression"===n.type||("key"!==r||"ClassProperty"!==n.type&&"FieldDefinition"!==n.type||!n.computed)&&("init"!==r&&"update"!==r||"ForStatement"!==n.type)&&("ExpressionStatement"===n.type?"ObjectPattern"===i.left.type:("key"!==r||"TSPropertySignature"!==n.type)&&"AssignmentExpression"!==n.type&&("SequenceExpression"!==n.type||!t||"ForStatement"!==t.type||t.init!==n&&t.update!==n)&&("value"!==r||"Property"!==n.type||!t||"ObjectPattern"!==t.type||!t.properties.includes(n))&&"NGChainedExpression"!==n.type)}case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"PipelineTopicExpression":return!(!i.extra||!i.extra.parenthesized);case"BinaryExpression":return"|>"!==n.operator||i.extra&&i.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TSAsExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===r;default:return!1}case"ClassExpression":switch(n.type){case"NewExpression":return"callee"===r;default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{const t=e.getParentNode(1);if("object"===r&&"MemberExpression"===n.type||"callee"===r&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===t.type&&t.object===n)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)){let e=i;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===r&&("MemberExpression"===n.type||"OptionalMemberExpression"===n.type);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||!("ObjectProperty"!==n.type||i.extra&&i.extra.parenthesized)||"ArrayExpression"===n.type||("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&n.arguments[r]===i||"right"===r&&"NGPipeExpression"===n.type||"property"===r&&"MemberExpression"===n.type||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===r||"left"===r&&"BinaryExpression"===n.type&&"<"===n.operator||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"CallExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&"ObjectProperty"!==n.type&&"OptionalCallExpression"!==n.type&&"Property"!==n.type&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type&&"YieldExpression"!==n.type;case"TypeAnnotation":return"returnType"===r&&"ArrowFunctionExpression"===n.type&&function(e){return Nh(e,e=>"ObjectTypeAnnotation"===e.type&&Nh(e,e=>"FunctionTypeAnnotation"===e.type||void 0)||void 0)}(i)}return!1}function Bh(e){const t=e.getValue(),n=e.getParentNode(),r=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof r&&n.arguments[r]===t&&n.arguments.length-1===r)return e.callParent(Bh);break;case"ObjectProperty":if("value"===r){const t=e.getParentNode(1);return t.properties[t.properties.length-1]===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(Bh);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(Bh);break;case"UnaryExpression":if(n.prefix)return e.callParent(Bh)}return!1}function jh(e,t){const n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!Lh(e,t):!(!Oh(n)||"ExportDefaultDeclaration"!==r.type&&Lh(e,t))&&e.call(e=>jh(e,t),...Th(e,n))}var $h=Lh;const{builders:{concat:qh,join:Uh,line:Hh,group:zh,softline:Vh,indent:Wh}}=cn;var Gh={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,n){const r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call(e=>{const t=Uh(qh([",",Hh]),e.map(n,"params")),{params:r}=e.getValue();return 1===r.length?t:qh(["(",Wh(qh([Vh,zh(t)])),Vh,")"])},"program","body",0):t.__isVueBindings?e.call(e=>Uh(qh([",",Hh]),e.map(n,"params")),"program","body",0):void 0}},Kh=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign({},e,{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}};const{builders:{concat:Xh,group:Yh,indent:Jh,join:Zh,line:Qh,hardline:ef}}=cn,{hasNewlineBetweenOrAfterDecorators:tf,getParentExportDeclaration:nf}=Al;var rf={printOptionalToken:function(e){const t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"},printFunctionTypeParameters:function(e,t,n){const r=e.getValue();return r.typeArguments?e.call(n,"typeArguments"):r.typeParameters?e.call(n,"typeParameters"):""},printBindExpressionCallee:function(e,t,n){return Xh(["::",e.call(n,"callee")])},printTypeScriptModifiers:function(e,t,n){const r=e.getValue();return r.modifiers&&r.modifiers.length?Xh([Zh(" ",e.map(n,"modifiers"))," "]):""},printDecorators:function(e,t,n){const r=e.getValue();return Yh(Xh([Zh(Qh,e.map(n,"decorators")),tf(r,t)?ef:Qh]))},printFlowDeclaration:function(e,t){const n=nf(e);return n?(na.strictEqual(n.type,"DeclareExportDeclaration"),t):Xh(["declare ",t])},adjustClause:function(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?Xh([" ",t]):Jh(Xh([Qh,t]))}};const{builders:{concat:of,softline:sf,group:af,indent:uf,join:lf,line:cf,ifBreak:hf,hardline:ff}}=cn,{printDanglingComments:df}=Ca,{hasDanglingComments:pf,shouldPrintComma:mf,needsHardlineAfterDanglingComment:gf}=Al,{locStart:vf,hasSameLoc:yf}=as;function bf(e,t,n){const r=e.getValue();if(!r.source)return"";const i=[];return Df(r,t)||i.push(" from"),i.push(" ",e.call(n,"source")),of(i)}function wf(e,t,n){const r=e.getValue();if(Df(r,t))return"";const i=[" "];if(r.specifiers&&r.specifiers.length>0){const o=[],s=[];e.each(t=>{const r=e.getValue().type;if("ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportDefaultSpecifier"===r)o.push(n(t));else{if("ExportSpecifier"!==r&&"ImportSpecifier"!==r)throw new Error("Unknown specifier type ".concat(JSON.stringify(r)));s.push(n(t))}},"specifiers"),i.push(lf(", ",o)),0!==s.length&&(0!==o.length&&i.push(", "),s.length>1||o.length>0||r.specifiers.some(e=>e.comments)?i.push(af(of(["{",uf(of([t.bracketSpacing?cf:sf,lf(of([",",cf]),s)])),hf(mf(t)?",":""),t.bracketSpacing?cf:sf,"}"]))):i.push(of(["{",t.bracketSpacing?" ":"",of(s),t.bracketSpacing?" ":"","}"])))}else i.push("{}");return of(i)}function Df(e,t){const{type:n,importKind:r,source:i,specifiers:o}=e;return!("ImportDeclaration"!==n||Array.isArray(o)&&o.length>0||"type"===r)&&!/{\s*}/.test(t.originalText.slice(vf(e),vf(i)))}function Ef(e,t,n){const r=e.getNode();return Array.isArray(r.assertions)&&0!==r.assertions.length?of([" assert {",t.bracketSpacing?" ":"",lf(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]):""}var xf={printImportDeclaration:function(e,t,n){const r=e.getValue(),i=t.semi?";":"",o=[],{importKind:s}=r;return o.push("import"),s&&"value"!==s&&o.push(" ",s),o.push(wf(e,t,n),bf(e,t,n),Ef(e,t,n)),o.push(i),of(o)},printExportDeclaration:function(e,t,n){const r=e.getValue(),i=[],{type:o,exportKind:s,declaration:a}=r;return"DeclareExportDeclaration"===o&&i.push("declare "),i.push("export"),(r.default||"ExportDefaultDeclaration"===o)&&i.push(" default"),pf(r)&&(i.push(" ",df(e,t,!0)),gf(r)&&i.push(ff)),a?i.push(" ",e.call(n,"declaration")):i.push("type"===s?" type":"",wf(e,t,n),bf(e,t,n),Ef(e,t,n)),function(e,t){if(!t.semi)return!1;const{type:n,declaration:r}=e,i=e.default||"ExportDefaultDeclaration"===n;if(!r)return!0;const{type:o}=r;return!(!i||"ClassDeclaration"===o||"FunctionDeclaration"===o||"TSInterfaceDeclaration"===o||"DeclareClass"===o||"DeclareFunction"===o||"TSDeclareFunction"===o||"EnumDeclaration"===o)}(r,t)&&i.push(";"),of(i)},printExportAllDeclaration:function(e,t,n){const r=e.getValue();let i=t.semi?";":"";const o=[],{type:s,exportKind:a,exported:u}=r;return"DeclareExportAllDeclaration"===s&&(o.push("declare "),i=""),o.push("export"),"type"===a&&o.push(" type"),o.push(" *"),u&&o.push(" as ",e.call(n,"exported")),o.push(bf(e,t,n),Ef(e,t,n),i),of(o)},printModuleSpecifier:function(e,t,n){const r=e.getNode(),{type:i,importKind:o}=r,s=[];"ImportSpecifier"===i&&o&&s.push(o," ");const a=i.startsWith("Import"),u=a?"imported":"local",l=a?"local":"exported";let c="",h="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?c="*":r[u]&&(c=e.call(n,u)),!r[l]||r[u]&&yf(r[u],r[l])||(h=e.call(n,l)),s.push(c,c&&h?" as ":"",h),of(s)}};const{hasNewlineInRange:_f}=Rt,{isJSXNode:Cf,isBlockComment:kf}=Al,{locStart:Sf,locEnd:Af}=as,{builders:{concat:Tf,line:Mf,softline:Of,group:Nf,indent:Ff,align:If,ifBreak:Pf,dedent:Rf,breakParent:Lf}}=cn;var Bf=function(e,t,n,r){const i=e.getValue(),o=i[r.consequentNodePropertyName],s=i[r.alternateNodePropertyName],a=[];let u=!1;const l=e.getParentNode(),c=l.type===r.conditionalNodeType&&r.testNodePropertyNames.some(e=>l[e]===i);let h,f,d=l.type===r.conditionalNodeType&&!c,p=0;do{f=h||i,h=e.getParentNode(p),p++}while(h&&h.type===r.conditionalNodeType&&r.testNodePropertyNames.every(e=>h[e]!==f));const m=h||l,g=f;if(r.shouldCheckJsx&&(Cf(i[r.testNodePropertyNames[0]])||Cf(o)||Cf(s)||function(e){return function(e){const t=[];return function e(n){"ConditionalExpression"===n.type?(e(n.test),e(n.consequent),e(n.alternate)):t.push(n)}(e),t}(e).some(Cf)}(g))){u=!0,d=!0;const t=e=>Tf([Pf("(",""),Ff(Tf([Of,e])),Of,Pf(")","")]),i=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;a.push(" ? ",i(o)?e.call(n,r.consequentNodePropertyName):t(e.call(n,r.consequentNodePropertyName))," : ",s.type===r.conditionalNodeType||i(s)?e.call(n,r.alternateNodePropertyName):t(e.call(n,r.alternateNodePropertyName)))}else{const u=Tf([Mf,"? ",o.type===r.conditionalNodeType?Pf("","("):"",If(2,e.call(n,r.consequentNodePropertyName)),o.type===r.conditionalNodeType?Pf("",")"):"",Mf,": ",s.type===r.conditionalNodeType?e.call(n,r.alternateNodePropertyName):If(2,e.call(n,r.alternateNodePropertyName))]);a.push(l.type!==r.conditionalNodeType||l[r.alternateNodePropertyName]===i||c?u:t.useTabs?Rf(Ff(u)):If(Math.max(0,t.tabWidth-2),u))}const v=Jo([...r.testNodePropertyNames.map(e=>i[e].comments),o.comments,s.comments]).filter(Boolean).some(e=>kf(e)&&_f(t.originalText,Sf(e),Af(e))),y=!u&&("MemberExpression"===l.type||"OptionalMemberExpression"===l.type||"NGPipeExpression"===l.type&&l.left===i)&&!l.computed,b=(e=>l===m?Nf(e,{shouldBreak:v}):v?Tf([e,Lf]):e)(Tf([].concat((w=Tf(r.beforeParts()),l.type===r.conditionalNodeType&&l[r.alternateNodePropertyName]===i?If(2,w):w),d?Tf(a):Ff(Tf(a)),r.afterParts(y))));var w;return c?Nf(Tf([Ff(Tf([Of,b])),Of])):b};const{getNextNonSpaceNonCommentCharacter:jf,isNextLineEmpty:$f}=Rt,{printDanglingComments:qf}=Ca,{builders:{concat:Uf,line:Hf,hardline:zf,softline:Vf,group:Wf,indent:Gf,ifBreak:Kf},utils:{removeLines:Xf}}=cn,{getFunctionParameters:Yf,iterateFunctionParametersPath:Jf,isSimpleType:Zf,isTestCall:Qf,isTypeAnnotationAFunction:ed,isObjectType:td,isObjectTypePropertyAFunction:nd,hasRestParameter:rd,shouldPrintComma:id}=Al,{locEnd:od}=as,{printFunctionTypeParameters:sd}=rf;function ad(e){if(!e)return!1;const t=Yf(e);if(1!==t.length)return!1;const[n]=t;return!n.comments&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&td(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&td(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}var ud={printFunctionParameters:function(e,t,n,r,i){const o=e.getValue(),s=Yf(o),a=i?sd(e,n,t):"";if(0===s.length)return Uf([a,"(",qf(e,n,!0,e=>")"===jf(n.originalText,e,od)),")"]);const u=e.getParentNode(),l=Qf(u),c=ad(o),h=r&&!s.some(e=>e.comments),f=[];if(Jf(e,(e,r)=>{const i=r===s.length-1;i&&o.rest&&f.push("..."),f.push(e.call(t)),i||(f.push(","),l||c||h?f.push(" "):$f(n.originalText,s[r],od)?f.push(zf,zf):f.push(Hf))}),h)return Wf(Uf([Xf(a),"(",Uf(f.map(Xf)),")"]));const d=s.every(e=>!e.decorators);return c&&d||l?Uf([a,"(",Uf(f),")"]):(nd(u)||ed(u)||"TypeAlias"===u.type||"UnionTypeAnnotation"===u.type||"TSUnionType"===u.type||"IntersectionTypeAnnotation"===u.type||"FunctionTypeAnnotation"===u.type&&u.returnType===o)&&1===s.length&&null===s[0].name&&o.this!==s[0]&&s[0].typeAnnotation&&null===o.typeParameters&&Zf(s[0].typeAnnotation)&&!o.rest?"always"===n.arrowParens?Uf(["(",Uf(f),")"]):Uf(f):Uf([a,"(",Gf(Uf([Vf,Uf(f)])),Kf(!rd(o)&&id(n,"all")?",":""),Vf,")"])},shouldHugFunctionParameters:ad};const{builders:{concat:ld}}=cn,{isFlowAnnotationComment:cd,isSimpleType:hd,isObjectType:fd}=Al;var dd={printTypeAnnotation:function(e,t,n){const r=e.getValue();if(!r.typeAnnotation)return"";const i=e.getParentNode(),o=r.definite||i&&"VariableDeclarator"===i.type&&i.definite,s="DeclareFunction"===i.type&&i.id===r;return cd(t.originalText,r.typeAnnotation)?ld([" /*: ",e.call(n,"typeAnnotation")," */"]):ld([s?"":o?"!: ":": ",e.call(n,"typeAnnotation")])},shouldHugType:function(e){if(hd(e)||fd(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){const t=e.types.filter(e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type).length,n=e.types.some(e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type);if(e.types.length-1===t&&n)return!0}return!1}};const{printDanglingComments:pd}=Ca,{builders:{concat:md,line:gd,softline:vd,group:yd,indent:bd,ifBreak:wd}}=cn,{getLast:Dd,isNextLineEmpty:Ed}=Rt,{hasDanglingComments:xd,shouldPrintComma:_d}=Al,{locEnd:Cd}=as,{printOptionalToken:kd}=rf,{printTypeAnnotation:Sd}=dd;function Ad(e,t,n,r){const i=[];let o=[];return e.each(e=>{i.push(md(o)),i.push(yd(r(e))),o=[",",gd],e.getValue()&&Ed(t.originalText,e.getValue(),Cd)&&o.push(vd)},n),md(i)}var Td={printArray:function(e,t,n){const r=e.getValue(),i=[],o="TupleExpression"===r.type?"#[":"[";if(0===r.elements.length)xd(r)?i.push(yd(md([o,pd(e,t),vd,"]"]))):i.push(o,"]");else{const s=Dd(r.elements),a=!(s&&"RestElement"===s.type),u=a&&null===s,l=!t.__inJestEach&&r.elements.length>1&&r.elements.every((e,t,n)=>{const r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;const i=n[t+1];if(i&&r!==i.type)return!1;const o="ArrayExpression"===r?"elements":"properties";return e[o]&&e[o].length>1});i.push(yd(md([o,bd(md([vd,Ad(e,t,"elements",n)])),u?",":"",wd(a&&!u&&_d(t)?",":""),pd(e,t,!0),vd,"]"]),{shouldBreak:l}))}return i.push(kd(e),Sd(e,t,n)),md(i)},printArrayItems:Ad};const{printDanglingComments:Md}=Ca,{builders:{concat:Od,line:Nd,softline:Fd,group:Id,indent:Pd,ifBreak:Rd,hardline:Ld}}=cn,{getLast:Bd,isNextLineEmpty:jd,hasNewlineInRange:$d,hasNewline:qd}=Rt,{hasDanglingComments:Ud,shouldPrintComma:Hd,hasNodeIgnoreComment:zd,isBlockComment:Vd}=Al,{locStart:Wd,locEnd:Gd}=as,{printOptionalToken:Kd}=rf,{shouldHugFunctionParameters:Xd}=ud,{printTypeAnnotation:Yd,shouldHugType:Jd}=dd;var Zd={printObject:function(e,t,n){const r=t.semi?";":"",i=e.getValue();let o;o="TSTypeLiteral"===i.type?"members":"TSInterfaceBody"===i.type?"body":"properties";const s="ObjectTypeAnnotation"===i.type,a=[];s&&a.push("indexers","callProperties","internalSlots"),a.push(o);const u=a.map(e=>i[e][0]).sort((e,t)=>Wd(e)-Wd(t))[0],l=e.getParentNode(0),c=s&&l&&("InterfaceDeclaration"===l.type||"DeclareInterface"===l.type||"DeclareClass"===l.type)&&"body"===e.getName(),h="TSInterfaceBody"===i.type||c||"ObjectPattern"===i.type&&"FunctionDeclaration"!==l.type&&"FunctionExpression"!==l.type&&"ArrowFunctionExpression"!==l.type&&"ObjectMethod"!==l.type&&"ClassMethod"!==l.type&&"ClassPrivateMethod"!==l.type&&"AssignmentPattern"!==l.type&&"CatchClause"!==l.type&&i.properties.some(e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type))||"ObjectPattern"!==i.type&&u&&$d(t.originalText,Wd(i),Wd(u)),f=c?";":"TSInterfaceBody"===i.type||"TSTypeLiteral"===i.type?Rd(r,";"):",",d="RecordExpression"===i.type?"#{":i.exact?"{|":"{",p=i.exact?"|}":"}",m=[];a.forEach(t=>{e.each(e=>{const t=e.getValue();m.push({node:t,printed:n(e),loc:Wd(t)})},t)});let g=[];const v=m.sort((e,t)=>e.loc-t.loc).map(e=>{const n=Od(g.concat(Id(e.printed)));return g=[f,Nd],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!zd(e.node)||g.shift(),jd(t.originalText,e.node,Gd)&&g.push(Ld),n});if(i.inexact){let n;if(Ud(i)){const r=!i.comments.every(e=>Vd(e)),o=Md(e,t,!0);n=Od([o,r||qd(t.originalText,Gd(i.comments[i.comments.length-1]))?Ld:Nd,"..."])}else n="...";v.push(Od(g.concat(n)))}const y=Bd(i[o]),b=!(i.inexact||y&&"RestElement"===y.type||y&&("TSPropertySignature"===y.type||"TSCallSignatureDeclaration"===y.type||"TSMethodSignature"===y.type||"TSConstructSignatureDeclaration"===y.type)&&zd(y));let w;if(0===v.length){if(!Ud(i))return Od([d,p,Yd(e,t,n)]);w=Id(Od([d,Md(e,t),Fd,p,Kd(e),Yd(e,t,n)]))}else w=Od([d,Pd(Od([t.bracketSpacing?Nd:Fd,Od(v)])),Rd(b&&(","!==f||Hd(t))?f:""),Od([t.bracketSpacing?Nd:Fd,p]),Kd(e),Yd(e,t,n)]);return e.match(e=>"ObjectPattern"===e.type&&!e.decorators,(e,t,n)=>Xd(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n)||e.match(Jd,(e,t)=>"typeAnnotation"===t,(e,t)=>"typeAnnotation"===t,(e,t,n)=>Xd(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n)?w:Id(w,{shouldBreak:h})}};const{printComments:Qd,printDanglingComments:ep}=Ca,{builders:{concat:tp,line:np,hardline:rp,softline:ip,group:op,indent:sp,conditionalGroup:ap,fill:up,ifBreak:lp,lineSuffixBoundary:cp},utils:{willBreak:hp,isLineNext:fp,isEmpty:dp}}=cn,{getLast:pp,getPreferredQuote:mp}=Rt,{hasTrailingComment:gp,isEmptyJSXElement:vp,isJSXWhitespaceExpression:yp,isJSXNode:bp,isMeaningfulJSXText:wp,matchJsxWhitespaceRegex:Dp,rawText:Ep,isLiteral:xp,isCallOrOptionalCallExpression:_p,isStringLiteral:Cp,isBinaryish:kp,isBlockComment:Sp}=Al,{willPrintOwnComments:Ap}=ac;function Tp(e,t,n){const r=e.getValue();if("JSXElement"===r.type&&vp(r))return tp([e.call(n,"openingElement"),e.call(n,"closingElement")]);const i="JSXElement"===r.type?e.call(n,"openingElement"):e.call(n,"openingFragment"),o="JSXElement"===r.type?e.call(n,"closingElement"):e.call(n,"closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return tp([i,tp(e.map(n,"children")),o]);r.children=r.children.map(e=>yp(e)?{type:"JSXText",value:" ",raw:" "}:e);const s=r.children.filter(bp).length>0,a=r.children.filter(e=>"JSXExpressionContainer"===e.type).length>1,u="JSXElement"===r.type&&r.openingElement.attributes.length>1;let l=hp(i)||s||u||a;const c="mdx"===e.getParentNode().rootMarker,h=t.singleQuote?"{' '}":'{" "}',f=c?tp([" "]):lp(tp([h,ip])," "),d=r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name,p=function(e,t,n,r,i){const o=e.getValue(),s=[];return e.each((e,t)=>{const a=e.getValue();if(xp(a)){const e=Ep(a);if(wp(a)){const n=e.split(Dp);if(""===n[0]){if(s.push(""),n.shift(),/\n/.test(n[0])){const e=o.children[t+1];s.push(Op(i,n[1],a,e))}else s.push(r);n.shift()}let u;if(""===pp(n)&&(n.pop(),u=n.pop()),0===n.length)return;if(n.forEach((e,t)=>{t%2==1?s.push(np):s.push(e)}),void 0!==u)if(/\n/.test(u)){const e=o.children[t+1];s.push(Op(i,pp(s),a,e))}else s.push(r);else{const e=o.children[t+1];s.push(Mp(i,pp(s),a,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&(s.push(""),s.push(rp)):(s.push(""),s.push(r))}else{const r=n(e);s.push(r);const u=o.children[t+1];if(u&&wp(u)){const e=Ep(u).trim().split(Dp)[0];s.push(Mp(i,e,a,u))}else s.push(rp)}},"children"),s}(e,0,n,f,d),m=r.children.some(e=>wp(e));for(let b=p.length-2;b>=0;b--){const e=""===p[b]&&""===p[b+1],t=p[b]===rp&&""===p[b+1]&&p[b+2]===rp,n=(p[b]===ip||p[b]===rp)&&""===p[b+1]&&p[b+2]===f,r=p[b]===f&&""===p[b+1]&&(p[b+2]===ip||p[b+2]===rp),i=p[b]===f&&""===p[b+1]&&p[b+2]===f,o=p[b]===ip&&""===p[b+1]&&p[b+2]===rp||p[b]===rp&&""===p[b+1]&&p[b+2]===ip;t&&m||e||n||i||o?p.splice(b,2):r&&p.splice(b+1,2)}for(;p.length&&(fp(pp(p))||dp(pp(p)));)p.pop();for(;p.length&&(fp(p[0])||dp(p[0]))&&(fp(p[1])||dp(p[1]));)p.shift(),p.shift();const g=[];p.forEach((e,t)=>{if(e===f){if(1===t&&""===p[t-1])return 2===p.length?void g.push(h):void g.push(tp([h,rp]));if(t===p.length-1)return void g.push(h);if(""===p[t-1]&&p[t-2]===rp)return void g.push(h)}g.push(e),hp(e)&&(l=!0)});const v=m?up(g):op(tp(g),{shouldBreak:!0});if(c)return v;const y=op(tp([i,sp(tp([rp,v])),rp,o]));return l?y:ap([op(tp([i,tp(p),o])),y])}function Mp(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?ip:rp:ip}function Op(e,t,n,r){return e?rp:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?rp:ip:rp}function Np(e,t,n){const r=e.getValue();return tp(["{",e.call(e=>{const r=tp(["...",n(e)]),i=e.getValue();return i.comments&&i.comments.length&&Ap(e)?tp([sp(tp([ip,Qd(e,()=>r,t)])),ip]):r},"JSXSpreadAttribute"===r.type?"argument":"expression"),"}"])}var Fp={printJsxElement:function(e,t,n){const r=Qd(e,()=>Tp(e,t,n),t);return function(e,t,n){const r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;const i=e.match(void 0,e=>"ArrowFunctionExpression"===e.type,_p,e=>"JSXExpressionContainer"===e.type),o=$h(e,n);return op(tp([o?"":lp("("),sp(tp([ip,t])),ip,o?"":lp(")")]),{shouldBreak:i})}(e,r,t)},printJsxAttribute:function(e,t,n){const r=e.getValue(),i=[];if(i.push(e.call(n,"name")),r.value){let o;if(Cp(r.value)){let e=Ep(r.value).replace(/'/g,"'").replace(/"/g,'"');const n=mp(e,t.jsxSingleQuote?"'":'"'),i="'"===n?"'":""";e=e.slice(1,-1).replace(new RegExp(n,"g"),i),o=tp([n,e,n])}else o=e.call(n,"value");i.push("=",o)}return tp(i)},printJsxOpeningElement:function(e,t,n){const r=e.getValue(),i=r.name&&r.name.comments&&r.name.comments.length>0||r.typeParameters&&r.typeParameters.comments&&r.typeParameters.comments.length>0;if(r.selfClosing&&!r.attributes.length&&!i)return tp(["<",e.call(n,"name"),e.call(n,"typeParameters")," />"]);if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&Cp(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!i&&(!r.attributes[0].comments||!r.attributes[0].comments.length))return op(tp(["<",e.call(n,"name"),e.call(n,"typeParameters")," ",tp(e.map(n,"attributes")),r.selfClosing?" />":">"]));const o=r.attributes.length&&gp(pp(r.attributes)),s=!r.attributes.length&&!i||t.jsxBracketSameLine&&(!i||r.attributes.length)&&!o,a=r.attributes&&r.attributes.some(e=>e.value&&Cp(e.value)&&e.value.value.includes("\n"));return op(tp(["<",e.call(n,"name"),e.call(n,"typeParameters"),tp([sp(tp(e.map(e=>tp([np,n(e)]),"attributes"))),r.selfClosing?np:s?">":ip]),r.selfClosing?"/>":s?"":">"]),{shouldBreak:a})},printJsxClosingElement:function(e,t,n){return tp([""])},printJsxOpeningClosingFragment:function(e,t){const n=e.getValue(),r=n.comments&&n.comments.length,i=r&&!n.comments.every(e=>Sp(e)),o="JSXOpeningFragment"===n.type;return tp([o?"<":""])},printJsxExpressionContainer:function(e,t,n){const r=e.getValue(),i=e.getParentNode(0),o=r.expression.comments&&r.expression.comments.length>0,s="JSXEmptyExpression"===r.expression.type||!o&&("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type||"ArrowFunctionExpression"===r.expression.type||"CallExpression"===r.expression.type||"OptionalCallExpression"===r.expression.type||"FunctionExpression"===r.expression.type||"TemplateLiteral"===r.expression.type||"TaggedTemplateExpression"===r.expression.type||"DoExpression"===r.expression.type||bp(i)&&("ConditionalExpression"===r.expression.type||kp(r.expression)));return op(tp(s?["{",e.call(n,"expression"),cp,"}"]:["{",sp(tp([ip,e.call(n,"expression")])),ip,cp,"}"]))},printJsxEmptyExpression:function(e,t){const n=e.getValue(),r=n.comments&&!n.comments.every(e=>Sp(e));return tp([ep(e,t,!r),r?rp:""])},printJsxSpreadAttribute:Np,printJsxSpreadChild:Np};const{printDanglingComments:Ip}=Ca,{builders:{concat:Pp,join:Rp,line:Lp,hardline:Bp,softline:jp,group:$p,indent:qp,ifBreak:Up}}=cn,{hasDanglingComments:Hp,isTestCall:zp,isBlockComment:Vp,shouldPrintComma:Wp}=Al,{shouldHugType:Gp}=dd,Kp=new WeakMap;function Xp(e){return Kp.has(e)||Kp.set(e,Symbol("typeParameters")),Kp.get(e)}function Yp(e,t){const n=e.getValue();if(!Hp(n))return"";const r=n.comments.every(e=>Vp(e)),i=Ip(e,t,r);return r?i:Pp([i,Bp])}var Jp={printTypeParameters:function(e,t,n,r){const i=e.getValue();if(!i[r])return"";if(!Array.isArray(i[r]))return e.call(n,r);const o=e.getNode(2);return null!=o&&zp(o)||0===i[r].length||1===i[r].length&&(Gp(i[r][0])||"GenericTypeAnnotation"===i[r][0].type&&Gp(i[r][0].id)||"TSTypeReference"===i[r][0].type&&Gp(i[r][0].typeName)||"NullableTypeAnnotation"===i[r][0].type)?Pp(["<",Rp(", ",e.map(n,r)),Yp(e,t),">"]):$p(Pp(["<",qp(Pp([jp,Rp(Pp([",",Lp]),e.map(n,r))])),Up("typescript"!==t.parser&&"babel-ts"!==t.parser&&Wp(t,"all")?",":""),jp,">"]),{id:Xp(i)})},getTypeParametersGroupId:Xp};const{printComments:Zp}=Ca,{printString:Qp,printNumber:em}=Rt,{builders:{concat:tm}}=cn,{isNumericLiteral:nm,isSimpleNumber:rm,isStringLiteral:im,isStringPropSafeToUnquote:om,rawText:sm}=Al,am=new WeakMap;var um={printPropertyKey:function(e,t,n){const r=e.getNode();if(r.computed)return tm(["[",e.call(n,"key"),"]"]);const i=e.getParentNode(),{key:o}=r;if("ClassPrivateProperty"===r.type&&"Identifier"===o.type)return tm(["#",e.call(n,"key")]);if("consistent"===t.quoteProps&&!am.has(i)){const e=(i.properties||i.body||i.members).some(e=>!e.computed&&e.key&&im(e.key)&&!om(e,t));am.set(i,e)}if(("Identifier"===o.type||nm(o)&&rm(em(sm(o)))&&String(o.value)===em(sm(o))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&am.get(i))){const n=Qp(JSON.stringify("Identifier"===o.type?o.name:o.value.toString()),t);return e.call(e=>Zp(e,()=>n,t),"key")}return om(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!am.get(i))?e.call(e=>Zp(e,()=>/^\d/.test(o.value)?em(o.value):o.value,t),"key"):e.call(n,"key")}};const{printDanglingComments:lm}=Ca,{getNextNonSpaceNonCommentCharacterIndex:cm}=Rt,{builders:{concat:hm,line:fm,softline:dm,group:pm,indent:mm,ifBreak:gm,hardline:vm}}=cn,{getFunctionParameters:ym,hasDanglingComments:bm,hasLeadingOwnLineComment:wm,isFlowAnnotationComment:Dm,isJSXNode:Em,isTemplateOnItsOwnLine:xm,shouldPrintComma:_m,startsWithNoLookaheadToken:Cm,returnArgumentHasLeadingComment:km,isBinaryish:Sm,isLineComment:Am}=Al,{locEnd:Tm}=as,{printFunctionParameters:Mm}=ud,{printPropertyKey:Om}=um,{printFunctionTypeParameters:Nm}=rf;function Fm(e,t,n){const r=[Nm(e,t,n),pm(hm([Mm(e,n,t),Pm(e,n,t)]))];return e.getNode().body?r.push(" ",e.call(n,"body")):r.push(t.semi?";":""),hm(r)}function Im(e,t){return"always"!==t.arrowParens&&("avoid"===t.arrowParens&&function(e){const t=ym(e);return!(1!==t.length||e.typeParameters||bm(e)||"Identifier"!==t[0].type||t[0].typeAnnotation||t[0].comments||t[0].optional||e.predicate||e.returnType)}(e.getValue()))}function Pm(e,t,n){const r=e.getValue(),i=e.call(t,"returnType");if(r.returnType&&Dm(n.originalText,r.returnType))return hm([" /*: ",i," */"]);const o=[i];return r.returnType&&r.returnType.typeAnnotation&&o.unshift(": "),r.predicate&&o.push(r.returnType?" ":": ",e.call(t,"predicate")),hm(o)}var Rm={printFunctionDeclaration:function(e,t,n,r){const i=e.getValue(),o=[];return i.async&&o.push("async "),i.generator?o.push("function* "):o.push("function "),i.id&&o.push(e.call(t,"id")),o.push(Nm(e,n,t),pm(hm([Mm(e,t,n,r),Pm(e,t,n)])),i.body?" ":"",e.call(t,"body")),hm(o)},printArrowFunctionExpression:function(e,t,n,r){const i=e.getValue(),o=[];i.async&&o.push("async "),Im(e,t)?o.push(e.call(n,"params",0)):o.push(pm(hm([Mm(e,n,t,r&&(r.expandLastArg||r.expandFirstArg),!0),Pm(e,n,t)])));const s=lm(e,t,!0,e=>{const n=cm(t.originalText,e,Tm);return!1!==n&&"=>"===t.originalText.slice(n,n+2)});s&&o.push(" ",s),o.push(" =>");const a=e.call(e=>n(e,r),"body");if(!wm(t.originalText,i.body)&&("ArrayExpression"===i.body.type||"ObjectExpression"===i.body.type||"BlockStatement"===i.body.type||Em(i.body)||xm(i.body,t.originalText)||"ArrowFunctionExpression"===i.body.type||"DoExpression"===i.body.type))return pm(hm([hm(o)," ",a]));if("SequenceExpression"===i.body.type)return pm(hm([hm(o),pm(hm([" (",mm(hm([dm,a])),dm,")"]))]));const u=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!(i.comments&&i.comments.length),l=r&&r.expandLastArg&&_m(t,"all"),c="ConditionalExpression"===i.body.type&&!Cm(i.body,!1);return pm(hm([hm(o),pm(hm([mm(hm([fm,c?gm("","("):"",a,c?gm("",")"):""])),u?hm([gm(l?",":""),dm]):""]))]))},printMethod:function(e,t,n){const r=e.getNode(),{kind:i}=r,o=r.value||r,s=[];return i&&"init"!==i&&"method"!==i&&"constructor"!==i?(na.ok("get"===i||"set"===i),s.push(i," ")):o.async&&s.push("async "),o.generator&&s.push("*"),s.push(Om(e,t,n),r.optional||r.key.optional?"?":"",r===o?Fm(e,t,n):e.call(e=>Fm(e,t,n),"value")),hm(s)},printReturnAndThrowArgument:function(e,t,n){const r=e.getValue(),i=t.semi?";":"",o=[];r.argument&&(km(t,r.argument)?o.push(hm([" (",mm(hm([vm,e.call(n,"argument")])),vm,")"])):Sm(r.argument)||"SequenceExpression"===r.argument.type?o.push(pm(hm([gm(" ("," "),mm(hm([dm,e.call(n,"argument")])),dm,gm(")")]))):o.push(" ",e.call(n,"argument")));const s=Array.isArray(r.comments)&&r.comments[r.comments.length-1],a=s&&Am(s);return a&&o.push(i),bm(r)&&o.push(" ",lm(e,t,!0)),a||o.push(i),hm(o)},shouldPrintParamsWithoutParens:Im};const{printComments:Lm,printDanglingComments:Bm}=Ca,{builders:{concat:jm,join:$m,line:qm,hardline:Um,softline:Hm,group:zm,indent:Vm,ifBreak:Wm}}=cn,{hasTrailingComment:Gm,hasTrailingLineComment:Km}=Al,{getTypeParametersGroupId:Xm}=Jp,{printMethod:Ym}=Rm,{printDecorators:Jm}=rf;function Zm(e){return e.typeParameters&&!Km(e.typeParameters)&&!function(e){return["superClass","extends","mixins","implements"].filter(t=>!!e[t]).length>1}(e)}function Qm(e,t,n,r){const i=e.getValue();if(!i[r]||0===i[r].length)return"";const o=Bm(e,t,!0,({marker:e})=>e===r);return jm([Zm(i)?Wm(" ",qm,{groupId:Xm(i.typeParameters)}):qm,o,o&&Um,r,zm(Vm(jm([qm,$m(jm([",",qm]),e.map(n,r))])))])}function eg(e,t,n){const r=e.call(n,"superClass");return"AssignmentExpression"===e.getParentNode().type?zm(Wm(jm(["(",Vm(jm([Hm,r])),Hm,")"]),r)):r}var tg={printClass:function(e,t,n){const r=e.getValue(),i=[];r.abstract&&i.push("abstract "),i.push("class");const o=r.id&&Gm(r.id)||r.superClass&&r.superClass.comments&&0!==r.superClass.comments.length||r.extends&&0!==r.extends.length||r.mixins&&0!==r.mixins.length||r.implements&&0!==r.implements.length,s=[],a=[];if(r.id&&s.push(" ",e.call(n,"id")),s.push(e.call(n,"typeParameters")),r.superClass){const r=jm(["extends ",eg(e,t,n),e.call(n,"superTypeParameters")]),i=e.call(e=>Lm(e,()=>r,t),"superClass");o?a.push(qm,zm(i)):a.push(" ",i)}else a.push(Qm(e,t,n,"extends"));if(a.push(Qm(e,t,n,"mixins")),a.push(Qm(e,t,n,"implements")),o){const e=jm(a);Zm(r)?i.push(zm(jm(s.concat(Wm(Vm(e),e))))):i.push(zm(Vm(jm(s.concat(e)))))}else i.push(...s,...a);return i.push(" ",e.call(n,"body")),jm(i)},printClassMethod:function(e,t,n){const r=e.getValue(),i=[];return r.decorators&&0!==r.decorators.length&&i.push(Jm(e,t,n)),r.accessibility&&i.push(r.accessibility+" "),r.static&&i.push("static "),("TSAbstractMethodDefinition"===r.type||r.abstract)&&i.push("abstract "),i.push(Ym(e,t,n)),jm(i)}};const{getLast:ng,getPenultimate:rg,isNextLineEmpty:ig}=Rt,{getFunctionParameters:og,iterateFunctionParametersPath:sg,hasLeadingComment:ag,hasTrailingComment:ug,isFunctionCompositionArgs:lg,isJSXNode:cg,isLongCurriedCallExpression:hg,shouldPrintComma:fg,getCallArguments:dg,iterateCallArgumentsPath:pg}=Al,{locEnd:mg}=as,{builders:{concat:gg,line:vg,hardline:yg,softline:bg,group:wg,indent:Dg,conditionalGroup:Eg,ifBreak:xg,breakParent:_g},utils:{willBreak:Cg}}=cn;function kg(e){return"ObjectExpression"===e.type&&(e.properties.length>0||e.comments)||"ArrayExpression"===e.type&&(e.elements.length>0||e.comments)||"TSTypeAssertion"===e.type&&kg(e.expression)||"TSAsExpression"===e.type&&kg(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type)&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||"CallExpression"===e.body.type||"OptionalCallExpression"===e.body.type||"ConditionalExpression"===e.body.type||cg(e.body))}var Sg=function(e,t,n){const r=e.getValue(),i="ImportExpression"===r.type,o=dg(r);if(0===o.length)return gg(["(",Ca.printDanglingComments(e,t,!0),")"]);if(2===o.length&&"ArrowFunctionExpression"===o[0].type&&0===og(o[0]).length&&"BlockStatement"===o[0].body.type&&"ArrayExpression"===o[1].type&&!o.some(e=>e.comments))return gg(["(",e.call(n,"arguments",0),", ",e.call(n,"arguments",1),")"]);let s=!1,a=!1,u=!1;const l=o.length-1,c=[];pg(e,(e,r)=>{const i=e.getNode(),o=[n(e)];r===l||(ig(t.originalText,i,mg)?(0===r&&(u=!0),s=!0,o.push(",",yg,yg)):o.push(",",vg)),a=function(e,t){if(!e||"ArrowFunctionExpression"!==e.type||!e.body||"BlockStatement"!==e.body.type||0===og(e).length)return!1;let r=!1;return sg(t,e=>{r=r||Cg(gg([n(e)]))}),r}(i,e),c.push(gg(o))});const h=i||r.callee&&"Import"===r.callee.type||!fg(t,"all")?"":",";function f(){return wg(gg(["(",Dg(gg([vg,gg(c)])),h,vg,")"]),{shouldBreak:!0})}if("Decorator"!==e.getParentNode().type&&lg(o))return f();const d=function(e){if(2!==e.length)return!1;const[t,n]=e;return!(t.comments&&t.comments.length||"FunctionExpression"!==t.type&&("ArrowFunctionExpression"!==t.type||"BlockStatement"!==t.body.type)||"FunctionExpression"===n.type||"ArrowFunctionExpression"===n.type||"ConditionalExpression"===n.type||kg(n))}(o),p=function(e){const t=ng(e),n=rg(e);return!ag(t)&&!ug(t)&&kg(t)&&(!n||n.type!==t.type)}(o);if(d||p){const t=(d?c.slice(1).some(Cg):c.slice(0,-1).some(Cg))||s||a;let i=[];pg(e,(e,t)=>{d&&0===t&&(i=[gg([e.call(e=>n(e,{expandFirstArg:!0})),c.length>1?",":"",u?yg:vg,u?yg:""])].concat(c.slice(1))),p&&t===o.length-1&&(i=c.slice(0,-1).concat(e.call(e=>n(e,{expandLastArg:!0}))))});const l=c.some(Cg),h=gg(["(",gg(i),")"]);return gg([l?_g:"",Eg([l||r.typeArguments||r.typeParameters?xg(f(),h):h,gg(d?["(",wg(i[0],{shouldBreak:!0}),gg(i.slice(1)),")"]:["(",gg(c.slice(0,-1)),wg(ng(i),{shouldBreak:!0}),")"]),f()],{shouldBreak:t})])}const m=gg(["(",Dg(gg([bg,gg(c)])),xg(h),bg,")"]);return hg(e)?m:wg(m,{shouldBreak:c.some(Cg)||s})};const{builders:{concat:Ag,softline:Tg,group:Mg,indent:Og}}=cn,{isNumericLiteral:Ng}=Al,{printOptionalToken:Fg}=rf;function Ig(e,t,n){const r=e.call(n,"property"),i=e.getValue(),o=Fg(e);return i.computed?!i.property||Ng(i.property)?Ag([o,"[",r,"]"]):Mg(Ag([o,"[",Og(Ag([Tg,r])),Tg,"]"])):Ag([o,".",r])}var Pg={printMemberExpression:function(e,t,n){const r=e.getValue(),i=e.getParentNode();let o,s=0;do{o=e.getParentNode(s),s++}while(o&&("MemberExpression"===o.type||"OptionalMemberExpression"===o.type||"TSNonNullExpression"===o.type));const a=o&&("NewExpression"===o.type||"BindExpression"===o.type||"VariableDeclarator"===o.type&&"Identifier"!==o.id.type||"AssignmentExpression"===o.type&&"Identifier"!==o.left.type)||r.computed||"Identifier"===r.object.type&&"Identifier"===r.property.type&&"MemberExpression"!==i.type&&"OptionalMemberExpression"!==i.type;return Ag([e.call(n,"object"),a?Ig(e,t,n):Mg(Og(Ag([Tg,Ig(e,t,n)])))])},printMemberLookup:Ig};const{getLast:Rg,isNextLineEmpty:Lg,isNextLineEmptyAfterIndex:Bg,getNextNonSpaceNonCommentCharacterIndex:jg}=Rt,{hasLeadingComment:$g,hasTrailingComment:qg,isCallOrOptionalCallExpression:Ug,isFunctionOrArrowExpression:Hg,isLongCurriedCallExpression:zg,isMemberish:Vg,isNumericLiteral:Wg,isSimpleCallArgument:Gg}=Al,{locEnd:Kg}=as,{builders:{concat:Xg,join:Yg,hardline:Jg,group:Zg,indent:Qg,conditionalGroup:ev,breakParent:tv},utils:{willBreak:nv}}=cn,{printMemberLookup:rv}=Pg,{printOptionalToken:iv,printFunctionTypeParameters:ov,printBindExpressionCallee:sv}=rf;var av=function(e,t,n){const r=e.getParentNode(),i=!r||"ExpressionStatement"===r.type,o=[];function s(e){const{originalText:n}=t,r=jg(n,e,Kg);return")"===n.charAt(r)?!1!==r&&Bg(n,r+1):Lg(n,e,Kg)}function a(e){const r=e.getValue();Ug(r)&&(Vg(r.callee)||Ug(r.callee))?(o.unshift({node:r,printed:Xg([Ca.printComments(e,()=>Xg([iv(e),ov(e,t,n),Sg(e,t,n)]),t),s(r)?Jg:""])}),e.call(e=>a(e),"callee")):Vg(r)?(o.unshift({node:r,needsParens:$h(e,t),printed:Ca.printComments(e,()=>"OptionalMemberExpression"===r.type||"MemberExpression"===r.type?rv(e,t,n):sv(e,t,n),t)}),e.call(e=>a(e),"object")):"TSNonNullExpression"===r.type?(o.unshift({node:r,printed:Ca.printComments(e,()=>"!",t)}),e.call(e=>a(e),"expression")):o.unshift({node:r,printed:e.call(n)})}const u=e.getValue();o.unshift({node:u,printed:Xg([iv(e),ov(e,t,n),Sg(e,t,n)])}),u.callee&&e.call(e=>a(e),"callee");const l=[];let c=[o[0]],h=1;for(;he.trailing)&&(l.push(c),c=[],f=!1)}function d(e){return/^[A-Z]|^[$_]+$/.test(e)}c.length>0&&l.push(c);const p=l.length>=2&&!l[1][0].node.comments&&function(e){const n=e[1].length&&e[1][0].node.computed;if(1===e[0].length){const r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(d(r.name)||i&&function(e){return e.length<=t.tabWidth}(r.name)||n)}const r=Rg(e[0]).node;return("MemberExpression"===r.type||"OptionalMemberExpression"===r.type)&&"Identifier"===r.property.type&&(d(r.property.name)||n)}(l);function m(e){const t=e.map(e=>e.printed);return e.length>0&&e[e.length-1].needsParens?Xg(["(",...t,")"]):Xg(t)}const g=l.map(m),v=Xg(g),y=p?3:2,b=Jo(l),w=b.slice(1,-1).some(e=>$g(e.node))||b.slice(0,-1).some(e=>qg(e.node))||l[y]&&$g(l[y][0].node);if(l.length<=y&&!w)return zg(e)?v:Zg(v);const D=Rg(l[p?1:0]).node,E=!Ug(D)&&s(D),x=Xg([m(l[0]),p?Xg(l.slice(1,2).map(m)):"",E?Jg:"",function(e){return 0===e.length?"":Qg(Zg(Xg([Jg,Yg(Jg,e.map(m))])))}(l.slice(p?2:1))]),_=o.map(({node:e})=>e).filter(Ug);return w||_.length>2&&_.some(e=>!e.arguments.every(e=>Gg(e,0)))||g.slice(0,-1).some(nv)||function(){const e=Rg(Rg(l)).node,t=Rg(g);return Ug(e)&&nv(t)&&_.slice(0,-1).some(e=>e.arguments.some(Hg))}()?Zg(x):Xg([nv(v)||E?tv:"",ev([v,x])])};const{builders:{concat:uv,join:lv,group:cv}}=cn,{getCallArguments:hv,hasFlowAnnotationComment:fv,isCallOrOptionalCallExpression:dv,isMemberish:pv,isTemplateOnItsOwnLine:mv,isTestCall:gv,iterateCallArgumentsPath:vv}=Al,{printOptionalToken:yv,printFunctionTypeParameters:bv}=rf;var wv={printCallExpression:function(e,t,n){const r=e.getValue(),i="NewExpression"===r.type,o="ImportExpression"===r.type,s=yv(e),a=hv(r);if(a.length>0&&(!o&&!i&&"Identifier"===r.callee.type&&("require"===r.callee.name||"define"===r.callee.name)||1===a.length&&mv(a[0],t.originalText)||!i&&gv(r,e.getParentNode()))){const r=[];return vv(e,e=>{r.push(n(e))}),uv([i?"new ":"",e.call(n,"callee"),s,bv(e,t,n),uv(["(",lv(", ",r),")"])])}const u=("babel"===t.parser||"babel-flow"===t.parser)&&r.callee&&"Identifier"===r.callee.type&&fv(r.callee.trailingComments);if(u&&(r.callee.trailingComments[0].printed=!0),!o&&!i&&pv(r.callee)&&!e.call(e=>$h(e,t),"callee"))return av(e,t,n);const l=uv([i?"new ":"",o?"import":e.call(n,"callee"),s,u?"/*:: ".concat(r.callee.trailingComments[0].value.slice(2).trim()," */"):"",bv(e,t,n),Sg(e,t,n)]);return o||dv(r.callee)?cv(l):l}};const{builders:{concat:Dv,join:Ev,line:xv,group:_v,indent:Cv,ifBreak:kv}}=cn,{hasTrailingComment:Sv,hasTrailingLineComment:Av,identity:Tv}=Al,{getTypeParametersGroupId:Mv}=Jp,{printTypeScriptModifiers:Ov}=rf;var Nv={printInterface:function(e,t,n){const r=e.getValue(),i=[];("DeclareInterface"===r.type||r.declare)&&i.push("declare "),"TSInterfaceDeclaration"===r.type&&i.push(r.abstract?"abstract ":"",Ov(e,t,n)),i.push("interface");const o=[],s=[];"InterfaceTypeAnnotation"!==r.type&&o.push(" ",e.call(n,"id"),e.call(n,"typeParameters"));const a=r.typeParameters&&!Av(r.typeParameters);if(r.extends&&0!==r.extends.length&&s.push(a?kv(" ",xv,{groupId:Mv(r.typeParameters)}):xv,"extends ",(1===r.extends.length?Tv:Cv)(Ev(Dv([",",xv]),e.map(n,"extends")))),r.id&&Sv(r.id)||r.extends&&0!==r.extends.length){const e=Dv(s);a?i.push(_v(Dv(o.concat(kv(Cv(e),e))))):i.push(_v(Cv(Dv(o.concat(e)))))}else i.push(...o,...s);return i.push(" ",e.call(n,"body")),_v(Dv(i))}};const{printComments:Fv}=Ca,{getLast:Iv}=Rt,{builders:{concat:Pv,join:Rv,line:Lv,softline:Bv,group:jv,indent:$v,align:qv,ifBreak:Uv},utils:{normalizeParts:Hv}}=cn,{hasLeadingOwnLineComment:zv,hasTrailingLineComment:Vv,isBinaryish:Wv,isJSXNode:Gv,shouldFlatten:Kv}=Al;let Xv=0;function Yv(e,t,n,r,i){let o=[];const s=e.getValue();if(Wv(s)){Kv(s.operator,s.left.operator)?o=o.concat(e.call(e=>Yv(e,t,n,!0,i),"left")):o.push(jv(e.call(t,"left")));const a=Jv(s),u=("|>"===s.operator||"NGPipeExpression"===s.type||"|"===s.operator&&"__vue_expression"===n.parser)&&!zv(n.originalText,s.right),l="NGPipeExpression"===s.type?"|":s.operator,c="NGPipeExpression"===s.type&&0!==s.arguments.length?jv($v(Pv([Bv,": ",Rv(Pv([Bv,":",Uv(" ")]),e.map(t,"arguments").map(e=>qv(2,jv(e))))]))):"",h=Pv(a?[l," ",e.call(t,"right"),c]:[u?Lv:"",l,u?" ":Lv,e.call(t,"right"),c]),f=e.getParentNode(),d=Vv(s.left),p=d||!(i&&"LogicalExpression"===s.type)&&f.type!==s.type&&s.left.type!==s.type&&s.right.type!==s.type;o.push(u?"":" ",p?jv(h,{shouldBreak:d}):h),r&&s.comments&&(o=Hv(Fv(e,()=>Pv(o),n).parts))}else o.push(jv(e.call(t)));return o}function Jv(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&0!==e.right.properties.length||"ArrayExpression"===e.right.type&&0!==e.right.elements.length||!!Gv(e.right))}var Zv={printBinaryishExpression:function(e,t,n){const r=e.getValue(),i=e.getParentNode(),o=e.getParentNode(1),s=r!==i.body&&("IfStatement"===i.type||"WhileStatement"===i.type||"SwitchStatement"===i.type||"DoWhileStatement"===i.type),a=Yv(e,n,t,!1,s);if(s)return Pv(a);if(("CallExpression"===i.type||"OptionalCallExpression"===i.type)&&i.callee===r||"UnaryExpression"===i.type||("MemberExpression"===i.type||"OptionalMemberExpression"===i.type)&&!i.computed)return jv(Pv([$v(Pv([Bv,Pv(a)])),Bv]));const u="ReturnStatement"===i.type||"ThrowStatement"===i.type||"JSXExpressionContainer"===i.type&&"JSXAttribute"===o.type||"|"!==r.operator&&"JsExpressionRoot"===i.type||"NGPipeExpression"!==r.type&&("NGRoot"===i.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===i.type&&"NGMicrosyntax"===o.type&&1===o.body.length)||r===i.body&&"ArrowFunctionExpression"===i.type||r!==i.body&&"ForStatement"===i.type||"ConditionalExpression"===i.type&&"ReturnStatement"!==o.type&&"ThrowStatement"!==o.type&&"CallExpression"!==o.type&&"OptionalCallExpression"!==o.type||"TemplateLiteral"===i.type,l="AssignmentExpression"===i.type||"VariableDeclarator"===i.type||"ClassProperty"===i.type||"FieldDefinition"===i.type||"TSAbstractClassProperty"===i.type||"ClassPrivateProperty"===i.type||"ObjectProperty"===i.type||"Property"===i.type,c=Wv(r.left)&&Kv(r.operator,r.left.operator);if(u||Jv(r)&&!c||!Jv(r)&&l)return jv(Pv(a));if(0===a.length)return"";const h=Gv(r.right),f=a.findIndex(e=>"string"!=typeof e&&"group"===e.type),d=a.slice(0,-1===f?1:f+1),p=Pv(a.slice(d.length,h?-1:void 0)),m=Symbol("logicalChain-"+ ++Xv),g=jv(Pv([...d,$v(p)]),{id:m});if(!h)return g;const v=Iv(a);return jv(Pv([g,Uv($v(v),v,{groupId:m})]))},shouldInlineLogicalExpression:Jv};const{builders:{concat:Qv,line:ey,group:ty,indent:ny}}=cn,{hasLeadingOwnLineComment:ry,isBinaryish:iy,isMemberExpressionChain:oy,isStringLiteral:sy}=Al,{shouldInlineLogicalExpression:ay}=Zv;function uy(e,t,n,r,i,o){if(!r)return t;const s=ly(e,r,i,o);return ty(Qv([t,n,s]))}function ly(e,t,n,r){return ry(r.originalText,t)?ny(Qv([ey,n])):iy(t)&&!ay(t)||"ConditionalExpression"===t.type&&iy(t.test)&&!ay(t.test)||"StringLiteralTypeAnnotation"===t.type||"ClassExpression"===t.type&&t.decorators&&t.decorators.length||("Identifier"===e.type||sy(e)||"MemberExpression"===e.type)&&(sy(t)||oy(t))&&"json"!==r.parser&&"json5"!==r.parser||"SequenceExpression"===t.type?ty(ny(Qv([ey,n]))):Qv([" ",n])}var cy={printVariableDeclarator:function(e,t,n){const r=e.getValue();return uy(r.id,e.call(n,"id")," =",r.init,r.init&&e.call(n,"init"),t)},printAssignmentExpression:function(e,t,n){const r=e.getValue();return uy(r.left,e.call(n,"left"),Qv([" ",r.operator]),r.right,e.call(n,"right"),t)},printAssignment:uy,printAssignmentRight:ly};const{isNextLineEmpty:hy}=Rt,{builders:{concat:fy,join:dy,hardline:py}}=cn,{classChildNeedsASIProtection:my,classPropMayCauseASIProblems:gy,getLeftSidePathName:vy,hasNakedLeftSide:yy,isJSXNode:by,isLastStatement:wy,isTheOnlyJSXElementInMarkdown:Dy}=Al,{locEnd:Ey}=as,{shouldPrintParamsWithoutParens:xy}=Rm;function _y({path:e,index:t,bodyNode:n,isClass:r},i,o){const s=e.getValue();if(!s)return;if("EmptyStatement"===s.type)return;const a=o(e),u=i.originalText,l=[];if(i.semi||r||Dy(i,e)||!function(e,t){return"ExpressionStatement"===e.getNode().type&&e.call(e=>Cy(e,t),"expression")}(e,i)?l.push(a):s.comments&&s.comments.some(e=>e.leading)?l.push(o(e,{needsSemi:!0})):l.push(";",a),!i.semi&&r)if(gy(e))l.push(";");else if("ClassProperty"===s.type||"FieldDefinition"===s.type){const e=n.body[t+1];my(e)&&l.push(";")}return hy(u,s,Ey)&&!wy(e)&&l.push(py),fy(l)}function Cy(e,t){const n=e.getValue();return!!($h(e,t)||"ParenthesizedExpression"===n.type||"TypeCastExpression"===n.type||"ArrowFunctionExpression"===n.type&&!xy(e,t)||"ArrayExpression"===n.type||"ArrayPattern"===n.type||"UnaryExpression"===n.type&&n.prefix&&("+"===n.operator||"-"===n.operator)||"TemplateLiteral"===n.type||"TemplateElement"===n.type||by(n)||"BindExpression"===n.type&&!n.object||"RegExpLiteral"===n.type||"Literal"===n.type&&n.pattern||"Literal"===n.type&&n.regex)||!!yy(n)&&e.call(e=>Cy(e,t),...vy(e,n))}var ky={printStatementSequence:function(e,t,n){const r=e.getNode(),i="ClassBody"===r.type,o=e.map((o,s)=>_y({path:e,index:s,bodyNode:r,isClass:i},t,n)).filter(Boolean);return dy(py,o)}};const{printDanglingComments:Sy}=Ca,{isNextLineEmpty:Ay}=Rt,{builders:{concat:Ty,hardline:My,indent:Oy}}=cn,{hasDanglingComments:Ny}=Al,{locEnd:Fy}=as,{printStatementSequence:Iy}=ky;var Py={printBlock:function(e,t,n){const r=e.getValue(),i=[],o=t.semi?";":"",s=e.call(e=>Iy(e,t,n),"body");"StaticBlock"===r.type&&i.push("static ");const a=r.body.some(e=>"EmptyStatement"!==e.type),u=r.directives&&r.directives.length>0,l=e.getParentNode(),c=e.getParentNode(1);return a||u||Ny(r)||"ArrowFunctionExpression"!==l.type&&"FunctionExpression"!==l.type&&"FunctionDeclaration"!==l.type&&"ObjectMethod"!==l.type&&"ClassMethod"!==l.type&&"ClassPrivateMethod"!==l.type&&"ForStatement"!==l.type&&"WhileStatement"!==l.type&&"DoWhileStatement"!==l.type&&"DoExpression"!==l.type&&("CatchClause"!==l.type||c.finalizer)&&"TSModuleDeclaration"!==l.type&&"TSDeclareFunction"!==l.type&&"StaticBlock"!==r.type?(i.push("{"),u&&e.each(e=>{i.push(Oy(Ty([My,n(e),o]))),Ay(t.originalText,e.getValue(),Fy)&&i.push(My)},"directives"),a&&i.push(Oy(Ty([My,s]))),i.push(Sy(e,t)),i.push(My,"}"),Ty(i)):Ty([...i,"{}"])}};const{hasNewline:Ry}=Rt,{builders:{concat:Ly,join:By,hardline:jy}}=cn,{isLineComment:$y,isBlockComment:qy}=Al,{locStart:Uy,locEnd:Hy}=as;var zy={printComment:function(e,t){const n=e.getValue();if($y(n))return t.originalText.slice(Uy(n),Hy(n)).trimEnd();if(qy(n)){if(function(e){const t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every(e=>"*"===e.trim()[0])}(n)){const e=function(e){const t=e.value.split("\n");return Ly(["/*",By(jy,t.map((e,n)=>0===n?e.trimEnd():" "+(ne.call(n,"interpreter"),"program")),a.push(e.call(n,"program")),Jy(a);case"Program":{const r=!i.body.every(({type:e})=>"EmptyStatement"===e)||i.comments;if(i.directives){const s=i.directives.length;e.each((e,i)=>{a.push(n(e),o,eb),(iCw(e,t,n),"body")),a.push(Ca.printDanglingComments(e,t,!0)),r&&a.push(eb),Jy(a)}case"EmptyStatement":return"";case"ExpressionStatement":if(i.directive)return Jy([Tw(i.expression,t,!0),o]);if("__vue_event_binding"===t.parser){const t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===i)return Jy([e.call(n,"expression"),hb(i.expression)?";":""])}return Jy([e.call(n,"expression"),Mb(t,e)?"":o]);case"ParenthesizedExpression":return i.expression.comments?rb(Jy(["(",ib(Jy([tb,e.call(n,"expression")])),tb,")"])):Jy(["(",e.call(n,"expression"),")"]);case"AssignmentExpression":return Dw(e,t,n);case"VariableDeclarator":return ww(e,t,n);case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":return _w(e,t,n);case"AssignmentPattern":return Jy([e.call(n,"left")," = ",e.call(n,"right")]);case"TSTypeAssertion":{const t=!("ArrayExpression"===i.expression.type||"ObjectExpression"===i.expression.type),r=rb(Jy(["<",ib(Jy([tb,e.call(n,"typeAnnotation")])),tb,">"])),o=Jy([ab("("),ib(Jy([tb,e.call(n,"expression")])),tb,ab(")")]);return t?sb([Jy([r,e.call(n,"expression")]),Jy([r,rb(o,{shouldBreak:!0})]),Jy([r,e.call(n,"expression")])]):rb(Jy([r,e.call(n,"expression")]))}case"OptionalMemberExpression":case"MemberExpression":return kw(e,t,n);case"MetaProperty":return Jy([e.call(n,"meta"),".",e.call(n,"property")]);case"BindExpression":return i.object&&a.push(e.call(n,"object")),a.push(rb(ib(Jy([tb,jb(e,t,n)])))),Jy(a);case"Identifier":return Jy([i.name,Bb(e),Qb(e,t,n)]);case"V8IntrinsicIdentifier":return Jy(["%",i.name]);case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return Jy(["...",e.call(n,"argument"),Qb(e,t,n)]);case"FunctionDeclaration":case"FunctionExpression":return a.push(pw(e,n,t,r&&r.expandLastArg&&db(e.getParentNode()).length>1)),i.body||a.push(o),Jy(a);case"ArrowFunctionExpression":return mw(e,t,n,r);case"YieldExpression":return a.push("yield"),i.delegate&&a.push("*"),i.argument&&a.push(" ",e.call(n,"argument")),Jy(a);case"AwaitExpression":{a.push("await"),i.argument&&a.push(" ",e.call(n,"argument"));const t=e.getParentNode();return("CallExpression"===t.type||"OptionalCallExpression"===t.type)&&t.callee===i||("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&t.object===i?rb(Jy([ib(Jy([tb,Jy(a)])),tb])):Jy(a)}case"TSExportAssignment":return Jy(["export = ",e.call(n,"expression"),o]);case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"DeclareExportDeclaration":return Vb(e,t,n);case"ExportAllDeclaration":case"DeclareExportAllDeclaration":return Wb(e,t,n);case"ImportDeclaration":return zb(e,t,n);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Gb(e,t,n);case"ImportAttribute":return Jy([e.call(n,"key"),": ",e.call(n,"value")]);case"Import":return"import";case"TSModuleBlock":case"BlockStatement":case"StaticBlock":return Sw(e,t,n);case"ThrowStatement":case"ReturnStatement":return Jy(["ReturnStatement"===i.type?"return":"throw",vw(e,t,n)]);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return yw(e,t,n);case"ObjectTypeInternalSlot":return Jy([i.static?"static ":"","[[",e.call(n,"id"),"]]",Bb(e),i.method?"":": ",e.call(n,"value")]);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"TSInterfaceBody":case"TSTypeLiteral":case"RecordExpression":return Zb(e,t,n);case"ObjectProperty":case"Property":return i.method||"get"===i.kind||"set"===i.kind?gw(e,t,n):(i.shorthand?a.push(e.call(n,"value")):a.push(Ew(i.key,dw(e,t,n),":",i.value,e.call(n,"value"),t)),Jy(a));case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":case"TSAbstractMethodDefinition":case"TSDeclareMethod":return hw(e,t,n);case"ObjectMethod":return gw(e,t,n);case"Decorator":return Jy(["@",e.call(n,"expression"),e.call(n,"callee")]);case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Yb(e,t,n);case"SequenceExpression":{const t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){const t=[];return e.each(e=>{0===e.getName()?t.push(n(e)):t.push(",",ib(Jy([Qy,n(e)])))},"expressions"),rb(Jy(t))}return rb(Jy([Zy(Jy([",",Qy]),e.map(n,"expressions"))]))}case"ThisExpression":return"this";case"Super":return"super";case"NullLiteral":return"null";case"RegExpLiteral":return Mw(i);case"NumericLiteral":return Xy(i.extra.raw);case"DecimalLiteral":return Xy(i.value)+"m";case"BigIntLiteral":return(i.bigint||i.extra.raw).toLowerCase();case"BooleanLiteral":case"StringLiteral":case"Literal":return i.regex?Mw(i.regex):i.bigint?i.raw.toLowerCase():"number"==typeof i.value?Xy(i.raw):"string"!=typeof i.value?""+i.value:Tw(i,t);case"Directive":return e.call(n,"value");case"DirectiveLiteral":return Tw(i,t);case"UnaryExpression":return a.push(i.operator),/[a-z]$/.test(i.operator)&&a.push(" "),i.argument.comments&&i.argument.comments.length>0?a.push(rb(Jy(["(",ib(Jy([tb,e.call(n,"argument")])),tb,")"]))):a.push(e.call(n,"argument")),Jy(a);case"UpdateExpression":return a.push(e.call(n,"argument"),i.operator),i.prefix&&a.reverse(),Jy(a);case"ConditionalExpression":return Bf(e,t,n,{beforeParts:()=>[e.call(n,"test")],afterParts:e=>[e?tb:""],shouldCheckJsx:!0,conditionalNodeType:"ConditionalExpression",consequentNodePropertyName:"consequent",alternateNodePropertyName:"alternate",testNodePropertyNames:["test"]});case"VariableDeclaration":{const t=e.map(e=>n(e),"declarations"),r=e.getParentNode(),s="ForStatement"===r.type||"ForInStatement"===r.type||"ForOfStatement"===r.type,u=i.declarations.some(e=>e.init);let l;return 1!==t.length||i.declarations[0].comments?t.length>0&&(l=ib(t[0])):l=t[0],a=[i.declare?"declare ":"",i.kind,l?Jy([" ",l]):"",ib(Jy(t.slice(1).map(e=>Jy([",",u&&!s?eb:Qy,e]))))],s&&r.body!==i||a.push(o),rb(Jy(a))}case"TSTypeAliasDeclaration":{i.declare&&a.push("declare ");const r=xw(i.id,i.typeAnnotation,i.typeAnnotation&&e.call(n,"typeAnnotation"),t);return a.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",r,o),rb(Jy(a))}case"WithStatement":return rb(Jy(["with (",e.call(n,"object"),")",Hb(i.body,e.call(n,"body"))]));case"IfStatement":{const r=Hb(i.consequent,e.call(n,"consequent")),o=rb(Jy(["if (",rb(Jy([ib(Jy([tb,e.call(n,"test")])),tb])),")",r]));if(a.push(o),i.alternate){const r=Eb(i.consequent)&&i.consequent.comments.some(e=>e.trailing&&!Nb(e))||Fb(i),o="BlockStatement"===i.consequent.type&&!r;a.push(o?" ":eb),gb(i)&&a.push(Ca.printDanglingComments(e,t,!0),r?eb:" "),a.push("else",rb(Hb(i.alternate,e.call(n,"alternate"),"IfStatement"===i.alternate.type)))}return Jy(a)}case"ForStatement":{const r=Hb(i.body,e.call(n,"body")),o=Ca.printDanglingComments(e,t,!0),s=o?Jy([o,tb]):"";return i.init||i.test||i.update?Jy([s,rb(Jy(["for (",rb(Jy([ib(Jy([tb,e.call(n,"init"),";",Qy,e.call(n,"test"),";",Qy,e.call(n,"update")])),tb])),")",r]))]):Jy([s,rb(Jy(["for (;;)",r]))])}case"WhileStatement":return rb(Jy(["while (",rb(Jy([ib(Jy([tb,e.call(n,"test")])),tb])),")",Hb(i.body,e.call(n,"body"))]));case"ForInStatement":return rb(Jy(["for (",e.call(n,"left")," in ",e.call(n,"right"),")",Hb(i.body,e.call(n,"body"))]));case"ForOfStatement":return rb(Jy(["for",i.await?" await":""," (",e.call(n,"left")," of ",e.call(n,"right"),")",Hb(i.body,e.call(n,"body"))]));case"DoWhileStatement":{const t=Hb(i.body,e.call(n,"body")),r=rb(Jy(["do",t]));return a=[r],"BlockStatement"===i.body.type?a.push(" "):a.push(eb),a.push("while ("),a.push(rb(Jy([ib(Jy([tb,e.call(n,"test")])),tb])),")",o),Jy(a)}case"DoExpression":return Jy(["do ",e.call(n,"body")]);case"BreakStatement":return a.push("break"),i.label&&a.push(" ",e.call(n,"label")),a.push(o),Jy(a);case"ContinueStatement":return a.push("continue"),i.label&&a.push(" ",e.call(n,"label")),a.push(o),Jy(a);case"LabeledStatement":return"EmptyStatement"===i.body.type?Jy([e.call(n,"label"),":;"]):Jy([e.call(n,"label"),": ",e.call(n,"body")]);case"TryStatement":return Jy(["try ",e.call(n,"block"),i.handler?Jy([" ",e.call(n,"handler")]):"",i.finalizer?Jy([" finally ",e.call(n,"finalizer")]):""]);case"CatchClause":if(i.param){const r=i.param.comments&&i.param.comments.some(e=>!Nb(e)||e.leading&&Vy(t.originalText,Lb(e))||e.trailing&&Vy(t.originalText,Rb(e),{backwards:!0})),o=e.call(n,"param");return Jy(["catch ",Jy(r?["(",ib(Jy([tb,o])),tb,") "]:["(",o,") "]),e.call(n,"body")])}return Jy(["catch ",e.call(n,"body")]);case"SwitchStatement":return Jy([rb(Jy(["switch (",ib(Jy([tb,e.call(n,"discriminant")])),tb,")"]))," {",i.cases.length>0?ib(Jy([eb,Zy(eb,e.map(e=>{const r=e.getValue();return Jy([e.call(n),i.cases.indexOf(r)!==i.cases.length-1&&Yy(t.originalText,r,Lb)?eb:""])},"cases"))])):"",eb,"}"]);case"SwitchCase":{i.test?a.push("case ",e.call(n,"test"),":"):a.push("default:");const r=i.consequent.filter(e=>"EmptyStatement"!==e.type);if(r.length>0){const i=e.call(e=>Cw(e,t,n),"consequent");a.push(1===r.length&&"BlockStatement"===r[0].type?Jy([" ",i]):ib(Jy([eb,i])))}return Jy(a)}case"DebuggerStatement":return Jy(["debugger",o]);case"JSXAttribute":return nw(e,t,n);case"JSXIdentifier":return""+i.name;case"JSXNamespacedName":return Zy(":",[e.call(n,"namespace"),e.call(n,"name")]);case"JSXMemberExpression":return Zy(".",[e.call(n,"object"),e.call(n,"property")]);case"TSQualifiedName":return Zy(".",[e.call(n,"left"),e.call(n,"right")]);case"JSXSpreadAttribute":return uw(e,t,n);case"JSXSpreadChild":return lw(e,t,n);case"JSXExpressionContainer":return sw(e,t,n);case"JSXFragment":case"JSXElement":return tw(e,t,n);case"JSXOpeningElement":return rw(e,t,n);case"JSXClosingElement":return iw(e,t,n);case"JSXOpeningFragment":case"JSXClosingFragment":return ow(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");case"JSXEmptyExpression":return aw(e,t);case"ClassBody":return i.comments||0!==i.body.length?Jy(["{",i.body.length>0?ib(Jy([eb,e.call(e=>Cw(e,t,n),"body")])):Ca.printDanglingComments(e,t),eb,"}"]):"{}";case"ClassProperty":case"FieldDefinition":case"TSAbstractClassProperty":case"ClassPrivateProperty":return i.decorators&&0!==i.decorators.length&&a.push(qb(e,t,n)),i.accessibility&&a.push(i.accessibility+" "),i.declare&&a.push("declare "),i.static&&a.push("static "),("TSAbstractClassProperty"===i.type||i.abstract)&&a.push("abstract "),i.readonly&&a.push("readonly "),i.variance&&a.push(e.call(n,"variance")),a.push(dw(e,t,n),Bb(e),Qb(e,t,n)),i.value&&a.push(" =",xw(i.key,i.value,e.call(n,"value"),t)),a.push(o),rb(Jy(a));case"ClassDeclaration":case"ClassExpression":return i.declare&&a.push("declare "),a.push(cw(e,t,n)),Jy(a);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return a.push(e.call(n,"expression")),i.typeParameters&&a.push(e.call(n,"typeParameters")),Jy(a);case"TemplateElement":return Zy(nb,i.value.raw.split(/\r?\n/g));case"TSTemplateLiteralType":case"TemplateLiteral":return Xb(e,n,t);case"TaggedTemplateExpression":return Jy([e.call(n,"tag"),e.call(n,"typeParameters"),e.call(n,"quasi")]);case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(i.type));case"TypeAnnotation":case"TSTypeAnnotation":return i.typeAnnotation?e.call(n,"typeAnnotation"):"";case"TSNamedTupleMember":return Jy([e.call(n,"label"),i.optional?"?":"",": ",e.call(n,"elementType")]);case"TSTupleType":case"TupleTypeAnnotation":{const r="TSTupleType"===i.type?"elementTypes":"types",o=i[r].length>0&&"TSRestType"===Gy(i[r]).type;return rb(Jy(["[",ib(Jy([tb,Jb(e,t,r,n)])),ab(Pb(t,"all")&&!o?",":""),Ca.printDanglingComments(e,t,!0),tb,"]"]))}case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return Jy([e.call(n,"elementType"),"[]"]);case"BooleanLiteralTypeAnnotation":return""+i.value;case"DeclareClass":return Ub(e,cw(e,t,n));case"TSDeclareFunction":return Jy([i.declare?"declare ":"",pw(e,n,t),o]);case"DeclareFunction":return Ub(e,Jy(["function ",e.call(n,"id"),i.predicate?" ":"",e.call(n,"predicate"),o]));case"DeclareModule":return Ub(e,Jy(["module ",e.call(n,"id")," ",e.call(n,"body")]));case"DeclareModuleExports":return Ub(e,Jy(["module.exports",": ",e.call(n,"typeAnnotation"),o]));case"DeclareVariable":return Ub(e,Jy(["var ",e.call(n,"id"),o]));case"DeclareOpaqueType":case"OpaqueType":return a.push("opaque type ",e.call(n,"id"),e.call(n,"typeParameters")),i.supertype&&a.push(": ",e.call(n,"supertype")),i.impltype&&a.push(" = ",e.call(n,"impltype")),a.push(o),"DeclareOpaqueType"===i.type?Ub(e,Jy(a)):Jy(a);case"EnumDeclaration":return Jy(["enum ",e.call(n,"id")," ",e.call(n,"body")]);case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===i.type||i.explicitType){let e=null;switch(i.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}a.push("of ",e," ")}if(0!==i.members.length||i.hasUnknownMembers){const r=i.members.length?[eb,Jb(e,t,"members",n),i.hasUnknownMembers||Pb(t)?",":""]:[];a.push(rb(Jy(["{",ib(Jy([...r,...i.hasUnknownMembers?[eb,"..."]:[]])),Ca.printDanglingComments(e,t,!0),eb,"}"])))}else a.push(rb(Jy(["{",Ca.printDanglingComments(e,t),tb,"}"])));return Jy(a);case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return Jy([e.call(n,"id")," = ","object"==typeof i.init?e.call(n,"init"):String(i.init)]);case"EnumDefaultedMember":return e.call(n,"id");case"FunctionTypeAnnotation":case"TSFunctionType":{const r=e.getParentNode(0),o=e.getParentNode(1),s=e.getParentNode(2);let u="TSFunctionType"===i.type||!(("ObjectTypeProperty"===r.type||"ObjectTypeInternalSlot"===r.type)&&!r.variance&&!r.optional&&Rb(r)===Rb(i)||"ObjectTypeCallProperty"===r.type||s&&"DeclareFunction"===s.type),l=u&&("TypeAnnotation"===r.type||"TSTypeAnnotation"===r.type);const c=l&&u&&("TypeAnnotation"===r.type||"TSTypeAnnotation"===r.type)&&"ArrowFunctionExpression"===o.type;return Tb(r)&&(u=!0,l=!0),c&&a.push("("),a.push(Kb(e,n,t,!1,!0)),(i.returnType||i.predicate||i.typeAnnotation)&&a.push(u?" => ":": ",e.call(n,"returnType"),e.call(n,"predicate"),e.call(n,"typeAnnotation")),c&&a.push(")"),rb(Jy(a))}case"TSRestType":return Jy(["...",e.call(n,"typeAnnotation")]);case"TSOptionalType":return Jy([e.call(n,"typeAnnotation"),"?"]);case"FunctionTypeParam":{const t=i.name?e.call(n,"name"):e.getParentNode().this===i?"this":"";return Jy([t,Bb(e),t?": ":"",e.call(n,"typeAnnotation")])}case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"TSInterfaceDeclaration":return bw(e,t,n);case"ClassImplements":case"InterfaceExtends":return Jy([e.call(n,"id"),e.call(n,"typeParameters")]);case"TSClassImplements":return Jy([e.call(n,"expression"),e.call(n,"typeParameters")]);case"TSIntersectionType":case"IntersectionTypeAnnotation":{const t=e.map(n,"types"),r=[];let o=!1;for(let e=0;e1&&(o=!0),r.push(" & ",e>1?ib(t[e]):t[e])):r.push(ib(Jy([" &",Qy,t[e]])));return rb(Jy(r))}case"TSUnionType":case"UnionTypeAnnotation":{const r=e.getParentNode(),o=!("TypeParameterInstantiation"===r.type||"TSTypeParameterInstantiation"===r.type||"GenericTypeAnnotation"===r.type||"TSTypeReference"===r.type||"TSTypeAssertion"===r.type||"TupleTypeAnnotation"===r.type||"TSTupleType"===r.type||"FunctionTypeParam"===r.type&&!r.name&&e.getParentNode(1).this!==r||("TypeAlias"===r.type||"VariableDeclarator"===r.type||"TSTypeAliasDeclaration"===r.type)&&yb(t.originalText,i)),s=ew(i),a=e.map(e=>{let r=e.call(n);return s||(r=ob(2,r)),Ca.printComments(e,()=>r,t)},"types");if(s)return Zy(" | ",a);const u=o&&!yb(t.originalText,i),l=Jy([ab(Jy([u?Qy:"","| "])),Zy(Jy([Qy,"| "]),a)]);return $h(e,t)?rb(Jy([ib(l),tb])):"TupleTypeAnnotation"===r.type&&r.types.length>1||"TSTupleType"===r.type&&r.elementTypes.length>1?rb(Jy([ib(Jy([ab(Jy(["(",tb])),l])),tb,ab(")")])):rb(o?ib(l):l)}case"NullableTypeAnnotation":return Jy(["?",e.call(n,"typeAnnotation")]);case"Variance":{const{kind:e}=i;return na.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return i.static&&a.push("static "),a.push(e.call(n,"value")),Jy(a);case"ObjectTypeIndexer":return Jy([i.variance?e.call(n,"variance"):"","[",e.call(n,"id"),i.id?": ":"",e.call(n,"key"),"]: ",e.call(n,"value")]);case"ObjectTypeProperty":{let r="";return i.proto?r="proto ":i.static&&(r="static "),Jy([r,Cb(i)?i.kind+" ":"",i.variance?e.call(n,"variance"):"",dw(e,t,n),Bb(e),_b(i)?"":": ",e.call(n,"value")])}case"QualifiedTypeIdentifier":return Jy([e.call(n,"qualification"),".",e.call(n,"id")]);case"StringLiteralTypeAnnotation":return Tw(i,t);case"NumberLiteralTypeAnnotation":na.strictEqual(typeof i.value,"number");case"BigIntLiteralTypeAnnotation":return null!=i.extra?Xy(i.extra.raw):Xy(i.raw);case"DeclareTypeAlias":case"TypeAlias":{("DeclareTypeAlias"===i.type||i.declare)&&a.push("declare ");const r=xw(i.id,i.right,e.call(n,"right"),t);return a.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",r,o),rb(Jy(a))}case"TypeCastExpression":return Jy(["(",e.call(n,"expression"),Qb(e,t,n),")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":{const r=fw(e,t,n,"params");if("flow"===t.parser){const e=Rb(i),n=Lb(i),o=t.originalText.lastIndexOf("/*",e),s=t.originalText.indexOf("*/",n);if(-1!==o&&-1!==s){const e=t.originalText.slice(o+2,s).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return Jy(["/*:: ",r," */"])}}return r}case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return fw(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":{const r=e.getParentNode();if("TSMappedType"===r.type)return a.push("[",e.call(n,"name")),i.constraint&&a.push(" in ",e.call(n,"constraint")),r.nameType&&a.push(" as ",e.callParent(e=>e.call(n,"nameType"))),a.push("]"),Jy(a);i.variance&&a.push(e.call(n,"variance")),a.push(e.call(n,"name")),i.bound&&(a.push(": "),a.push(e.call(n,"bound"))),i.constraint&&a.push(" extends ",e.call(n,"constraint")),i.default&&a.push(" = ",e.call(n,"default"));const o=e.getNode(2);return 1===fb(r).length&&Ob(t)&&!i.constraint&&"ArrowFunctionExpression"===o.type&&a.push(","),Jy(a)}case"TypeofTypeAnnotation":return Jy(["typeof ",e.call(n,"argument")]);case"InferredPredicate":return"%checks";case"DeclaredPredicate":return Jy(["%checks(",e.call(n,"value"),")"]);case"TSAbstractKeyword":return"abstract";case"AnyTypeAnnotation":case"TSAnyKeyword":return"any";case"TSAsyncKeyword":return"async";case"BooleanTypeAnnotation":case"TSBooleanKeyword":return"boolean";case"BigIntTypeAnnotation":case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"NullLiteralTypeAnnotation":case"TSNullKeyword":return"null";case"TSNeverKeyword":return"never";case"NumberTypeAnnotation":case"TSNumberKeyword":return"number";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"SymbolTypeAnnotation":case"TSSymbolKeyword":return"symbol";case"TSStaticKeyword":return"static";case"StringTypeAnnotation":case"TSStringKeyword":return"string";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"VoidTypeAnnotation":case"TSVoidKeyword":return"void";case"TSAsExpression":return Jy([e.call(n,"expression")," as ",e.call(n,"typeAnnotation")]);case"TSArrayType":return Jy([e.call(n,"elementType"),"[]"]);case"TSPropertySignature":return i.export&&a.push("export "),i.accessibility&&a.push(i.accessibility+" "),i.static&&a.push("static "),i.readonly&&a.push("readonly "),a.push(dw(e,t,n),Bb(e)),i.typeAnnotation&&(a.push(": "),a.push(e.call(n,"typeAnnotation"))),i.initializer&&a.push(" = ",e.call(n,"initializer")),Jy(a);case"TSParameterProperty":return i.accessibility&&a.push(i.accessibility+" "),i.export&&a.push("export "),i.static&&a.push("static "),i.readonly&&a.push("readonly "),a.push(e.call(n,"parameter")),Jy(a);case"GenericTypeAnnotation":case"TSTypeReference":return Jy([e.call(n,"TSTypeReference"===i.type?"typeName":"id"),fw(e,t,n,"typeParameters")]);case"TSTypeQuery":return Jy(["typeof ",e.call(n,"exprName")]);case"TSIndexSignature":{const r=e.getParentNode(),s=i.parameters.length>1?ab(Pb(t)?",":""):"",a=rb(Jy([ib(Jy([tb,Zy(Jy([", ",tb]),e.map(n,"parameters"))])),s,tb]));return Jy([i.export?"export ":"",i.accessibility?Jy([i.accessibility," "]):"",i.static?"static ":"",i.readonly?"readonly ":"",i.declare?"declare ":"","[",i.parameters?a:"",i.typeAnnotation?"]: ":"]",i.typeAnnotation?e.call(n,"typeAnnotation"):"","ClassBody"===r.type?o:""])}case"TSTypePredicate":return Jy([i.asserts?"asserts ":"",e.call(n,"parameterName"),i.typeAnnotation?Jy([" is ",e.call(n,"typeAnnotation")]):""]);case"TSNonNullExpression":return Jy([e.call(n,"expression"),"!"]);case"ThisTypeAnnotation":case"TSThisType":return"this";case"TSImportType":return Jy([i.isTypeOf?"typeof ":"","import(",e.call(n,i.parameter?"parameter":"argument"),")",i.qualifier?Jy([".",e.call(n,"qualifier")]):"",fw(e,t,n,"typeParameters")]);case"TSLiteralType":return e.call(n,"literal");case"TSIndexedAccessType":return Jy([e.call(n,"objectType"),"[",e.call(n,"indexType"),"]"]);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSCallSignatureDeclaration"!==i.type&&a.push("new "),a.push(rb(Kb(e,n,t,!1,!0))),i.returnType||i.typeAnnotation){const t="TSConstructorType"===i.type;a.push(t?" => ":": ",e.call(n,"returnType"),e.call(n,"typeAnnotation"))}return Jy(a);case"TSTypeOperator":return Jy([i.operator," ",e.call(n,"typeAnnotation")]);case"TSMappedType":{const r=Wy(t.originalText,Rb(i),Lb(i));return rb(Jy(["{",ib(Jy([t.bracketSpacing?Qy:tb,i.readonly?Jy([mb(i.readonly,"readonly")," "]):"",$b(e,t,n),e.call(n,"typeParameter"),i.optional?mb(i.optional,"?"):"",i.typeAnnotation?": ":"",e.call(n,"typeAnnotation"),ab(o,"")])),Ca.printDanglingComments(e,t,!0),t.bracketSpacing?Qy:tb,"}"]),{shouldBreak:r})}case"TSMethodSignature":return a.push(i.accessibility?Jy([i.accessibility," "]):"",i.export?"export ":"",i.static?"static ":"",i.readonly?"readonly ":"",i.computed?"[":"",e.call(n,"key"),i.computed?"]":"",Bb(e),Kb(e,n,t,!1,!0)),(i.returnType||i.typeAnnotation)&&a.push(": ",e.call(n,"returnType"),e.call(n,"typeAnnotation")),rb(Jy(a));case"TSNamespaceExportDeclaration":return a.push("export as namespace ",e.call(n,"id")),t.semi&&a.push(";"),rb(Jy(a));case"TSEnumDeclaration":return i.declare&&a.push("declare "),i.modifiers&&a.push($b(e,t,n)),i.const&&a.push("const "),a.push("enum ",e.call(n,"id")," "),0===i.members.length?a.push(rb(Jy(["{",Ca.printDanglingComments(e,t),tb,"}"]))):a.push(rb(Jy(["{",ib(Jy([eb,Jb(e,t,"members",n),Pb(t,"es5")?",":""])),Ca.printDanglingComments(e,t,!0),eb,"}"]))),Jy(a);case"TSEnumMember":return a.push(e.call(n,"id")),i.initializer&&a.push(" = ",e.call(n,"initializer")),Jy(a);case"TSImportEqualsDeclaration":return i.isExport&&a.push("export "),a.push("import ",e.call(n,"id")," = ",e.call(n,"moduleReference")),t.semi&&a.push(";"),rb(Jy(a));case"TSExternalModuleReference":return Jy(["require(",e.call(n,"expression"),")"]);case"TSModuleDeclaration":{const r=e.getParentNode(),s=kb(i.id),u="TSModuleDeclaration"===r.type,l=i.body&&"TSModuleDeclaration"===i.body.type;if(u)a.push(".");else{i.declare&&a.push("declare "),a.push($b(e,t,n));const r=t.originalText.slice(Rb(i),Rb(i.id));"Identifier"===i.id.type&&"global"===i.id.name&&!/namespace|module/.test(r)||a.push(s||/(^|\s)module(\s|$)/.test(r)?"module ":"namespace ")}return a.push(e.call(n,"id")),l?a.push(e.call(n,"body")):i.body?a.push(" ",rb(e.call(n,"body"))):a.push(o),Jy(a)}case"PrivateName":return Jy(["#",e.call(n,i.id?"id":"name")]);case"TSPrivateIdentifier":return i.escapedText;case"TSConditionalType":return Bf(e,t,n,{beforeParts:()=>[e.call(n,"checkType")," ","extends"," ",e.call(n,"extendsType")],afterParts:()=>[],shouldCheckJsx:!1,conditionalNodeType:"TSConditionalType",consequentNodePropertyName:"trueType",alternateNodePropertyName:"falseType",testNodePropertyNames:["checkType","extendsType"]});case"TSInferType":return Jy(["infer"," ",e.call(n,"typeParameter")]);case"InterpreterDirective":return a.push("#!",i.value,eb),Yy(t.originalText,i,Lb)&&a.push(eb),Jy(a);case"NGRoot":return Jy([].concat(e.call(n,"node"),i.node.comments&&0!==i.node.comments.length?Jy([" //",i.node.comments[0].value.trimEnd()]):[]));case"NGChainedExpression":return rb(Zy(Jy([";",Qy]),e.map(e=>wb(e)?n(e):Jy(["(",n(e),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return Jy([i.prefix,": ",i.value.trim()]);case"NGMicrosyntax":return Jy(e.map((e,t)=>Jy([0===t?"":Sb(e.getValue(),t,i)?" ":Jy([";",Qy]),n(e)]),"body"));case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(-[$_a-z][\w$])*$/i.test(i.name)?i.name:JSON.stringify(i.name);case"NGMicrosyntaxExpression":return Jy([e.call(n,"expression"),null===i.alias?"":Jy([" as ",e.call(n,"alias")])]);case"NGMicrosyntaxKeyedExpression":{const t=e.getName(),r=e.getParentNode(),o=Sb(i,t,r)||(1===t&&("then"===i.key.name||"else"===i.key.name)||2===t&&"else"===i.key.name&&"NGMicrosyntaxKeyedExpression"===r.body[t-1].type&&"then"===r.body[t-1].key.name)&&"NGMicrosyntaxExpression"===r.body[0].type;return Jy([e.call(n,"key"),o?" ":": ",e.call(n,"expression")])}case"NGMicrosyntaxLet":return Jy(["let ",e.call(n,"key"),null===i.value?"":Jy([" = ",e.call(n,"value")])]);case"NGMicrosyntaxAs":return Jy([e.call(n,"key")," as ",e.call(n,"alias")]);case"PipelineBareFunction":return e.call(n,"callee");case"PipelineTopicExpression":return e.call(n,"expression");case"PipelinePrimaryTopicReference":return a.push("#"),Jy(a);case"ArgumentPlaceholder":return"?";case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Jy(["?",e.call(n,"typeAnnotation")]);case"TSJSDocNonNullableType":return Jy(["!",e.call(n,"typeAnnotation")]);case"TSJSDocFunctionType":return Jy(["function(","): ",e.call(n,"typeAnnotation")]);default:throw new Error("unknown type: "+JSON.stringify(i.type))}}(e,t,n,r);if(!i||ub(s))return s;const a=pb(e),u=[];if("ClassMethod"===i.type||"ClassPrivateMethod"===i.type||"ClassProperty"===i.type||"FieldDefinition"===i.type||"TSAbstractClassProperty"===i.type||"ClassPrivateProperty"===i.type||"MethodDefinition"===i.type||"TSAbstractMethodDefinition"===i.type||"TSDeclareMethod"===i.type);else if(i.decorators&&i.decorators.length>0&&!(a&&Rb(a,{ignoreDecorators:!0})>Rb(i.decorators[0]))){const r="ClassExpression"===i.type||"ClassDeclaration"===i.type||bb(i,t)?eb:Qy;e.each(e=>{let t=e.getValue();t=t.expression?t.expression:t.callee,u.push(n(e),r)},"decorators"),a&&u.unshift(eb)}else xb(i)&&i.declaration&&i.declaration.decorators&&i.declaration.decorators.length>0&&Rb(i,{ignoreDecorators:!0})>Rb(i.declaration.decorators[0])?e.each(e=>{const t="Decorator"===e.getValue().type?"":"@";u.push(t,n(e),eb)},"declaration","decorators"):o=$h(e,t);const l=[];if(o&&l.unshift("("),l.push(s),o){const t=e.getValue();vb(t)&&(l.push(" /*"),l.push(t.trailingComments[0].value.trimStart()),l.push("*/"),t.trailingComments[0].printed=!0),l.push(")")}return u.length>0?rb(Jy(u.concat(l))):Jy(l)},embed:fh,insertPragma:lb,massageAstNode:gh,hasPrettierIgnore:Db,willPrintOwnComments:ac.willPrintOwnComments,canAttachComment:function(e){return e.type&&"CommentBlock"!==e.type&&"CommentLine"!==e.type&&"Line"!==e.type&&"Block"!==e.type&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type},printComment:Aw,isBlockComment:Nb,handleComments:{ownLine:ac.handleOwnLineComment,endOfLine:ac.handleEndOfLineComment,remaining:ac.handleRemainingComment},getGapRegex:ac.getGapRegex,getCommentChildNodes:ac.getCommentChildNodes};const{builders:{concat:Nw,hardline:Fw,indent:Iw,join:Pw}}=cn,Rw=new Set(["start","end","extra","loc","comments","errors","range"]);function Lw(e,t){const{type:n}=e;return"Identifier"===n?{type:"StringLiteral",value:e.name}:"UnaryExpression"===n&&"+"===e.operator?t.argument:void 0}Lw.ignoredProperties=Rw;var Bw={preprocess:Kh,print:function(e,t,n){const r=e.getValue();switch(r.type){case"JsonRoot":return Nw([e.call(n,"node"),Fw]);case"ArrayExpression":return 0===r.elements.length?"[]":Nw(["[",Iw(Nw([Fw,Pw(Nw([",",Fw]),e.map(n,"elements"))])),Fw,"]"]);case"ObjectExpression":return 0===r.properties.length?"{}":Nw(["{",Iw(Nw([Fw,Pw(Nw([",",Fw]),e.map(n,"properties"))])),Fw,"}"]);case"ObjectProperty":return Nw([e.call(n,"key"),": ",e.call(n,"value")]);case"UnaryExpression":return Nw(["+"===r.operator?"":r.operator,e.call(n,"argument")]);case"NullLiteral":return"null";case"BooleanLiteral":return r.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(r.value);case"Identifier":return JSON.stringify(r.name);default:throw new Error("unknown type: "+JSON.stringify(r.type))}},massageAstNode:Lw};const jw="Common";var $w={bracketSpacing:{since:"0.0.0",category:jw,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:jw,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:jw,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]}};const qw="JavaScript";var Uw={arrowParens:{since:"1.9.0",category:qw,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSpacing:$w.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:qw,type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:qw,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:$w.singleQuote,jsxSingleQuote:{since:"1.15.0",category:qw,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:qw,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:qw,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]}},Hw={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183},zw={name:"JSX",type:"programming",group:"JavaScript",extensions:[".jsx"],tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178},Vw={name:"TypeScript",type:"programming",color:"#2b7489",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},Ww={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},Gw={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","composer.lock","mcmod.info"],languageId:174},Kw={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423},Xw={name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},Yw={languages:[Nu(Hw,e=>({since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],extensions:[...e.extensions,".wxs"]})),Nu(Hw,()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),Nu(zw,()=>({since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"]})),Nu(Vw,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),Nu(Ww,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),Nu(Gw,()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]})),Nu(Gw,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],filenames:[...e.filenames,".prettierrc"],extensions:e.extensions.filter(e=>".jsonl"!==e)})),Nu(Kw,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc"]})),Nu(Xw,()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],options:Uw,printers:{estree:Ow,"estree-json":Bw},parsers:{get babel(){return{}.parsers.babel},get"babel-flow"(){return{}.parsers["babel-flow"]},get"babel-ts"(){return{}.parsers["babel-ts"]},get json(){return{}.parsers.json},get json5(){return{}.parsers.json5},get"json-stringify"(){return{}.parsers["json-stringify"]},get __js_expression(){return{}.parsers.__js_expression},get __vue_expression(){return{}.parsers.__vue_expression},get __vue_event_binding(){return{}.parsers.__vue_event_binding},get flow(){return{}.parsers.flow},get typescript(){return{}.parsers.typescript},get __ng_action(){return{}.parsers.__ng_action},get __ng_binding(){return{}.parsers.__ng_binding},get __ng_interpolation(){return{}.parsers.__ng_interpolation},get __ng_directive(){return{}.parsers.__ng_directive},get espree(){return{}.parsers.espree},get meriyah(){return{}.parsers.meriyah}}};const{isFrontMatterNode:Jw}=Rt,Zw=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function Qw(e,t,n){if(Jw(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&0!==n.nodes.length){if((n.nodes[0]===e||Jw(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text)))return null;if("css-root"===n.type&&le(n.nodes)===e)return null}if("value-root"===e.type&&delete t.text,"media-query"!==e.type&&"media-query-list"!==e.type&&"media-feature-expression"!==e.type||delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),"css-atrule"!==e.type&&"css-import"!==e.type||(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),"media-feature"!==e.type&&"media-keyword"!==e.type&&"media-type"!==e.type&&"media-unknown"!==e.type&&"media-url"!==e.type&&"media-value"!==e.type&&"selector-attribute"!==e.type&&"selector-string"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"value-string"!==e.type||!t.value||(t.value=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),"media-value"!==e.type&&"media-type"!==e.type&&"value-number"!==e.type&&"selector-root-invalid"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"selector-tag"!==e.type||!t.value||(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(e,t,n)=>{const r=Number(t);return isNaN(r)?e:r+n.toLowerCase()})),"selector-tag"===e.type){const n=e.value.toLowerCase();["from","to"].includes(n)&&(t.value=n)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value}Qw.ignoredProperties=Zw;var eD=Qw;const{builders:{hardline:tD,concat:nD,markAsRoot:rD}}=cn,iD={"---":"yaml","+++":"toml"};var oD={parse:function(e){const t=Object.keys(iD).map(ue).join("|"),n=e.match(new RegExp("^(".concat(t,")([^\\n]*)\\n(?:([\\s\\S]*?)\\n)?\\1[^\\n\\S]*(\\n|$)")));if(null===n)return{frontMatter:null,content:e};const[r,i,o,s]=n;let a=iD[i];return"toml"!==a&&o&&o.trim()&&(a=o.trim()),{frontMatter:{type:"front-matter",lang:a,value:s,raw:r.replace(/\n$/,"")},content:r.replace(/[^\n]/g," ")+e.slice(r.length)}},print:function(e,t){if("yaml"===e.lang){const n=e.value.trim(),r=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return rD(nD(["---",tD,r,r?tD:"","---"]))}}};const{builders:{hardline:sD,concat:aD}}=cn,{print:uD}=oD;var lD=function(e,t,n){const r=e.getValue();if("front-matter"===r.type){const e=uD(r,n);return e?aD([e,sD]):""}};const{parse:cD}=oD;var hD={hasPragma:function(e){return Sh.hasPragma(cD(e).content)},insertPragma:function(e){const{frontMatter:t,content:n}=cD(e);return(t?t.raw+"\n\n":"")+Sh.insertPragma(n)}};const fD=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function dD(e,t){const n=[].concat(t);let r,i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function pD(e,t){const n=dD(e,t);return-1===n?null:e.getParentNode(n)}function mD(e){return"value-operator"===e.type&&"*"===e.value}function gD(e){return"value-operator"===e.type&&"/"===e.value}function vD(e){return"value-operator"===e.type&&"+"===e.value}function yD(e){return"value-operator"===e.type&&"-"===e.value}function bD(e){return"value-operator"===e.type&&"%"===e.value}function wD(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function DD(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&wD(e.groups[0])}var ED={getAncestorCounter:dD,getAncestorNode:pD,getPropOfDeclNode:function(e){const t=pD(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function(e){if(e&&e.length)for(let t=e.length-1;t>0;t--)if("word"===e[t].type&&"{"===e[t].value&&"word"===e[t-1].type&&e[t-1].value.endsWith("#"))return!0;return!1},hasStringOrFunction:function(e){if(e&&e.length)for(let t=0;t","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return"value-word"===e.type&&["==","!="].includes(e.value)},isMultiplicationNode:mD,isDivisionNode:gD,isAdditionNode:vD,isSubtractionNode:yD,isModuloNode:bD,isMathOperatorNode:function(e){return mD(e)||gD(e)||vD(e)||yD(e)||bD(e)},isEachKeywordNode:function(e){return"value-word"===e.type&&"in"===e.value},isForKeywordNode:function(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)},isURLFunctionNode:function(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},isIfElseKeywordNode:function(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)},hasComposesNode:function(e){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function(e){return e.value&&e.value.group&&e.value.group.group&&"value-paren_group"===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close},hasEmptyRawBefore:function(e){return e.raws&&""===e.raws.before},isSCSSNestedPropertyNode:function(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*?\n/,"").trim().endsWith(":")},isDetachedRulesetCallNode:function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},isTemplatePlaceholderNode:function(e){return e.name.startsWith("prettier-placeholder")},isTemplatePropNode:function(e){return e.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function(e,t){return"$$"===e.value&&"value-func"===e.type&&t&&"value-word"===t.type&&!t.raws.before},isKeyValuePairNode:wD,isKeyValuePairInParenGroupNode:DD,isSCSSMapItemNode:function(e){const t=e.getValue();if(0===t.groups.length)return!1;const n=e.getParentNode(1);if(!(DD(t)||n&&DD(n)))return!1;const r=pD(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||!!DD(n)||"value-func"===n.type},isInlineValueCommentNode:function(e){return"value-comment"===e.type&&e.inline},isHashNode:function(e){return"value-word"===e.type&&"#"===e.value},isLeftCurlyBraceNode:function(e){return"value-word"===e.type&&"{"===e.value},isRightCurlyBraceNode:function(e){return"value-word"===e.type&&"}"===e.value},isWordNode:function(e){return["value-word","value-atword"].includes(e.type)},isColonNode:function(e){return"value-colon"===e.type},isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&fD.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},stringifyNode:function e(t){if(t.groups)return(t.open&&t.open.value?t.open.value:"")+t.groups.reduce((n,r,i)=>n+e(r)+("comma_group"===t.groups[0].type&&i!==t.groups.length-1?",":""),"")+(t.close&&t.close.value?t.close.value:"");const n=t.raws&&t.raws.before?t.raws.before:"",r=t.raws&&t.raws.quote?t.raws.quote:"";return n+r+("atword"===t.type?"@":"")+(t.value?t.value:"")+r+(t.unit?t.unit:"")+(t.group?e(t.group):"")+(t.raws&&t.raws.after?t.raws.after:"")},isAtWordPlaceholderNode:function(e){return e&&"value-atword"===e.type&&e.value.startsWith("prettier-placeholder-")}},xD=function(e,t){let n=0;for(let r=0;r{const s=r.nodes[o-1];if(s&&"css-comment"===s.type&&"prettier-ignore"===s.text.trim()){const n=e.getValue();i.push(t.originalText.slice(jE(n),$E(n)))}else i.push(e.call(n));o!==r.nodes.length-1&&("css-comment"===r.nodes[o+1].type&&!FD(t.originalText,jE(r.nodes[o+1]),{backwards:!0})&&!ID(r.nodes[o])||"css-atrule"===r.nodes[o+1].type&&"else"===r.nodes[o+1].name&&"css-comment"!==r.nodes[o].type?i.push(" "):(i.push(t.__isHTMLStyleAttribute?BD:jD),PD(t.originalText,e.getValue(),$E)&&!ID(r.nodes[o])&&i.push(jD)))},"nodes"),RD(i)}const HE=/(["'])(?:(?!\1)[^\\]|\\[\S\s])*\1/g,zE=new RegExp(HE.source+"|"+"(".concat(/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source,")?")+"(".concat(/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source,")")+"(".concat(/[A-Za-z]+/g.source,")?"),"g");function VE(e,t){return e.replace(HE,e=>ND(e,t))}function WE(e,t){const n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function GE(e){return e.replace(zE,(e,t,n,r,i)=>!n&&r?KE(r)+JD(i||""):e)}function KE(e){return OD(e).replace(/\.0(?=$|e)/,"")}var XE={print:function(e,t,n){const r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.type){case"front-matter":return RD([r.raw,jD]);case"css-root":{const i=UE(e,t,n),o=r.raws.after.trim();return RD([i,o?" ".concat(o):"",i.parts.length?jD:""])}case"css-comment":{const e=r.inline||r.raws.inline,n=t.originalText.slice(jE(r),$E(r));return e?n.trimEnd():n}case"css-rule":return RD([e.call(n,"selector"),r.important?" !important":"",r.nodes?RD([r.selector&&"selector-unknown"===r.selector.type&&LE(r.selector.value)?BD:" ","{",r.nodes.length>0?HD(RD([jD,UE(e,t,n)])):"",jD,"}",uE(r)?";":""]):";"]);case"css-decl":{const i=e.getParentNode(),{between:o}=r.raws,s=o.trim(),a=":"===s;let u=wE(r)?GD(e.call(n,"value")):e.call(n,"value");return!a&&LE(s)&&(u=HD(RD([jD,zD(u)]))),RD([r.raws.before.replace(/[\s;]/g,""),QD(e)?r.prop:JD(r.prop),s.startsWith("//")?" ":"",s,r.extend?"":" ",sE(t)&&r.extend&&r.selector?RD(["extend(",e.call(n,"selector"),")"]):"",u,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?RD([" {",HD(RD([$D,UE(e,t,n)])),$D,"}"]):kE(r)&&!i.raws.semicolon&&";"!==t.originalText[$E(r)-1]?"":t.__isHTMLStyleAttribute&&oE(e,r)?VD(";",""):";"])}case"css-atrule":{const i=e.getParentNode(),o=CE(r)&&!i.raws.semicolon&&";"!==t.originalText[$E(r)-1];if(sE(t)){if(r.mixin)return RD([e.call(n,"selector"),r.important?" !important":"",o?"":";"]);if(r.function)return RD([r.name,RD([e.call(n,"params")]),o?"":";"]);if(r.variable)return RD(["@",r.name,": ",r.value?RD([e.call(n,"value")]):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?RD(["{",HD(RD([r.nodes.length>0?$D:"",UE(e,t,n)])),$D,"}"]):"",o?"":";"])}return RD(["@",_E(r)||r.name.endsWith(":")?r.name:JD(r.name),r.params?RD([_E(r)?"":CE(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?RD([jD,jD]):/^\s*\n/.test(r.raws.afterName)?jD:" ":" ",e.call(n,"params")]):"",r.selector?HD(RD([" ",e.call(n,"selector")])):"",r.value?qD(RD([" ",e.call(n,"value"),aE(r)?DE(r)?" ":BD:""])):"else"===r.name?" ":"",r.nodes?RD([aE(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&LE(r.selector.value)||!r.selector&&"string"==typeof r.params&&LE(r.params)?BD:" ","{",HD(RD([r.nodes.length>0?$D:"",UE(e,t,n)])),$D,"}"]):o?"":";"])}case"media-query-list":{const t=[];return e.each(e=>{const r=e.getValue();"media-query"===r.type&&""===r.value||t.push(e.call(n))},"nodes"),qD(HD(LD(BD,t)))}case"media-query":return RD([LD(" ",e.map(n,"nodes")),oE(e,r)?"":","]);case"media-type":return GE(VE(r.value,t));case"media-feature-expression":return r.nodes?RD(["(",RD(e.map(n,"nodes")),")"]):r.value;case"media-feature":return JD(VE(r.value.replace(/ +/g," "),t));case"media-colon":return RD([r.value," "]);case"media-value":return GE(VE(r.value,t));case"media-keyword":return VE(r.value,t);case"media-url":return VE(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return r.value;case"selector-root":return qD(RD([eE(e,"custom-selector")?RD([XD(e,"css-atrule").customSelector,BD]):"",LD(RD([",",eE(e,["extend","custom-selector","nest"])?BD:jD]),e.map(n,"nodes"))]));case"selector-selector":return qD(HD(RD(e.map(n,"nodes"))));case"selector-comment":return r.value;case"selector-string":return VE(r.value,t);case"selector-tag":{const t=e.getParentNode(),n=t&&t.nodes.indexOf(r),i=n&&t.nodes[n-1];return RD([r.namespace?RD([!0===r.namespace?"":r.namespace.trim(),"|"]):"","selector-nesting"===i.type?r.value:GE(nE(e,r.value)?r.value.toLowerCase():r.value)])}case"selector-id":return RD(["#",r.value]);case"selector-class":return RD([".",GE(VE(r.value,t))]);case"selector-attribute":return RD(["[",r.namespace?RD([!0===r.namespace?"":r.namespace.trim(),"|"]):"",r.attribute.trim(),r.operator?r.operator:"",r.value?WE(VE(r.value.trim(),t),t):"",r.insensitive?" i":"","]"]);case"selector-combinator":{if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){const t=e.getParentNode(),n="selector-selector"===t.type&&t.nodes[0]===r?"":BD;return RD([n,r.value,oE(e,r)?"":" "])}const n=r.value.trim().startsWith("(")?BD:"",i=GE(VE(r.value.trim(),t))||BD;return RD([n,i])}case"selector-universal":return RD([r.namespace?RD([!0===r.namespace?"":r.namespace.trim(),"|"]):"",r.value]);case"selector-pseudo":return RD([JD(r.value),r.nodes&&r.nodes.length>0?RD(["(",LD(", ",e.map(n,"nodes")),")"]):""]);case"selector-nesting":return r.value;case"selector-unknown":{const n=XD(e,"css-rule");if(n&&n.isSCSSNesterProperty)return GE(VE(JD(r.value),t));const i=e.getParentNode();if(i.raws&&i.raws.selector){const e=jE(i),n=e+i.raws.selector.length;return t.originalText.slice(e,n).trim()}const o=e.getParentNode(1);if("value-paren_group"===i.type&&o&&"value-func"===o.type&&"selector"===o.value){const e=jE(i.open)+1,n=$E(i.close)-1,r=t.originalText.slice(e,n).trim();return LE(r)?RD([WD,r]):r}return r.value}case"value-value":case"value-root":return e.call(n,"group");case"value-comment":return t.originalText.slice(jE(r),$E(r));case"value-comma_group":{const t=e.getParentNode(),i=e.getParentNode(1),o=YD(e),s=o&&"value-value"===t.type&&("grid"===o||o.startsWith("grid-template")),a=XD(e,"css-atrule"),u=a&&aE(a),l=e.map(n,"groups"),c=[],h=ZD(e,"url");let f=!1,d=!1;for(let n=0;n0&&"value-comma_group"===r.groups[0].type&&r.groups[0].groups.length>0&&"value-word"===r.groups[0].groups[0].type&&r.groups[0].groups[0].value.startsWith("data:")))return RD([r.open?e.call(n,"open"):"",LD(",",e.map(n,"groups")),r.close?e.call(n,"close"):""]);if(!r.open){const t=e.map(n,"groups"),r=[];for(let e=0;e{const t=e.getValue(),r=n(e);return xE(t)&&"value-comma_group"===t.type&&t.groups&&t.groups[2]&&"value-paren_group"===t.groups[2].type?(r.contents.contents.parts[1]=qD(r.contents.contents.parts[1]),qD(zD(r))):r},"groups"))])),VD(!a&&iE(t.parser,t.originalText)&&o&&qE(t)?",":""),$D,r.close?e.call(n,"close"):""]),{shouldBreak:o})}case"value-func":return RD([r.value,eE(e,"supports")&&PE(r)?" ":"",e.call(n,"group")]);case"value-paren":return r.value;case"value-number":return RD([KE(r.value),JD(r.unit)]);case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||rE(r.value)?r.value.toLowerCase():r.value;case"value-colon":{const t=e.getParentNode(),n=t&&t.groups.indexOf(r),i=n&&t.groups[n-1];return RD([r.value,i&&"\\"===i.value[i.value.length-1]||ZD(e,"url")?"":BD])}case"value-comma":return RD([r.value," "]);case"value-string":return ND(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return RD(["@",r.value]);case"value-unicode-range":case"value-unknown":return r.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(r.type)))}},embed:lD,insertPragma:KD,massageAstNode:eD},YE={singleQuote:$w.singleQuote},JE={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},ZE={name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},QE={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329},ex={languages:[Nu({name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50},e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]})),Nu(JE,()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),Nu(ZE,()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),Nu(QE,()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],options:YE,printers:{postcss:XE},parsers:{get css(){return{}.parsers.css},get less(){return{}.parsers.less},get scss(){return{}.parsers.scss}}},tx={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}};function nx(e,t){if("TextNode"===e.type){const n=e.chars.trim();if(!n)return null;t.chars=n}}nx.ignoredProperties=new Set(["loc","selfClosing"]);var rx=nx;const ix=new Set(["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]);function ox(e){return sx(e,["TextNode"])&&!/\S/.test(e.chars)}function sx(e,t){return e&&t.some(t=>e.type===t)}function ax(e,t){const n=e.getValue(),r=e.getParentNode(0)||{},i=r.children||r.body||r.parts||[],o=i.indexOf(n);return-1!==o&&i[o+t]}function ux(e,t=1){return ax(e,-t)}function lx(e){return ax(e,1)}function cx(e){return sx(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}var hx={getNextNode:lx,getPreviousNode:ux,hasPrettierIgnore:function(e){const t=e.getValue(),n=ux(e,2);return cx(t)||cx(n)},isNextNodeOfSomeType:function(e,t){return sx(lx(e),t)},isNodeOfSomeType:sx,isParentOfSomeType:function(e,t){return sx(e.getParentNode(0),t)},isPreviousNodeOfSomeType:function(e,t){return sx(ux(e),t)},isVoid:function(e){return function(e){return sx(e,["ElementNode"])&&"string"==typeof e.tag&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every(e=>ox(e))||ix.has(e.tag)},isWhitespaceNode:ox};const{builders:{concat:fx,group:dx,hardline:px,ifBreak:mx,indent:gx,join:vx,line:yx,softline:bx}}=cn,{locStart:wx,locEnd:Dx}=tx,{getNextNode:Ex,getPreviousNode:xx,hasPrettierIgnore:_x,isNextNodeOfSomeType:Cx,isNodeOfSomeType:kx,isParentOfSomeType:Sx,isPreviousNodeOfSomeType:Ax,isVoid:Tx,isWhitespaceNode:Mx}=hx;function Ox(e,t){const n=e.getValue();return fx(["<",n.tag,Nx(e,t),i_(n),Ix(n)])}function Nx(e,t){const n=e.getValue();return gx(fx([n.attributes.length?yx:"",vx(yx,e.map(t,"attributes")),n.modifiers.length?yx:"",vx(yx,e.map(t,"modifiers")),n.comments.length?yx:"",vx(yx,e.map(t,"comments"))]))}function Fx(e,t,n){return fx(e.map((e,r)=>0===r?fx([bx,n(e,t,n)]):n(e,t,n),"children"))}function Ix(e){return Tx(e)?mx(fx([bx,"/>"]),fx([" />",bx])):mx(fx([bx,">"]),">")}function Px(e){const t=!1===e.escaped?"{{{":"{{",n=e.strip&&e.strip.open?"~":"";return fx([t,n])}function Rx(e){const t=!1===e.escaped?"}}}":"}}",n=e.strip&&e.strip.close?"~":"";return fx([n,t])}function Lx(e){const t=Px(e),n=e.openStrip.open?"~":"";return fx([t,n,"#"])}function Bx(e){const t=Rx(e),n=e.openStrip.close?"~":"";return fx([n,t])}function jx(e){const t=Px(e),n=e.closeStrip.open?"~":"";return fx([t,n,"/"])}function $x(e){const t=Rx(e),n=e.closeStrip.close?"~":"";return fx([n,t])}function qx(e){const t=Px(e),n=e.inverseStrip.open?"~":"";return fx([t,n])}function Ux(e){const t=Rx(e),n=e.inverseStrip.close?"~":"";return fx([n,t])}function Hx(e,t){const n=e.getValue();return dx(fx([Lx(n),t_(e,t),i_(n.program),bx,Bx(n)]))}function zx(e){return fx([px,qx(e),"else",Ux(e)])}function Vx(e,t){const n=e.getParentNode(1);return fx([qx(n),"else ",t_(e,t),Ux(n)])}function Wx(e,t){const n=e.getValue();return fx([Gx(n)?bx:px,jx(n),e.call(t,"path"),$x(n)])}function Gx(e){return kx(e,["BlockStatement"])&&e.program.body.every(e=>Mx(e))}function Kx(e){return kx(e,["BlockStatement"])&&e.inverse}function Xx(e,t){if(Gx(e.getValue()))return"";const n=e.call(t,"program");return gx(fx([px,n]))}function Yx(e,t){const n=e.getValue(),r=e.call(t,"inverse"),i=fx([px,r]);return function(e){return Kx(e)&&1===e.inverse.body.length&&kx(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}(n)?i:Kx(n)?fx([zx(n),gx(i)]):""}function Jx(e){return(e="string"==typeof e?e:"").split("\n").length-1}function Zx(e=0,t=0){return new Array(Math.min(e,t)).fill(px)}function Qx(e,t){const n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},i=t.singleQuote?r:n,o=i===r?n:r;let s=!1;(e.includes(i.quote)||e.includes(o.quote))&&(s=(e.match(i.regex)||[]).length>(e.match(o.regex)||[]).length);const a=s?o:i,u=e.replace(a.regex,"\\".concat(a.quote));return fx([a.quote,u,a.quote])}function e_(e,t){const n=n_(e,t),r=r_(e,t);return r?gx(fx([n,yx,dx(r)])):n}function t_(e,t){const n=n_(e,t),r=r_(e,t);return r?gx(dx(fx([n,yx,r]))):n}function n_(e,t){return e.call(t,"path")}function r_(e,t){const n=e.getValue(),r=[];if(n.params.length){const n=e.map(t,"params");r.push(...n)}if(n.hash&&n.hash.pairs.length>0){const n=e.call(t,"hash");r.push(n)}return r.length?vx(yx,r):""}function i_(e){return e&&e.blockParams.length?fx([" as |",e.blockParams.join(" "),"|"]):""}var o_={print:function(e,t,n){const r=e.getValue();if(!r)return"";if(_x(e))return t.originalText.slice(wx(r),Dx(r));switch(r.type){case"Block":case"Program":case"Template":return dx(fx(e.map(n,"body")));case"ElementNode":{const i=Cx(e,["ElementNode"])?px:"";if(Tx(r))return fx([dx(Ox(e,n)),i]);const o=r.children.every(e=>Mx(e));return fx([dx(Ox(e,n)),dx(fx([o?"":gx(Fx(e,t,n)),r.children.length?px:"",fx([""])])),i])}case"BlockStatement":{const t=e.getParentNode(1),i=t&&t.inverse&&1===t.inverse.body.length&&t.inverse.body[0]===r&&"if"===t.inverse.body[0].path.parts[0];return fx(i?[Vx(e,n),Xx(e,n),Yx(e,n)]:[Hx(e,n),dx(fx([Xx(e,n),Yx(e,n),Wx(e,n)]))])}case"ElementModifierStatement":return dx(fx(["{{",t_(e,n),bx,"}}"]));case"MustacheStatement":{const t=Sx(e,["AttrNode","ConcatStatement"]),i=Sx(e,["ElementNode"])&&0===r.hash.pairs.length&&function(e){return 0===e.params.length}(r),o=t||i;return dx(fx([Px(r),o?gx(bx):"",t_(e,n),bx,Rx(r)]))}case"SubExpression":return dx(fx(["(",e_(e,n),bx,")"]));case"AttrNode":{const i="TextNode"===r.value.type;if(i&&""===r.value.chars&&wx(r.value)===Dx(r.value))return fx([r.name]);const o=e.call(n,"value"),s=i?Qx(o.parts.join(),t):o;return fx([r.name,"=",s])}case"ConcatStatement":{const r=t.singleQuote?"'":'"';return fx([r,...e.map(e=>n(e),"parts"),r])}case"Hash":return fx([vx(yx,e.map(n,"pairs"))]);case"HashPair":return fx([r.key,"=",e.call(n,"value")]);case"TextNode":{const t=2,n=!xx(e),i=!Ex(e),o=!/\S/.test(r.chars),s=Jx(r.chars);let a=function(e){return Jx(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(r.chars),u=function(e){return Jx(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(r.chars);if((n||i)&&o&&Sx(e,["Block","ElementNode","Template"]))return"";if(o&&s?(a=Math.min(s,t),u=0):(Cx(e,["BlockStatement","ElementNode"])&&(u=Math.max(u,1)),Ax(e,["BlockStatement","ElementNode"])&&(a=Math.max(a,1))),e.stack.includes("attributes")){if(!function(e,t){return Sx(e,["AttrNode"])&&e.getParentNode().name.toLowerCase()===t||Sx(e,["ConcatStatement"])&&e.getParentNode(1).name.toLowerCase()===t}(e,"class"))return fx([r.chars]);let n="",i="";return Sx(e,["ConcatStatement"])&&(Ax(e,["MustacheStatement"])&&(n=" "),Cx(e,["MustacheStatement"])&&(i=" ")),fx([...Zx(a,t),r.chars.replace(/^\s+/g,n).replace(/\s+$/,i),...Zx(u,t)])}let l="",c="";0===u&&Cx(e,["MustacheStatement"])&&(c=" "),0===a&&Ax(e,["MustacheStatement"])&&(l=" "),n&&(a=0,l=""),i&&(u=0,c="");let h=r.chars;return h.startsWith("{{")&&h.includes("}}")&&(h="\\"+h),fx([...Zx(a,t),h.replace(/^\s+/g,l).replace(/\s+$/,c),...Zx(u,t)])}case"MustacheCommentStatement":{const e=r.value.includes("}}")?"--":"";return fx(["{{!",e,r.value,e,"}}"])}case"PathExpression":return r.original;case"BooleanLiteral":return String(r.value);case"CommentStatement":return fx(["\x3c!--",r.value,"--\x3e"]);case"StringLiteral":return Qx(r.value,t);case"NumberLiteral":return String(r.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:rx},s_={languages:[Nu({name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},()=>({since:null,parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],printers:{glimmer:o_},parsers:{get glimmer(){return{}.parsers.glimmer}}},a_={hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}},u_={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}};const{builders:{concat:l_,join:c_,hardline:h_,line:f_,softline:d_,group:p_,indent:m_,ifBreak:g_}}=cn,{isNextLineEmpty:v_}=Rt,{insertPragma:y_}=a_,{locStart:b_,locEnd:w_}=u_;function D_(e,t,n){if(0===n.directives.length)return"";const r=c_(f_,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?p_(l_([f_,r])):l_([" ",p_(m_(l_([d_,r])))])}function E_(e,t,n){const r=e.getValue().length;return e.map((e,i)=>{const o=n(e);return v_(t.originalText,e.getValue(),w_)&&in(e),"interfaces");for(let a=0;a{i.push(l_([e.call(n)])),o!==r.definitions.length-1&&(i.push(h_),v_(t.originalText,e.getValue(),w_)&&i.push(h_))},"definitions"),l_([l_(i),h_])}case"OperationDefinition":{const i="{"!==t.originalText[b_(r)],o=!!r.name;return l_([i?r.operation:"",i&&o?l_([" ",e.call(n,"name")]):"",r.variableDefinitions&&r.variableDefinitions.length?p_(l_(["(",m_(l_([d_,c_(l_([g_("",", "),d_]),e.map(n,"variableDefinitions"))])),d_,")"])):"",D_(e,n,r),r.selectionSet&&(i||o)?" ":"",e.call(n,"selectionSet")])}case"FragmentDefinition":return l_(["fragment ",e.call(n,"name"),r.variableDefinitions&&r.variableDefinitions.length?p_(l_(["(",m_(l_([d_,c_(l_([g_("",", "),d_]),e.map(n,"variableDefinitions"))])),d_,")"])):""," on ",e.call(n,"typeCondition"),D_(e,n,r)," ",e.call(n,"selectionSet")]);case"SelectionSet":return l_(["{",m_(l_([h_,c_(h_,e.call(e=>E_(e,t,n),"selections"))])),h_,"}"]);case"Field":return p_(l_([r.alias?l_([e.call(n,"alias"),": "]):"",e.call(n,"name"),r.arguments.length>0?p_(l_(["(",m_(l_([d_,c_(l_([g_("",", "),d_]),e.call(e=>E_(e,t,n),"arguments"))])),d_,")"])):"",D_(e,n,r),r.selectionSet?" ":"",e.call(n,"selectionSet")]));case"Name":return r.value;case"StringValue":return r.block?l_(['"""',h_,c_(h_,r.value.replace(/"""/g,"\\$&").split("\n")),h_,'"""']):l_(['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']);case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return l_(["$",e.call(n,"name")]);case"ListValue":return p_(l_(["[",m_(l_([d_,c_(l_([g_("",", "),d_]),e.map(n,"values"))])),d_,"]"]));case"ObjectValue":return p_(l_(["{",t.bracketSpacing&&r.fields.length>0?" ":"",m_(l_([d_,c_(l_([g_("",", "),d_]),e.map(n,"fields"))])),d_,g_("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]));case"ObjectField":case"Argument":return l_([e.call(n,"name"),": ",e.call(n,"value")]);case"Directive":return l_(["@",e.call(n,"name"),r.arguments.length>0?p_(l_(["(",m_(l_([d_,c_(l_([g_("",", "),d_]),e.call(e=>E_(e,t,n),"arguments"))])),d_,")"])):""]);case"NamedType":return e.call(n,"name");case"VariableDefinition":return l_([e.call(n,"variable"),": ",e.call(n,"type"),r.defaultValue?l_([" = ",e.call(n,"defaultValue")]):"",D_(e,n,r)]);case"ObjectTypeExtension":case"ObjectTypeDefinition":return l_([e.call(n,"description"),r.description?h_:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",e.call(n,"name"),r.interfaces.length>0?l_([" implements ",l_(x_(e,t,n))]):"",D_(e,n,r),r.fields.length>0?l_([" {",m_(l_([h_,c_(h_,e.call(e=>E_(e,t,n),"fields"))])),h_,"}"]):""]);case"FieldDefinition":return l_([e.call(n,"description"),r.description?h_:"",e.call(n,"name"),r.arguments.length>0?p_(l_(["(",m_(l_([d_,c_(l_([g_("",", "),d_]),e.call(e=>E_(e,t,n),"arguments"))])),d_,")"])):"",": ",e.call(n,"type"),D_(e,n,r)]);case"DirectiveDefinition":return l_([e.call(n,"description"),r.description?h_:"","directive ","@",e.call(n,"name"),r.arguments.length>0?p_(l_(["(",m_(l_([d_,c_(l_([g_("",", "),d_]),e.call(e=>E_(e,t,n),"arguments"))])),d_,")"])):"",r.repeatable?" repeatable":"",l_([" on ",c_(" | ",e.map(n,"locations"))])]);case"EnumTypeExtension":case"EnumTypeDefinition":return l_([e.call(n,"description"),r.description?h_:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",e.call(n,"name"),D_(e,n,r),r.values.length>0?l_([" {",m_(l_([h_,c_(h_,e.call(e=>E_(e,t,n),"values"))])),h_,"}"]):""]);case"EnumValueDefinition":return l_([e.call(n,"description"),r.description?h_:"",e.call(n,"name"),D_(e,n,r)]);case"InputValueDefinition":return l_([e.call(n,"description"),r.description?r.description.block?h_:f_:"",e.call(n,"name"),": ",e.call(n,"type"),r.defaultValue?l_([" = ",e.call(n,"defaultValue")]):"",D_(e,n,r)]);case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return l_([e.call(n,"description"),r.description?h_:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",e.call(n,"name"),D_(e,n,r),r.fields.length>0?l_([" {",m_(l_([h_,c_(h_,e.call(e=>E_(e,t,n),"fields"))])),h_,"}"]):""]);case"SchemaDefinition":return l_(["schema",D_(e,n,r)," {",r.operationTypes.length>0?m_(l_([h_,c_(h_,e.call(e=>E_(e,t,n),"operationTypes"))])):"",h_,"}"]);case"OperationTypeDefinition":return l_([e.call(n,"operation"),": ",e.call(n,"type")]);case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return l_([e.call(n,"description"),r.description?h_:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",e.call(n,"name"),r.interfaces.length>0?l_([" implements ",l_(x_(e,t,n))]):"",D_(e,n,r),r.fields.length>0?l_([" {",m_(l_([h_,c_(h_,e.call(e=>E_(e,t,n),"fields"))])),h_,"}"]):""]);case"FragmentSpread":return l_(["...",e.call(n,"name"),D_(e,n,r)]);case"InlineFragment":return l_(["...",r.typeCondition?l_([" on ",e.call(n,"typeCondition")]):"",D_(e,n,r)," ",e.call(n,"selectionSet")]);case"UnionTypeExtension":case"UnionTypeDefinition":return p_(l_([e.call(n,"description"),r.description?h_:"",p_(l_(["UnionTypeExtension"===r.kind?"extend ":"","union ",e.call(n,"name"),D_(e,n,r),r.types.length>0?l_([" =",g_(""," "),m_(l_([g_(l_([f_," "])),c_(l_([f_,"| "]),e.map(n,"types"))]))]):""]))]));case"ScalarTypeExtension":case"ScalarTypeDefinition":return l_([e.call(n,"description"),r.description?h_:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",e.call(n,"name"),D_(e,n,r)]);case"NonNullType":return l_([e.call(n,"type"),"!"]);case"ListType":return l_(["[",e.call(n,"type"),"]"]);default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind))}},massageAstNode:__,hasPrettierIgnore:function(e){const t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some(e=>"prettier-ignore"===e.value.trim())},insertPragma:y_,printComment:function(e){const t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}},k_={bracketSpacing:$w.bracketSpacing},S_={languages:[Nu({name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139},()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],options:k_,printers:{graphql:C_},parsers:{get graphql(){return{}.parsers.graphql}}},A_={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};const{getLast:T_}=Rt,{locStart:M_,locEnd:O_}=A_,{cjkPattern:N_,kPattern:F_,punctuationPattern:I_}={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u3000-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"},P_=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],R_=P_.concat(["tableCell","paragraph","heading"]),L_=new RegExp(F_),B_=new RegExp(I_);function j_(e,t){const[,n,r,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:r,leadingSpaces:i}}var $_={mapAst:function(e,t){return function e(n,r,i){i=i||[];const o=Object.assign({},t(n,r,i));return o.children&&(o.children=o.children.map((t,n)=>e(t,n,[o].concat(i)))),o}(e,null,null)},splitText:function(e,t){const n="non-cjk",r="cj-letter",i="cjk-punctuation",o=[];return("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(N_,")\n(").concat(N_,")"),"g"),"$1$2")).split(/([\t\n ]+)/).forEach((e,t,a)=>{t%2!=1?(0!==t&&t!==a.length-1||""!==e)&&e.split(new RegExp("(".concat(N_,")"))).forEach((e,t,o)=>{(0!==t&&t!==o.length-1||""!==e)&&(t%2!=0?s(B_.test(e)?{type:"word",value:e,kind:i,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:e,kind:L_.test(e)?"k-letter":r,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==e&&s({type:"word",value:e,kind:n,hasLeadingPunctuation:B_.test(e[0]),hasTrailingPunctuation:B_.test(T_(e))}))}):o.push({type:"whitespace",value:/\n/.test(e)?"\n":" "})}),o;function s(e){const t=T_(o);var s,a;t&&"word"===t.type&&(t.kind===n&&e.kind===r&&!t.hasTrailingPunctuation||t.kind===r&&e.kind===n&&!e.hasLeadingPunctuation?o.push({type:"whitespace",value:" "}):(s=n,a=i,t.kind===s&&e.kind===a||t.kind===a&&e.kind===s||[t.value,e.value].some(e=>/\u3000/.test(e))||o.push({type:"whitespace",value:""}))),o.push(e)}},punctuationPattern:I_,getFencedCodeBlockValue:function(e,t){const{value:n}=e;return e.position.end.offset===t.length&&n.endsWith("\n")&&t.endsWith("\n")?n.slice(0,-1):n},getOrderedListItemInfo:j_,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;const n=Number(j_(e.children[0],t.originalText).numberText),r=Number(j_(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){const n=Number(j_(e.children[2],t.originalText).numberText);return 1===r&&1===n}return 1===r},INLINE_NODE_TYPES:P_,INLINE_NODE_WRAPPER_TYPES:R_,isAutolink:function(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;const t=e.children[0];return t&&M_(e)===M_(t)&&O_(e)===O_(t)}};const{inferParserByLanguage:q_,getMaxContinuousCount:U_}=Rt,{builders:{hardline:H_,concat:z_,markAsRoot:V_},utils:{replaceNewlinesWithLiterallines:W_}}=cn,{print:G_}=oD,{getFencedCodeBlockValue:K_}=$_;var X_=function(e,t,n,r){const i=e.getValue();if("code"===i.type&&null!==i.lang){const e=q_(i.lang,r);if(e){const t=r.__inJsTemplate?"~":"`",o=t.repeat(Math.max(3,U_(i.value,t)+1)),s=n(K_(i,r.originalText),{parser:e},{stripTrailingHardline:!0});return V_(z_([o,i.lang,i.meta?" "+i.meta:"",H_,W_(s),H_,o]))}}switch(i.type){case"front-matter":return G_(i,n);case"importExport":return z_([n(i.value,{parser:"babel"},{stripTrailingHardline:!0}),H_]);case"jsx":return n("<$>".concat(i.value,""),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null};const{parse:Y_}=oD,J_=["format","prettier"];function Z_(e){const t="@(".concat(J_.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),r=e.match(n);return r&&0===r.index}var Q_={startWithPragma:Z_,hasPragma:e=>Z_(Y_(e).content.trimStart()),insertPragma:e=>{const t=Y_(e),n="\x3c!-- @".concat(J_[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(n,"\n\n").concat(t.content):"".concat(n,"\n\n").concat(t.content)}};const{getOrderedListItemInfo:eC,mapAst:tC,splitText:nC}=$_,rC=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function iC(e,t,n){return tC(e,e=>{if(!e.children)return e;const r=e.children.reduce((e,r)=>{const i=e[e.length-1];return i&&t(i,r)?e.splice(-1,1,n(i,r)):e.push(r),e},[]);return Object.assign({},e,{children:r})})}var oC=function(e,t){return function(e){return iC(e,(e,t)=>"importExport"===e.type&&"importExport"===t.type,(e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}))}(e=function(e){return tC(e,e=>"import"!==e.type&&"export"!==e.type?e:Object.assign({},e,{type:"importExport"}))}(e=function(e,t){return tC(e,(e,n,[r])=>{if("text"!==e.type)return e;let{value:i}=e;return"paragraph"===r.type&&(0===n&&(i=i.trimStart()),n===r.children.length-1&&(i=i.trimEnd())),{type:"sentence",position:e.position,children:nC(i,t)}})}(e=function(e,t){return tC(e,(e,t,n)=>{if("list"===e.type&&0!==e.children.length){for(let t=0;t1)return!0;const o=n(r);return-1!==o&&(1===e.children.length?o%t.tabWidth==0:o===n(i)&&(o%t.tabWidth==0||eC(i,t.originalText).leadingSpaces.length>1))}}(e=function(e,t){return tC(e,(e,n,r)=>{if("code"===e.type){const n=/^\n?( {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=n,n)for(let e=0;e"inlineCode"!==e.type?e:Object.assign({},e,{value:e.value.replace(/\s+/g," ")}))}(e=function(e){return iC(e,(e,t)=>"text"===e.type&&"text"===t.type,(e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}}))}(e=function(e,t){return tC(e,e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&rC.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign({},e,{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e)}(e,t))),t),t),t)))};const{isFrontMatterNode:sC}=Rt,{startWithPragma:aC}=Q_,uC=new Set(["position","raw"]);function lC(e,t,n){return"front-matter"!==e.type&&"code"!==e.type&&"yaml"!==e.type&&"import"!==e.type&&"export"!==e.type&&"jsx"!==e.type||delete t.value,"list"===e.type&&delete t.isAligned,"list"!==e.type&&"listItem"!==e.type||(delete t.spread,delete t.loose),"text"===e.type?null:("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),"definition"!==e.type&&"linkReference"!==e.type||(t.label=e.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),"definition"!==e.type&&"link"!==e.type&&"image"!==e.type||!e.title||(t.title=e.title.replace(/\\(["')])/g,"$1")),n&&"root"===n.type&&n.children.length>0&&(n.children[0]===e||sC(n.children[0])&&n.children[1]===e)&&"html"===e.type&&aC(e.value)?null:void 0)}lC.ignoredProperties=uC;var cC=lC;const{getLast:hC,getMinNotPresentContinuousCount:fC,getMaxContinuousCount:dC,getStringWidth:pC}=Rt,{builders:{breakParent:mC,concat:gC,join:vC,line:yC,literalline:bC,markAsRoot:wC,hardline:DC,softline:EC,ifBreak:xC,fill:_C,align:CC,indent:kC,group:SC},utils:{normalizeDoc:AC},printer:{printDocToString:TC}}=cn,{replaceEndOfLineWith:MC}=Rt,{insertPragma:OC}=Q_,{locStart:NC,locEnd:FC}=A_,{getFencedCodeBlockValue:IC,hasGitDiffFriendlyOrderedList:PC,splitText:RC,punctuationPattern:LC,INLINE_NODE_TYPES:BC,INLINE_NODE_WRAPPER_TYPES:jC,isAutolink:$C}=$_,qC=new Set(["importExport"]),UC=["heading","tableCell","link","wikiLink"],HC=new Set(["listItem","definition","footnoteDefinition"]);function zC(e,t,n,r){const i=e.getValue(),o=null===i.checked?"":i.checked?"[x] ":"[ ] ";return gC([o,YC(e,t,n,{processor:(e,i)=>{if(0===i&&"list"!==e.getValue().type)return CC(" ".repeat(o.length),e.call(n));const s=" ".repeat((a=t.tabWidth-r.length,l=3,a<(u=0)?u:a>l?l:a));var a,u,l;return gC([s,CC(s,e.call(n))])}})])}function VC(e,t){return function(e,t,n){n=n||(()=>!0);let r=-1;for(const i of t.children)if(i.type===e.type&&n(i)?r++:r=-1,i===e)return r}(e,t,t=>t.ordered===e.ordered)}function WC(e,t){const n=[].concat(t);let r,i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function GC(e,t){const n=WC(e,t);return-1===n?null:e.getParentNode(n)}function KC(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return DC;const r="always"===n.proseWrap&&!GC(e,UC);return""!==t?r?yC:" ":r?EC:""}function XC(e,t,n){const r=[];let i=null;const{children:o}=e.getValue();return o.forEach((e,t)=>{switch(ZC(e)){case"start":null===i&&(i={index:t,offset:e.position.end.offset});break;case"end":null!==i&&(r.push({start:i,end:{index:t,offset:e.position.start.offset}}),i=null)}}),YC(e,t,n,{processor:(e,i)=>{if(0!==r.length){const e=r[0];if(i===e.start.index)return gC([o[e.start.index].value,t.originalText.slice(e.start.offset,e.end.offset),o[e.end.index].value]);if(e.start.indexe.call(n)),s=e.getValue(),a=[];let u;return e.each((e,n)=>{const r=e.getValue(),i=o(e,n);if(!1!==i){const e={parts:a,prevNode:u,parentNode:s,options:t};(function(e,t){const n=0===t.parts.length,r=BC.includes(e.type),i="html"===e.type&&jC.includes(t.parentNode.type);return n||r||i})(r,e)||(a.push(DC),u&&qC.has(u.type)||(function(e,t){const n=(t.prevNode&&t.prevNode.type)===e.type&&HC.has(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,i=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,o="next"===ZC(t.prevNode),s="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,a="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return i||!(n||r||o||s||a)}(r,e)||QC(r,e))&&a.push(DC),QC(r,e)&&a.push(DC)),a.push(i),u=r}},"children"),i(a)}function JC(e){let t=e;for(;t.children&&0!==t.children.length;)t=t.children[t.children.length-1];return t}function ZC(e){if("html"!==e.type)return!1;const t=e.value.match(/^$/);return null!==t&&(t[1]?t[1]:"next")}function QC(e,t){const n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function ek(e,t){const n=[" "].concat(t||[]);return new RegExp(n.map(e=>"\\".concat(e)).join("|")).test(e)?"<".concat(e,">"):e}function tk(e,t,n){if(null==n&&(n=!0),!e)return"";if(n)return" "+tk(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");const r=e.split("'").length-1,i=e.split('"').length-1,o=r>i?'"':i>r||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(o,")"),"g"),"\\$1"),"".concat(o).concat(e).concat(o)}var nk={preprocess:oC,print:function(e,t,n){const r=e.getValue();if(function(e){const t=GC(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return gC(RC(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map(n=>"word"===n.type?n.value:""===n.value?"":KC(e,n.value,t)));switch(r.type){case"front-matter":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"root":return 0===r.children.length?"":gC([AC(XC(e,t,n)),qC.has(JC(r).type)?"":DC]);case"paragraph":return YC(e,t,n,{postprocessor:_C});case"sentence":return YC(e,t,n);case"word":{let t=r.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(LC,")(_+)"),"(_+)(".concat(LC,"|$)")].join("|"),"g"),(e,t,n,r,i)=>(n?"".concat(t).concat(n):"".concat(r).concat(i)).replace(/_/g,"\\_"));const n=(e,t,n)=>"sentence"===e.type&&0===n,i=(e,t,n)=>$C(e.children[n-1]);return t!==r.value&&(e.match(void 0,n,i)||e.match(void 0,n,(e,t,n)=>"emphasis"===e.type&&0===n,i))&&(t=t.replace(/^(\\?[*_])+/,e=>e.replace(/\\/g,""))),t}case"whitespace":{const n=e.getParentNode(),i=n.children.indexOf(r),o=n.children[i+1],s=o&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(o.value)?"never":t.proseWrap;return KC(e,r.value,{proseWrap:s})}case"emphasis":{let i;if($C(r.children[0]))i=t.originalText[r.position.start.offset];else{const t=e.getParentNode(),n=t.children.indexOf(r),o=t.children[n-1],s=t.children[n+1];i=o&&"sentence"===o.type&&o.children.length>0&&"word"===hC(o.children).type&&!hC(o.children).hasTrailingPunctuation||s&&"sentence"===s.type&&s.children.length>0&&"word"===s.children[0].type&&!s.children[0].hasLeadingPunctuation||GC(e,"emphasis")?"*":"_"}return gC([i,YC(e,t,n),i])}case"strong":return gC(["**",YC(e,t,n),"**"]);case"delete":return gC(["~~",YC(e,t,n),"~~"]);case"inlineCode":{const e=fC(r.value,"`"),t="`".repeat(e||1),n=e&&!/^\s/.test(r.value)?" ":"";return gC([t,n,r.value,n,t])}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?r.value:r.value.replace(/[\t\n]+/g," "),gC(["[[",e,"]]"])}case"link":switch(t.originalText[r.position.start.offset]){case"<":{const e="mailto:",n=r.url.startsWith(e)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+e.length)!==e?r.url.slice(e.length):r.url;return gC(["<",n,">"])}case"[":return gC(["[",YC(e,t,n),"](",ek(r.url,")"),tk(r.title,t),")"]);default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return gC(["![",r.alt||"","](",ek(r.url,")"),tk(r.title,t),")"]);case"blockquote":return gC(["> ",CC("> ",YC(e,t,n))]);case"heading":return gC(["#".repeat(r.depth)+" ",YC(e,t,n)]);case"code":{if(r.isIndented){const e=" ".repeat(4);return CC(e,gC([e,gC(MC(r.value,DC))]))}const e=t.__inJsTemplate?"~":"`",n=e.repeat(Math.max(3,dC(r.value,e)+1));return gC([n,r.lang||"",r.meta?" "+r.meta:"",DC,gC(MC(IC(r,t.originalText),DC)),DC,n])}case"html":{const t=e.getParentNode(),n="root"===t.type&&hC(t.children)===r?r.value.trimEnd():r.value,i=/^$/.test(n);return gC(MC(n,i?DC:wC(bC)))}case"list":{const i=VC(r,e.getParentNode()),o=PC(r,t);return YC(e,t,n,{processor:(e,s)=>{const a=function(){const e=r.ordered?(0===s?r.start:o?1:r.start+s)+(i%2==0?". ":") "):i%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(e,t){const n=r();return e+" ".repeat(n>=4?0:n);function r(){const n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}}(e,t):e}(),u=e.getValue();return 2===u.children.length&&"html"===u.children[1].type&&u.children[0].position.start.column!==u.children[1].position.start.column?gC([a,zC(e,t,n,a)]):gC([a,CC(" ".repeat(a.length),zC(e,t,n,a))])}})}case"thematicBreak":{const t=WC(e,"list");return-1===t?"---":VC(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return gC(["[",YC(e,t,n),"]","full"===r.referenceType?gC(["[",r.identifier,"]"]):"collapsed"===r.referenceType?"[]":""]);case"imageReference":switch(r.referenceType){case"full":return gC(["![",r.alt||"","][",r.identifier,"]"]);default:return gC(["![",r.alt,"]","collapsed"===r.referenceType?"[]":""])}case"definition":{const e="always"===t.proseWrap?yC:" ";return SC(gC([gC(["[",r.identifier,"]:"]),kC(gC([e,ek(r.url),null===r.title?"":gC([e,tk(r.title,t,!1)])]))]))}case"footnote":return gC(["[^",YC(e,t,n),"]"]);case"footnoteReference":return gC(["[^",r.identifier,"]"]);case"footnoteDefinition":{const i=e.getParentNode().children[e.getName()+1],o=1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line);return gC(["[^",r.identifier,"]: ",o?YC(e,t,n):SC(gC([CC(" ".repeat(4),YC(e,t,n,{processor:(e,t)=>0===t?SC(gC([EC,e.call(n)])):e.call(n)})),i&&"footnoteDefinition"===i.type?EC:""]))])}case"table":return function(e,t,n){const r=DC.parts[0],i=e.getValue(),o=[],s=e.map(e=>e.map((e,r)=>{const i=TC(e.call(n),t).formatted,s=pC(i);return o[r]=Math.max(o[r]||3,s),{text:i,width:s}},"children"),"children"),a=l(!1);if("never"!==t.proseWrap)return gC([mC,a]);const u=l(!0);return gC([mC,SC(xC(u,a))]);function l(e){const t=[h(s[0],e),c(e)];return s.length>1&&t.push(vC(r,s.slice(1).map(t=>h(t,e)))),vC(r,t)}function c(e){const t=o.map((t,n)=>{const r=i.align[n],o="center"===r||"left"===r?":":"-",s="center"===r||"right"===r?":":"-",a=e?"-":"-".repeat(t-2);return"".concat(o).concat(a).concat(s)});return"| ".concat(t.join(" | ")," |")}function h(e,t){const n=e.map(({text:e,width:n},r)=>{if(t)return e;const s=o[r]-n,a=i.align[r];let u=0;"right"===a?u=s:"center"===a&&(u=Math.floor(s/2));const l=s-u;return"".concat(" ".repeat(u)).concat(e).concat(" ".repeat(l))});return"| ".concat(n.join(" | ")," |")}}(e,t,n);case"tableCell":return YC(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?gC([" ",wC(bC)]):gC(["\\",DC]);case"liquidNode":return gC(MC(r.value,DC));case"importExport":return gC([r.value,DC]);case"jsx":return r.value;case"math":return gC(["$$",DC,r.value?gC([gC(MC(r.value,DC)),DC]):"","$$"]);case"inlineMath":return t.originalText.slice(NC(r),FC(r));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:X_,massageAstNode:cC,hasPrettierIgnore:function(e){const t=+e.getName();return 0!==t&&"next"===ZC(e.getParentNode().children[t-1])},insertPragma:OC},rk={proseWrap:$w.proseWrap,singleQuote:$w.singleQuote},ik={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222},ok={languages:[Nu(ik,e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:e.filenames.concat(["README"]),extensions:e.extensions.filter(e=>".mdx"!==e)})),Nu(ik,()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],options:rk,printers:{mdast:nk},parsers:{get remark(){return{}.parsers.remark},get markdown(){return{}.parsers.remark},get mdx(){return{}.parsers.mdx}}};const{isFrontMatterNode:sk}=Rt,ak=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function uk(e,t){return"text"===e.type||"comment"===e.type||sk(e)||"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value))}uk.ignoredProperties=ak;var lk=uk,ck={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]};const{inferParserByLanguage:hk,isFrontMatterNode:fk}=Rt,{CSS_DISPLAY_TAGS:dk,CSS_DISPLAY_DEFAULT:pk,CSS_WHITE_SPACE_TAGS:mk,CSS_WHITE_SPACE_DEFAULT:gk}={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},vk=Ek(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),yk=function(e,t){const n=Object.create(null);for(const r of Object.keys(e))n[r]=t(e[r],r);return n}(ck,Ek),bk=new Set(["\t","\n","\f","\r"," "]),wk=e=>e.replace(/[\t\n\f\r ]+$/,""),Dk=e=>e.match(/^[\t\n\f\r ]*/)[0];function Ek(e){const t=Object.create(null);for(const n of e)t[n]=!0;return t}function xk(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!Pk(e)||!e.children.some(e=>"text"!==e.type&&"interpolation"!==e.type))||!(!qk(e,t)||Ck(e)||"interpolation"===e.type)}function _k(e){return"attribute"!==e.type&&(!!e.parent&&("number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])))}function Ck(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||Rk(e)&&("script"===e.name||"style"===e.name))}function kk(e){return Lk(e).startsWith("pre")}function Sk(e){return"element"===e.type&&0!==e.children.length&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function Ak(e){return Nk(e)||"element"===e.type&&"br"===e.fullName||Tk(e)}function Tk(e){return Mk(e)&&Ok(e)}function Mk(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Nk(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Fk(e){const{type:t,lang:n}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===n?"babel":"application/x-typescript"===t||"ts"===n||"tsx"===n?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function Ik(e){return"block"===e||"list-item"===e||e.startsWith("table")}function Pk(e){return Lk(e).startsWith("pre")}function Rk(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Lk(e){return"element"===e.type&&(!e.namespace||Rk(e))&&mk[e.name]||gk}const Bk=new Set(["template","style","script"]);function jk(e,t){return $k(e,t)&&!Bk.has(e.fullName)}function $k(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function qk(e,t){return $k(e,t)&&(jk(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var Uk={HTML_ELEMENT_ATTRIBUTES:yk,HTML_TAGS:vk,htmlTrim:e=>(e=>e.replace(/^[\t\n\f\r ]+/,""))(wk(e)),htmlTrimPreserveIndentation:e=>(e=>e.replace(/^[\t\f\r ]*?\n/g,""))(wk(e)),splitByHtmlWhitespace:e=>e.split(/[\t\n\f\r ]+/),hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{const[,t,n,r]=e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/);return{leadingWhitespace:t,trailingWhitespace:r,text:n}},canHaveInterpolation:function(e){return e.children&&!Ck(e)},countChars:function(e,t){let n=0;for(let r=0;r=0;r--){const i=e.stack[r];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&n++}return n},dedentString:function(e,t=function(e){let t=1/0;for(const n of e.split("\n")){if(0===n.length)continue;if(!bk.has(n[0]))return 0;const e=Dk(n).length;n.length!==e&&ee.slice(t)).join("\n")},forceBreakChildren:Sk,forceBreakContent:function(e){return Sk(e)||"element"===e.type&&0!==e.children.length&&(["body","script","style"].includes(e.name)||e.children.some(e=>function(e){return e.children&&e.children.some(e=>"text"!==e.type)}(e)))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&Mk(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Ok(e.lastChild))},forceNextEmptyLine:function(e){return fk(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1"svg:foreignObject"===e.fullName))return"svg"===e.name?"inline-block":"block";n=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||n||Rk(e))&&dk[e.name]||pk}},getNodeCssStyleWhiteSpace:Lk,getPrettierIgnoreAttributeCommentData:function(e){const t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))},hasPrettierIgnore:_k,inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e){const{lang:t}=e.attrMap;return t&&"postcss"!==t&&"css"!==t?"scss"===t?"scss":"less"===t?"less":void 0:"css"}(e):t&&qk(e,t)?Fk(e)||!("src"in e.attrMap)&&hk(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?Fk(e):"babel"},isVueCustomBlock:jk,isVueNonHtmlBlock:qk,isVueSlotAttribute:function(e){const t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(e,t){const n=e.parent;if(!$k(n,t))return!1;const r=n.fullName,i=e.fullName;return"script"===r&&"setup"===i||"style"===r&&"vars"===i},isDanglingSpaceSensitiveNode:function(e){return t=e.cssDisplay,!(Ik(t)||"inline-block"===t||Ck(e));var t},isIndentationSensitiveNode:kk,isLeadingSpaceSensitiveNode:function(e,t){const n=function(){return!fk(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!Pk(e.parent)||!(!e.prev&&("root"===e.parent.type||Pk(e)&&e.parent||Ck(e.parent)||jk(e.parent,t)||(n=e.parent.cssDisplay,Ik(n)||"inline-block"===n)))&&!(e.prev&&!function(e){return!Ik(e)}(e.prev.cssDisplay))));var n}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n},isPreLikeNode:Pk,isScriptLikeTag:Ck,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!fk(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!Pk(e.parent)||!(!e.next&&("root"===e.parent.type||Pk(e)&&e.parent||Ck(e.parent)||jk(e.parent,t)||(n=e.parent.cssDisplay,Ik(n)||"inline-block"===n)))&&!(e.next&&!function(e){return!Ik(e)}(e.next.cssDisplay))));var n},isWhitespaceSensitiveNode:function(e){return Ck(e)||"interpolation"===e.type||kk(e)},isUnknownNamespace:Rk,preferHardlineAsLeadingSpaces:function(e){return Nk(e)||e.prev&&Ak(e.prev)||Tk(e)},preferHardlineAsTrailingSpaces:Ak,shouldNotPrintClosingTag:function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(_k(e)||xk(e.parent,t))},shouldPreserveContent:xk,unescapeQuoteEntities:function(e){return e.replace(/'/g,"'").replace(/"/g,'"')}},Hk=Be((function(e,t){function n(e){return t.$0<=e&&e<=t.$9} + ***************************************************************************** */function kr(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Sr(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function Ar(e){return this instanceof Ar?(this.v=e,this):new Ar(e)}var Tr=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}_r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return Cr},__rest:function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},__param:function(e,t){return function(n,r){t(n,r,e)}},__metadata:function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(e){o(e)}}function a(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},__generator:function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1||a(e,t)}))})}function a(e,t){try{(n=i[e](t)).value instanceof Ar?Promise.resolve(n.value.v).then(u,l):c(o[0][2],n)}catch(e){c(o[0][3],e)}var n}function u(e){a("next",e)}function l(e){a("throw",e)}function c(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:Ar(e[r](t)),done:"return"===r}:i?i(t):t}:i}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=kr(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}}),Mr=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(null===e||"object"!=typeof e)return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map(e=>t.apiDescriptor.value(e)).join(", "),"]");const n=Object.keys(e);return 0===n.length?"{}":"{ ".concat(n.map(n=>"".concat(t.apiDescriptor.key(n),": ").concat(t.apiDescriptor.value(e[n]))).join(", ")," }")},pair:({key:e,value:n})=>t.apiDescriptor.value({[e]:n})}})),Or=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Tr.__exportStar(Mr,t)})),Nr=/[|\\{}()[\]^$+*?.]/g,Fr=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(Nr,"\\$&")},Ir={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Rr=Be((function(e){var t={};for(var n in Ir)Ir.hasOwnProperty(n)&&(t[Ir[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in r)if(r.hasOwnProperty(i)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);var o=r[i].channels,s=r[i].labels;delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:o}),Object.defineProperty(r[i],"labels",{value:s})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,s=Math.min(r,i,o),a=Math.max(r,i,o),u=a-s;return a===s?t=0:r===a?t=(i-o)/u:i===a?t=2+(o-r)/u:o===a&&(t=4+(r-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),n=(s+a)/2,[t,100*(a===s?0:n<=.5?u/(a+s):u/(2-a-s)),100*n]},r.rgb.hsv=function(e){var t,n,r,i,o,s=e[0]/255,a=e[1]/255,u=e[2]/255,l=Math.max(s,a,u),c=l-Math.min(s,a,u),h=function(e){return(l-e)/6/c+.5};return 0===c?i=o=0:(o=c/l,t=h(s),n=h(a),r=h(u),s===l?i=r-n:a===l?i=1/3+t-r:u===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,i,o,s=1/0;for(var a in Ir)if(Ir.hasOwnProperty(a)){var u=Ir[a],l=(i=e,o=u,Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));l.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],o=t[2];return i/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,r,i,o,s=e[0]/360,a=e[1]/100,u=e[2]/100;if(0===a)return[o=255*u,o,o];t=2*u-(n=u<.5?u*(1+a):u+a-u*a),i=[0,0,0];for(var l=0;l<3;l++)(r=s+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*o;return i},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),s=255*r*(1-n),a=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,s];case 1:return[a,r,s];case 2:return[s,r,u];case 3:return[s,a,r];case 4:return[u,s,r];case 5:return[r,s,a]}},r.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,s=e[2]/100,a=Math.max(s,.01);return r=(2-o)*s,n=o*a,[i,100*(n=(n/=(t=(2-o)*a)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,i,o,s,a,u=e[0]/360,l=e[1]/100,c=e[2]/100,h=l+c;switch(h>1&&(l/=h,c/=h),r=6*u-(t=Math.floor(6*u)),0!=(1&t)&&(r=1-r),i=l+r*((n=1-c)-l),t){default:case 6:case 0:o=n,s=i,a=l;break;case 1:o=i,s=n,a=l;break;case 2:o=l,s=n,a=i;break;case 3:o=l,s=i,a=n;break;case 4:o=i,s=l,a=n;break;case 5:o=n,s=l,a=i}return[255*o,255*s,255*a]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,s=e[2]/100;return n=-.9689*i+1.8758*o+.0415*s,r=.0557*i+-.204*o+1.057*s,t=(t=3.2406*i+-1.5372*o+-.4986*s)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),s=Math.pow(t,3),a=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var s=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(s+=60),s},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),s=Math.min(Math.min(n,r),i),a=o-s;return t=a<=0?0:o===n?(r-i)/a%6:o===r?2+(i-n)/a:4+(n-r)/a+4,t/=6,[360*(t%=1),100*a,100*(a<1?s/(1-a):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],s=t%1*6,a=s%1,u=1-a;switch(Math.floor(s)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function Pr(e){var t=function(){for(var e={},t=Object.keys(Rr),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var $r=jr,Ur=Be((function(e){const t=(e,t)=>function(){const n=e.apply($r,arguments);return"[".concat(n+t,"m")},n=(e,t)=>function(){const n=e.apply($r,arguments);return"[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e.apply($r,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(const t of Object.keys(i)){const n=i[t];for(const t of Object.keys(n)){const r=n[t];i[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=i[t],e.set(r[0],r[1])}Object.defineProperty(i,t,{value:n,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}const o=e=>e,s=(e,t,n)=>[e,t,n];i.color.close="",i.bgColor.close="",i.color.ansi={ansi:t(o,0)},i.color.ansi256={ansi256:n(o,0)},i.color.ansi16m={rgb:r(s,0)},i.bgColor.ansi={ansi:t(o,10)},i.bgColor.ansi256={ansi256:n(o,10)},i.bgColor.ansi16m={rgb:r(s,10)};for(let a of Object.keys($r)){if("object"!=typeof $r[a])continue;const e=$r[a];"ansi16"===a&&(a="ansi"),"ansi16"in e&&(i.color.ansi[a]=t(e.ansi16,0),i.bgColor.ansi[a]=t(e.ansi16,10)),"ansi256"in e&&(i.color.ansi256[a]=n(e.ansi256,0),i.bgColor.ansi256[a]=n(e.ansi256,10)),"rgb"in e&&(i.color.ansi16m[a]=r(e.rgb,0),i.bgColor.ansi16m[a]=r(e.rgb,10))}return i}})})),qr=(e,t)=>{t=t||Ie.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r"browser",cpus:()=>[{model:"Prettier"}]}}));const zr=Ie.env;let Vr;function Wr(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===Vr)return 0;if(qr("color=16m")||qr("color=full")||qr("color=truecolor"))return 3;if(qr("color=256"))return 2;if(e&&!e.isTTY&&!0!==Vr)return 0;const t=Vr?1:0;if("win32"===Ie.platform){const e=Hr.release().split(".");return Number(Ie.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in zr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in zr)||"codeship"===zr.CI_NAME?1:t;if("TEAMCITY_VERSION"in zr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(zr.TEAMCITY_VERSION)?1:0;if("truecolor"===zr.COLORTERM)return 3;if("TERM_PROGRAM"in zr){const e=parseInt((zr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(zr.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(zr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(zr.TERM)||"COLORTERM"in zr?1:(zr.TERM,t)}(e))}qr("no-color")||qr("no-colors")||qr("color=false")?Vr=!1:(qr("color")||qr("colors")||qr("color=true")||qr("color=always"))&&(Vr=!0),"FORCE_COLOR"in zr&&(Vr=0===zr.FORCE_COLOR.length||0!==parseInt(zr.FORCE_COLOR,10));var Gr={supportsColor:Wr,stdout:Wr(Ie.stdout),stderr:Wr(Ie.stderr)};const Kr=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Xr=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Yr=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Jr=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Zr=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Qr(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Zr.get(e)||e}function ei(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r)if(isNaN(o)){if(!(i=o.match(Yr)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(i[2].replace(Jr,(e,t,n)=>t?Qr(t):n))}else n.push(Number(o));return n}function ti(e){Xr.lastIndex=0;const t=[];let n;for(;null!==(n=Xr.exec(e));){const e=n[1];if(n[2]){const r=ei(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function ni(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const i of Object.keys(n))if(Array.isArray(n[i])){if(!(i in r))throw new Error("Unknown Chalk style: ".concat(i));r=n[i].length>0?r[i].apply(r,n[i]):r[i]}return r}var ri=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(Kr,(t,o,s,a,u,l)=>{if(o)i.push(Qr(o));else if(a){const t=i.join("");i=[],r.push(0===n.length?t:ni(e,n)(t)),n.push({inverse:s,styles:ti(a)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(ni(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")},ii=Be((function(e){const t=Gr.stdout,n="win32"===Ie.platform&&!(Ie.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),o=Object.create(null);function s(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function a(e){if(!this||!(this instanceof a)||this.template){const t={};return s(t,e),t.template=function(){const e=[].slice.call(arguments);return h.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,a.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=a,t.template}s(this,e)}n&&(Ur.blue.open="");for(const f of Object.keys(Ur))Ur[f].closeRe=new RegExp(Fr(Ur[f].close),"g"),o[f]={get(){const e=Ur[f];return l.call(this,this._styles?this._styles.concat(e):[e],this._empty,f)}};o.visible={get(){return l.call(this,this._styles||[],!0,"visible")}},Ur.color.closeRe=new RegExp(Fr(Ur.color.close),"g");for(const f of Object.keys(Ur.color.ansi))i.has(f)||(o[f]={get(){const e=this.level;return function(){const t=Ur.color[r[e]][f].apply(null,arguments),n={open:t,close:Ur.color.close,closeRe:Ur.color.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});Ur.bgColor.closeRe=new RegExp(Fr(Ur.bgColor.close),"g");for(const f of Object.keys(Ur.bgColor.ansi))i.has(f)||(o["bg"+f[0].toUpperCase()+f.slice(1)]={get(){const e=this.level;return function(){const t=Ur.bgColor[r[e]][f].apply(null,arguments),n={open:t,close:Ur.bgColor.close,closeRe:Ur.bgColor.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});const u=Object.defineProperties(()=>{},o);function l(e,t,n){const r=function(){return c.apply(r,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=u,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n{const r=["".concat(ii.default.yellow("string"==typeof e?n.key(e):n.pair(e))," is deprecated")];return t&&r.push("we now treat it as ".concat(ii.default.blue("string"==typeof t?n.key(t):n.pair(t)))),r.join("; ")+"."}})),si=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Tr.__exportStar(oi,t)})),ai=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.commonInvalidHandler=(e,t,n)=>["Invalid ".concat(ii.default.red(n.descriptor.key(e))," value."),"Expected ".concat(ii.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(ii.default.red(n.descriptor.value(t)),".")].join(" ")})),ui=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Tr.__exportStar(ai,t)})),li=[],ci=[],hi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.levenUnknownHandler=(e,t,{descriptor:n,logger:r,schemas:i})=>{const o=["Ignored unknown option ".concat(ii.default.yellow(n.pair({key:e,value:t})),".")],s=Object.keys(i).sort().find(t=>function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var r=e.length,i=t.length;if(0===r)return i;if(0===i)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;if(0===r)return i;for(var o,s,a,u,l=0;ls?u>s?s+1:u:u>a?a+1:u;return s}(e,t)<3);s&&o.push("Did you mean ".concat(ii.default.blue(n.key(s)),"?")),r.warn(o.join(" "))}})),fi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Tr.__exportStar(hi,t)})),di=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Tr.__exportStar(si,t),Tr.__exportStar(ui,t),Tr.__exportStar(fi,t)})),pi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,t){const r=new e(t),s=Object.create(r);for(const a of n)a in t&&(s[a]=o(t[a],r,i.prototype[a].length));return s}t.createSchema=r;class i{constructor(e){this.name=e.name}static create(e){return r(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return e}}function o(e,t,n){return"function"==typeof e?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e}t.Schema=i})),mi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}}t.AliasSchema=n})),gi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{expected(){return"anything"}validate(){return!0}}t.AnySchema=n})),vi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{constructor(e){var{valueSchema:t,name:n=t.name}=e,r=Tr.__rest(e,["valueSchema","name"]);super(Object.assign({},r,{name:n})),this._valueSchema=t}expected(e){return"an array of ".concat(this._valueSchema.expected(e))}validate(e,t){if(!Array.isArray(e))return!1;const n=[];for(const r of e){const e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);!0!==e&&n.push(e.value)}return 0===n.length||{value:n}}deprecated(e,t){const n=[];for(const r of e){const e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);!1!==e&&n.push(...e.map(({value:e})=>({value:[e]})))}return n}forward(e,t){const n=[];for(const i of e){const e=t.normalizeForwardResult(this._valueSchema.forward(i,t),i);n.push(...e.map(r))}return n}redirect(e,t){const n=[],i=[];for(const o of e){const e=t.normalizeRedirectResult(this._valueSchema.redirect(o,t),o);"remain"in e&&n.push(e.remain),i.push(...e.redirect.map(r))}return 0===n.length?{redirect:i}:{redirect:i,remain:n}}overlap(e,t){return e.concat(t)}}function r({from:e,to:t}){return{from:[e],to:t}}t.ArraySchema=n})),yi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}}t.BooleanSchema=n})),bi=Be((function(e,t){function n(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function r(e,t){return void 0===e?[]:Array.isArray(e)?e.map(e=>n(e,t)):[n(e,t)]}Object.defineProperty(t,"__esModule",{value:!0}),t.recordFromArray=function(e,t){const n=Object.create(null);for(const r of e){const e=r[t];if(n[e])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n[e]=r}return n},t.mapFromArray=function(e,t){const n=new Map;for(const r of e){const e=r[t];if(n.has(e))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n.set(e,r)}return n},t.createAutoChecklist=function(){const e=Object.create(null);return t=>{const n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},t.partition=function(e,t){const n=[],r=[];for(const i of e)t(i)?n.push(i):r.push(i);return[n,r]},t.isInt=function(e){return e===Math.floor(e)},t.comparePrimitive=function(e,t){if(e===t)return 0;const n=typeof e,r=typeof t,i=["undefined","object","boolean","number","string"];return n!==r?i.indexOf(n)-i.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)},t.normalizeDefaultResult=function(e){return void 0===e?{}:e},t.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},t.normalizeDeprecatedResult=function(e,t,n=!1){return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},t.normalizeTransferResult=n,t.normalizeForwardResult=r,t.normalizeRedirectResult=function(e,t){const n=r("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}})),wi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{constructor(e){super(e),this._choices=bi.mapFromArray(e.choices.map(e=>e&&"object"==typeof e?e:{value:e}),"value")}expected({descriptor:e}){const t=Array.from(this._choices.keys()).map(e=>this._choices.get(e)).filter(e=>!e.deprecated).map(e=>e.value).sort(bi.comparePrimitive).map(e.value),n=t.slice(0,-2),r=t.slice(-2);return n.concat(r.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){const t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){const t=this._choices.get(e);return t?t.forward:void 0}redirect(e){const t=this._choices.get(e);return t?t.redirect:void 0}}t.ChoiceSchema=n})),Di=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}}t.NumberSchema=n})),Ei=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends Di.NumberSchema{expected(){return"an integer"}validate(e,t){return!0===t.normalizeValidateResult(super.validate(e,t),e)&&bi.isInt(e)}}t.IntegerSchema=n})),xi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}}t.StringSchema=n})),_i=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Tr.__exportStar(mi,t),Tr.__exportStar(gi,t),Tr.__exportStar(vi,t),Tr.__exportStar(yi,t),Tr.__exportStar(wi,t),Tr.__exportStar(Ei,t),Tr.__exportStar(Di,t),Tr.__exportStar(xi,t)})),Ci=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultDescriptor=Mr.apiDescriptor,t.defaultUnknownHandler=hi.levenUnknownHandler,t.defaultInvalidHandler=ui.commonInvalidHandler,t.defaultDeprecatedHandler=oi.commonDeprecatedHandler})),ki=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=(e,t,r)=>new n(t,r).normalize(e);class n{constructor(e,t){const{logger:n=console,descriptor:r=Ci.defaultDescriptor,unknown:i=Ci.defaultUnknownHandler,invalid:o=Ci.defaultInvalidHandler,deprecated:s=Ci.defaultDeprecatedHandler}=t||{};this._utils={descriptor:r,logger:n||{warn:()=>{}},schemas:bi.recordFromArray(e,"name"),normalizeDefaultResult:bi.normalizeDefaultResult,normalizeDeprecatedResult:bi.normalizeDeprecatedResult,normalizeForwardResult:bi.normalizeForwardResult,normalizeRedirectResult:bi.normalizeRedirectResult,normalizeValidateResult:bi.normalizeValidateResult},this._unknownHandler=i,this._invalidHandler=o,this._deprecatedHandler=s,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=bi.createAutoChecklist()}normalize(e){const t={},n=[e],r=()=>{for(;0!==n.length;){const e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};r();for(const i of Object.keys(this._utils.schemas)){const e=this._utils.schemas[i];if(!(i in t)){const t=bi.normalizeDefaultResult(e.default(this._utils));"value"in t&&n.push({[i]:t.value})}}r();for(const i of Object.keys(this._utils.schemas)){const e=this._utils.schemas[i];i in t&&(t[i]=e.postprocess(t[i],this._utils))}return t}_applyNormalization(e,t){const n=[],[r,i]=bi.partition(Object.keys(e),e=>e in this._utils.schemas);for(const o of r){const r=this._utils.schemas[o],i=r.preprocess(e[o],this._utils),s=bi.normalizeValidateResult(r.validate(i,this._utils),i);if(!0!==s){const{value:e}=s,t=this._invalidHandler(o,e,this._utils);throw"string"==typeof t?new Error(t):t}const a=({from:e,to:t})=>{n.push("string"==typeof t?{[t]:e}:{[t.key]:t.value})},u=({value:e,redirectTo:t})=>{const n=bi.normalizeDeprecatedResult(r.deprecated(e,this._utils),i,!0);if(!1!==n)if(!0===n)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,t,this._utils));else for(const{value:r}of n){const e={key:o,value:r};if(!this._hasDeprecationWarned(e)){const n="string"==typeof t?{key:t,value:r}:t;this._utils.logger.warn(this._deprecatedHandler(e,n,this._utils))}}};bi.normalizeForwardResult(r.forward(i,this._utils),i).forEach(a);const l=bi.normalizeRedirectResult(r.redirect(i,this._utils),i);if(l.redirect.forEach(a),"remain"in l){const e=l.remain;t[o]=o in t?r.overlap(t[o],e,this._utils):e,u({value:e})}for(const{from:e,to:t}of l.redirect)u({value:e,redirectTo:t})}for(const o of i){const r=e[o],i=this._unknownHandler(o,r,this._utils);if(i)for(const e of Object.keys(i)){const r={[e]:i[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}}t.Normalizer=n})),Si=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Tr.__exportStar(Or,t),Tr.__exportStar(di,t),Tr.__exportStar(_i,t),Tr.__exportStar(ki,t),Tr.__exportStar(pi,t)}));const Ai=[],Ti=[],Mi=(e,t)=>{if(e===t)return 0;const n=e;e.length>t.length&&(e=t,t=n);let r=e.length,i=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;let o,s,a,u,l=0;for(;ls?u>s?s+1:u:u>a?a+1:u;return s};var Oi=Mi,Ni=Mi;Oi.default=Ni;var Fi={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const Ii={};for(const t of Object.keys(Fi))Ii[Fi[t]]=t;const Ri={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Pi=Ri;for(const t of Object.keys(Ri)){if(!("channels"in Ri[t]))throw new Error("missing channels property: "+t);if(!("labels"in Ri[t]))throw new Error("missing channel labels property: "+t);if(Ri[t].labels.length!==Ri[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=Ri[t];delete Ri[t].channels,delete Ri[t].labels,Object.defineProperty(Ri[t],"channels",{value:e}),Object.defineProperty(Ri[t],"labels",{value:n})}function Li(e){const t=function(){const e={},t=Object.keys(Pi);for(let n=t.length,r=0;r1&&(i-=1)),[360*i,100*o,100*l]},Ri.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const i=Ri.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,100*o,100*r]},Ri.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]},Ri.rgb.keyword=function(e){const t=Ii[e];if(t)return t;let n,r=1/0;for(const s of Object.keys(Fi)){const t=(o=Fi[s],((i=e)[0]-o[0])**2+(i[1]-o[1])**2+(i[2]-o[2])**2);t.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Ri.rgb.lab=function(e){const t=Ri.rgb.xyz(e);let n=t[0],r=t[1],i=t[2];return n/=95.047,r/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,[116*r-16,500*(n-r),200*(r-i)]},Ri.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let i,o,s;if(0===n)return s=255*r,[s,s,s];i=r<.5?r*(1+n):r+n-r*n;const a=2*r-i,u=[0,0,0];for(let l=0;l<3;l++)o=t+1/3*-(l-1),o<0&&o++,o>1&&o--,s=6*o<1?a+6*(i-a)*o:2*o<1?i:3*o<2?a+(i-a)*(2/3-o)*6:a,u[l]=255*s;return u},Ri.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,i=n;const o=Math.max(r,.01);return r*=2,n*=r<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},Ri.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const i=Math.floor(t)%6,o=t-Math.floor(t),s=255*r*(1-n),a=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,s];case 1:return[a,r,s];case 2:return[s,r,u];case 3:return[s,a,r];case 4:return[u,s,r];case 5:return[r,s,a]}},Ri.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01);let o,s;s=(2-n)*r;const a=(2-n)*i;return o=n*i,o/=a<=1?a:2-a,o=o||0,s/=2,[t,100*o,100*s]},Ri.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const i=n+r;let o;i>1&&(n/=i,r/=i);const s=Math.floor(6*t),a=1-r;o=6*t-s,0!=(1&s)&&(o=1-o);const u=n+o*(a-n);let l,c,h;switch(s){default:case 6:case 0:l=a,c=u,h=n;break;case 1:l=u,c=a,h=n;break;case 2:l=n,c=a,h=u;break;case 3:l=n,c=u,h=a;break;case 4:l=u,c=n,h=a;break;case 5:l=a,c=n,h=u}return[255*l,255*c,255*h]},Ri.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},Ri.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let i,o,s;return i=3.2406*t+-1.5372*n+-.4986*r,o=-.9689*t+1.8758*n+.0415*r,s=.0557*t+-.204*n+1.057*r,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),s=Math.min(Math.max(0,s),1),[255*i,255*o,255*s]},Ri.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];return t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*n-16,500*(t-n),200*(n-r)]},Ri.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const i=n**3,o=t**3,s=r**3;return n=i>.008856?i:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},Ri.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let i;return i=360*Math.atan2(r,n)/2/Math.PI,i<0&&(i+=360),[t,Math.sqrt(n*n+r*r),i]},Ri.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},Ri.rgb.ansi16=function(e,t=null){const[n,r,i]=e;let o=null===t?Ri.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),0===o)return 30;let s=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===o&&(s+=60),s},Ri.hsv.ansi16=function(e){return Ri.rgb.ansi16(Ri.hsv.rgb(e),e[2])},Ri.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},Ri.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},Ri.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},Ri.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},Ri.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},Ri.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),o=Math.min(Math.min(t,n),r),s=i-o;let a,u;return a=s<1?o/(1-s):0,u=s<=0?0:i===t?(n-r)/s%6:i===n?2+(r-t)/s:4+(t-n)/s,u/=6,u%=1,[360*u,100*s,100*a]},Ri.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},Ri.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Ri.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const i=[0,0,0],o=t%1*6,s=o%1,a=1-s;let u=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return u=(1-n)*r,[255*(n*i[0]+u),255*(n*i[1]+u),255*(n*i[2]+u)]},Ri.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},Ri.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},Ri.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},Ri.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Ri.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Ri.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Ri.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Ri.gray.hsl=function(e){return[0,0,e[0]]},Ri.gray.hsv=Ri.gray.hsl,Ri.gray.hwb=function(e){return[0,100,e[0]]},Ri.gray.cmyk=function(e){return[0,0,0,e[0]]},Ri.gray.lab=function(e){return[e[0],0,0]},Ri.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},Ri.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const $i={};Object.keys(Pi).forEach(e=>{$i[e]={},Object.defineProperty($i[e],"channels",{value:Pi[e].channels}),Object.defineProperty($i[e],"labels",{value:Pi[e].labels});const t=function(e){const t=Li(e),n={},r=Object.keys(t);for(let i=r.length,o=0;o{const r=t[n];$i[e][n]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,i=0;i1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)})});var Ui=$i,qi=Be((function(e){const t=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(r+t,"m")},n=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(38+t,";5;").concat(r,"m")},r=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(38+t,";2;").concat(r[0],";").concat(r[1],";").concat(r[2],"m")},i=e=>e,o=(e,t,n)=>[e,t,n],s=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})};let a;const u=(e,t,n,r)=>{void 0===a&&(a=Ui);const i=r?10:0,o={};for(const[s,u]of Object.entries(a)){const r="ansi16"===s?"ansi":s;s===t?o[r]=e(n,i):"object"==typeof u&&(o[r]=e(u[t],i))}return o};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,a={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(const[t,n]of Object.entries(a)){for(const[t,r]of Object.entries(n))a[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=a[t],e.set(r[0],r[1]);Object.defineProperty(a,t,{value:n,enumerable:!1})}return Object.defineProperty(a,"codes",{value:e,enumerable:!1}),a.color.close="",a.bgColor.close="",s(a.color,"ansi",()=>u(t,"ansi16",i,!1)),s(a.color,"ansi256",()=>u(n,"ansi256",i,!1)),s(a.color,"ansi16m",()=>u(r,"rgb",o,!1)),s(a.bgColor,"ansi",()=>u(t,"ansi16",i,!0)),s(a.bgColor,"ansi256",()=>u(n,"ansi256",i,!0)),s(a.bgColor,"ansi16m",()=>u(r,"rgb",o,!0)),a}})})),Hi={isatty:()=>!1},zi=(e,t=Ie.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r=2,has16m:e>=3}}function Xi(e,t){if(0===Gi)return 0;if(zi("color=16m")||zi("color=full")||zi("color=truecolor"))return 3;if(zi("color=256"))return 2;if(e&&!t&&void 0===Gi)return 0;const n=Gi||0;if("dumb"===Wi.TERM)return n;if("win32"===Ie.platform){const e=Hr.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Wi)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in Wi)||"codeship"===Wi.CI_NAME?1:n;if("TEAMCITY_VERSION"in Wi)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Wi.TEAMCITY_VERSION)?1:0;if("GITHUB_ACTIONS"in Wi)return 1;if("truecolor"===Wi.COLORTERM)return 3;if("TERM_PROGRAM"in Wi){const e=parseInt((Wi.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Wi.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Wi.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Wi.TERM)||"COLORTERM"in Wi?1:n}zi("no-color")||zi("no-colors")||zi("color=false")||zi("color=never")?Gi=0:(zi("color")||zi("colors")||zi("color=true")||zi("color=always"))&&(Gi=1),"FORCE_COLOR"in Wi&&(Gi="true"===Wi.FORCE_COLOR?1:"false"===Wi.FORCE_COLOR?0:0===Wi.FORCE_COLOR.length?1:Math.min(parseInt(Wi.FORCE_COLOR,10),3));var Yi={supportsColor:function(e){return Ki(Xi(e,e&&e.isTTY))},stdout:Ki(Xi(!0,Vi.isatty(1))),stderr:Ki(Xi(!0,Vi.isatty(2)))},Ji={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(-1===r)return e;const i=t.length;let o=0,s="";do{s+=e.substr(o,r-o)+t+n,o=r+i,r=e.indexOf(t,o)}while(-1!==r);return s+=e.substr(o),s},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let i=0,o="";do{const s="\r"===e[r-1];o+=e.substr(i,(s?r-1:r)-i)+t+(s?"\r\n":"\n")+n,i=r+1,r=e.indexOf("\n",i)}while(-1!==r);return o+=e.substr(i),o}};const Zi=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Qi=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,eo=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,to=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,no=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function ro(e){const t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):no.get(e)||e}function io(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r){const t=Number(o);if(Number.isNaN(t)){if(!(i=o.match(eo)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(i[2].replace(to,(e,t,n)=>t?ro(t):n))}else n.push(t)}return n}function oo(e){Qi.lastIndex=0;const t=[];let n;for(;null!==(n=Qi.exec(e));){const e=n[1];if(n[2]){const r=io(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function so(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const[i,o]of Object.entries(n))if(Array.isArray(o)){if(!(i in r))throw new Error("Unknown Chalk style: ".concat(i));r=o.length>0?r[i](...o):r[i]}return r}var ao=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(Zi,(t,o,s,a,u,l)=>{if(o)i.push(ro(o));else if(a){const t=i.join("");i=[],r.push(0===n.length?t:so(e,n)(t)),n.push({inverse:s,styles:oo(a)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(so(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")};const{stdout:uo,stderr:lo}=Yi,{stringReplaceAll:co,stringEncaseCRLFWithFirstIndex:ho}=Ji,{isArray:fo}=Array,po=["ansi","ansi","ansi256","ansi16m"],mo=Object.create(null);class go{constructor(e){return vo(e)}}const vo=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=uo?uo.level:0;e.level=void 0===t.level?n:t.level})(t,e),t.template=(...e)=>Co(t.template,...e),Object.setPrototypeOf(t,yo.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=go,t.template};function yo(e){return vo(e)}for(const[t,rM]of Object.entries(qi))mo[t]={get(){const e=Eo(this,Do(rM.open,rM.close,this._styler),this._isEmpty);return Object.defineProperty(this,t,{value:e}),e}};mo.visible={get(){const e=Eo(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const bo=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const t of bo)mo[t]={get(){const{level:e}=this;return function(...n){const r=Do(qi.color[po[e]][t](...n),qi.color.close,this._styler);return Eo(this,r,this._isEmpty)}}};for(const t of bo)mo["bg"+t[0].toUpperCase()+t.slice(1)]={get(){const{level:e}=this;return function(...n){const r=Do(qi.bgColor[po[e]][t](...n),qi.bgColor.close,this._styler);return Eo(this,r,this._isEmpty)}}};const wo=Object.defineProperties(()=>{},Object.assign({},mo,{level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}})),Do=(e,t,n)=>{let r,i;return void 0===n?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},Eo=(e,t,n)=>{const r=(...e)=>fo(e[0])&&fo(e[0].raw)?xo(r,Co(r,...e)):xo(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,wo),r._generator=e,r._styler=t,r._isEmpty=n,r},xo=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(void 0===n)return t;const{openAll:r,closeAll:i}=n;if(-1!==t.indexOf(""))for(;void 0!==n;)t=co(t,n.close,n.open),n=n.parent;const o=t.indexOf("\n");return-1!==o&&(t=ho(t,i,r,o)),r+t+i};let _o;const Co=(e,...t)=>{const[n]=t;if(!fo(n)||!fo(n.raw))return t.join(" ");const r=t.slice(1),i=[n.raw[0]];for(let o=1;o0&&r(u)?n>1?e(u,n-1,r,i,o):Ao(o,u):i||(o[o.length]=u)}return o},Jo=function(e){return null!=e&&e.length?Yo(e,1):[]};const Zo={key:e=>1===e.length?"-".concat(e):"--".concat(e),value:e=>Si.apiDescriptor.value(e),pair:({key:e,value:t})=>!1===t?"--no-".concat(e):!0===t?Zo.key(e):""===t?"".concat(Zo.key(e)," without an argument"):"".concat(Zo.key(e),"=").concat(t)};class Qo extends Si.ChoiceSchema{constructor({name:e,flags:t}){super({name:e,choices:t}),this._flags=t.slice().sort()}preprocess(e,t){if("string"==typeof e&&0!==e.length&&!this._flags.includes(e)){const n=this._flags.find(t=>Oi(t,e)<3);if(n)return t.logger.warn(["Unknown flag ".concat(So.yellow(t.descriptor.value(e)),","),"did you mean ".concat(So.blue(t.descriptor.value(n)),"?")].join(" ")),n}return e}expected(){return"a flag"}}let es;function ts(t,n,{logger:r,isCLI:i=!1,passThrough:o=!1}={}){const s=o?Array.isArray(o)?(e,t)=>o.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(t,n,r)=>{const i=e(r.schemas,["_"]);return Si.levenUnknownHandler(t,n,Object.assign({},r,{schemas:i}))},a=i?Zo:Si.apiDescriptor,u=function(e,{isCLI:t}){const n=[];t&&n.push(Si.AnySchema.create({name:"_"}));for(const r of e)n.push(ns(r,{isCLI:t,optionInfos:e})),r.alias&&t&&n.push(Si.AliasSchema.create({name:r.alias,sourceName:r.name}));return n}(n,{isCLI:i}),l=new Si.Normalizer(u,{logger:r,unknown:s,descriptor:a}),c=!1!==r;c&&es&&(l._hasDeprecationWarned=es);const h=l.normalize(t);return c&&(es=l._hasDeprecationWarned),h}function ns(e,{isCLI:t,optionInfos:n}){let r;const i={name:e.name},o={};switch(e.type){case"int":r=Si.IntegerSchema,t&&(i.preprocess=e=>Number(e));break;case"string":r=Si.StringSchema;break;case"choice":r=Si.ChoiceSchema,i.choices=e.choices.map(t=>"object"==typeof t&&t.redirect?Object.assign({},t,{redirect:{to:{key:e.name,value:t.redirect}}}):t);break;case"boolean":r=Si.BooleanSchema;break;case"flag":r=Qo,i.flags=Jo(n.map(e=>[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)));break;case"path":r=Si.StringSchema;break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?i.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):i.validate=(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(o.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(o.deprecated=!0),t&&!e.array){const e=i.preprocess||(e=>e);i.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?t[t.length-1]:t),r)}return e.array?Si.ArraySchema.create(Object.assign({},t?{preprocess:e=>[].concat(e)}:{},o,{valueSchema:r.create(i)})):r.create(Object.assign({},i,o))}var rs={normalizeApiOptions:function(e,t,n){return ts(e,t,n)},normalizeCliOptions:function(e,t,n){return ts(e,t,Object.assign({isCLI:!0},n))}};function is(e,t){const{ignoreDecorators:n}=t||{};if(!n){const t=e.declaration&&e.declaration.decorators||e.decorators;if(t&&t.length>0)return is(t[0])}return e.range?e.range[0]:e.start}function os(e){const t=e.range?e.range[1]:e.end;return e.typeAnnotation?Math.max(t,os(e.typeAnnotation)):t}function ss(e,t){return is(e)===is(t)}var as={locStart:is,locEnd:os,composeLoc:function(e,t=e){const n=is(e);return[n,"number"==typeof t?n+t:os(t)]},hasSameLocStart:ss,hasSameLoc:function(e,t){return ss(e,t)&&function(e,t){return os(e)===os(t)}(e,t)}},us=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}})),ls=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierStart=l,t.isIdentifierChar=c,t.isIdentifierName=function(e){let t=!0;for(let n=0,r=Array.from(e);ne)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function l(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):u(e,s)))}function c(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&o.test(String.fromCharCode(e)):u(e,s)||u(e,a))))}})),cs=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isReservedWord=a,t.isStrictReservedWord=u,t.isStrictBindOnlyReservedWord=l,t.isStrictBindReservedWord=function(e,t){return u(e,t)||l(e)},t.isKeyword=function(e){return i.has(e)};const n=["implements","interface","let","package","private","protected","public","static","yield"],r=["eval","arguments"],i=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),o=new Set(n),s=new Set(r);function a(e,t){return t&&"await"===e||"enum"===e}function u(e,t){return a(e,t)||o.has(e)}function l(e){return s.has(e)}})),hs=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return ls.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return ls.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return ls.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return cs.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return cs.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return cs.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return cs.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return cs.isKeyword}})})),fs=/[|\\{}()[\]^$+*?.]/g,ds=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(fs,"\\$&")},ps={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},ms=Be((function(e){var t={};for(var n in ps)ps.hasOwnProperty(n)&&(t[ps[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in r)if(r.hasOwnProperty(i)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);var o=r[i].channels,s=r[i].labels;delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:o}),Object.defineProperty(r[i],"labels",{value:s})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,s=Math.min(r,i,o),a=Math.max(r,i,o),u=a-s;return a===s?t=0:r===a?t=(i-o)/u:i===a?t=2+(o-r)/u:o===a&&(t=4+(r-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),n=(s+a)/2,[t,100*(a===s?0:n<=.5?u/(a+s):u/(2-a-s)),100*n]},r.rgb.hsv=function(e){var t,n,r,i,o,s=e[0]/255,a=e[1]/255,u=e[2]/255,l=Math.max(s,a,u),c=l-Math.min(s,a,u),h=function(e){return(l-e)/6/c+.5};return 0===c?i=o=0:(o=c/l,t=h(s),n=h(a),r=h(u),s===l?i=r-n:a===l?i=1/3+t-r:u===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,i,o,s=1/0;for(var a in ps)if(ps.hasOwnProperty(a)){var u=ps[a],l=(i=e,o=u,Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));l.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],o=t[2];return i/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,r,i,o,s=e[0]/360,a=e[1]/100,u=e[2]/100;if(0===a)return[o=255*u,o,o];t=2*u-(n=u<.5?u*(1+a):u+a-u*a),i=[0,0,0];for(var l=0;l<3;l++)(r=s+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*o;return i},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),s=255*r*(1-n),a=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,s];case 1:return[a,r,s];case 2:return[s,r,u];case 3:return[s,a,r];case 4:return[u,s,r];case 5:return[r,s,a]}},r.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,s=e[2]/100,a=Math.max(s,.01);return r=(2-o)*s,n=o*a,[i,100*(n=(n/=(t=(2-o)*a)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,i,o,s,a,u=e[0]/360,l=e[1]/100,c=e[2]/100,h=l+c;switch(h>1&&(l/=h,c/=h),r=6*u-(t=Math.floor(6*u)),0!=(1&t)&&(r=1-r),i=l+r*((n=1-c)-l),t){default:case 6:case 0:o=n,s=i,a=l;break;case 1:o=i,s=n,a=l;break;case 2:o=l,s=n,a=i;break;case 3:o=l,s=i,a=n;break;case 4:o=i,s=l,a=n;break;case 5:o=n,s=l,a=i}return[255*o,255*s,255*a]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,s=e[2]/100;return n=-.9689*i+1.8758*o+.0415*s,r=.0557*i+-.204*o+1.057*s,t=(t=3.2406*i+-1.5372*o+-.4986*s)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),s=Math.pow(t,3),a=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var s=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(s+=60),s},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),s=Math.min(Math.min(n,r),i),a=o-s;return t=a<=0?0:o===n?(r-i)/a%6:o===r?2+(i-n)/a:4+(n-r)/a+4,t/=6,[360*(t%=1),100*a,100*(a<1?s/(1-a):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],s=t%1*6,a=s%1,u=1-a;switch(Math.floor(s)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function gs(e){var t=function(){for(var e={},t=Object.keys(ms),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var ws=bs,Ds=Be((function(e){const t=(e,t)=>function(){const n=e.apply(ws,arguments);return"[".concat(n+t,"m")},n=(e,t)=>function(){const n=e.apply(ws,arguments);return"[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e.apply(ws,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(const t of Object.keys(i)){const n=i[t];for(const t of Object.keys(n)){const r=n[t];i[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=i[t],e.set(r[0],r[1])}Object.defineProperty(i,t,{value:n,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}const o=e=>e,s=(e,t,n)=>[e,t,n];i.color.close="",i.bgColor.close="",i.color.ansi={ansi:t(o,0)},i.color.ansi256={ansi256:n(o,0)},i.color.ansi16m={rgb:r(s,0)},i.bgColor.ansi={ansi:t(o,10)},i.bgColor.ansi256={ansi256:n(o,10)},i.bgColor.ansi16m={rgb:r(s,10)};for(let a of Object.keys(ws)){if("object"!=typeof ws[a])continue;const e=ws[a];"ansi16"===a&&(a="ansi"),"ansi16"in e&&(i.color.ansi[a]=t(e.ansi16,0),i.bgColor.ansi[a]=t(e.ansi16,10)),"ansi256"in e&&(i.color.ansi256[a]=n(e.ansi256,0),i.bgColor.ansi256[a]=n(e.ansi256,10)),"rgb"in e&&(i.color.ansi16m[a]=r(e.rgb,0),i.bgColor.ansi16m[a]=r(e.rgb,10))}return i}})}));const Es=Ie.env;let xs;function _s(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===xs)return 0;if(qr("color=16m")||qr("color=full")||qr("color=truecolor"))return 3;if(qr("color=256"))return 2;if(e&&!e.isTTY&&!0!==xs)return 0;const t=xs?1:0;if("win32"===Ie.platform){const e=Hr.release().split(".");return Number(Ie.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Es)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in Es)||"codeship"===Es.CI_NAME?1:t;if("TEAMCITY_VERSION"in Es)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Es.TEAMCITY_VERSION)?1:0;if("truecolor"===Es.COLORTERM)return 3;if("TERM_PROGRAM"in Es){const e=parseInt((Es.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Es.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Es.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Es.TERM)||"COLORTERM"in Es?1:(Es.TERM,t)}(e))}qr("no-color")||qr("no-colors")||qr("color=false")?xs=!1:(qr("color")||qr("colors")||qr("color=true")||qr("color=always"))&&(xs=!0),"FORCE_COLOR"in Es&&(xs=0===Es.FORCE_COLOR.length||0!==parseInt(Es.FORCE_COLOR,10));var Cs={supportsColor:_s,stdout:_s(Ie.stdout),stderr:_s(Ie.stderr)};const ks=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Ss=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,As=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Ts=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Ms=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Os(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Ms.get(e)||e}function Ns(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r)if(isNaN(o)){if(!(i=o.match(As)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(i[2].replace(Ts,(e,t,n)=>t?Os(t):n))}else n.push(Number(o));return n}function Fs(e){Ss.lastIndex=0;const t=[];let n;for(;null!==(n=Ss.exec(e));){const e=n[1];if(n[2]){const r=Ns(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Is(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const i of Object.keys(n))if(Array.isArray(n[i])){if(!(i in r))throw new Error("Unknown Chalk style: ".concat(i));r=n[i].length>0?r[i].apply(r,n[i]):r[i]}return r}var Rs=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(ks,(t,o,s,a,u,l)=>{if(o)i.push(Os(o));else if(a){const t=i.join("");i=[],r.push(0===n.length?t:Is(e,n)(t)),n.push({inverse:s,styles:Fs(a)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Is(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")},Ps=Be((function(e){const t=Cs.stdout,n="win32"===Ie.platform&&!(Ie.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),o=Object.create(null);function s(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function a(e){if(!this||!(this instanceof a)||this.template){const t={};return s(t,e),t.template=function(){const e=[].slice.call(arguments);return h.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,a.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=a,t.template}s(this,e)}n&&(Ds.blue.open="");for(const f of Object.keys(Ds))Ds[f].closeRe=new RegExp(ds(Ds[f].close),"g"),o[f]={get(){const e=Ds[f];return l.call(this,this._styles?this._styles.concat(e):[e],this._empty,f)}};o.visible={get(){return l.call(this,this._styles||[],!0,"visible")}},Ds.color.closeRe=new RegExp(ds(Ds.color.close),"g");for(const f of Object.keys(Ds.color.ansi))i.has(f)||(o[f]={get(){const e=this.level;return function(){const t=Ds.color[r[e]][f].apply(null,arguments),n={open:t,close:Ds.color.close,closeRe:Ds.color.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});Ds.bgColor.closeRe=new RegExp(ds(Ds.bgColor.close),"g");for(const f of Object.keys(Ds.bgColor.ansi))i.has(f)||(o["bg"+f[0].toUpperCase()+f.slice(1)]={get(){const e=this.level;return function(){const t=Ds.bgColor[r[e]][f].apply(null,arguments),n={open:t,close:Ds.bgColor.close,closeRe:Ds.bgColor.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});const u=Object.defineProperties(()=>{},o);function l(e,t,n){const r=function(){return c.apply(r,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=u,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;ni(e)).join("\n"):t[0]}))}(function(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}(n),e)}return e};var n,r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=r?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(us),i=(n=Ps)&&n.__esModule?n:{default:n};function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}const s=/\r\n|[\n\r\u2028\u2029]/,a=/^[a-z][\w-]*$/i,u=/^[()[\]{}]$/;function l(e){return i.default.supportsColor||e.forceColor}function c(e){let t=i.default;return e.forceColor&&(t=new i.default.constructor({enabled:!0,level:1})),t}})),Bs=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.codeFrameColumns=s,t.default=function(e,t,n,r={}){if(!i){i=!0;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";Ie.emitWarning?Ie.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return n=Math.max(n,0),s(e,{start:{column:n,line:t}},r)};var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(n,o,s):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(Ls);function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}let i=!1;const o=/\r\n|[\n\r\u2028\u2029]/;function s(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r),s=(0,n.getChalk)(r),a=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(s),u=(e,t)=>i?e(t):t,l=e.split(o),{start:c,end:h,markerLines:f}=function(e,t,n){const r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),{linesAbove:o=2,linesBelow:s=3}=n||{},a=r.line,u=r.column,l=i.line,c=i.column;let h=Math.max(a-(o+1),0),f=Math.min(t.length,l+s);-1===a&&(h=0),-1===l&&(f=t.length);const d=l-a,p={};if(d)for(let m=0;m<=d;m++){const e=m+a;if(u)if(0===m){const n=t[e-1].length;p[e]=[u,n-u+1]}else if(m===d)p[e]=[0,c];else{const n=t[e-m].length;p[e]=[0,n]}else p[e]=!0}else p[a]=u===c?!u||[u,0]:[u,c-u];return{start:h,end:f,markerLines:p}}(t,l,r),d=t.start&&"number"==typeof t.start.column,p=String(h).length;let m=(i?(0,n.default)(e,r):e).split(o).slice(c,h).map((e,t)=>{const n=c+1+t,i=" ".concat(n).slice(-p),o=" ".concat(i," | "),s=f[n],l=!f[n+1];if(s){let t="";if(Array.isArray(s)){const n=e.slice(0,Math.max(s[0]-1,0)).replace(/[^\t]/g," "),i=s[1]||1;t=["\n ",u(a.gutter,o.replace(/\d/g," ")),n,u(a.marker,"^").repeat(i)].join(""),l&&r.message&&(t+=" "+u(a.message,r.message))}return[u(a.marker,">"),u(a.gutter,o),e,t].join("")}return" ".concat(u(a.gutter,o)).concat(e)}).join("\n");return r.message&&!d&&(m="".concat(" ".repeat(p+1)).concat(r.message,"\n").concat(m)),i?s.reset(m):m}})),js=je(bn);const{ConfigError:$s}=xr,{locStart:Us,locEnd:qs}=as,Hs=Object.getOwnPropertyNames,zs=Object.getOwnPropertyDescriptor;function Vs(e){const t={};for(const n of e.plugins)if(n.parsers)for(const e of Hs(n.parsers))Object.defineProperty(t,e,zs(n.parsers,e));return t}function Ws(e,t){if(t=t||Vs(e),"function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:Us,locEnd:qs};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new $s("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var Gs={parse:function(e,t){const n=Vs(t),r=Object.keys(n).reduce((e,t)=>Object.defineProperty(e,t,{enumerable:!0,get:()=>n[t].parse}),{}),i=Ws(t,n);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,r,t)}}catch(t){const{loc:n}=t;if(n){const{codeFrameColumns:r}=Bs;throw t.codeFrame=r(e,n,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:Ws};const{UndefinedParserError:Ks}=xr,{getSupportInfo:Xs}=vt,{resolveParser:Ys}=Gs,Js={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Zs(e,t){const n=js.basename(e).toLowerCase(),r=Xs({plugins:t}).languages.filter(e=>null!==e.since);let i=r.find(e=>e.extensions&&e.extensions.some(e=>n.endsWith(e))||e.filenames&&e.filenames.some(e=>e.toLowerCase()===n));if(!i&&!n.includes(".")){const t=function(e){if("string"!=typeof e)return"";let t;try{t=vr.openSync(e,"r")}catch(e){return""}try{const n=new yr(t).next().toString("utf8"),r=n.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(r)return r[1];const i=n.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return i?i[1]:""}catch(e){return""}finally{try{vr.closeSync(t)}catch(e){}}}(e);i=r.find(e=>e.interpreters&&e.interpreters.includes(t))}return i&&i.parsers[0]}var Qs={normalize:function(e,t){t=t||{};const n=Object.assign({},e),r=Xs({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,i=Object.assign({},Js,br(r.filter(e=>void 0!==e.default).map(e=>[e.name,e.default])));if(!n.parser)if(n.filepath){if(n.parser=Zs(n.filepath,n.plugins),!n.parser)throw new Ks("No parser could be inferred for file: ".concat(n.filepath))}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel";const o=Ys(rs.normalizeApiOptions(n,[r.find(e=>"parser"===e.name)],{passThrough:!0,logger:!1}));n.astFormat=o.astFormat,n.locEnd=o.locEnd,n.locStart=o.locStart;const s=function(e){const{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");const n=e.plugins.find(e=>e.printers&&e.printers[t]);if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n}(n);n.printer=s.printers[n.astFormat];const a=r.filter(e=>e.pluginDefaults&&void 0!==e.pluginDefaults[s.name]).reduce((e,t)=>Object.assign(e,{[t.name]:t.pluginDefaults[s.name]}),{}),u=Object.assign({},i,a);return Object.keys(u).forEach(e=>{null==n[e]&&(n[e]=u[e])}),"json"===n.parser&&(n.trailingComma="none"),rs.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(Js)},t))},hiddenDefaults:Js,inferParser:Zs},ea=function e(t,n,r){if(Array.isArray(t))return t.map(t=>e(t,n,r)).filter(Boolean);if(!t||"object"!=typeof t)return t;const i=n.printer.massageAstNode;let o;o=i&&i.ignoredProperties?i.ignoredProperties:new Set;const s={};for(const a of Object.keys(t))o.has(a)||"function"==typeof t[a]||(s[a]=e(t[a],n,t));if(i){const e=i(t,s,r);if(null===e)return;if(e)return e}return s};function ta(){}ta.ok=function(){},ta.strictEqual=function(){};var na=je(Object.freeze({__proto__:null,default:ta}));const{builders:{concat:ra,line:ia,hardline:oa,breakParent:sa,indent:aa,lineSuffix:ua,join:la,cursor:ca}}=cn,{hasNewline:ha,skipNewline:fa,skipSpaces:da,isPreviousLineEmpty:pa,addLeadingComment:ma,addDanglingComment:ga,addTrailingComment:va}=Pt,ya=Symbol("child-nodes");function ba(e,t,n){if(!e)return;const{printer:r,locStart:i,locEnd:o}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let t;for(t=n.length-1;t>=0&&!(i(n[t])<=i(e)&&o(n[t])<=o(e));--t);return void n.splice(t+1,0,e)}}else if(e[ya])return e[ya];const s=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.keys(e).filter(e=>"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e&&"tokens"!==e&&"comments"!==e).map(t=>e[t]);return s?(n||Object.defineProperty(e,ya,{value:n=[],enumerable:!1}),s.forEach(e=>{ba(e,t,n)}),n):void 0}function wa(e,t,n){const{locStart:r,locEnd:i}=n,o=r(t),s=i(t),a=ba(e,n);let u,l,c=0,h=a.length;for(;c>1,f=a[e],d=r(f),p=i(f);if(d<=o&&s<=p)return t.enclosingNode=f,void wa(f,t,n);if(d<=o)u=f,c=e+1;else{if(!(s<=d))throw new Error("Comment location overlaps with node location");l=f,h=e}}if(t.enclosingNode&&"TemplateLiteral"===t.enclosingNode.type){const{quasis:e}=t.enclosingNode,r=xa(e,t,n);u&&xa(e,u,n)!==r&&(u=null),l&&xa(e,l,n)!==r&&(l=null)}u&&(t.precedingNode=u),l&&(t.followingNode=l)}function Da(e,t,n){const r=e.length;if(0===r)return;const{precedingNode:i,followingNode:o,enclosingNode:s}=e[0],a=n.printer.getGapRegex&&n.printer.getGapRegex(s)||/^[\s(]*$/;let u,l=n.locStart(o);for(u=r;u>0;--u){const r=e[u-1];na.strictEqual(r.precedingNode,i),na.strictEqual(r.followingNode,o);const s=t.slice(n.locEnd(r),l);if(!a.test(s))break;l=n.locStart(r)}e.forEach((e,t)=>{t1&&c.comments.sort((e,t)=>n.locStart(e)-n.locStart(t));e.length=0}function Ea(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function xa(e,t,n){const r=n.locStart(t)-1;for(let i=1;i{if("json"===r.parser||"json5"===r.parser||"__js_expression"===r.parser||"__vue_expression"===r.parser){if(o(a)-o(t)<=0)return void ma(t,a);if(s(a)-s(t)>=0)return void va(t,a)}wa(t,a,r);const{precedingNode:l,enclosingNode:c,followingNode:h}=a,f=r.printer.handleComments&&r.printer.handleComments.ownLine?r.printer.handleComments.ownLine:()=>!1,d=r.printer.handleComments&&r.printer.handleComments.endOfLine?r.printer.handleComments.endOfLine:()=>!1,p=r.printer.handleComments&&r.printer.handleComments.remaining?r.printer.handleComments.remaining:()=>!1,m=e.length-1===u;if(ha(n,o(a),{backwards:!0}))f(a,n,r,t,m)||(h?ma(h,a):l?va(l,a):ga(c||t,a));else if(ha(n,s(a)))d(a,n,r,t,m)||(l?va(l,a):h?ma(h,a):ga(c||t,a));else if(p(a,n,r,t,m));else if(l&&h){const e=i.length;e>0&&i[e-1].followingNode!==a.followingNode&&Da(i,n,r),i.push(a)}else l?va(l,a):h?ma(h,a):ga(c||t,a)}),Da(i,n,r),e.forEach(e=>{delete e.precedingNode,delete e.enclosingNode,delete e.followingNode})},printComments:function(e,t,n,r){const i=e.getValue(),o=t(e),s=i&&i.comments;if(!s||0===s.length)return _a(e,n,o);const a=[],u=[r?";":"",o];return e.each(e=>{const t=e.getValue(),{leading:r,trailing:i}=t;if(r){const r=function(e,t){const n=e.getValue(),r=Ea(e,t);if(!r)return"";if(t.printer.isBlockComment&&t.printer.isBlockComment(n)){const e=ha(t.originalText,t.locEnd(n))?ha(t.originalText,t.locStart(n),{backwards:!0})?oa:ia:" ";return ra([r,e])}return ra([r,oa])}(e,n);if(!r)return;a.push(r);const i=n.originalText,o=fa(i,da(i,n.locEnd(t)));!1!==o&&ha(i,o)&&a.push(oa)}else i&&u.push(function(e,t){const n=e.getValue(),r=Ea(e,t);if(!r)return"";const{printer:i,originalText:o,locStart:s}=t,a=i.isBlockComment&&i.isBlockComment(n);if(ha(o,s(n),{backwards:!0})){const e=pa(o,n,s);return ua(ra([oa,e?oa:"",r]))}let u=ra([" ",r]);return a||(u=ra([ua(u),sa])),u}(e,n))},"comments"),_a(e,n,ra(a.concat(u)))},printDanglingComments:function(e,t,n,r){const i=[],o=e.getValue();return o&&o.comments?(e.each(e=>{const n=e.getValue();!n||n.leading||n.trailing||r&&!r(n)||i.push(Ea(e,t))},"comments"),0===i.length?"":n?la(oa,i):aa(ra([oa,la(oa,i)]))):""},getSortedChildNodes:ba,ensureAllCommentsPrinted:function(e){e&&e.forEach(e=>{if(!e.printed)throw new Error('Comment "'+e.value.trim()+'" was not printed. Please report this error!');delete e.printed})}};function ka(e,t){const n=Sa(e.stack,t);return-1===n?null:e.stack[n]}function Sa(e,t){for(let n=e.length-1;n>=0;n-=2){const r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}var Aa=class{constructor(e){this.stack=[e]}getName(){const{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return le(this.stack)}getNode(e=0){return ka(this,e)}getParentNode(e=0){return ka(this,e+1)}call(e,...t){const{stack:n}=this,{length:r}=n;let i=le(n);for(const s of t)i=i[s],n.push(s,i);const o=e(this);return n.length=r,o}callParent(e,t=0){const n=Sa(this.stack,t+1),r=this.stack.splice(n+1),i=e(this);return this.stack.push(...r),i}each(e,...t){const{stack:n}=this,{length:r}=n;let i=le(n);for(const o of t)i=i[o],n.push(o,i);for(let o=0;o{n[r]=e(t,r)},...t),n}match(...e){let t=this.stack.length-1,n=null,r=this.stack[t--];for(const i of e){if(void 0===r)return!1;let e=null;if("number"==typeof n&&(e=n,n=this.stack[t--],r=this.stack[t--]),i&&!i(r,n,e))return!1;n=this.stack[t--],r=this.stack[t--]}return!0}};const{utils:{stripTrailingHardline:Ta}}=cn,{normalize:Ma}=Qs;var Oa={printSubtree:function(e,t,n,r){if(n.printer.embed&&"auto"===n.embeddedLanguageFormatting)return n.printer.embed(e,t,(e,t,i)=>function(e,t,n,r,{stripTrailingHardline:i=!1}={}){const o=Ma(Object.assign({},n,t,{parentParser:n.parser,embeddedInHtml:!(!n.embeddedInHtml&&"html"!==n.parser&&"vue"!==n.parser&&"angular"!==n.parser&&"lwc"!==n.parser),originalText:e}),{passThrough:!0}),s=Gs.parse(e,o),{ast:a}=s;e=s.text;const u=a.comments;delete a.comments,Ca.attach(u,a,e,o),o[Symbol.for("comments")]=u||[],o[Symbol.for("tokens")]=a.tokens||[];const l=r(a,o);return Ca.ensureAllCommentsPrinted(u),i?"string"==typeof l?l.replace(/(?:\r?\n)*$/,""):Ta(l,!0):l}(e,t,n,r,i),n)}};const Na=cn,Fa=Na.builders,{concat:Ia,hardline:Ra,addAlignmentToDoc:Pa}=Fa,La=Na.utils;function Ba(e,t,n=0){const{printer:r}=t;r.preprocess&&(e=r.preprocess(e,t));const i=new Map;let o=function e(n,o){const s=n.getValue(),a=s&&"object"==typeof s&&void 0===o;if(a&&i.has(s))return i.get(s);let u;return u=r.willPrintOwnComments&&r.willPrintOwnComments(n,t)?ja(n,t,e,o):Ca.printComments(n,n=>ja(n,t,e,o),t,o&&o.needsSemi),a&&i.set(s,u),u}(new Aa(e));return n>0&&(o=Pa(Ia([Ra,o]),n,t.tabWidth)),La.propagateBreaks(o),o}function ja(e,t,n,r){na.ok(e instanceof Aa);const i=e.getValue(),{printer:o}=t;if(o.hasPrettierIgnore&&o.hasPrettierIgnore(e))return function(e,t){const{originalText:n,[Symbol.for("comments")]:r,locStart:i,locEnd:o}=t,s=i(e),a=o(e);for(const u of r)i(u)>=s&&o(u)<=a&&(u.printed=!0);return n.slice(s,a)}(i,t);if(i)try{const r=Oa.printSubtree(e,n,t,Ba);if(r)return r}catch(e){if(Le.PRETTIER_DEBUG)throw e}return o.print(e,t,n,r)}var $a=Ba;function Ua(e,t,n,r,i=[]){if(!(tn.locEnd(e))){for(const o of Ca.getSortedChildNodes(e,n)){const s=Ua(o,t,n,r,[e,...i]);if(s)return s}return!r||r(e)?{node:e,parentNodes:i}:void 0}}const qa=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral"]),Ha=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function za(e,t){if(null==t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"espree":case"meriyah":return function(e){return"Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration")}(t.type);case"json":return qa.has(t.type);case"graphql":return Ha.has(t.kind);case"vue":return"root"!==t.tag}return!1}var Va={calculateRange:function(e,t,n){const r=e.slice(t.rangeStart,t.rangeEnd),i=Math.max(t.rangeStart+r.search(/\S/),t.rangeStart);let o;for(o=t.rangeEnd;o>t.rangeStart&&!/\S/.test(e[o-1]);--o);const s=Ua(n,i,t,e=>za(t,e)),a=Ua(n,o,t,e=>za(t,e));if(!s||!a)return{rangeStart:0,rangeEnd:0};const{startNode:u,endNode:l}=function(e,t,n){let r=e.node,i=t.node;if(r===i)return{startNode:r,endNode:i};for(const o of t.parentNodes){if(!("Program"!==o.type&&"File"!==o.type&&n.locStart(o)>=n.locStart(e.node)))break;i=o}for(const o of e.parentNodes){if(!("Program"!==o.type&&"File"!==o.type&&n.locEnd(o)<=n.locEnd(t.node)))break;r=o}return{startNode:r,endNode:i}}(s,a,t);return{rangeStart:Math.min(t.locStart(u),t.locStart(l)),rangeEnd:Math.max(t.locEnd(u),t.locEnd(l))}},findNodeAtOffset:Ua};const{printer:{printDocToString:Wa},debug:{printDocToDebug:Ga}}=cn,{getAlignmentSize:Ka}=Pt,{guessEndOfLine:Xa,convertEndOfLineToChars:Ya,countEndOfLineChars:Ja,normalizeEndOfLine:Za}=Lt,Qa=Qs.normalize,eu=Symbol("cursor");function tu(e,t,n){const r=t.comments;return r&&(delete t.comments,Ca.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function nu(e,t,n){if(!e||!e.trim().length)return{formatted:"",cursorOffset:-1};n=n||0;const{ast:r,text:i}=Gs.parse(e,t);if(t.cursorOffset>=0){const e=Va.findNodeAtOffset(r,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}const o=tu(i,r,t),s=$a(r,t,n),a=Wa(s,t);if(Ca.ensureAllCommentsPrinted(o),n>0){const e=a.formatted.trim();void 0!==a.cursorNodeStart&&(a.cursorNodeStart-=a.formatted.indexOf(e)),a.formatted=e+Ya(t.endOfLine)}if(t.cursorOffset>=0){let e,n,r,o,s;if(t.cursorNode&&a.cursorNodeText?(e=t.locStart(t.cursorNode),n=i.slice(e,t.locEnd(t.cursorNode)),r=t.cursorOffset-e,o=a.cursorNodeStart,s=a.cursorNodeText):(e=0,n=i,r=t.cursorOffset,o=0,s=a.formatted),n===s)return{formatted:a.formatted,cursorOffset:o+r};const u=n.split("");u.splice(r,0,eu);const l=s.split(""),c=W.diffArrays(u,l);let h=o;for(const t of c)if(t.removed){if(t.value.includes(eu))break}else h+=t.count;return{formatted:a.formatted,cursorOffset:h}}return{formatted:a.formatted,cursorOffset:-1}}function ru(e,t,n){return"number"!=typeof t||isNaN(t)||t<0||t>e.length?n:t}function iu(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i}=t;return n=ru(e,n,-1),r=ru(e,r,0),i=ru(e,i,e.length),Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:i})}function ou(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:o}=iu(e,t);const s="\ufeff"===e.charAt(0);if(s&&(e=e.slice(1),n--,r--,i--),"auto"===o&&(o=Xa(e)),e.includes("\r")){const t=t=>Ja(e.slice(0,Math.max(t,0)),"\r\n");n-=t(n),r-=t(r),i-=t(i),e=Za(e)}return{hasBOM:s,text:e,options:iu(e,Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:o}))}}function su(e,t){let{hasBOM:n,text:r,options:i}=ou(e,Qa(t));const o=Gs.resolveParser(i),s=!o.hasPragma||o.hasPragma(r);if(i.requirePragma&&!s)return{formatted:e,cursorOffset:t.cursorOffset};let a;return i.rangeStart>0||i.rangeEndi&&t.cursorOffset=o?f=t.cursorOffset+(h.length-s.length):c.cursorOffset>=0&&(f=c.cursorOffset+i);let d=r.slice(0,i)+h+r.slice(o);if("lf"!==t.endOfLine){const e=Ya(t.endOfLine);f>=0&&"\r\n"===e&&(f+=Ja(d.slice(0,f),"\n")),d=d.replace(/\n/g,e)}return{formatted:d,cursorOffset:f}}(r,i):(!s&&i.insertPragma&&i.printer.insertPragma&&(r=i.printer.insertPragma(r)),a=nu(r,i)),n&&(a.formatted="\ufeff"+a.formatted,a.cursorOffset>=0&&a.cursorOffset++),a}var au={formatWithCursor:su,parse(e,t,n){const{text:r,options:i}=ou(e,Qa(t)),o=Gs.parse(r,i);return n&&(o.ast=ea(o.ast,i)),o},formatAST(e,t){t=Qa(t);const n=$a(e,t);return Wa(n,t)},formatDoc:(e,t)=>su(Ga(e),Object.assign({},t,{parser:"babel"})).formatted,printToDoc(e,t){t=Qa(t);const{ast:n,text:r}=Gs.parse(e,t);return tu(r,n,t),$a(n,t)},printDocToString:(e,t)=>Wa(e,Qa(t))};const{getMaxContinuousCount:uu,getStringWidth:lu,getAlignmentSize:cu,getIndentSize:hu,skip:fu,skipWhitespace:du,skipSpaces:pu,skipNewline:mu,skipToLineEnd:gu,skipEverythingButNewLine:vu,skipInlineComment:yu,skipTrailingComment:bu,hasNewline:wu,hasNewlineInRange:Du,hasSpaces:Eu,isNextLineEmpty:xu,isNextLineEmptyAfterIndex:_u,isPreviousLineEmpty:Cu,getNextNonSpaceNonCommentCharacterIndex:ku,makeString:Su,addLeadingComment:Au,addDanglingComment:Tu,addTrailingComment:Mu}=Pt;var Ou={getMaxContinuousCount:uu,getStringWidth:lu,getAlignmentSize:cu,getIndentSize:hu,skip:fu,skipWhitespace:du,skipSpaces:pu,skipNewline:mu,skipToLineEnd:gu,skipEverythingButNewLine:vu,skipInlineComment:yu,skipTrailingComment:bu,hasNewline:wu,hasNewlineInRange:Du,hasSpaces:Eu,isNextLineEmpty:xu,isNextLineEmptyAfterIndex:_u,isPreviousLineEmpty:Cu,getNextNonSpaceNonCommentCharacterIndex:ku,makeString:Su,addLeadingComment:Au,addDanglingComment:Tu,addTrailingComment:Mu},Nu=function(t,n){const{languageId:r}=t,i=e(t,["languageId"]);return Object.assign({linguistLanguageId:r},i,n(t))},Fu=Be((function(e){!function(){function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()})),Iu=Be((function(e){!function(){var t,n,r,i,o,s;function a(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6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\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-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0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\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39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),s=0;s<128;++s)i[s]=s>=97&&s<=122||s>=65&&s<=90||36===s||95===s;for(o=new Array(128),s=0;s<128;++s)o[s]=s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||36===s||95===s;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:n.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES5:function(e){return e<128?o[e]:n.NonAsciiIdentifierPart.test(a(e))},isIdentifierStartES6:function(e){return e<128?i[e]:t.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES6:function(e){return e<128?o[e]:t.NonAsciiIdentifierPart.test(a(e))}}}()})),Ru=Be((function(e){!function(){var t=Iu;function n(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function i(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function o(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function s(e){var n,r,i;if(0===e.length)return!1;if(i=e.charCodeAt(0),!t.isIdentifierStartES5(i))return!1;for(n=1,r=e.length;n=r)return!1;if(!(56320<=(o=e.charCodeAt(n))&&o<=57343))return!1;i=1024*(i-55296)+(o-56320)+65536}if(!s(i))return!1;s=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:i,isReservedWordES6:o,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:s,isIdentifierNameES6:a,isIdentifierES5:function(e,t){return s(e)&&!i(e,t)},isIdentifierES6:function(e,t){return a(e)&&!o(e,t)}}}()}));const Pu=Be((function(e,t){t.ast=Fu,t.code=Iu,t.keyword=Ru})).keyword.isIdentifierNameES5,{getLast:Lu,hasNewline:Bu,hasNewlineInRange:ju,skipWhitespace:$u}=Pt,{locStart:Uu,locEnd:qu,hasSameLocStart:Hu}=as,zu="(?:(?=.)\\s)",Vu=new RegExp("^".concat(zu,"*:")),Wu=new RegExp("^".concat(zu,"*::"));function Gu(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return e.some(e=>Gu(e,t));const n=t(e);return"boolean"==typeof n?n:Object.keys(e).some(n=>Gu(e[n],t))}function Ku(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||"CallExpression"===e.type||"OptionalCallExpression"===e.type||"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}function Xu(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}const Yu=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function Ju(e){return e&&Yu.has(e.type)}function Zu(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type}function Qu(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function el(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function tl(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function nl(e){return!("CallExpression"!==e.type&&"OptionalCallExpression"!==e.type||"Identifier"!==e.callee.type||"async"!==e.callee.name&&"inject"!==e.callee.name&&"fakeAsync"!==e.callee.name)}function rl(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function il(e){return"get"===e.kind||"set"===e.kind}function ol(e){return il(e)||Hu(e,e.value)}const sl=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]),al=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]),ul=/^(skip|[fx]?(it|describe|test))$/;function ll(e){return"CallExpression"===e.type||"OptionalCallExpression"===e.type}const cl=new RegExp("([ \n\r\t]+)"),hl=new RegExp("[^ \n\r\t]");function fl(e){return Zu(e)&&(hl.test(gl(e))||!/\n/.test(gl(e)))}function dl(e,t){return rl(t)?kl(t):t.comments&&t.comments.some(t=>t.leading&&Bu(e,qu(t)))}function pl(e){return/^(\d+|\d+\.\d+)$/.test(e)}function ml(e){return e.quasis.some(e=>e.value.raw.includes("\n"))}function gl(e){return e.extra?e.extra.raw:e.raw}const vl={"==":!0,"!=":!0,"===":!0,"!==":!0},yl={"*":!0,"/":!0,"%":!0},bl={">>":!0,">>>":!0,"<<":!0},wl={};function Dl(e){return wl[e]}[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach((e,t)=>{e.forEach(e=>{wl[e]=t})});const El=new WeakMap;function xl(e){if(El.has(e))return El.get(e);const t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),El.set(e,t),t}const _l=new WeakMap;function Cl(e){return"prettier-ignore"===e.value.trim()}function kl(e){return e&&(e.comments&&e.comments.length>0&&e.comments.some(e=>Cl(e)&&!e.unignore)||e.prettierIgnore)}function Sl(e){return kl(e.getValue())}var Al={classChildNeedsASIProtection:function(e){if(e){if(e.static||e.accessibility)return!1;if(!e.computed){const t=e.key&&e.key.name;if("in"===t||"instanceof"===t)return!0}switch(e.type){case"ClassProperty":case"FieldDefinition":case"TSAbstractClassProperty":return e.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{const t=e.value?e.value.async:e.async,n=e.value?e.value.generator:e.generator;return!t&&"get"!==e.kind&&"set"!==e.kind&&!(!e.computed&&!n)}case"TSIndexSignature":return!0;default:return!1}}},classPropMayCauseASIProblems:function(e){const t=e.getNode();if("ClassProperty"!==t.type&&"FieldDefinition"!==t.type)return!1;const n=t.key&&t.key.name;return!("static"!==n&&"get"!==n&&"set"!==n||t.value||t.typeAnnotation)||void 0},getFunctionParameters:xl,iterateFunctionParametersPath:function(e,t){const n=e.getValue();let r=0;const i=e=>t(e,r++);n.this&&e.call(i,"this"),Array.isArray(n.parameters)?e.each(i,"parameters"):Array.isArray(n.params)&&e.each(i,"params"),n.rest&&e.call(i,"rest")},getCallArguments:function(e){if(_l.has(e))return _l.get(e);const t="ImportExpression"===e.type?[e.source]:e.arguments;return _l.set(e,t),t},iterateCallArgumentsPath:function(e,t){"ImportExpression"===e.getValue().type?e.call(e=>t(e,0),"source"):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;const t=xl(e);return t.length>0&&"RestElement"===Lu(t).type},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){const t=e.getParentNode();return"declaration"===e.getName()&&Ju(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasDanglingComments:function(e){return e.comments&&e.comments.some(e=>!e.leading&&!e.trailing)},hasFlowAnnotationComment:function(e){return e&&Xu(e[0])&&Wu.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&e.trailingComments&&Xu(e.trailingComments[0])&&Vu.test(e.trailingComments[0].value)},hasLeadingComment:function(e){return e.comments&&e.comments.some(e=>e.leading)},hasLeadingOwnLineComment:dl,hasNakedLeftSide:Ku,hasNewlineBetweenOrAfterDecorators:function(e,t){return ju(t.originalText,Uu(e.decorators[0]),qu(Lu(e.decorators)))||Bu(t.originalText,qu(Lu(e.decorators)))},hasNgSideEffect:function(e){return Gu(e.getValue(),e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})},hasNode:Gu,hasPrettierIgnore:function(e){return Sl(e)||function(e){const t=e.getValue(),n=e.getParentNode();if(!(n&&t&&rl(t)&&rl(n)))return!1;let r=null;for(let i=n.children.indexOf(t);i>0;i--){const e=n.children[i-1];if("JSXText"!==e.type||fl(e)){r=e;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&r.expression.comments&&r.expression.comments.some(e=>Cl(e))}(e)},hasTrailingComment:function(e){return e.comments&&e.comments.some(e=>e.trailing)},hasTrailingLineComment:function(e){return e.comments&&e.comments.some(e=>e.trailing&&!Xu(e))},hasIgnoreComment:Sl,hasNodeIgnoreComment:kl,identity:function(e){return e},isBinaryish:function(e){return sl.has(e.type)},isBlockComment:Xu,isLineComment:function(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type},isPrettierIgnoreComment:Cl,isCallOrOptionalCallExpression:ll,isEmptyJSXElement:function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;const t=e.children[0];return Zu(t)&&!fl(t)},isExportDeclaration:Ju,isFlowAnnotationComment:function(e,t){const n=Uu(t),r=$u(e,qu(t));return!1!==r&&"/*"===e.slice(n,n+2)&&"*/"===e.slice(r,r+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(const n of e)if(tl(n)){if(t+=1,t>1)return!0}else if(ll(n))for(const e of n.arguments)if(tl(e))return!0;return!1},isFunctionNotation:ol,isFunctionOrArrowExpression:tl,isGetterOrSetter:il,isJestEachTemplateLiteral:function(e,t){const n=/^[fx]?(describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))},isJSXNode:rl,isJSXWhitespaceExpression:function(e){return"JSXExpressionContainer"===e.type&&Zu(e.expression)&&" "===e.expression.value&&!e.expression.comments},isLastStatement:function(e){const t=e.getParentNode();if(!t)return!0;const n=e.getValue(),r=(t.body||t.consequent).filter(e=>"EmptyStatement"!==e.type);return r[r.length-1]===n},isLiteral:Zu,isLongCurriedCallExpression:function(e){const t=e.getValue(),n=e.getParentNode();return ll(t)&&ll(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;const r=t=>e(t,n+1),i="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(i&&i.length>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every(e=>!e.computed&&(e.shorthand||e.value&&r(e.value))):"ArrayExpression"===t.type?t.elements.every(e=>null===e||r(e)):"ImportExpression"===t.type?r(t.source):"CallExpression"===t.type||"OptionalCallExpression"===t.type||"NewExpression"===t.type?e(t.callee,n)&&t.arguments.every(r):"MemberExpression"===t.type||"OptionalMemberExpression"===t.type?e(t.object,n)&&e(t.property,n):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,n):e(t.argument,n)))},isMeaningfulJSXText:fl,isMemberExpressionChain:function e(t){return("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&("Identifier"===t.object.type||e(t.object))},isMemberish:function(e){return"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"BindExpression"===e.type&&Boolean(e.object)},isNgForOf:function(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value},isNumericLiteral:Qu,isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type},isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||ol(e))},isSimpleType:function(e){return!!e&&(!("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)||!!al.has(e.type))},isSimpleNumber:pl,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");const n=e[t];return 0!==n.length&&n.every(e=>{if(e.comments)return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if("MemberExpression"===e.type||"OptionalMemberExpression"===e.type){let t=e;for(;"MemberExpression"===t.type||"OptionalMemberExpression"===t.type;){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(t=t.object,t.comments)return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1})},isStringLiteral:el,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&el(e.key)&&gl(e.key).slice(1,-1)===e.key.value&&(Pu(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||pl(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"espree"===t.parser||"meriyah"===t.parser))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&ml(e)||"TaggedTemplateExpression"===e.type&&ml(e.quasi))&&!Bu(t,Uu(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(nl(t)&&n&&e(n))return tl(t.arguments[0]);if("Identifier"===(r=t).callee.type&&/^(before|after)(Each|All)$/.test(r.callee.name)&&1===r.arguments.length)return nl(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&ul.test(t.callee.name)||function(e){return("MemberExpression"===e.callee.type||"OptionalMemberExpression"===e.callee.type)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&ul.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name)}(t))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||el(t.arguments[0])))return!(t.arguments[2]&&!Qu(t.arguments[2]))&&((2===t.arguments.length?tl(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&xl(t.arguments[1]).length<=1)||nl(t.arguments[1]));var r;return!1},isTheOnlyJSXElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;const n=t.getNode();if(!n.expression||!rl(n.expression))return!1;const r=t.getParentNode();return"Program"===r.type&&1===r.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||Hu(e,e.typeAnnotation))},matchJsxWhitespaceRegex:cl,needsHardlineAfterDanglingComment:function(e){if(!e.comments)return!1;const t=Lu(e.comments.filter(e=>!e.leading&&!e.trailing));return t&&!Xu(t)},rawText:gl,returnArgumentHasLeadingComment:function(e,t){if(dl(e.originalText,t))return!0;if(Ku(t)){let r,i=t;for(;r=(n=i).expressions?n.expressions[0]:n.left||n.test||n.callee||n.object||n.tag||n.argument||n.expression;)if(i=r,dl(e.originalText,i))return!0}var n;return!1},shouldPrintComma:function(e,t="es5"){return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return!!bl[e]||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return Dl(t)===Dl(e)&&"**"!==e&&(!vl[e]||!vl[t])&&!("%"===t&&yl[e]||"%"===e&&yl[t])&&(t===e||!yl[t]||!yl[e])&&(!bl[e]||!bl[t])},startsWithNoLookaheadToken:function e(t,n){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":return e(t.expression,n);default:return!1}},getPrecedence:Dl};const{getLast:Tl,hasNewline:Ml,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Ol,getNextNonSpaceNonCommentCharacter:Nl,hasNewlineInRange:Fl,addLeadingComment:Il,addTrailingComment:Rl,addDanglingComment:Pl,getNextNonSpaceNonCommentCharacterIndex:Ll}=Pt,{isBlockComment:Bl,getFunctionParameters:jl,isPrettierIgnoreComment:$l,isJSXNode:Ul,hasFlowShorthandAnnotationComment:ql,hasFlowAnnotationComment:Hl,hasIgnoreComment:zl}=Al,{locStart:Vl,locEnd:Wl}=as;function Gl(e,t){const n=(e.body||e.properties).find(({type:e})=>"EmptyStatement"!==e);n?Il(n,t):Pl(e,t)}function Kl(e,t){"BlockStatement"===e.type?Gl(e,t):Il(e,t)}function Xl(e,t){const{precedingNode:n,enclosingNode:r,followingNode:i}=e;return!(!r||"IfStatement"!==r.type||!i)&&(")"===Nl(t,e,Wl)?(Rl(n,e),!0):n===r.consequent&&i===r.alternate?("BlockStatement"===n.type?Rl(n,e):Pl(r,e),!0):"BlockStatement"===i.type?(Gl(i,e),!0):"IfStatement"===i.type?(Kl(i.consequent,e),!0):r.consequent===i&&(Il(i,e),!0))}function Yl(e,t){const{precedingNode:n,enclosingNode:r,followingNode:i}=e;return!(!r||"WhileStatement"!==r.type||!i)&&(")"===Nl(t,e,Wl)?(Rl(n,e),!0):"BlockStatement"===i.type?(Gl(i,e),!0):r.body===i&&(Il(i,e),!0))}function Jl(e){const{precedingNode:t,enclosingNode:n,followingNode:r}=e;return!(!n||"TryStatement"!==n.type&&"CatchClause"!==n.type||!r)&&("CatchClause"===n.type&&t?(Rl(t,e),!0):"BlockStatement"===r.type?(Gl(r,e),!0):"TryStatement"===r.type?(Kl(r.finalizer,e),!0):"CatchClause"===r.type&&(Kl(r.body,e),!0))}function Zl(e){const{precedingNode:t,enclosingNode:n,followingNode:r}=e;if(n&&("ClassDeclaration"===n.type||"ClassExpression"===n.type||"DeclareClass"===n.type||"DeclareInterface"===n.type||"InterfaceDeclaration"===n.type||"TSInterfaceDeclaration"===n.type)){if(n.decorators&&n.decorators.length>0&&(!r||"Decorator"!==r.type))return Rl(n.decorators[n.decorators.length-1],e),!0;if(n.body&&r===n.body)return Gl(n.body,e),!0;if(r)for(const i of["implements","extends","mixins"])if(n[i]&&r===n[i][0])return!t||t!==n.id&&t!==n.typeParameters&&t!==n.superClass?Pl(n,e,i):Rl(t,e),!0}return!1}function Ql(e,t){const{precedingNode:n,enclosingNode:r}=e;return(r&&n&&("Property"===r.type||"TSDeclareMethod"===r.type||"TSAbstractMethodDefinition"===r.type)&&"Identifier"===n.type&&r.key===n&&":"!==Nl(t,n,Wl)||!(!n||!r||"Decorator"!==n.type||"ClassMethod"!==r.type&&"ClassProperty"!==r.type&&"FieldDefinition"!==r.type&&"TSAbstractClassProperty"!==r.type&&"TSAbstractMethodDefinition"!==r.type&&"TSDeclareMethod"!==r.type&&"MethodDefinition"!==r.type))&&(Rl(n,e),!0)}function ec(e,t){const{precedingNode:n,enclosingNode:r,followingNode:i}=e;if(n&&"FunctionTypeParam"===n.type&&r&&"FunctionTypeAnnotation"===r.type&&i&&"FunctionTypeParam"!==i.type)return Rl(n,e),!0;if(n&&("Identifier"===n.type||"AssignmentPattern"===n.type)&&r&&oc(r)&&")"===Nl(t,e,Wl))return Rl(n,e),!0;if(r&&"FunctionDeclaration"===r.type&&i&&"BlockStatement"===i.type){const n=(()=>{const e=jl(r);if(0!==e.length)return Ol(t,Wl(Tl(e)));const n=Ol(t,Wl(r.id));return!1!==n&&Ol(t,n+1)})();if(Vl(e)>n)return Gl(i,e),!0}return!1}function tc(e){const{enclosingNode:t}=e;return!(!t||"ImportSpecifier"!==t.type)&&(Il(t,e),!0)}function nc(e){const{enclosingNode:t}=e;return!(!t||"LabeledStatement"!==t.type)&&(Il(t,e),!0)}function rc(e,t,n){const{enclosingNode:r}=e;return t&&t.body&&0===t.body.length?(n?Pl(t,e):Il(t,e),!0):!(!r||"Program"!==r.type||0!==r.body.length||!r.directives||0!==r.directives.length)&&(n?Pl(r,e):Il(r,e),!0)}function ic(e){const{enclosingNode:t,followingNode:n}=e;if($l(e)&&t&&"TSMappedType"===t.type&&n&&"TSTypeParameter"===n.type&&n.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function oc(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function sc(e){return Bl(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var ac={handleOwnLineComment:function(e,t,n,r,i){return ic(e)||ec(e,t)||function(e){const{enclosingNode:t,followingNode:n}=e;return!(!t||"MemberExpression"!==t.type&&"OptionalMemberExpression"!==t.type||!n||"Identifier"!==n.type)&&(Il(t,e),!0)}(e)||Xl(e,t)||Yl(e,t)||Jl(e)||Zl(e)||tc(e)||function(e){const{enclosingNode:t}=e;return!(!t||"ForInStatement"!==t.type&&"ForOfStatement"!==t.type)&&(Il(t,e),!0)}(e)||function(e){const{precedingNode:t,enclosingNode:n,followingNode:r}=e;return!n||"UnionTypeAnnotation"!==n.type&&"TSUnionType"!==n.type?(r&&("UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)&&$l(e)&&(r.types[0].prettierIgnore=!0,e.unignore=!0),!1):($l(e)&&(r.prettierIgnore=!0,e.unignore=!0),!!t&&(Rl(t,e),!0))}(e)||rc(e,r,i)||function(e,t){const{precedingNode:n,enclosingNode:r}=e;return!!(n&&"ImportSpecifier"===n.type&&r&&"ImportDeclaration"===r.type&&Ml(t,Wl(e)))&&(Rl(n,e),!0)}(e,t)||function(e){const{enclosingNode:t}=e;return!(!t||"AssignmentPattern"!==t.type)&&(Il(t,e),!0)}(e)||Ql(e,t)||nc(e)},handleEndOfLineComment:function(e,t,n,r,i){return function(e){const{followingNode:t}=e;return!(!t||!sc(e))&&(Il(t,e),!0)}(e)||ec(e,t)||function(e,t){const{precedingNode:n,enclosingNode:r,followingNode:i}=e,o=n&&!Fl(t,Wl(n),Vl(e));return!(n&&o||!r||"ConditionalExpression"!==r.type&&"TSConditionalType"!==r.type||!i)&&(Il(i,e),!0)}(e,t)||tc(e)||Xl(e,t)||Yl(e,t)||Jl(e)||Zl(e)||nc(e)||function(e){const{precedingNode:t,enclosingNode:n}=e;return!!(n&&("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&t&&n.callee===t&&n.arguments.length>0)&&(Il(n.arguments[0],e),!0)}(e)||function(e){const{enclosingNode:t}=e;return!(!t||"Property"!==t.type&&"ObjectProperty"!==t.type)&&(Il(t,e),!0)}(e)||rc(e,r,i)||function(e){const{enclosingNode:t}=e;return!(!t||"TypeAlias"!==t.type)&&(Il(t,e),!0)}(e)||function(e){const{enclosingNode:t,followingNode:n}=e;return!(!t||"VariableDeclarator"!==t.type&&"AssignmentExpression"!==t.type||!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&"TemplateLiteral"!==n.type&&"TaggedTemplateExpression"!==n.type&&!Bl(e))&&(Il(n,e),!0)}(e)},handleRemainingComment:function(e,t,n,r,i){return!!(ic(e)||Xl(e,t)||Yl(e,t)||function(e){const{precedingNode:t,enclosingNode:n}=e;return!(!n||"ObjectProperty"!==n.type&&"Property"!==n.type||!n.shorthand||n.key!==t||"AssignmentPattern"!==n.value.type)&&(Rl(n.value.left,e),!0)}(e)||function(e,t){if(")"!==Nl(t,e,Wl))return!1;const{enclosingNode:n}=e;return n&&(oc(n)&&0===jl(n).length||("CallExpression"===n.type||"OptionalCallExpression"===n.type||"NewExpression"===n.type)&&0===n.arguments.length)?(Pl(n,e),!0):!(!n||"MethodDefinition"!==n.type||0!==jl(n.value).length)&&(Pl(n.value,e),!0)}(e,t)||Ql(e,t)||rc(e,r,i)||function(e,t){const{enclosingNode:n}=e;if(!n||"ArrowFunctionExpression"!==n.type)return!1;const r=Ll(t,e,Wl);return!1!==r&&"=>"===t.slice(r,r+2)&&(Pl(n,e),!0)}(e,t)||function(e,t){if("("!==Nl(t,e,Wl))return!1;const{precedingNode:n,enclosingNode:r}=e;return!(!n||!r||"FunctionDeclaration"!==r.type&&"FunctionExpression"!==r.type&&"ClassMethod"!==r.type&&"MethodDefinition"!==r.type&&"ObjectMethod"!==r.type)&&(Rl(n,e),!0)}(e,t)||function(e){const{precedingNode:t,enclosingNode:n,followingNode:r}=e;return!(!n||"TSMappedType"!==n.type)&&(r&&"TSTypeParameter"===r.type&&r.name?(Il(r.name,e),!0):!(!t||"TSTypeParameter"!==t.type||!t.constraint)&&(Rl(t.constraint,e),!0))}(e)||function(e){const{enclosingNode:t}=e;return!(!t||"ContinueStatement"!==t.type&&"BreakStatement"!==t.type||t.label)&&(Rl(t,e),!0)}(e)||function(e,t){const{enclosingNode:n,followingNode:r}=e;return!(r||!n||"TSMethodSignature"!==n.type&&"TSDeclareFunction"!==n.type&&"TSAbstractMethodDefinition"!==n.type||";"!==Nl(t,e,Wl))&&(Rl(n,e),!0)}(e,t))},hasLeadingComment:function(e,t=(()=>!0)){return e.leadingComments?e.leadingComments.some(t):!!e.comments&&e.comments.some(e=>e.leading&&t(e))},isTypeCastComment:sc,getGapRegex:function(e){if(e&&"BinaryExpression"!==e.type&&"LogicalExpression"!==e.type)return/^[\s&(|]*$/},getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"espree"===t.parser||"meriyah"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===jl(e.value).length&&!e.value.returnType&&(!e.value.typeParameters||0===e.value.typeParameters.length)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){const t=e.getValue(),n=e.getParentNode();return(t&&(Ul(t)||ql(t)||n&&("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&(Hl(t.leadingComments)||Hl(t.trailingComments)))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!zl(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}};const{getStringWidth:uc,getIndentSize:lc}=Pt,{builders:{concat:cc,join:hc,hardline:fc,softline:dc,group:pc,indent:mc,align:gc,lineSuffixBoundary:vc,addAlignmentToDoc:yc},printer:{printDocToString:bc},utils:{mapDoc:wc}}=cn,{isBinaryish:Dc,isJestEachTemplateLiteral:Ec,isSimpleTemplateLiteral:xc}=Al;function _c(e){return e.replace(/([\\`]|\${)/g,"\\$1")}var Cc={printTemplateLiteral:function(e,t,n){const r=e.getValue();if("TemplateLiteral"===r.type&&Ec(r,e.getParentNode())){const r=function(e,t,n){const r=e.getNode(),i=r.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(i.length>1||i.some(e=>0!==e.length)){t.__inJestEach=!0;const o=e.map(n,"expressions");t.__inJestEach=!1;const s=[],a=o.map(e=>"${"+bc(e,Object.assign({},t,{printWidth:1/0,endOfLine:"lf"})).formatted+"}"),u=[{hasLineBreak:!1,cells:[]}];for(let e=1;ee.cells.length)),c=Array.from({length:l}).fill(0),h=[{cells:i},...u.filter(e=>0!==e.cells.length)];for(const{cells:e}of h.filter(e=>!e.hasLineBreak))e.forEach((e,t)=>{c[t]=Math.max(c[t],uc(e))});return s.push(vc,"`",mc(cc([fc,hc(fc,h.map(e=>hc(" | ",e.cells.map((t,n)=>e.hasLineBreak?t:t+" ".repeat(c[n]-uc(t))))))])),fc,"`"),cc(s)}}(e,n,t);if(r)return r}let i="expressions";"TSTemplateLiteralType"===r.type&&(i="types");const o=[];let s=e.map(t,i);const a=xc(r);return a&&(s=s.map(e=>bc(e,Object.assign({},n,{printWidth:1/0})).formatted)),o.push(vc,"`"),e.each(e=>{const u=e.getName();if(o.push(t(e)),ufunction(e,t){const n=e.getValue();let r=t(e);return n.comments&&n.comments.length&&(r=pc(cc([mc(cc([dc,r])),dc]))),cc(["${",r,vc,"}"])}(e,t),"expressions")},escapeTemplateCharacters:function(e,t){return wc(e,e=>{if(!e.parts)return e;const n=e.parts.map(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):_c(e):e);return Object.assign({},e,{parts:n})})},uncookTemplateElementValue:_c};const{builders:{indent:kc,softline:Sc,literalline:Ac,concat:Tc,dedentToRoot:Mc}}=cn,{escapeTemplateCharacters:Oc}=Cc;var Nc=function(e,t,n){let r=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(e,t)=>"\\".repeat(t.length/2)+"`");const i=function(e){const t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(r),o=""!==i;o&&(r=r.replace(new RegExp("^".concat(i),"gm"),""));const s=Oc(n(r,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return Tc(["`",o?kc(Tc([Sc,s])):Tc([Ac,Mc(s)]),Sc,"`"])};const{builders:{indent:Fc,hardline:Ic,softline:Rc,concat:Pc},utils:{mapDoc:Lc,replaceNewlinesWithLiterallines:Bc}}=cn,{printTemplateExpressions:jc}=Cc;var $c=function(e,t,n){const r=e.getValue(),i=r.quasis.map(e=>e.value.raw);let o=0;return function(e,t,n){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";const r=function(e,t){if(!t||!t.length)return e;let n=0;const r=Lc(e,e=>{if(!e||!e.parts||!e.parts.length)return e;let{parts:r}=e;const i=r.indexOf("@"),o=i+1;if(i>-1&&"string"==typeof r[o]&&r[o].startsWith("prettier-placeholder")){const e=r[i],t=r[o],n=r.slice(o+1);r=r.slice(0,i).concat([e+t]).concat(n)}const s=[];return r.forEach(e=>{"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).forEach((e,r)=>{r%2!=0?(s.push(t[e]),n++):s.push(Bc(e))}):s.push(e)}),Object.assign({},e,{parts:s})});return t.length===n?r:null}(e,n);if(!r)throw new Error("Couldn't insert all the expressions");return Pc(["`",Fc(Pc([Ic,r])),Rc,"`"])}(n(i.reduce((e,t,n)=>0===n?t:e+"@prettier-placeholder-"+o+++"-id"+t,""),{parser:"scss"},{stripTrailingHardline:!0}),r,jc(e,t))};const{builders:{indent:Uc,join:qc,hardline:Hc,concat:zc}}=cn,{escapeTemplateCharacters:Vc,printTemplateExpressions:Wc}=Cc;function Gc(e){const t=[];let n=!1;return e.map(e=>e.trim()).forEach((e,r,i)=>{""!==e&&(""===i[r-1]&&n?t.push(zc([Hc,e])):t.push(e),n=!0)}),0===t.length?null:qc(Hc,t)}var Kc=function(e,t,n){const r=e.getValue(),i=r.quasis.length;if(1===i&&""===r.quasis[0].value.raw.trim())return"``";const o=Wc(e,t),s=[];for(let a=0;a2&&""===l[0].trim()&&""===l[1].trim(),d=c>2&&""===l[c-1].trim()&&""===l[c-2].trim(),p=l.every(e=>/^\s*(?:#[^\n\r]*)?$/.test(e));if(!t&&/#[^\n\r]*$/.test(l[c-1]))return null;let m=null;m=p?Gc(l):n(u,{parser:"graphql"},{stripTrailingHardline:!0}),m?(m=Vc(m,!1),!e&&f&&s.push(""),s.push(m),!t&&d&&s.push("")):e||t||!f||s.push(""),h&&s.push(h)}return zc(["`",Uc(zc([Hc,qc(Hc,s)])),Hc,"`"])};const{builders:{indent:Xc,line:Yc,hardline:Jc,concat:Zc,group:Qc},utils:{mapDoc:eh}}=cn,{printTemplateExpressions:th,uncookTemplateElementValue:nh}=Cc;let rh=0;var ih=function(e,t,n,r,{parser:i}){const o=e.getValue(),s=rh;rh=rh+1>>>0;const a=e=>"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(s,"_IN_JS"),u=o.quasis.map((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+a(t)).join(""),l=th(e,t);if(0===l.length&&0===u.trim().length)return"``";const c=new RegExp(a("(\\d+)"),"g");let h=0;const f=n(u,{parser:i,__onHtmlRoot(e){h=e.children.length}},{stripTrailingHardline:!0}),d=eh(f,e=>{if("string"!=typeof e)return e;const t=[],n=e.split(c);for(let i=0;i1?Xc(Qc(d)):Qc(d),m,"`"]))};const{isBlockComment:oh}=Al,{hasLeadingComment:sh}=ac;function ah(e){return function(e){const t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some(e=>"jsx"===e.name.name)||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}(e)||function(e){const t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;const{tag:n}=t;switch(n.type){case"MemberExpression":return lh(n.object)||ch(n);case"CallExpression":return lh(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(lh(n.callee.object.object)||ch(n.callee.object))||"CallExpression"===n.callee.object.type&&lh(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}(e)||function(e){const t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}(e)||function(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"ArrayExpression"===e.type&&"elements"===t,(e,t)=>("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t,...uh)}(e)?"css":function(e){const t=e.getValue(),n=e.getParentNode();return hh(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)?"graphql":function(e){return hh(e.getValue(),"HTML")||e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t)}(e)?"html":function(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t,...uh)}(e)?"angular":function(e){const t=e.getValue(),n=e.getParentNode();return n&&"TaggedTemplateExpression"===n.type&&1===t.quasis.length&&"Identifier"===n.tag.type&&("md"===n.tag.name||"markdown"===n.tag.name)}(e)?"markdown":void 0}const uh=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function lh(e){return"Identifier"===e.type&&"styled"===e.name}function ch(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function hh(e,t){return sh(e,e=>oh(e)&&e.value===" ".concat(t," "))}var fh=function(e,t,n,r){const i=e.getValue();if("TemplateLiteral"!==i.type||function({quasis:e}){return e.some(({value:{cooked:e}})=>null===e)}(i))return;const o=ah(e);return o?"markdown"===o?Nc(e,t,n):"css"===o?$c(e,t,n):"graphql"===o?Kc(e,t,n):"html"===o||"angular"===o?ih(e,t,n,r,{parser:o}):void 0:void 0};const{isBlockComment:dh}=Al,ph=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]);function mh(e,t,n){if("Program"===e.type&&delete t.sourceType,"BigIntLiteral"!==e.type&&"BigIntLiteralTypeAnnotation"!==e.type||t.value&&(t.value=t.value.toLowerCase()),"BigIntLiteral"!==e.type&&"Literal"!==e.type||t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;"Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"ClassMethod"!==e.type&&"FieldDefinition"!==e.type&&"TSDeclareMethod"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!=typeof e.key||!e.key||"Literal"!==e.key.type&&"NumericLiteral"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"OptionalMemberExpression"===e.type&&!1===e.optional&&(t.type="MemberExpression",delete t.optional),"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some(e=>"jsx"===e.name.name)&&t.children.filter(e=>"JSXExpressionContainer"===e.type&&"TemplateLiteral"===e.expression.type).map(e=>e.expression).reduce((e,t)=>e.concat(t.quasis),[]).forEach(e=>delete e.value),"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&t.value.expression.quasis.forEach(e=>delete e.value),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));const r=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===r.type&&"Component"===r.callee.name&&1===r.arguments.length){const n=e.expression.arguments[0].properties;t.expression.arguments[0].properties.forEach((e,t)=>{let r=null;switch(n[t].key.name){case"styles":"ArrayExpression"===e.value.type&&(r=e.value.elements[0]);break;case"template":"TemplateLiteral"===e.value.type&&(r=e.value)}r&&r.quasis.forEach(e=>delete e.value)})}"TaggedTemplateExpression"!==e.type||"MemberExpression"!==e.tag.type&&("Identifier"!==e.tag.type||"gql"!==e.tag.name&&"graphql"!==e.tag.name&&"css"!==e.tag.name&&"md"!==e.tag.name&&"markdown"!==e.tag.name&&"html"!==e.tag.name)&&"CallExpression"!==e.tag.type||t.quasi.quasis.forEach(e=>delete e.value),"TemplateLiteral"===e.type&&((e.leadingComments&&e.leadingComments.some(e=>dh(e)&&["GraphQL","HTML"].some(t=>e.value===" ".concat(t," ")))||"CallExpression"===n.type&&"graphql"===n.callee.name)&&t.quasis.forEach(e=>delete e.value),e.leadingComments||t.quasis.forEach(e=>{e.value&&delete e.value.cooked})),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd())}mh.ignoredProperties=ph;var gh=mh;const vh=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");const t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;const n=t.filter(e=>"\r\n"===e).length;return n>t.length-n?"\r\n":"\n"};var yh=vh;yh.graceful=e=>"string"==typeof e&&vh(e)||"\n";var bh=Be((function(e,t){function n(){const e=Hr;return n=function(){return e},e}function r(){const e=(t=yh)&&t.__esModule?t:{default:t};var t;return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.extract=function(e){const t=e.match(s);return t?t[0].trimLeft():""},t.strip=function(e){const t=e.match(s);return t&&t[0]?e.substring(t[0].length):e},t.parse=function(e){return d(e).pragmas},t.parseWithComments=d,t.print=function({comments:e="",pragmas:t={}}){const i=(0,r().default)(e)||n().EOL,o=" *",s=Object.keys(t),a=s.map(e=>p(e,t[e])).reduce((e,t)=>e.concat(t),[]).map(e=>" * "+e+i).join("");if(!e){if(0===s.length)return"";if(1===s.length&&!Array.isArray(t[s[0]])){const e=t[s[0]];return"".concat("/**"," ").concat(p(s[0],e)[0]).concat(" */")}}const u=e.split(i).map(e=>"".concat(o," ").concat(e)).join(i)+i;return"/**"+i+(e?u:"")+(e&&s.length?o+i:"")+a+" */"};const i=/\*\/$/,o=/^\/\*\*/,s=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,a=/(^|\s+)\/\/([^\r\n]*)/g,u=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,h=/(\r?\n|^) *\* ?/g,f=[];function d(e){const t=(0,r().default)(e)||n().EOL;e=e.replace(o,"").replace(i,"").replace(h,"$1");let s="";for(;s!==e;)s=e,e=e.replace(l,"".concat(t,"$1 $2").concat(t));e=e.replace(u,"").trimRight();const d=Object.create(null),p=e.replace(c,"").replace(u,"").trimRight();let m;for(;m=c.exec(e);){const e=m[2].replace(a,"");"string"==typeof d[m[1]]||Array.isArray(d[m[1]])?d[m[1]]=f.concat(d[m[1]],e):d[m[1]]=e}return{comments:p,pragmas:d}}function p(e,t){return f.concat(t).map(t=>"@".concat(e," ").concat(t).trim())}}));const{parseWithComments:wh,strip:Dh,extract:Eh,print:xh}=bh,{getShebang:_h}=Pt,{normalizeEndOfLine:Ch}=Lt;function kh(e){const t=_h(e);t&&(e=e.slice(t.length+1));const n=Eh(e),{pragmas:r,comments:i}=wh(n);return{shebang:t,text:e,pragmas:r,comments:i}}var Sh={hasPragma:function(e){const t=Object.keys(kh(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){const{shebang:t,text:n,pragmas:r,comments:i}=kh(e),o=Dh(n),s=xh({pragmas:Object.assign({format:""},r),comments:i.trimStart()});return(t?"".concat(t,"\n"):"")+Ch(s)+(o.startsWith("\n")?"\n":"\n\n")+o}};const{getFunctionParameters:Ah,getLeftSidePathName:Th,hasFlowShorthandAnnotationComment:Mh,hasNakedLeftSide:Oh,hasNode:Nh,isBitwiseOperator:Fh,startsWithNoLookaheadToken:Ih,shouldFlatten:Rh,getPrecedence:Ph}=Al;function Lh(e,t){const n=e.getParentNode();if(!n)return!1;const r=e.getName(),i=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){switch(e.type){case"ObjectExpression":return!0;default:return!1}}(i)&&Bh(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"FieldDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(i))return!1;if("flow"!==t.parser&&Mh(e.getValue()))return!0;if("Identifier"===i.type)return!!(i.extra&&i.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(i.name));switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===r&&("ArrowFunctionExpression"===i.type||"AssignmentExpression"===i.type||"AwaitExpression"===i.type||"BinaryExpression"===i.type||"ConditionalExpression"===i.type||"LogicalExpression"===i.type||"NewExpression"===i.type||"ObjectExpression"===i.type||"ParenthesizedExpression"===i.type||"SequenceExpression"===i.type||"TaggedTemplateExpression"===i.type||"UnaryExpression"===i.type||"UpdateExpression"===i.type||"YieldExpression"===i.type))return!0;break;case"ExportDefaultDeclaration":return jh(e,t)||"SequenceExpression"===i.type;case"Decorator":if("expression"===r){let e=!1,t=!1,n=i;for(;n;)switch(n.type){case"MemberExpression":t=!0,n=n.object;break;case"CallExpression":if(t||e)return!0;e=!0,n=n.callee;break;case"Identifier":return!1;default:return!0}return!0}break;case"ExpressionStatement":if(Ih(i,!0))return!0;break;case"ArrowFunctionExpression":if("body"===r&&"SequenceExpression"!==i.type&&Ih(i,!1))return!0}switch(i.type){case"SpreadElement":case"SpreadProperty":return"object"===r&&"MemberExpression"===n.type;case"UpdateExpression":if("UnaryExpression"===n.type)return i.prefix&&("++"===i.operator&&"+"===n.operator||"--"===i.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return i.operator===n.operator&&("+"===i.operator||"-"===i.operator);case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"BinaryExpression":return"left"===r&&"**"===n.operator;case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if("UpdateExpression"===n.type||"PipelineTopicExpression"===n.type&&"|>"===i.operator)return!0;if("in"===i.operator&&function(e){let t=0,n=e.getValue();for(;n;){const r=e.getParentNode(t++);if(r&&"ForStatement"===r.type&&r.init===n)return!0;n=r}return!1}(e))return!0;if("|>"===i.operator&&i.extra&&i.extra.parenthesized){const t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"ConditionalExpression":return"TSAsExpression"===i.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===r;case"ClassExpression":case"ClassDeclaration":return"superClass"===r;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSAsExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"AssignmentExpression":return"left"===r&&("TSTypeAssertion"===i.type||"TSAsExpression"===i.type);case"LogicalExpression":if("LogicalExpression"===i.type)return n.operator!==i.operator;case"BinaryExpression":{const{operator:e,type:t}=i;if(!e&&"TSTypeAssertion"!==t)return!0;const o=Ph(e),s=n.operator,a=Ph(s);return a>o||"right"===r&&a===o||a===o&&!Rh(s,e)||(a"===n.operator);default:return!1}case"TSJSDocFunctionType":case"TSConditionalType":if("extendsType"===r&&"TSConditionalType"===n.type)return!0;case"TSFunctionType":case"TSConstructorType":if("checkType"===r&&"TSConditionalType"===n.type)return!0;case"TSUnionType":case"TSIntersectionType":if("TSUnionType"===n.type||"TSIntersectionType"===n.type)return!0;case"TSInferType":if("TSInferType"===i.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"objectType"===r&&"TSIndexedAccessType"===n.type||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&/^TSJSDoc/.test(e.getParentNode(1).type);case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type;case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type;case"FunctionTypeAnnotation":{const t="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===n.type&&null===n.name&&Ah(i).some(e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type)}case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof i.value&&"ExpressionStatement"===n.type&&!n.directive){const t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===r&&"MemberExpression"===n.type&&"number"==typeof i.value;case"AssignmentExpression":{const t=e.getParentNode(1);return"body"===r&&"ArrowFunctionExpression"===n.type||("key"!==r||"ClassProperty"!==n.type&&"FieldDefinition"!==n.type||!n.computed)&&("init"!==r&&"update"!==r||"ForStatement"!==n.type)&&("ExpressionStatement"===n.type?"ObjectPattern"===i.left.type:("key"!==r||"TSPropertySignature"!==n.type)&&"AssignmentExpression"!==n.type&&("SequenceExpression"!==n.type||!t||"ForStatement"!==t.type||t.init!==n&&t.update!==n)&&("value"!==r||"Property"!==n.type||!t||"ObjectPattern"!==t.type||!t.properties.includes(n))&&"NGChainedExpression"!==n.type)}case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"PipelineTopicExpression":return!(!i.extra||!i.extra.parenthesized);case"BinaryExpression":return"|>"!==n.operator||i.extra&&i.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TSAsExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===r;default:return!1}case"ClassExpression":switch(n.type){case"NewExpression":return"callee"===r;default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{const t=e.getParentNode(1);if("object"===r&&"MemberExpression"===n.type||"callee"===r&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===t.type&&t.object===n)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)){let e=i;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===r&&("MemberExpression"===n.type||"OptionalMemberExpression"===n.type);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||!("ObjectProperty"!==n.type||i.extra&&i.extra.parenthesized)||"ArrayExpression"===n.type||("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&n.arguments[r]===i||"right"===r&&"NGPipeExpression"===n.type||"property"===r&&"MemberExpression"===n.type||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===r||"left"===r&&"BinaryExpression"===n.type&&"<"===n.operator||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"CallExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&"ObjectProperty"!==n.type&&"OptionalCallExpression"!==n.type&&"Property"!==n.type&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type&&"YieldExpression"!==n.type;case"TypeAnnotation":return"returnType"===r&&"ArrowFunctionExpression"===n.type&&function(e){return Nh(e,e=>"ObjectTypeAnnotation"===e.type&&Nh(e,e=>"FunctionTypeAnnotation"===e.type||void 0)||void 0)}(i)}return!1}function Bh(e){const t=e.getValue(),n=e.getParentNode(),r=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof r&&n.arguments[r]===t&&n.arguments.length-1===r)return e.callParent(Bh);break;case"ObjectProperty":if("value"===r){const t=e.getParentNode(1);return t.properties[t.properties.length-1]===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(Bh);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(Bh);break;case"UnaryExpression":if(n.prefix)return e.callParent(Bh)}return!1}function jh(e,t){const n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!Lh(e,t):!(!Oh(n)||"ExportDefaultDeclaration"!==r.type&&Lh(e,t))&&e.call(e=>jh(e,t),...Th(e,n))}var $h=Lh;const{builders:{concat:Uh,join:qh,line:Hh,group:zh,softline:Vh,indent:Wh}}=cn;var Gh={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,n){const r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call(e=>{const t=qh(Uh([",",Hh]),e.map(n,"params")),{params:r}=e.getValue();return 1===r.length?t:Uh(["(",Wh(Uh([Vh,zh(t)])),Vh,")"])},"program","body",0):t.__isVueBindings?e.call(e=>qh(Uh([",",Hh]),e.map(n,"params")),"program","body",0):void 0}},Kh=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign({},e,{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}};const{builders:{concat:Xh,group:Yh,indent:Jh,join:Zh,line:Qh,hardline:ef}}=cn,{hasNewlineBetweenOrAfterDecorators:tf,getParentExportDeclaration:nf}=Al;var rf={printOptionalToken:function(e){const t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"},printFunctionTypeParameters:function(e,t,n){const r=e.getValue();return r.typeArguments?e.call(n,"typeArguments"):r.typeParameters?e.call(n,"typeParameters"):""},printBindExpressionCallee:function(e,t,n){return Xh(["::",e.call(n,"callee")])},printTypeScriptModifiers:function(e,t,n){const r=e.getValue();return r.modifiers&&r.modifiers.length?Xh([Zh(" ",e.map(n,"modifiers"))," "]):""},printDecorators:function(e,t,n){const r=e.getValue();return Yh(Xh([Zh(Qh,e.map(n,"decorators")),tf(r,t)?ef:Qh]))},printFlowDeclaration:function(e,t){const n=nf(e);return n?(na.strictEqual(n.type,"DeclareExportDeclaration"),t):Xh(["declare ",t])},adjustClause:function(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?Xh([" ",t]):Jh(Xh([Qh,t]))}};const{builders:{concat:of,softline:sf,group:af,indent:uf,join:lf,line:cf,ifBreak:hf,hardline:ff}}=cn,{printDanglingComments:df}=Ca,{hasDanglingComments:pf,shouldPrintComma:mf,needsHardlineAfterDanglingComment:gf}=Al,{locStart:vf,hasSameLoc:yf}=as;function bf(e,t,n){const r=e.getValue();if(!r.source)return"";const i=[];return Df(r,t)||i.push(" from"),i.push(" ",e.call(n,"source")),of(i)}function wf(e,t,n){const r=e.getValue();if(Df(r,t))return"";const i=[" "];if(r.specifiers&&r.specifiers.length>0){const o=[],s=[];e.each(t=>{const r=e.getValue().type;if("ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportDefaultSpecifier"===r)o.push(n(t));else{if("ExportSpecifier"!==r&&"ImportSpecifier"!==r)throw new Error("Unknown specifier type ".concat(JSON.stringify(r)));s.push(n(t))}},"specifiers"),i.push(lf(", ",o)),0!==s.length&&(0!==o.length&&i.push(", "),s.length>1||o.length>0||r.specifiers.some(e=>e.comments)?i.push(af(of(["{",uf(of([t.bracketSpacing?cf:sf,lf(of([",",cf]),s)])),hf(mf(t)?",":""),t.bracketSpacing?cf:sf,"}"]))):i.push(of(["{",t.bracketSpacing?" ":"",of(s),t.bracketSpacing?" ":"","}"])))}else i.push("{}");return of(i)}function Df(e,t){const{type:n,importKind:r,source:i,specifiers:o}=e;return!("ImportDeclaration"!==n||Array.isArray(o)&&o.length>0||"type"===r)&&!/{\s*}/.test(t.originalText.slice(vf(e),vf(i)))}function Ef(e,t,n){const r=e.getNode();return Array.isArray(r.assertions)&&0!==r.assertions.length?of([" assert {",t.bracketSpacing?" ":"",lf(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]):""}var xf={printImportDeclaration:function(e,t,n){const r=e.getValue(),i=t.semi?";":"",o=[],{importKind:s}=r;return o.push("import"),s&&"value"!==s&&o.push(" ",s),o.push(wf(e,t,n),bf(e,t,n),Ef(e,t,n)),o.push(i),of(o)},printExportDeclaration:function(e,t,n){const r=e.getValue(),i=[],{type:o,exportKind:s,declaration:a}=r;return"DeclareExportDeclaration"===o&&i.push("declare "),i.push("export"),(r.default||"ExportDefaultDeclaration"===o)&&i.push(" default"),pf(r)&&(i.push(" ",df(e,t,!0)),gf(r)&&i.push(ff)),a?i.push(" ",e.call(n,"declaration")):i.push("type"===s?" type":"",wf(e,t,n),bf(e,t,n),Ef(e,t,n)),function(e,t){if(!t.semi)return!1;const{type:n,declaration:r}=e,i=e.default||"ExportDefaultDeclaration"===n;if(!r)return!0;const{type:o}=r;return!(!i||"ClassDeclaration"===o||"FunctionDeclaration"===o||"TSInterfaceDeclaration"===o||"DeclareClass"===o||"DeclareFunction"===o||"TSDeclareFunction"===o||"EnumDeclaration"===o)}(r,t)&&i.push(";"),of(i)},printExportAllDeclaration:function(e,t,n){const r=e.getValue();let i=t.semi?";":"";const o=[],{type:s,exportKind:a,exported:u}=r;return"DeclareExportAllDeclaration"===s&&(o.push("declare "),i=""),o.push("export"),"type"===a&&o.push(" type"),o.push(" *"),u&&o.push(" as ",e.call(n,"exported")),o.push(bf(e,t,n),Ef(e,t,n),i),of(o)},printModuleSpecifier:function(e,t,n){const r=e.getNode(),{type:i,importKind:o}=r,s=[];"ImportSpecifier"===i&&o&&s.push(o," ");const a=i.startsWith("Import"),u=a?"imported":"local",l=a?"local":"exported";let c="",h="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?c="*":r[u]&&(c=e.call(n,u)),!r[l]||r[u]&&yf(r[u],r[l])||(h=e.call(n,l)),s.push(c,c&&h?" as ":"",h),of(s)}};const{hasNewlineInRange:_f}=Pt,{isJSXNode:Cf,isBlockComment:kf}=Al,{locStart:Sf,locEnd:Af}=as,{builders:{concat:Tf,line:Mf,softline:Of,group:Nf,indent:Ff,align:If,ifBreak:Rf,dedent:Pf,breakParent:Lf}}=cn;var Bf=function(e,t,n,r){const i=e.getValue(),o=i[r.consequentNodePropertyName],s=i[r.alternateNodePropertyName],a=[];let u=!1;const l=e.getParentNode(),c=l.type===r.conditionalNodeType&&r.testNodePropertyNames.some(e=>l[e]===i);let h,f,d=l.type===r.conditionalNodeType&&!c,p=0;do{f=h||i,h=e.getParentNode(p),p++}while(h&&h.type===r.conditionalNodeType&&r.testNodePropertyNames.every(e=>h[e]!==f));const m=h||l,g=f;if(r.shouldCheckJsx&&(Cf(i[r.testNodePropertyNames[0]])||Cf(o)||Cf(s)||function(e){return function(e){const t=[];return function e(n){"ConditionalExpression"===n.type?(e(n.test),e(n.consequent),e(n.alternate)):t.push(n)}(e),t}(e).some(Cf)}(g))){u=!0,d=!0;const t=e=>Tf([Rf("(",""),Ff(Tf([Of,e])),Of,Rf(")","")]),i=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;a.push(" ? ",i(o)?e.call(n,r.consequentNodePropertyName):t(e.call(n,r.consequentNodePropertyName))," : ",s.type===r.conditionalNodeType||i(s)?e.call(n,r.alternateNodePropertyName):t(e.call(n,r.alternateNodePropertyName)))}else{const u=Tf([Mf,"? ",o.type===r.conditionalNodeType?Rf("","("):"",If(2,e.call(n,r.consequentNodePropertyName)),o.type===r.conditionalNodeType?Rf("",")"):"",Mf,": ",s.type===r.conditionalNodeType?e.call(n,r.alternateNodePropertyName):If(2,e.call(n,r.alternateNodePropertyName))]);a.push(l.type!==r.conditionalNodeType||l[r.alternateNodePropertyName]===i||c?u:t.useTabs?Pf(Ff(u)):If(Math.max(0,t.tabWidth-2),u))}const v=Jo([...r.testNodePropertyNames.map(e=>i[e].comments),o.comments,s.comments]).filter(Boolean).some(e=>kf(e)&&_f(t.originalText,Sf(e),Af(e))),y=!u&&("MemberExpression"===l.type||"OptionalMemberExpression"===l.type||"NGPipeExpression"===l.type&&l.left===i)&&!l.computed,b=(e=>l===m?Nf(e,{shouldBreak:v}):v?Tf([e,Lf]):e)(Tf([].concat((w=Tf(r.beforeParts()),l.type===r.conditionalNodeType&&l[r.alternateNodePropertyName]===i?If(2,w):w),d?Tf(a):Ff(Tf(a)),r.afterParts(y))));var w;return c?Nf(Tf([Ff(Tf([Of,b])),Of])):b};const{getNextNonSpaceNonCommentCharacter:jf,isNextLineEmpty:$f}=Pt,{printDanglingComments:Uf}=Ca,{builders:{concat:qf,line:Hf,hardline:zf,softline:Vf,group:Wf,indent:Gf,ifBreak:Kf},utils:{removeLines:Xf}}=cn,{getFunctionParameters:Yf,iterateFunctionParametersPath:Jf,isSimpleType:Zf,isTestCall:Qf,isTypeAnnotationAFunction:ed,isObjectType:td,isObjectTypePropertyAFunction:nd,hasRestParameter:rd,shouldPrintComma:id}=Al,{locEnd:od}=as,{printFunctionTypeParameters:sd}=rf;function ad(e){if(!e)return!1;const t=Yf(e);if(1!==t.length)return!1;const[n]=t;return!n.comments&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&td(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&td(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}var ud={printFunctionParameters:function(e,t,n,r,i){const o=e.getValue(),s=Yf(o),a=i?sd(e,n,t):"";if(0===s.length)return qf([a,"(",Uf(e,n,!0,e=>")"===jf(n.originalText,e,od)),")"]);const u=e.getParentNode(),l=Qf(u),c=ad(o),h=r&&!s.some(e=>e.comments),f=[];if(Jf(e,(e,r)=>{const i=r===s.length-1;i&&o.rest&&f.push("..."),f.push(e.call(t)),i||(f.push(","),l||c||h?f.push(" "):$f(n.originalText,s[r],od)?f.push(zf,zf):f.push(Hf))}),h)return Wf(qf([Xf(a),"(",qf(f.map(Xf)),")"]));const d=s.every(e=>!e.decorators);return c&&d||l?qf([a,"(",qf(f),")"]):(nd(u)||ed(u)||"TypeAlias"===u.type||"UnionTypeAnnotation"===u.type||"TSUnionType"===u.type||"IntersectionTypeAnnotation"===u.type||"FunctionTypeAnnotation"===u.type&&u.returnType===o)&&1===s.length&&null===s[0].name&&o.this!==s[0]&&s[0].typeAnnotation&&null===o.typeParameters&&Zf(s[0].typeAnnotation)&&!o.rest?"always"===n.arrowParens?qf(["(",qf(f),")"]):qf(f):qf([a,"(",Gf(qf([Vf,qf(f)])),Kf(!rd(o)&&id(n,"all")?",":""),Vf,")"])},shouldHugFunctionParameters:ad};const{builders:{concat:ld}}=cn,{isFlowAnnotationComment:cd,isSimpleType:hd,isObjectType:fd}=Al;var dd={printTypeAnnotation:function(e,t,n){const r=e.getValue();if(!r.typeAnnotation)return"";const i=e.getParentNode(),o=r.definite||i&&"VariableDeclarator"===i.type&&i.definite,s="DeclareFunction"===i.type&&i.id===r;return cd(t.originalText,r.typeAnnotation)?ld([" /*: ",e.call(n,"typeAnnotation")," */"]):ld([s?"":o?"!: ":": ",e.call(n,"typeAnnotation")])},shouldHugType:function(e){if(hd(e)||fd(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){const t=e.types.filter(e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type).length,n=e.types.some(e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type);if(e.types.length-1===t&&n)return!0}return!1}};const{printDanglingComments:pd}=Ca,{builders:{concat:md,line:gd,softline:vd,group:yd,indent:bd,ifBreak:wd}}=cn,{getLast:Dd,isNextLineEmpty:Ed}=Pt,{hasDanglingComments:xd,shouldPrintComma:_d}=Al,{locEnd:Cd}=as,{printOptionalToken:kd}=rf,{printTypeAnnotation:Sd}=dd;function Ad(e,t,n,r){const i=[];let o=[];return e.each(e=>{i.push(md(o)),i.push(yd(r(e))),o=[",",gd],e.getValue()&&Ed(t.originalText,e.getValue(),Cd)&&o.push(vd)},n),md(i)}var Td={printArray:function(e,t,n){const r=e.getValue(),i=[],o="TupleExpression"===r.type?"#[":"[";if(0===r.elements.length)xd(r)?i.push(yd(md([o,pd(e,t),vd,"]"]))):i.push(o,"]");else{const s=Dd(r.elements),a=!(s&&"RestElement"===s.type),u=a&&null===s,l=!t.__inJestEach&&r.elements.length>1&&r.elements.every((e,t,n)=>{const r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;const i=n[t+1];if(i&&r!==i.type)return!1;const o="ArrayExpression"===r?"elements":"properties";return e[o]&&e[o].length>1});i.push(yd(md([o,bd(md([vd,Ad(e,t,"elements",n)])),u?",":"",wd(a&&!u&&_d(t)?",":""),pd(e,t,!0),vd,"]"]),{shouldBreak:l}))}return i.push(kd(e),Sd(e,t,n)),md(i)},printArrayItems:Ad};const{printDanglingComments:Md}=Ca,{builders:{concat:Od,line:Nd,softline:Fd,group:Id,indent:Rd,ifBreak:Pd,hardline:Ld}}=cn,{getLast:Bd,isNextLineEmpty:jd,hasNewlineInRange:$d,hasNewline:Ud}=Pt,{hasDanglingComments:qd,shouldPrintComma:Hd,hasNodeIgnoreComment:zd,isBlockComment:Vd}=Al,{locStart:Wd,locEnd:Gd}=as,{printOptionalToken:Kd}=rf,{shouldHugFunctionParameters:Xd}=ud,{printTypeAnnotation:Yd,shouldHugType:Jd}=dd;var Zd={printObject:function(e,t,n){const r=t.semi?";":"",i=e.getValue();let o;o="TSTypeLiteral"===i.type?"members":"TSInterfaceBody"===i.type?"body":"properties";const s="ObjectTypeAnnotation"===i.type,a=[];s&&a.push("indexers","callProperties","internalSlots"),a.push(o);const u=a.map(e=>i[e][0]).sort((e,t)=>Wd(e)-Wd(t))[0],l=e.getParentNode(0),c=s&&l&&("InterfaceDeclaration"===l.type||"DeclareInterface"===l.type||"DeclareClass"===l.type)&&"body"===e.getName(),h="TSInterfaceBody"===i.type||c||"ObjectPattern"===i.type&&"FunctionDeclaration"!==l.type&&"FunctionExpression"!==l.type&&"ArrowFunctionExpression"!==l.type&&"ObjectMethod"!==l.type&&"ClassMethod"!==l.type&&"ClassPrivateMethod"!==l.type&&"AssignmentPattern"!==l.type&&"CatchClause"!==l.type&&i.properties.some(e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type))||"ObjectPattern"!==i.type&&u&&$d(t.originalText,Wd(i),Wd(u)),f=c?";":"TSInterfaceBody"===i.type||"TSTypeLiteral"===i.type?Pd(r,";"):",",d="RecordExpression"===i.type?"#{":i.exact?"{|":"{",p=i.exact?"|}":"}",m=[];a.forEach(t=>{e.each(e=>{const t=e.getValue();m.push({node:t,printed:n(e),loc:Wd(t)})},t)});let g=[];const v=m.sort((e,t)=>e.loc-t.loc).map(e=>{const n=Od(g.concat(Id(e.printed)));return g=[f,Nd],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!zd(e.node)||g.shift(),jd(t.originalText,e.node,Gd)&&g.push(Ld),n});if(i.inexact){let n;if(qd(i)){const r=!i.comments.every(e=>Vd(e)),o=Md(e,t,!0);n=Od([o,r||Ud(t.originalText,Gd(i.comments[i.comments.length-1]))?Ld:Nd,"..."])}else n="...";v.push(Od(g.concat(n)))}const y=Bd(i[o]),b=!(i.inexact||y&&"RestElement"===y.type||y&&("TSPropertySignature"===y.type||"TSCallSignatureDeclaration"===y.type||"TSMethodSignature"===y.type||"TSConstructSignatureDeclaration"===y.type)&&zd(y));let w;if(0===v.length){if(!qd(i))return Od([d,p,Yd(e,t,n)]);w=Id(Od([d,Md(e,t),Fd,p,Kd(e),Yd(e,t,n)]))}else w=Od([d,Rd(Od([t.bracketSpacing?Nd:Fd,Od(v)])),Pd(b&&(","!==f||Hd(t))?f:""),Od([t.bracketSpacing?Nd:Fd,p]),Kd(e),Yd(e,t,n)]);return e.match(e=>"ObjectPattern"===e.type&&!e.decorators,(e,t,n)=>Xd(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n)||e.match(Jd,(e,t)=>"typeAnnotation"===t,(e,t)=>"typeAnnotation"===t,(e,t,n)=>Xd(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n)?w:Id(w,{shouldBreak:h})}};const{printComments:Qd,printDanglingComments:ep}=Ca,{builders:{concat:tp,line:np,hardline:rp,softline:ip,group:op,indent:sp,conditionalGroup:ap,fill:up,ifBreak:lp,lineSuffixBoundary:cp},utils:{willBreak:hp,isLineNext:fp,isEmpty:dp}}=cn,{getLast:pp,getPreferredQuote:mp}=Pt,{hasTrailingComment:gp,isEmptyJSXElement:vp,isJSXWhitespaceExpression:yp,isJSXNode:bp,isMeaningfulJSXText:wp,matchJsxWhitespaceRegex:Dp,rawText:Ep,isLiteral:xp,isCallOrOptionalCallExpression:_p,isStringLiteral:Cp,isBinaryish:kp,isBlockComment:Sp}=Al,{willPrintOwnComments:Ap}=ac;function Tp(e,t,n){const r=e.getValue();if("JSXElement"===r.type&&vp(r))return tp([e.call(n,"openingElement"),e.call(n,"closingElement")]);const i="JSXElement"===r.type?e.call(n,"openingElement"):e.call(n,"openingFragment"),o="JSXElement"===r.type?e.call(n,"closingElement"):e.call(n,"closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return tp([i,tp(e.map(n,"children")),o]);r.children=r.children.map(e=>yp(e)?{type:"JSXText",value:" ",raw:" "}:e);const s=r.children.filter(bp).length>0,a=r.children.filter(e=>"JSXExpressionContainer"===e.type).length>1,u="JSXElement"===r.type&&r.openingElement.attributes.length>1;let l=hp(i)||s||u||a;const c="mdx"===e.getParentNode().rootMarker,h=t.singleQuote?"{' '}":'{" "}',f=c?tp([" "]):lp(tp([h,ip])," "),d=r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name,p=function(e,t,n,r,i){const o=e.getValue(),s=[];return e.each((e,t)=>{const a=e.getValue();if(xp(a)){const e=Ep(a);if(wp(a)){const n=e.split(Dp);if(""===n[0]){if(s.push(""),n.shift(),/\n/.test(n[0])){const e=o.children[t+1];s.push(Op(i,n[1],a,e))}else s.push(r);n.shift()}let u;if(""===pp(n)&&(n.pop(),u=n.pop()),0===n.length)return;if(n.forEach((e,t)=>{t%2==1?s.push(np):s.push(e)}),void 0!==u)if(/\n/.test(u)){const e=o.children[t+1];s.push(Op(i,pp(s),a,e))}else s.push(r);else{const e=o.children[t+1];s.push(Mp(i,pp(s),a,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&(s.push(""),s.push(rp)):(s.push(""),s.push(r))}else{const r=n(e);s.push(r);const u=o.children[t+1];if(u&&wp(u)){const e=Ep(u).trim().split(Dp)[0];s.push(Mp(i,e,a,u))}else s.push(rp)}},"children"),s}(e,0,n,f,d),m=r.children.some(e=>wp(e));for(let b=p.length-2;b>=0;b--){const e=""===p[b]&&""===p[b+1],t=p[b]===rp&&""===p[b+1]&&p[b+2]===rp,n=(p[b]===ip||p[b]===rp)&&""===p[b+1]&&p[b+2]===f,r=p[b]===f&&""===p[b+1]&&(p[b+2]===ip||p[b+2]===rp),i=p[b]===f&&""===p[b+1]&&p[b+2]===f,o=p[b]===ip&&""===p[b+1]&&p[b+2]===rp||p[b]===rp&&""===p[b+1]&&p[b+2]===ip;t&&m||e||n||i||o?p.splice(b,2):r&&p.splice(b+1,2)}for(;p.length&&(fp(pp(p))||dp(pp(p)));)p.pop();for(;p.length&&(fp(p[0])||dp(p[0]))&&(fp(p[1])||dp(p[1]));)p.shift(),p.shift();const g=[];p.forEach((e,t)=>{if(e===f){if(1===t&&""===p[t-1])return 2===p.length?void g.push(h):void g.push(tp([h,rp]));if(t===p.length-1)return void g.push(h);if(""===p[t-1]&&p[t-2]===rp)return void g.push(h)}g.push(e),hp(e)&&(l=!0)});const v=m?up(g):op(tp(g),{shouldBreak:!0});if(c)return v;const y=op(tp([i,sp(tp([rp,v])),rp,o]));return l?y:ap([op(tp([i,tp(p),o])),y])}function Mp(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?ip:rp:ip}function Op(e,t,n,r){return e?rp:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?rp:ip:rp}function Np(e,t,n){const r=e.getValue();return tp(["{",e.call(e=>{const r=tp(["...",n(e)]),i=e.getValue();return i.comments&&i.comments.length&&Ap(e)?tp([sp(tp([ip,Qd(e,()=>r,t)])),ip]):r},"JSXSpreadAttribute"===r.type?"argument":"expression"),"}"])}var Fp={printJsxElement:function(e,t,n){const r=Qd(e,()=>Tp(e,t,n),t);return function(e,t,n){const r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;const i=e.match(void 0,e=>"ArrowFunctionExpression"===e.type,_p,e=>"JSXExpressionContainer"===e.type),o=$h(e,n);return op(tp([o?"":lp("("),sp(tp([ip,t])),ip,o?"":lp(")")]),{shouldBreak:i})}(e,r,t)},printJsxAttribute:function(e,t,n){const r=e.getValue(),i=[];if(i.push(e.call(n,"name")),r.value){let o;if(Cp(r.value)){let e=Ep(r.value).replace(/'/g,"'").replace(/"/g,'"');const n=mp(e,t.jsxSingleQuote?"'":'"'),i="'"===n?"'":""";e=e.slice(1,-1).replace(new RegExp(n,"g"),i),o=tp([n,e,n])}else o=e.call(n,"value");i.push("=",o)}return tp(i)},printJsxOpeningElement:function(e,t,n){const r=e.getValue(),i=r.name&&r.name.comments&&r.name.comments.length>0||r.typeParameters&&r.typeParameters.comments&&r.typeParameters.comments.length>0;if(r.selfClosing&&!r.attributes.length&&!i)return tp(["<",e.call(n,"name"),e.call(n,"typeParameters")," />"]);if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&Cp(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!i&&(!r.attributes[0].comments||!r.attributes[0].comments.length))return op(tp(["<",e.call(n,"name"),e.call(n,"typeParameters")," ",tp(e.map(n,"attributes")),r.selfClosing?" />":">"]));const o=r.attributes.length&&gp(pp(r.attributes)),s=!r.attributes.length&&!i||t.jsxBracketSameLine&&(!i||r.attributes.length)&&!o,a=r.attributes&&r.attributes.some(e=>e.value&&Cp(e.value)&&e.value.value.includes("\n"));return op(tp(["<",e.call(n,"name"),e.call(n,"typeParameters"),tp([sp(tp(e.map(e=>tp([np,n(e)]),"attributes"))),r.selfClosing?np:s?">":ip]),r.selfClosing?"/>":s?"":">"]),{shouldBreak:a})},printJsxClosingElement:function(e,t,n){return tp([""])},printJsxOpeningClosingFragment:function(e,t){const n=e.getValue(),r=n.comments&&n.comments.length,i=r&&!n.comments.every(e=>Sp(e)),o="JSXOpeningFragment"===n.type;return tp([o?"<":""])},printJsxExpressionContainer:function(e,t,n){const r=e.getValue(),i=e.getParentNode(0),o=r.expression.comments&&r.expression.comments.length>0,s="JSXEmptyExpression"===r.expression.type||!o&&("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type||"ArrowFunctionExpression"===r.expression.type||"CallExpression"===r.expression.type||"OptionalCallExpression"===r.expression.type||"FunctionExpression"===r.expression.type||"TemplateLiteral"===r.expression.type||"TaggedTemplateExpression"===r.expression.type||"DoExpression"===r.expression.type||bp(i)&&("ConditionalExpression"===r.expression.type||kp(r.expression)));return op(tp(s?["{",e.call(n,"expression"),cp,"}"]:["{",sp(tp([ip,e.call(n,"expression")])),ip,cp,"}"]))},printJsxEmptyExpression:function(e,t){const n=e.getValue(),r=n.comments&&!n.comments.every(e=>Sp(e));return tp([ep(e,t,!r),r?rp:""])},printJsxSpreadAttribute:Np,printJsxSpreadChild:Np};const{printDanglingComments:Ip}=Ca,{builders:{concat:Rp,join:Pp,line:Lp,hardline:Bp,softline:jp,group:$p,indent:Up,ifBreak:qp}}=cn,{hasDanglingComments:Hp,isTestCall:zp,isBlockComment:Vp,shouldPrintComma:Wp}=Al,{shouldHugType:Gp}=dd,Kp=new WeakMap;function Xp(e){return Kp.has(e)||Kp.set(e,Symbol("typeParameters")),Kp.get(e)}function Yp(e,t){const n=e.getValue();if(!Hp(n))return"";const r=n.comments.every(e=>Vp(e)),i=Ip(e,t,r);return r?i:Rp([i,Bp])}var Jp={printTypeParameters:function(e,t,n,r){const i=e.getValue();if(!i[r])return"";if(!Array.isArray(i[r]))return e.call(n,r);const o=e.getNode(2);return null!=o&&zp(o)||0===i[r].length||1===i[r].length&&(Gp(i[r][0])||"GenericTypeAnnotation"===i[r][0].type&&Gp(i[r][0].id)||"TSTypeReference"===i[r][0].type&&Gp(i[r][0].typeName)||"NullableTypeAnnotation"===i[r][0].type)?Rp(["<",Pp(", ",e.map(n,r)),Yp(e,t),">"]):$p(Rp(["<",Up(Rp([jp,Pp(Rp([",",Lp]),e.map(n,r))])),qp("typescript"!==t.parser&&"babel-ts"!==t.parser&&Wp(t,"all")?",":""),jp,">"]),{id:Xp(i)})},getTypeParametersGroupId:Xp};const{printComments:Zp}=Ca,{printString:Qp,printNumber:em}=Pt,{builders:{concat:tm}}=cn,{isNumericLiteral:nm,isSimpleNumber:rm,isStringLiteral:im,isStringPropSafeToUnquote:om,rawText:sm}=Al,am=new WeakMap;var um={printPropertyKey:function(e,t,n){const r=e.getNode();if(r.computed)return tm(["[",e.call(n,"key"),"]"]);const i=e.getParentNode(),{key:o}=r;if("ClassPrivateProperty"===r.type&&"Identifier"===o.type)return tm(["#",e.call(n,"key")]);if("consistent"===t.quoteProps&&!am.has(i)){const e=(i.properties||i.body||i.members).some(e=>!e.computed&&e.key&&im(e.key)&&!om(e,t));am.set(i,e)}if(("Identifier"===o.type||nm(o)&&rm(em(sm(o)))&&String(o.value)===em(sm(o))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&am.get(i))){const n=Qp(JSON.stringify("Identifier"===o.type?o.name:o.value.toString()),t);return e.call(e=>Zp(e,()=>n,t),"key")}return om(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!am.get(i))?e.call(e=>Zp(e,()=>/^\d/.test(o.value)?em(o.value):o.value,t),"key"):e.call(n,"key")}};const{printDanglingComments:lm}=Ca,{getNextNonSpaceNonCommentCharacterIndex:cm}=Pt,{builders:{concat:hm,line:fm,softline:dm,group:pm,indent:mm,ifBreak:gm,hardline:vm}}=cn,{getFunctionParameters:ym,hasDanglingComments:bm,hasLeadingOwnLineComment:wm,isFlowAnnotationComment:Dm,isJSXNode:Em,isTemplateOnItsOwnLine:xm,shouldPrintComma:_m,startsWithNoLookaheadToken:Cm,returnArgumentHasLeadingComment:km,isBinaryish:Sm,isLineComment:Am}=Al,{locEnd:Tm}=as,{printFunctionParameters:Mm}=ud,{printPropertyKey:Om}=um,{printFunctionTypeParameters:Nm}=rf;function Fm(e,t,n){const r=[Nm(e,t,n),pm(hm([Mm(e,n,t),Rm(e,n,t)]))];return e.getNode().body?r.push(" ",e.call(n,"body")):r.push(t.semi?";":""),hm(r)}function Im(e,t){return"always"!==t.arrowParens&&("avoid"===t.arrowParens&&function(e){const t=ym(e);return!(1!==t.length||e.typeParameters||bm(e)||"Identifier"!==t[0].type||t[0].typeAnnotation||t[0].comments||t[0].optional||e.predicate||e.returnType)}(e.getValue()))}function Rm(e,t,n){const r=e.getValue(),i=e.call(t,"returnType");if(r.returnType&&Dm(n.originalText,r.returnType))return hm([" /*: ",i," */"]);const o=[i];return r.returnType&&r.returnType.typeAnnotation&&o.unshift(": "),r.predicate&&o.push(r.returnType?" ":": ",e.call(t,"predicate")),hm(o)}var Pm={printFunctionDeclaration:function(e,t,n,r){const i=e.getValue(),o=[];return i.async&&o.push("async "),i.generator?o.push("function* "):o.push("function "),i.id&&o.push(e.call(t,"id")),o.push(Nm(e,n,t),pm(hm([Mm(e,t,n,r),Rm(e,t,n)])),i.body?" ":"",e.call(t,"body")),hm(o)},printArrowFunctionExpression:function(e,t,n,r){const i=e.getValue(),o=[];i.async&&o.push("async "),Im(e,t)?o.push(e.call(n,"params",0)):o.push(pm(hm([Mm(e,n,t,r&&(r.expandLastArg||r.expandFirstArg),!0),Rm(e,n,t)])));const s=lm(e,t,!0,e=>{const n=cm(t.originalText,e,Tm);return!1!==n&&"=>"===t.originalText.slice(n,n+2)});s&&o.push(" ",s),o.push(" =>");const a=e.call(e=>n(e,r),"body");if(!wm(t.originalText,i.body)&&("ArrayExpression"===i.body.type||"ObjectExpression"===i.body.type||"BlockStatement"===i.body.type||Em(i.body)||xm(i.body,t.originalText)||"ArrowFunctionExpression"===i.body.type||"DoExpression"===i.body.type))return pm(hm([hm(o)," ",a]));if("SequenceExpression"===i.body.type)return pm(hm([hm(o),pm(hm([" (",mm(hm([dm,a])),dm,")"]))]));const u=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!(i.comments&&i.comments.length),l=r&&r.expandLastArg&&_m(t,"all"),c="ConditionalExpression"===i.body.type&&!Cm(i.body,!1);return pm(hm([hm(o),pm(hm([mm(hm([fm,c?gm("","("):"",a,c?gm("",")"):""])),u?hm([gm(l?",":""),dm]):""]))]))},printMethod:function(e,t,n){const r=e.getNode(),{kind:i}=r,o=r.value||r,s=[];return i&&"init"!==i&&"method"!==i&&"constructor"!==i?(na.ok("get"===i||"set"===i),s.push(i," ")):o.async&&s.push("async "),o.generator&&s.push("*"),s.push(Om(e,t,n),r.optional||r.key.optional?"?":"",r===o?Fm(e,t,n):e.call(e=>Fm(e,t,n),"value")),hm(s)},printReturnAndThrowArgument:function(e,t,n){const r=e.getValue(),i=t.semi?";":"",o=[];r.argument&&(km(t,r.argument)?o.push(hm([" (",mm(hm([vm,e.call(n,"argument")])),vm,")"])):Sm(r.argument)||"SequenceExpression"===r.argument.type?o.push(pm(hm([gm(" ("," "),mm(hm([dm,e.call(n,"argument")])),dm,gm(")")]))):o.push(" ",e.call(n,"argument")));const s=Array.isArray(r.comments)&&r.comments[r.comments.length-1],a=s&&Am(s);return a&&o.push(i),bm(r)&&o.push(" ",lm(e,t,!0)),a||o.push(i),hm(o)},shouldPrintParamsWithoutParens:Im};const{printComments:Lm,printDanglingComments:Bm}=Ca,{builders:{concat:jm,join:$m,line:Um,hardline:qm,softline:Hm,group:zm,indent:Vm,ifBreak:Wm}}=cn,{hasTrailingComment:Gm,hasTrailingLineComment:Km}=Al,{getTypeParametersGroupId:Xm}=Jp,{printMethod:Ym}=Pm,{printDecorators:Jm}=rf;function Zm(e){return e.typeParameters&&!Km(e.typeParameters)&&!function(e){return["superClass","extends","mixins","implements"].filter(t=>!!e[t]).length>1}(e)}function Qm(e,t,n,r){const i=e.getValue();if(!i[r]||0===i[r].length)return"";const o=Bm(e,t,!0,({marker:e})=>e===r);return jm([Zm(i)?Wm(" ",Um,{groupId:Xm(i.typeParameters)}):Um,o,o&&qm,r,zm(Vm(jm([Um,$m(jm([",",Um]),e.map(n,r))])))])}function eg(e,t,n){const r=e.call(n,"superClass");return"AssignmentExpression"===e.getParentNode().type?zm(Wm(jm(["(",Vm(jm([Hm,r])),Hm,")"]),r)):r}var tg={printClass:function(e,t,n){const r=e.getValue(),i=[];r.abstract&&i.push("abstract "),i.push("class");const o=r.id&&Gm(r.id)||r.superClass&&r.superClass.comments&&0!==r.superClass.comments.length||r.extends&&0!==r.extends.length||r.mixins&&0!==r.mixins.length||r.implements&&0!==r.implements.length,s=[],a=[];if(r.id&&s.push(" ",e.call(n,"id")),s.push(e.call(n,"typeParameters")),r.superClass){const r=jm(["extends ",eg(e,t,n),e.call(n,"superTypeParameters")]),i=e.call(e=>Lm(e,()=>r,t),"superClass");o?a.push(Um,zm(i)):a.push(" ",i)}else a.push(Qm(e,t,n,"extends"));if(a.push(Qm(e,t,n,"mixins")),a.push(Qm(e,t,n,"implements")),o){const e=jm(a);Zm(r)?i.push(zm(jm(s.concat(Wm(Vm(e),e))))):i.push(zm(Vm(jm(s.concat(e)))))}else i.push(...s,...a);return i.push(" ",e.call(n,"body")),jm(i)},printClassMethod:function(e,t,n){const r=e.getValue(),i=[];return r.decorators&&0!==r.decorators.length&&i.push(Jm(e,t,n)),r.accessibility&&i.push(r.accessibility+" "),r.static&&i.push("static "),("TSAbstractMethodDefinition"===r.type||r.abstract)&&i.push("abstract "),i.push(Ym(e,t,n)),jm(i)}};const{getLast:ng,getPenultimate:rg,isNextLineEmpty:ig}=Pt,{getFunctionParameters:og,iterateFunctionParametersPath:sg,hasLeadingComment:ag,hasTrailingComment:ug,isFunctionCompositionArgs:lg,isJSXNode:cg,isLongCurriedCallExpression:hg,shouldPrintComma:fg,getCallArguments:dg,iterateCallArgumentsPath:pg}=Al,{locEnd:mg}=as,{builders:{concat:gg,line:vg,hardline:yg,softline:bg,group:wg,indent:Dg,conditionalGroup:Eg,ifBreak:xg,breakParent:_g},utils:{willBreak:Cg}}=cn;function kg(e){return"ObjectExpression"===e.type&&(e.properties.length>0||e.comments)||"ArrayExpression"===e.type&&(e.elements.length>0||e.comments)||"TSTypeAssertion"===e.type&&kg(e.expression)||"TSAsExpression"===e.type&&kg(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type)&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||"CallExpression"===e.body.type||"OptionalCallExpression"===e.body.type||"ConditionalExpression"===e.body.type||cg(e.body))}var Sg=function(e,t,n){const r=e.getValue(),i="ImportExpression"===r.type,o=dg(r);if(0===o.length)return gg(["(",Ca.printDanglingComments(e,t,!0),")"]);if(2===o.length&&"ArrowFunctionExpression"===o[0].type&&0===og(o[0]).length&&"BlockStatement"===o[0].body.type&&"ArrayExpression"===o[1].type&&!o.some(e=>e.comments))return gg(["(",e.call(n,"arguments",0),", ",e.call(n,"arguments",1),")"]);let s=!1,a=!1,u=!1;const l=o.length-1,c=[];pg(e,(e,r)=>{const i=e.getNode(),o=[n(e)];r===l||(ig(t.originalText,i,mg)?(0===r&&(u=!0),s=!0,o.push(",",yg,yg)):o.push(",",vg)),a=function(e,t){if(!e||"ArrowFunctionExpression"!==e.type||!e.body||"BlockStatement"!==e.body.type||0===og(e).length)return!1;let r=!1;return sg(t,e=>{r=r||Cg(gg([n(e)]))}),r}(i,e),c.push(gg(o))});const h=i||r.callee&&"Import"===r.callee.type||!fg(t,"all")?"":",";function f(){return wg(gg(["(",Dg(gg([vg,gg(c)])),h,vg,")"]),{shouldBreak:!0})}if("Decorator"!==e.getParentNode().type&&lg(o))return f();const d=function(e){if(2!==e.length)return!1;const[t,n]=e;return!(t.comments&&t.comments.length||"FunctionExpression"!==t.type&&("ArrowFunctionExpression"!==t.type||"BlockStatement"!==t.body.type)||"FunctionExpression"===n.type||"ArrowFunctionExpression"===n.type||"ConditionalExpression"===n.type||kg(n))}(o),p=function(e){const t=ng(e),n=rg(e);return!ag(t)&&!ug(t)&&kg(t)&&(!n||n.type!==t.type)}(o);if(d||p){const t=(d?c.slice(1).some(Cg):c.slice(0,-1).some(Cg))||s||a;let i=[];pg(e,(e,t)=>{d&&0===t&&(i=[gg([e.call(e=>n(e,{expandFirstArg:!0})),c.length>1?",":"",u?yg:vg,u?yg:""])].concat(c.slice(1))),p&&t===o.length-1&&(i=c.slice(0,-1).concat(e.call(e=>n(e,{expandLastArg:!0}))))});const l=c.some(Cg),h=gg(["(",gg(i),")"]);return gg([l?_g:"",Eg([l||r.typeArguments||r.typeParameters?xg(f(),h):h,gg(d?["(",wg(i[0],{shouldBreak:!0}),gg(i.slice(1)),")"]:["(",gg(c.slice(0,-1)),wg(ng(i),{shouldBreak:!0}),")"]),f()],{shouldBreak:t})])}const m=gg(["(",Dg(gg([bg,gg(c)])),xg(h),bg,")"]);return hg(e)?m:wg(m,{shouldBreak:c.some(Cg)||s})};const{builders:{concat:Ag,softline:Tg,group:Mg,indent:Og}}=cn,{isNumericLiteral:Ng}=Al,{printOptionalToken:Fg}=rf;function Ig(e,t,n){const r=e.call(n,"property"),i=e.getValue(),o=Fg(e);return i.computed?!i.property||Ng(i.property)?Ag([o,"[",r,"]"]):Mg(Ag([o,"[",Og(Ag([Tg,r])),Tg,"]"])):Ag([o,".",r])}var Rg={printMemberExpression:function(e,t,n){const r=e.getValue(),i=e.getParentNode();let o,s=0;do{o=e.getParentNode(s),s++}while(o&&("MemberExpression"===o.type||"OptionalMemberExpression"===o.type||"TSNonNullExpression"===o.type));const a=o&&("NewExpression"===o.type||"BindExpression"===o.type||"VariableDeclarator"===o.type&&"Identifier"!==o.id.type||"AssignmentExpression"===o.type&&"Identifier"!==o.left.type)||r.computed||"Identifier"===r.object.type&&"Identifier"===r.property.type&&"MemberExpression"!==i.type&&"OptionalMemberExpression"!==i.type;return Ag([e.call(n,"object"),a?Ig(e,t,n):Mg(Og(Ag([Tg,Ig(e,t,n)])))])},printMemberLookup:Ig};const{getLast:Pg,isNextLineEmpty:Lg,isNextLineEmptyAfterIndex:Bg,getNextNonSpaceNonCommentCharacterIndex:jg}=Pt,{hasLeadingComment:$g,hasTrailingComment:Ug,isCallOrOptionalCallExpression:qg,isFunctionOrArrowExpression:Hg,isLongCurriedCallExpression:zg,isMemberish:Vg,isNumericLiteral:Wg,isSimpleCallArgument:Gg}=Al,{locEnd:Kg}=as,{builders:{concat:Xg,join:Yg,hardline:Jg,group:Zg,indent:Qg,conditionalGroup:ev,breakParent:tv},utils:{willBreak:nv}}=cn,{printMemberLookup:rv}=Rg,{printOptionalToken:iv,printFunctionTypeParameters:ov,printBindExpressionCallee:sv}=rf;var av=function(e,t,n){const r=e.getParentNode(),i=!r||"ExpressionStatement"===r.type,o=[];function s(e){const{originalText:n}=t,r=jg(n,e,Kg);return")"===n.charAt(r)?!1!==r&&Bg(n,r+1):Lg(n,e,Kg)}function a(e){const r=e.getValue();qg(r)&&(Vg(r.callee)||qg(r.callee))?(o.unshift({node:r,printed:Xg([Ca.printComments(e,()=>Xg([iv(e),ov(e,t,n),Sg(e,t,n)]),t),s(r)?Jg:""])}),e.call(e=>a(e),"callee")):Vg(r)?(o.unshift({node:r,needsParens:$h(e,t),printed:Ca.printComments(e,()=>"OptionalMemberExpression"===r.type||"MemberExpression"===r.type?rv(e,t,n):sv(e,t,n),t)}),e.call(e=>a(e),"object")):"TSNonNullExpression"===r.type?(o.unshift({node:r,printed:Ca.printComments(e,()=>"!",t)}),e.call(e=>a(e),"expression")):o.unshift({node:r,printed:e.call(n)})}const u=e.getValue();o.unshift({node:u,printed:Xg([iv(e),ov(e,t,n),Sg(e,t,n)])}),u.callee&&e.call(e=>a(e),"callee");const l=[];let c=[o[0]],h=1;for(;he.trailing)&&(l.push(c),c=[],f=!1)}function d(e){return/^[A-Z]|^[$_]+$/.test(e)}c.length>0&&l.push(c);const p=l.length>=2&&!l[1][0].node.comments&&function(e){const n=e[1].length&&e[1][0].node.computed;if(1===e[0].length){const r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(d(r.name)||i&&function(e){return e.length<=t.tabWidth}(r.name)||n)}const r=Pg(e[0]).node;return("MemberExpression"===r.type||"OptionalMemberExpression"===r.type)&&"Identifier"===r.property.type&&(d(r.property.name)||n)}(l);function m(e){const t=e.map(e=>e.printed);return e.length>0&&e[e.length-1].needsParens?Xg(["(",...t,")"]):Xg(t)}const g=l.map(m),v=Xg(g),y=p?3:2,b=Jo(l),w=b.slice(1,-1).some(e=>$g(e.node))||b.slice(0,-1).some(e=>Ug(e.node))||l[y]&&$g(l[y][0].node);if(l.length<=y&&!w)return zg(e)?v:Zg(v);const D=Pg(l[p?1:0]).node,E=!qg(D)&&s(D),x=Xg([m(l[0]),p?Xg(l.slice(1,2).map(m)):"",E?Jg:"",function(e){return 0===e.length?"":Qg(Zg(Xg([Jg,Yg(Jg,e.map(m))])))}(l.slice(p?2:1))]),_=o.map(({node:e})=>e).filter(qg);return w||_.length>2&&_.some(e=>!e.arguments.every(e=>Gg(e,0)))||g.slice(0,-1).some(nv)||function(){const e=Pg(Pg(l)).node,t=Pg(g);return qg(e)&&nv(t)&&_.slice(0,-1).some(e=>e.arguments.some(Hg))}()?Zg(x):Xg([nv(v)||E?tv:"",ev([v,x])])};const{builders:{concat:uv,join:lv,group:cv}}=cn,{getCallArguments:hv,hasFlowAnnotationComment:fv,isCallOrOptionalCallExpression:dv,isMemberish:pv,isTemplateOnItsOwnLine:mv,isTestCall:gv,iterateCallArgumentsPath:vv}=Al,{printOptionalToken:yv,printFunctionTypeParameters:bv}=rf;var wv={printCallExpression:function(e,t,n){const r=e.getValue(),i="NewExpression"===r.type,o="ImportExpression"===r.type,s=yv(e),a=hv(r);if(a.length>0&&(!o&&!i&&"Identifier"===r.callee.type&&("require"===r.callee.name||"define"===r.callee.name)||1===a.length&&mv(a[0],t.originalText)||!i&&gv(r,e.getParentNode()))){const r=[];return vv(e,e=>{r.push(n(e))}),uv([i?"new ":"",e.call(n,"callee"),s,bv(e,t,n),uv(["(",lv(", ",r),")"])])}const u=("babel"===t.parser||"babel-flow"===t.parser)&&r.callee&&"Identifier"===r.callee.type&&fv(r.callee.trailingComments);if(u&&(r.callee.trailingComments[0].printed=!0),!o&&!i&&pv(r.callee)&&!e.call(e=>$h(e,t),"callee"))return av(e,t,n);const l=uv([i?"new ":"",o?"import":e.call(n,"callee"),s,u?"/*:: ".concat(r.callee.trailingComments[0].value.slice(2).trim()," */"):"",bv(e,t,n),Sg(e,t,n)]);return o||dv(r.callee)?cv(l):l}};const{builders:{concat:Dv,join:Ev,line:xv,group:_v,indent:Cv,ifBreak:kv}}=cn,{hasTrailingComment:Sv,hasTrailingLineComment:Av,identity:Tv}=Al,{getTypeParametersGroupId:Mv}=Jp,{printTypeScriptModifiers:Ov}=rf;var Nv={printInterface:function(e,t,n){const r=e.getValue(),i=[];("DeclareInterface"===r.type||r.declare)&&i.push("declare "),"TSInterfaceDeclaration"===r.type&&i.push(r.abstract?"abstract ":"",Ov(e,t,n)),i.push("interface");const o=[],s=[];"InterfaceTypeAnnotation"!==r.type&&o.push(" ",e.call(n,"id"),e.call(n,"typeParameters"));const a=r.typeParameters&&!Av(r.typeParameters);if(r.extends&&0!==r.extends.length&&s.push(a?kv(" ",xv,{groupId:Mv(r.typeParameters)}):xv,"extends ",(1===r.extends.length?Tv:Cv)(Ev(Dv([",",xv]),e.map(n,"extends")))),r.id&&Sv(r.id)||r.extends&&0!==r.extends.length){const e=Dv(s);a?i.push(_v(Dv(o.concat(kv(Cv(e),e))))):i.push(_v(Cv(Dv(o.concat(e)))))}else i.push(...o,...s);return i.push(" ",e.call(n,"body")),_v(Dv(i))}};const{printComments:Fv}=Ca,{getLast:Iv}=Pt,{builders:{concat:Rv,join:Pv,line:Lv,softline:Bv,group:jv,indent:$v,align:Uv,ifBreak:qv},utils:{normalizeParts:Hv}}=cn,{hasLeadingOwnLineComment:zv,hasTrailingLineComment:Vv,isBinaryish:Wv,isJSXNode:Gv,shouldFlatten:Kv}=Al;let Xv=0;function Yv(e,t,n,r,i){let o=[];const s=e.getValue();if(Wv(s)){Kv(s.operator,s.left.operator)?o=o.concat(e.call(e=>Yv(e,t,n,!0,i),"left")):o.push(jv(e.call(t,"left")));const a=Jv(s),u=("|>"===s.operator||"NGPipeExpression"===s.type||"|"===s.operator&&"__vue_expression"===n.parser)&&!zv(n.originalText,s.right),l="NGPipeExpression"===s.type?"|":s.operator,c="NGPipeExpression"===s.type&&0!==s.arguments.length?jv($v(Rv([Bv,": ",Pv(Rv([Bv,":",qv(" ")]),e.map(t,"arguments").map(e=>Uv(2,jv(e))))]))):"",h=Rv(a?[l," ",e.call(t,"right"),c]:[u?Lv:"",l,u?" ":Lv,e.call(t,"right"),c]),f=e.getParentNode(),d=Vv(s.left),p=d||!(i&&"LogicalExpression"===s.type)&&f.type!==s.type&&s.left.type!==s.type&&s.right.type!==s.type;o.push(u?"":" ",p?jv(h,{shouldBreak:d}):h),r&&s.comments&&(o=Hv(Fv(e,()=>Rv(o),n).parts))}else o.push(jv(e.call(t)));return o}function Jv(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&0!==e.right.properties.length||"ArrayExpression"===e.right.type&&0!==e.right.elements.length||!!Gv(e.right))}var Zv={printBinaryishExpression:function(e,t,n){const r=e.getValue(),i=e.getParentNode(),o=e.getParentNode(1),s=r!==i.body&&("IfStatement"===i.type||"WhileStatement"===i.type||"SwitchStatement"===i.type||"DoWhileStatement"===i.type),a=Yv(e,n,t,!1,s);if(s)return Rv(a);if(("CallExpression"===i.type||"OptionalCallExpression"===i.type)&&i.callee===r||"UnaryExpression"===i.type||("MemberExpression"===i.type||"OptionalMemberExpression"===i.type)&&!i.computed)return jv(Rv([$v(Rv([Bv,Rv(a)])),Bv]));const u="ReturnStatement"===i.type||"ThrowStatement"===i.type||"JSXExpressionContainer"===i.type&&"JSXAttribute"===o.type||"|"!==r.operator&&"JsExpressionRoot"===i.type||"NGPipeExpression"!==r.type&&("NGRoot"===i.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===i.type&&"NGMicrosyntax"===o.type&&1===o.body.length)||r===i.body&&"ArrowFunctionExpression"===i.type||r!==i.body&&"ForStatement"===i.type||"ConditionalExpression"===i.type&&"ReturnStatement"!==o.type&&"ThrowStatement"!==o.type&&"CallExpression"!==o.type&&"OptionalCallExpression"!==o.type||"TemplateLiteral"===i.type,l="AssignmentExpression"===i.type||"VariableDeclarator"===i.type||"ClassProperty"===i.type||"FieldDefinition"===i.type||"TSAbstractClassProperty"===i.type||"ClassPrivateProperty"===i.type||"ObjectProperty"===i.type||"Property"===i.type,c=Wv(r.left)&&Kv(r.operator,r.left.operator);if(u||Jv(r)&&!c||!Jv(r)&&l)return jv(Rv(a));if(0===a.length)return"";const h=Gv(r.right),f=a.findIndex(e=>"string"!=typeof e&&"group"===e.type),d=a.slice(0,-1===f?1:f+1),p=Rv(a.slice(d.length,h?-1:void 0)),m=Symbol("logicalChain-"+ ++Xv),g=jv(Rv([...d,$v(p)]),{id:m});if(!h)return g;const v=Iv(a);return jv(Rv([g,qv($v(v),v,{groupId:m})]))},shouldInlineLogicalExpression:Jv};const{builders:{concat:Qv,line:ey,group:ty,indent:ny}}=cn,{hasLeadingOwnLineComment:ry,isBinaryish:iy,isMemberExpressionChain:oy,isStringLiteral:sy}=Al,{shouldInlineLogicalExpression:ay}=Zv;function uy(e,t,n,r,i,o){if(!r)return t;const s=ly(e,r,i,o);return ty(Qv([t,n,s]))}function ly(e,t,n,r){return ry(r.originalText,t)?ny(Qv([ey,n])):iy(t)&&!ay(t)||"ConditionalExpression"===t.type&&iy(t.test)&&!ay(t.test)||"StringLiteralTypeAnnotation"===t.type||"ClassExpression"===t.type&&t.decorators&&t.decorators.length||("Identifier"===e.type||sy(e)||"MemberExpression"===e.type)&&(sy(t)||oy(t))&&"json"!==r.parser&&"json5"!==r.parser||"SequenceExpression"===t.type?ty(ny(Qv([ey,n]))):Qv([" ",n])}var cy={printVariableDeclarator:function(e,t,n){const r=e.getValue();return uy(r.id,e.call(n,"id")," =",r.init,r.init&&e.call(n,"init"),t)},printAssignmentExpression:function(e,t,n){const r=e.getValue();return uy(r.left,e.call(n,"left"),Qv([" ",r.operator]),r.right,e.call(n,"right"),t)},printAssignment:uy,printAssignmentRight:ly};const{isNextLineEmpty:hy}=Pt,{builders:{concat:fy,join:dy,hardline:py}}=cn,{classChildNeedsASIProtection:my,classPropMayCauseASIProblems:gy,getLeftSidePathName:vy,hasNakedLeftSide:yy,isJSXNode:by,isLastStatement:wy,isTheOnlyJSXElementInMarkdown:Dy}=Al,{locEnd:Ey}=as,{shouldPrintParamsWithoutParens:xy}=Pm;function _y({path:e,index:t,bodyNode:n,isClass:r},i,o){const s=e.getValue();if(!s)return;if("EmptyStatement"===s.type)return;const a=o(e),u=i.originalText,l=[];if(i.semi||r||Dy(i,e)||!function(e,t){return"ExpressionStatement"===e.getNode().type&&e.call(e=>Cy(e,t),"expression")}(e,i)?l.push(a):s.comments&&s.comments.some(e=>e.leading)?l.push(o(e,{needsSemi:!0})):l.push(";",a),!i.semi&&r)if(gy(e))l.push(";");else if("ClassProperty"===s.type||"FieldDefinition"===s.type){const e=n.body[t+1];my(e)&&l.push(";")}return hy(u,s,Ey)&&!wy(e)&&l.push(py),fy(l)}function Cy(e,t){const n=e.getValue();return!!($h(e,t)||"ParenthesizedExpression"===n.type||"TypeCastExpression"===n.type||"ArrowFunctionExpression"===n.type&&!xy(e,t)||"ArrayExpression"===n.type||"ArrayPattern"===n.type||"UnaryExpression"===n.type&&n.prefix&&("+"===n.operator||"-"===n.operator)||"TemplateLiteral"===n.type||"TemplateElement"===n.type||by(n)||"BindExpression"===n.type&&!n.object||"RegExpLiteral"===n.type||"Literal"===n.type&&n.pattern||"Literal"===n.type&&n.regex)||!!yy(n)&&e.call(e=>Cy(e,t),...vy(e,n))}var ky={printStatementSequence:function(e,t,n){const r=e.getNode(),i="ClassBody"===r.type,o=e.map((o,s)=>_y({path:e,index:s,bodyNode:r,isClass:i},t,n)).filter(Boolean);return dy(py,o)}};const{printDanglingComments:Sy}=Ca,{isNextLineEmpty:Ay}=Pt,{builders:{concat:Ty,hardline:My,indent:Oy}}=cn,{hasDanglingComments:Ny}=Al,{locEnd:Fy}=as,{printStatementSequence:Iy}=ky;var Ry={printBlock:function(e,t,n){const r=e.getValue(),i=[],o=t.semi?";":"",s=e.call(e=>Iy(e,t,n),"body");"StaticBlock"===r.type&&i.push("static ");const a=r.body.some(e=>"EmptyStatement"!==e.type),u=r.directives&&r.directives.length>0,l=e.getParentNode(),c=e.getParentNode(1);return a||u||Ny(r)||"ArrowFunctionExpression"!==l.type&&"FunctionExpression"!==l.type&&"FunctionDeclaration"!==l.type&&"ObjectMethod"!==l.type&&"ClassMethod"!==l.type&&"ClassPrivateMethod"!==l.type&&"ForStatement"!==l.type&&"WhileStatement"!==l.type&&"DoWhileStatement"!==l.type&&"DoExpression"!==l.type&&("CatchClause"!==l.type||c.finalizer)&&"TSModuleDeclaration"!==l.type&&"TSDeclareFunction"!==l.type&&"StaticBlock"!==r.type?(i.push("{"),u&&e.each(e=>{i.push(Oy(Ty([My,n(e),o]))),Ay(t.originalText,e.getValue(),Fy)&&i.push(My)},"directives"),a&&i.push(Oy(Ty([My,s]))),i.push(Sy(e,t)),i.push(My,"}"),Ty(i)):Ty([...i,"{}"])}};const{hasNewline:Py}=Pt,{builders:{concat:Ly,join:By,hardline:jy}}=cn,{isLineComment:$y,isBlockComment:Uy}=Al,{locStart:qy,locEnd:Hy}=as;var zy={printComment:function(e,t){const n=e.getValue();if($y(n))return t.originalText.slice(qy(n),Hy(n)).trimEnd();if(Uy(n)){if(function(e){const t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every(e=>"*"===e.trim()[0])}(n)){const e=function(e){const t=e.value.split("\n");return Ly(["/*",By(jy,t.map((e,n)=>0===n?e.trimEnd():" "+(ne.call(n,"interpreter"),"program")),a.push(e.call(n,"program")),Jy(a);case"Program":{const r=!i.body.every(({type:e})=>"EmptyStatement"===e)||i.comments;if(i.directives){const s=i.directives.length;e.each((e,i)=>{a.push(n(e),o,eb),(iCw(e,t,n),"body")),a.push(Ca.printDanglingComments(e,t,!0)),r&&a.push(eb),Jy(a)}case"EmptyStatement":return"";case"ExpressionStatement":if(i.directive)return Jy([Tw(i.expression,t,!0),o]);if("__vue_event_binding"===t.parser){const t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===i)return Jy([e.call(n,"expression"),hb(i.expression)?";":""])}return Jy([e.call(n,"expression"),Mb(t,e)?"":o]);case"ParenthesizedExpression":return i.expression.comments?rb(Jy(["(",ib(Jy([tb,e.call(n,"expression")])),tb,")"])):Jy(["(",e.call(n,"expression"),")"]);case"AssignmentExpression":return Dw(e,t,n);case"VariableDeclarator":return ww(e,t,n);case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":return _w(e,t,n);case"AssignmentPattern":return Jy([e.call(n,"left")," = ",e.call(n,"right")]);case"TSTypeAssertion":{const t=!("ArrayExpression"===i.expression.type||"ObjectExpression"===i.expression.type),r=rb(Jy(["<",ib(Jy([tb,e.call(n,"typeAnnotation")])),tb,">"])),o=Jy([ab("("),ib(Jy([tb,e.call(n,"expression")])),tb,ab(")")]);return t?sb([Jy([r,e.call(n,"expression")]),Jy([r,rb(o,{shouldBreak:!0})]),Jy([r,e.call(n,"expression")])]):rb(Jy([r,e.call(n,"expression")]))}case"OptionalMemberExpression":case"MemberExpression":return kw(e,t,n);case"MetaProperty":return Jy([e.call(n,"meta"),".",e.call(n,"property")]);case"BindExpression":return i.object&&a.push(e.call(n,"object")),a.push(rb(ib(Jy([tb,jb(e,t,n)])))),Jy(a);case"Identifier":return Jy([i.name,Bb(e),Qb(e,t,n)]);case"V8IntrinsicIdentifier":return Jy(["%",i.name]);case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return Jy(["...",e.call(n,"argument"),Qb(e,t,n)]);case"FunctionDeclaration":case"FunctionExpression":return a.push(pw(e,n,t,r&&r.expandLastArg&&db(e.getParentNode()).length>1)),i.body||a.push(o),Jy(a);case"ArrowFunctionExpression":return mw(e,t,n,r);case"YieldExpression":return a.push("yield"),i.delegate&&a.push("*"),i.argument&&a.push(" ",e.call(n,"argument")),Jy(a);case"AwaitExpression":{a.push("await"),i.argument&&a.push(" ",e.call(n,"argument"));const t=e.getParentNode();return("CallExpression"===t.type||"OptionalCallExpression"===t.type)&&t.callee===i||("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&t.object===i?rb(Jy([ib(Jy([tb,Jy(a)])),tb])):Jy(a)}case"TSExportAssignment":return Jy(["export = ",e.call(n,"expression"),o]);case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"DeclareExportDeclaration":return Vb(e,t,n);case"ExportAllDeclaration":case"DeclareExportAllDeclaration":return Wb(e,t,n);case"ImportDeclaration":return zb(e,t,n);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Gb(e,t,n);case"ImportAttribute":return Jy([e.call(n,"key"),": ",e.call(n,"value")]);case"Import":return"import";case"TSModuleBlock":case"BlockStatement":case"StaticBlock":return Sw(e,t,n);case"ThrowStatement":case"ReturnStatement":return Jy(["ReturnStatement"===i.type?"return":"throw",vw(e,t,n)]);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return yw(e,t,n);case"ObjectTypeInternalSlot":return Jy([i.static?"static ":"","[[",e.call(n,"id"),"]]",Bb(e),i.method?"":": ",e.call(n,"value")]);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"TSInterfaceBody":case"TSTypeLiteral":case"RecordExpression":return Zb(e,t,n);case"ObjectProperty":case"Property":return i.method||"get"===i.kind||"set"===i.kind?gw(e,t,n):(i.shorthand?a.push(e.call(n,"value")):a.push(Ew(i.key,dw(e,t,n),":",i.value,e.call(n,"value"),t)),Jy(a));case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":case"TSAbstractMethodDefinition":case"TSDeclareMethod":return hw(e,t,n);case"ObjectMethod":return gw(e,t,n);case"Decorator":return Jy(["@",e.call(n,"expression"),e.call(n,"callee")]);case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Yb(e,t,n);case"SequenceExpression":{const t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){const t=[];return e.each(e=>{0===e.getName()?t.push(n(e)):t.push(",",ib(Jy([Qy,n(e)])))},"expressions"),rb(Jy(t))}return rb(Jy([Zy(Jy([",",Qy]),e.map(n,"expressions"))]))}case"ThisExpression":return"this";case"Super":return"super";case"NullLiteral":return"null";case"RegExpLiteral":return Mw(i);case"NumericLiteral":return Xy(i.extra.raw);case"DecimalLiteral":return Xy(i.value)+"m";case"BigIntLiteral":return(i.bigint||i.extra.raw).toLowerCase();case"BooleanLiteral":case"StringLiteral":case"Literal":return i.regex?Mw(i.regex):i.bigint?i.raw.toLowerCase():"number"==typeof i.value?Xy(i.raw):"string"!=typeof i.value?""+i.value:Tw(i,t);case"Directive":return e.call(n,"value");case"DirectiveLiteral":return Tw(i,t);case"UnaryExpression":return a.push(i.operator),/[a-z]$/.test(i.operator)&&a.push(" "),i.argument.comments&&i.argument.comments.length>0?a.push(rb(Jy(["(",ib(Jy([tb,e.call(n,"argument")])),tb,")"]))):a.push(e.call(n,"argument")),Jy(a);case"UpdateExpression":return a.push(e.call(n,"argument"),i.operator),i.prefix&&a.reverse(),Jy(a);case"ConditionalExpression":return Bf(e,t,n,{beforeParts:()=>[e.call(n,"test")],afterParts:e=>[e?tb:""],shouldCheckJsx:!0,conditionalNodeType:"ConditionalExpression",consequentNodePropertyName:"consequent",alternateNodePropertyName:"alternate",testNodePropertyNames:["test"]});case"VariableDeclaration":{const t=e.map(e=>n(e),"declarations"),r=e.getParentNode(),s="ForStatement"===r.type||"ForInStatement"===r.type||"ForOfStatement"===r.type,u=i.declarations.some(e=>e.init);let l;return 1!==t.length||i.declarations[0].comments?t.length>0&&(l=ib(t[0])):l=t[0],a=[i.declare?"declare ":"",i.kind,l?Jy([" ",l]):"",ib(Jy(t.slice(1).map(e=>Jy([",",u&&!s?eb:Qy,e]))))],s&&r.body!==i||a.push(o),rb(Jy(a))}case"TSTypeAliasDeclaration":{i.declare&&a.push("declare ");const r=xw(i.id,i.typeAnnotation,i.typeAnnotation&&e.call(n,"typeAnnotation"),t);return a.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",r,o),rb(Jy(a))}case"WithStatement":return rb(Jy(["with (",e.call(n,"object"),")",Hb(i.body,e.call(n,"body"))]));case"IfStatement":{const r=Hb(i.consequent,e.call(n,"consequent")),o=rb(Jy(["if (",rb(Jy([ib(Jy([tb,e.call(n,"test")])),tb])),")",r]));if(a.push(o),i.alternate){const r=Eb(i.consequent)&&i.consequent.comments.some(e=>e.trailing&&!Nb(e))||Fb(i),o="BlockStatement"===i.consequent.type&&!r;a.push(o?" ":eb),gb(i)&&a.push(Ca.printDanglingComments(e,t,!0),r?eb:" "),a.push("else",rb(Hb(i.alternate,e.call(n,"alternate"),"IfStatement"===i.alternate.type)))}return Jy(a)}case"ForStatement":{const r=Hb(i.body,e.call(n,"body")),o=Ca.printDanglingComments(e,t,!0),s=o?Jy([o,tb]):"";return i.init||i.test||i.update?Jy([s,rb(Jy(["for (",rb(Jy([ib(Jy([tb,e.call(n,"init"),";",Qy,e.call(n,"test"),";",Qy,e.call(n,"update")])),tb])),")",r]))]):Jy([s,rb(Jy(["for (;;)",r]))])}case"WhileStatement":return rb(Jy(["while (",rb(Jy([ib(Jy([tb,e.call(n,"test")])),tb])),")",Hb(i.body,e.call(n,"body"))]));case"ForInStatement":return rb(Jy(["for (",e.call(n,"left")," in ",e.call(n,"right"),")",Hb(i.body,e.call(n,"body"))]));case"ForOfStatement":return rb(Jy(["for",i.await?" await":""," (",e.call(n,"left")," of ",e.call(n,"right"),")",Hb(i.body,e.call(n,"body"))]));case"DoWhileStatement":{const t=Hb(i.body,e.call(n,"body")),r=rb(Jy(["do",t]));return a=[r],"BlockStatement"===i.body.type?a.push(" "):a.push(eb),a.push("while ("),a.push(rb(Jy([ib(Jy([tb,e.call(n,"test")])),tb])),")",o),Jy(a)}case"DoExpression":return Jy(["do ",e.call(n,"body")]);case"BreakStatement":return a.push("break"),i.label&&a.push(" ",e.call(n,"label")),a.push(o),Jy(a);case"ContinueStatement":return a.push("continue"),i.label&&a.push(" ",e.call(n,"label")),a.push(o),Jy(a);case"LabeledStatement":return"EmptyStatement"===i.body.type?Jy([e.call(n,"label"),":;"]):Jy([e.call(n,"label"),": ",e.call(n,"body")]);case"TryStatement":return Jy(["try ",e.call(n,"block"),i.handler?Jy([" ",e.call(n,"handler")]):"",i.finalizer?Jy([" finally ",e.call(n,"finalizer")]):""]);case"CatchClause":if(i.param){const r=i.param.comments&&i.param.comments.some(e=>!Nb(e)||e.leading&&Vy(t.originalText,Lb(e))||e.trailing&&Vy(t.originalText,Pb(e),{backwards:!0})),o=e.call(n,"param");return Jy(["catch ",Jy(r?["(",ib(Jy([tb,o])),tb,") "]:["(",o,") "]),e.call(n,"body")])}return Jy(["catch ",e.call(n,"body")]);case"SwitchStatement":return Jy([rb(Jy(["switch (",ib(Jy([tb,e.call(n,"discriminant")])),tb,")"]))," {",i.cases.length>0?ib(Jy([eb,Zy(eb,e.map(e=>{const r=e.getValue();return Jy([e.call(n),i.cases.indexOf(r)!==i.cases.length-1&&Yy(t.originalText,r,Lb)?eb:""])},"cases"))])):"",eb,"}"]);case"SwitchCase":{i.test?a.push("case ",e.call(n,"test"),":"):a.push("default:");const r=i.consequent.filter(e=>"EmptyStatement"!==e.type);if(r.length>0){const i=e.call(e=>Cw(e,t,n),"consequent");a.push(1===r.length&&"BlockStatement"===r[0].type?Jy([" ",i]):ib(Jy([eb,i])))}return Jy(a)}case"DebuggerStatement":return Jy(["debugger",o]);case"JSXAttribute":return nw(e,t,n);case"JSXIdentifier":return""+i.name;case"JSXNamespacedName":return Zy(":",[e.call(n,"namespace"),e.call(n,"name")]);case"JSXMemberExpression":return Zy(".",[e.call(n,"object"),e.call(n,"property")]);case"TSQualifiedName":return Zy(".",[e.call(n,"left"),e.call(n,"right")]);case"JSXSpreadAttribute":return uw(e,t,n);case"JSXSpreadChild":return lw(e,t,n);case"JSXExpressionContainer":return sw(e,t,n);case"JSXFragment":case"JSXElement":return tw(e,t,n);case"JSXOpeningElement":return rw(e,t,n);case"JSXClosingElement":return iw(e,t,n);case"JSXOpeningFragment":case"JSXClosingFragment":return ow(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");case"JSXEmptyExpression":return aw(e,t);case"ClassBody":return i.comments||0!==i.body.length?Jy(["{",i.body.length>0?ib(Jy([eb,e.call(e=>Cw(e,t,n),"body")])):Ca.printDanglingComments(e,t),eb,"}"]):"{}";case"ClassProperty":case"FieldDefinition":case"TSAbstractClassProperty":case"ClassPrivateProperty":return i.decorators&&0!==i.decorators.length&&a.push(Ub(e,t,n)),i.accessibility&&a.push(i.accessibility+" "),i.declare&&a.push("declare "),i.static&&a.push("static "),("TSAbstractClassProperty"===i.type||i.abstract)&&a.push("abstract "),i.readonly&&a.push("readonly "),i.variance&&a.push(e.call(n,"variance")),a.push(dw(e,t,n),Bb(e),Qb(e,t,n)),i.value&&a.push(" =",xw(i.key,i.value,e.call(n,"value"),t)),a.push(o),rb(Jy(a));case"ClassDeclaration":case"ClassExpression":return i.declare&&a.push("declare "),a.push(cw(e,t,n)),Jy(a);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return a.push(e.call(n,"expression")),i.typeParameters&&a.push(e.call(n,"typeParameters")),Jy(a);case"TemplateElement":return Zy(nb,i.value.raw.split(/\r?\n/g));case"TSTemplateLiteralType":case"TemplateLiteral":return Xb(e,n,t);case"TaggedTemplateExpression":return Jy([e.call(n,"tag"),e.call(n,"typeParameters"),e.call(n,"quasi")]);case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(i.type));case"TypeAnnotation":case"TSTypeAnnotation":return i.typeAnnotation?e.call(n,"typeAnnotation"):"";case"TSNamedTupleMember":return Jy([e.call(n,"label"),i.optional?"?":"",": ",e.call(n,"elementType")]);case"TSTupleType":case"TupleTypeAnnotation":{const r="TSTupleType"===i.type?"elementTypes":"types",o=i[r].length>0&&"TSRestType"===Gy(i[r]).type;return rb(Jy(["[",ib(Jy([tb,Jb(e,t,r,n)])),ab(Rb(t,"all")&&!o?",":""),Ca.printDanglingComments(e,t,!0),tb,"]"]))}case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return Jy([e.call(n,"elementType"),"[]"]);case"BooleanLiteralTypeAnnotation":return""+i.value;case"DeclareClass":return qb(e,cw(e,t,n));case"TSDeclareFunction":return Jy([i.declare?"declare ":"",pw(e,n,t),o]);case"DeclareFunction":return qb(e,Jy(["function ",e.call(n,"id"),i.predicate?" ":"",e.call(n,"predicate"),o]));case"DeclareModule":return qb(e,Jy(["module ",e.call(n,"id")," ",e.call(n,"body")]));case"DeclareModuleExports":return qb(e,Jy(["module.exports",": ",e.call(n,"typeAnnotation"),o]));case"DeclareVariable":return qb(e,Jy(["var ",e.call(n,"id"),o]));case"DeclareOpaqueType":case"OpaqueType":return a.push("opaque type ",e.call(n,"id"),e.call(n,"typeParameters")),i.supertype&&a.push(": ",e.call(n,"supertype")),i.impltype&&a.push(" = ",e.call(n,"impltype")),a.push(o),"DeclareOpaqueType"===i.type?qb(e,Jy(a)):Jy(a);case"EnumDeclaration":return Jy(["enum ",e.call(n,"id")," ",e.call(n,"body")]);case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===i.type||i.explicitType){let e=null;switch(i.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}a.push("of ",e," ")}if(0!==i.members.length||i.hasUnknownMembers){const r=i.members.length?[eb,Jb(e,t,"members",n),i.hasUnknownMembers||Rb(t)?",":""]:[];a.push(rb(Jy(["{",ib(Jy([...r,...i.hasUnknownMembers?[eb,"..."]:[]])),Ca.printDanglingComments(e,t,!0),eb,"}"])))}else a.push(rb(Jy(["{",Ca.printDanglingComments(e,t),tb,"}"])));return Jy(a);case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return Jy([e.call(n,"id")," = ","object"==typeof i.init?e.call(n,"init"):String(i.init)]);case"EnumDefaultedMember":return e.call(n,"id");case"FunctionTypeAnnotation":case"TSFunctionType":{const r=e.getParentNode(0),o=e.getParentNode(1),s=e.getParentNode(2);let u="TSFunctionType"===i.type||!(("ObjectTypeProperty"===r.type||"ObjectTypeInternalSlot"===r.type)&&!r.variance&&!r.optional&&Pb(r)===Pb(i)||"ObjectTypeCallProperty"===r.type||s&&"DeclareFunction"===s.type),l=u&&("TypeAnnotation"===r.type||"TSTypeAnnotation"===r.type);const c=l&&u&&("TypeAnnotation"===r.type||"TSTypeAnnotation"===r.type)&&"ArrowFunctionExpression"===o.type;return Tb(r)&&(u=!0,l=!0),c&&a.push("("),a.push(Kb(e,n,t,!1,!0)),(i.returnType||i.predicate||i.typeAnnotation)&&a.push(u?" => ":": ",e.call(n,"returnType"),e.call(n,"predicate"),e.call(n,"typeAnnotation")),c&&a.push(")"),rb(Jy(a))}case"TSRestType":return Jy(["...",e.call(n,"typeAnnotation")]);case"TSOptionalType":return Jy([e.call(n,"typeAnnotation"),"?"]);case"FunctionTypeParam":{const t=i.name?e.call(n,"name"):e.getParentNode().this===i?"this":"";return Jy([t,Bb(e),t?": ":"",e.call(n,"typeAnnotation")])}case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"TSInterfaceDeclaration":return bw(e,t,n);case"ClassImplements":case"InterfaceExtends":return Jy([e.call(n,"id"),e.call(n,"typeParameters")]);case"TSClassImplements":return Jy([e.call(n,"expression"),e.call(n,"typeParameters")]);case"TSIntersectionType":case"IntersectionTypeAnnotation":{const t=e.map(n,"types"),r=[];let o=!1;for(let e=0;e1&&(o=!0),r.push(" & ",e>1?ib(t[e]):t[e])):r.push(ib(Jy([" &",Qy,t[e]])));return rb(Jy(r))}case"TSUnionType":case"UnionTypeAnnotation":{const r=e.getParentNode(),o=!("TypeParameterInstantiation"===r.type||"TSTypeParameterInstantiation"===r.type||"GenericTypeAnnotation"===r.type||"TSTypeReference"===r.type||"TSTypeAssertion"===r.type||"TupleTypeAnnotation"===r.type||"TSTupleType"===r.type||"FunctionTypeParam"===r.type&&!r.name&&e.getParentNode(1).this!==r||("TypeAlias"===r.type||"VariableDeclarator"===r.type||"TSTypeAliasDeclaration"===r.type)&&yb(t.originalText,i)),s=ew(i),a=e.map(e=>{let r=e.call(n);return s||(r=ob(2,r)),Ca.printComments(e,()=>r,t)},"types");if(s)return Zy(" | ",a);const u=o&&!yb(t.originalText,i),l=Jy([ab(Jy([u?Qy:"","| "])),Zy(Jy([Qy,"| "]),a)]);return $h(e,t)?rb(Jy([ib(l),tb])):"TupleTypeAnnotation"===r.type&&r.types.length>1||"TSTupleType"===r.type&&r.elementTypes.length>1?rb(Jy([ib(Jy([ab(Jy(["(",tb])),l])),tb,ab(")")])):rb(o?ib(l):l)}case"NullableTypeAnnotation":return Jy(["?",e.call(n,"typeAnnotation")]);case"Variance":{const{kind:e}=i;return na.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return i.static&&a.push("static "),a.push(e.call(n,"value")),Jy(a);case"ObjectTypeIndexer":return Jy([i.variance?e.call(n,"variance"):"","[",e.call(n,"id"),i.id?": ":"",e.call(n,"key"),"]: ",e.call(n,"value")]);case"ObjectTypeProperty":{let r="";return i.proto?r="proto ":i.static&&(r="static "),Jy([r,Cb(i)?i.kind+" ":"",i.variance?e.call(n,"variance"):"",dw(e,t,n),Bb(e),_b(i)?"":": ",e.call(n,"value")])}case"QualifiedTypeIdentifier":return Jy([e.call(n,"qualification"),".",e.call(n,"id")]);case"StringLiteralTypeAnnotation":return Tw(i,t);case"NumberLiteralTypeAnnotation":na.strictEqual(typeof i.value,"number");case"BigIntLiteralTypeAnnotation":return null!=i.extra?Xy(i.extra.raw):Xy(i.raw);case"DeclareTypeAlias":case"TypeAlias":{("DeclareTypeAlias"===i.type||i.declare)&&a.push("declare ");const r=xw(i.id,i.right,e.call(n,"right"),t);return a.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",r,o),rb(Jy(a))}case"TypeCastExpression":return Jy(["(",e.call(n,"expression"),Qb(e,t,n),")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":{const r=fw(e,t,n,"params");if("flow"===t.parser){const e=Pb(i),n=Lb(i),o=t.originalText.lastIndexOf("/*",e),s=t.originalText.indexOf("*/",n);if(-1!==o&&-1!==s){const e=t.originalText.slice(o+2,s).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return Jy(["/*:: ",r," */"])}}return r}case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return fw(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":{const r=e.getParentNode();if("TSMappedType"===r.type)return a.push("[",e.call(n,"name")),i.constraint&&a.push(" in ",e.call(n,"constraint")),r.nameType&&a.push(" as ",e.callParent(e=>e.call(n,"nameType"))),a.push("]"),Jy(a);i.variance&&a.push(e.call(n,"variance")),a.push(e.call(n,"name")),i.bound&&(a.push(": "),a.push(e.call(n,"bound"))),i.constraint&&a.push(" extends ",e.call(n,"constraint")),i.default&&a.push(" = ",e.call(n,"default"));const o=e.getNode(2);return 1===fb(r).length&&Ob(t)&&!i.constraint&&"ArrowFunctionExpression"===o.type&&a.push(","),Jy(a)}case"TypeofTypeAnnotation":return Jy(["typeof ",e.call(n,"argument")]);case"InferredPredicate":return"%checks";case"DeclaredPredicate":return Jy(["%checks(",e.call(n,"value"),")"]);case"TSAbstractKeyword":return"abstract";case"AnyTypeAnnotation":case"TSAnyKeyword":return"any";case"TSAsyncKeyword":return"async";case"BooleanTypeAnnotation":case"TSBooleanKeyword":return"boolean";case"BigIntTypeAnnotation":case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"NullLiteralTypeAnnotation":case"TSNullKeyword":return"null";case"TSNeverKeyword":return"never";case"NumberTypeAnnotation":case"TSNumberKeyword":return"number";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"SymbolTypeAnnotation":case"TSSymbolKeyword":return"symbol";case"TSStaticKeyword":return"static";case"StringTypeAnnotation":case"TSStringKeyword":return"string";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"VoidTypeAnnotation":case"TSVoidKeyword":return"void";case"TSAsExpression":return Jy([e.call(n,"expression")," as ",e.call(n,"typeAnnotation")]);case"TSArrayType":return Jy([e.call(n,"elementType"),"[]"]);case"TSPropertySignature":return i.export&&a.push("export "),i.accessibility&&a.push(i.accessibility+" "),i.static&&a.push("static "),i.readonly&&a.push("readonly "),a.push(dw(e,t,n),Bb(e)),i.typeAnnotation&&(a.push(": "),a.push(e.call(n,"typeAnnotation"))),i.initializer&&a.push(" = ",e.call(n,"initializer")),Jy(a);case"TSParameterProperty":return i.accessibility&&a.push(i.accessibility+" "),i.export&&a.push("export "),i.static&&a.push("static "),i.readonly&&a.push("readonly "),a.push(e.call(n,"parameter")),Jy(a);case"GenericTypeAnnotation":case"TSTypeReference":return Jy([e.call(n,"TSTypeReference"===i.type?"typeName":"id"),fw(e,t,n,"typeParameters")]);case"TSTypeQuery":return Jy(["typeof ",e.call(n,"exprName")]);case"TSIndexSignature":{const r=e.getParentNode(),s=i.parameters.length>1?ab(Rb(t)?",":""):"",a=rb(Jy([ib(Jy([tb,Zy(Jy([", ",tb]),e.map(n,"parameters"))])),s,tb]));return Jy([i.export?"export ":"",i.accessibility?Jy([i.accessibility," "]):"",i.static?"static ":"",i.readonly?"readonly ":"",i.declare?"declare ":"","[",i.parameters?a:"",i.typeAnnotation?"]: ":"]",i.typeAnnotation?e.call(n,"typeAnnotation"):"","ClassBody"===r.type?o:""])}case"TSTypePredicate":return Jy([i.asserts?"asserts ":"",e.call(n,"parameterName"),i.typeAnnotation?Jy([" is ",e.call(n,"typeAnnotation")]):""]);case"TSNonNullExpression":return Jy([e.call(n,"expression"),"!"]);case"ThisTypeAnnotation":case"TSThisType":return"this";case"TSImportType":return Jy([i.isTypeOf?"typeof ":"","import(",e.call(n,i.parameter?"parameter":"argument"),")",i.qualifier?Jy([".",e.call(n,"qualifier")]):"",fw(e,t,n,"typeParameters")]);case"TSLiteralType":return e.call(n,"literal");case"TSIndexedAccessType":return Jy([e.call(n,"objectType"),"[",e.call(n,"indexType"),"]"]);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSCallSignatureDeclaration"!==i.type&&a.push("new "),a.push(rb(Kb(e,n,t,!1,!0))),i.returnType||i.typeAnnotation){const t="TSConstructorType"===i.type;a.push(t?" => ":": ",e.call(n,"returnType"),e.call(n,"typeAnnotation"))}return Jy(a);case"TSTypeOperator":return Jy([i.operator," ",e.call(n,"typeAnnotation")]);case"TSMappedType":{const r=Wy(t.originalText,Pb(i),Lb(i));return rb(Jy(["{",ib(Jy([t.bracketSpacing?Qy:tb,i.readonly?Jy([mb(i.readonly,"readonly")," "]):"",$b(e,t,n),e.call(n,"typeParameter"),i.optional?mb(i.optional,"?"):"",i.typeAnnotation?": ":"",e.call(n,"typeAnnotation"),ab(o,"")])),Ca.printDanglingComments(e,t,!0),t.bracketSpacing?Qy:tb,"}"]),{shouldBreak:r})}case"TSMethodSignature":return a.push(i.accessibility?Jy([i.accessibility," "]):"",i.export?"export ":"",i.static?"static ":"",i.readonly?"readonly ":"",i.computed?"[":"",e.call(n,"key"),i.computed?"]":"",Bb(e),Kb(e,n,t,!1,!0)),(i.returnType||i.typeAnnotation)&&a.push(": ",e.call(n,"returnType"),e.call(n,"typeAnnotation")),rb(Jy(a));case"TSNamespaceExportDeclaration":return a.push("export as namespace ",e.call(n,"id")),t.semi&&a.push(";"),rb(Jy(a));case"TSEnumDeclaration":return i.declare&&a.push("declare "),i.modifiers&&a.push($b(e,t,n)),i.const&&a.push("const "),a.push("enum ",e.call(n,"id")," "),0===i.members.length?a.push(rb(Jy(["{",Ca.printDanglingComments(e,t),tb,"}"]))):a.push(rb(Jy(["{",ib(Jy([eb,Jb(e,t,"members",n),Rb(t,"es5")?",":""])),Ca.printDanglingComments(e,t,!0),eb,"}"]))),Jy(a);case"TSEnumMember":return a.push(e.call(n,"id")),i.initializer&&a.push(" = ",e.call(n,"initializer")),Jy(a);case"TSImportEqualsDeclaration":return i.isExport&&a.push("export "),a.push("import ",e.call(n,"id")," = ",e.call(n,"moduleReference")),t.semi&&a.push(";"),rb(Jy(a));case"TSExternalModuleReference":return Jy(["require(",e.call(n,"expression"),")"]);case"TSModuleDeclaration":{const r=e.getParentNode(),s=kb(i.id),u="TSModuleDeclaration"===r.type,l=i.body&&"TSModuleDeclaration"===i.body.type;if(u)a.push(".");else{i.declare&&a.push("declare "),a.push($b(e,t,n));const r=t.originalText.slice(Pb(i),Pb(i.id));"Identifier"===i.id.type&&"global"===i.id.name&&!/namespace|module/.test(r)||a.push(s||/(^|\s)module(\s|$)/.test(r)?"module ":"namespace ")}return a.push(e.call(n,"id")),l?a.push(e.call(n,"body")):i.body?a.push(" ",rb(e.call(n,"body"))):a.push(o),Jy(a)}case"PrivateName":return Jy(["#",e.call(n,i.id?"id":"name")]);case"TSPrivateIdentifier":return i.escapedText;case"TSConditionalType":return Bf(e,t,n,{beforeParts:()=>[e.call(n,"checkType")," ","extends"," ",e.call(n,"extendsType")],afterParts:()=>[],shouldCheckJsx:!1,conditionalNodeType:"TSConditionalType",consequentNodePropertyName:"trueType",alternateNodePropertyName:"falseType",testNodePropertyNames:["checkType","extendsType"]});case"TSInferType":return Jy(["infer"," ",e.call(n,"typeParameter")]);case"InterpreterDirective":return a.push("#!",i.value,eb),Yy(t.originalText,i,Lb)&&a.push(eb),Jy(a);case"NGRoot":return Jy([].concat(e.call(n,"node"),i.node.comments&&0!==i.node.comments.length?Jy([" //",i.node.comments[0].value.trimEnd()]):[]));case"NGChainedExpression":return rb(Zy(Jy([";",Qy]),e.map(e=>wb(e)?n(e):Jy(["(",n(e),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return Jy([i.prefix,": ",i.value.trim()]);case"NGMicrosyntax":return Jy(e.map((e,t)=>Jy([0===t?"":Sb(e.getValue(),t,i)?" ":Jy([";",Qy]),n(e)]),"body"));case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(-[$_a-z][\w$])*$/i.test(i.name)?i.name:JSON.stringify(i.name);case"NGMicrosyntaxExpression":return Jy([e.call(n,"expression"),null===i.alias?"":Jy([" as ",e.call(n,"alias")])]);case"NGMicrosyntaxKeyedExpression":{const t=e.getName(),r=e.getParentNode(),o=Sb(i,t,r)||(1===t&&("then"===i.key.name||"else"===i.key.name)||2===t&&"else"===i.key.name&&"NGMicrosyntaxKeyedExpression"===r.body[t-1].type&&"then"===r.body[t-1].key.name)&&"NGMicrosyntaxExpression"===r.body[0].type;return Jy([e.call(n,"key"),o?" ":": ",e.call(n,"expression")])}case"NGMicrosyntaxLet":return Jy(["let ",e.call(n,"key"),null===i.value?"":Jy([" = ",e.call(n,"value")])]);case"NGMicrosyntaxAs":return Jy([e.call(n,"key")," as ",e.call(n,"alias")]);case"PipelineBareFunction":return e.call(n,"callee");case"PipelineTopicExpression":return e.call(n,"expression");case"PipelinePrimaryTopicReference":return a.push("#"),Jy(a);case"ArgumentPlaceholder":return"?";case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Jy(["?",e.call(n,"typeAnnotation")]);case"TSJSDocNonNullableType":return Jy(["!",e.call(n,"typeAnnotation")]);case"TSJSDocFunctionType":return Jy(["function(","): ",e.call(n,"typeAnnotation")]);default:throw new Error("unknown type: "+JSON.stringify(i.type))}}(e,t,n,r);if(!i||ub(s))return s;const a=pb(e),u=[];if("ClassMethod"===i.type||"ClassPrivateMethod"===i.type||"ClassProperty"===i.type||"FieldDefinition"===i.type||"TSAbstractClassProperty"===i.type||"ClassPrivateProperty"===i.type||"MethodDefinition"===i.type||"TSAbstractMethodDefinition"===i.type||"TSDeclareMethod"===i.type);else if(i.decorators&&i.decorators.length>0&&!(a&&Pb(a,{ignoreDecorators:!0})>Pb(i.decorators[0]))){const r="ClassExpression"===i.type||"ClassDeclaration"===i.type||bb(i,t)?eb:Qy;e.each(e=>{let t=e.getValue();t=t.expression?t.expression:t.callee,u.push(n(e),r)},"decorators"),a&&u.unshift(eb)}else xb(i)&&i.declaration&&i.declaration.decorators&&i.declaration.decorators.length>0&&Pb(i,{ignoreDecorators:!0})>Pb(i.declaration.decorators[0])?e.each(e=>{const t="Decorator"===e.getValue().type?"":"@";u.push(t,n(e),eb)},"declaration","decorators"):o=$h(e,t);const l=[];if(o&&l.unshift("("),l.push(s),o){const t=e.getValue();vb(t)&&(l.push(" /*"),l.push(t.trailingComments[0].value.trimStart()),l.push("*/"),t.trailingComments[0].printed=!0),l.push(")")}return u.length>0?rb(Jy(u.concat(l))):Jy(l)},embed:fh,insertPragma:lb,massageAstNode:gh,hasPrettierIgnore:Db,willPrintOwnComments:ac.willPrintOwnComments,canAttachComment:function(e){return e.type&&"CommentBlock"!==e.type&&"CommentLine"!==e.type&&"Line"!==e.type&&"Block"!==e.type&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type},printComment:Aw,isBlockComment:Nb,handleComments:{ownLine:ac.handleOwnLineComment,endOfLine:ac.handleEndOfLineComment,remaining:ac.handleRemainingComment},getGapRegex:ac.getGapRegex,getCommentChildNodes:ac.getCommentChildNodes};const{builders:{concat:Nw,hardline:Fw,indent:Iw,join:Rw}}=cn,Pw=new Set(["start","end","extra","loc","comments","errors","range"]);function Lw(e,t){const{type:n}=e;return"Identifier"===n?{type:"StringLiteral",value:e.name}:"UnaryExpression"===n&&"+"===e.operator?t.argument:void 0}Lw.ignoredProperties=Pw;var Bw={preprocess:Kh,print:function(e,t,n){const r=e.getValue();switch(r.type){case"JsonRoot":return Nw([e.call(n,"node"),Fw]);case"ArrayExpression":return 0===r.elements.length?"[]":Nw(["[",Iw(Nw([Fw,Rw(Nw([",",Fw]),e.map(n,"elements"))])),Fw,"]"]);case"ObjectExpression":return 0===r.properties.length?"{}":Nw(["{",Iw(Nw([Fw,Rw(Nw([",",Fw]),e.map(n,"properties"))])),Fw,"}"]);case"ObjectProperty":return Nw([e.call(n,"key"),": ",e.call(n,"value")]);case"UnaryExpression":return Nw(["+"===r.operator?"":r.operator,e.call(n,"argument")]);case"NullLiteral":return"null";case"BooleanLiteral":return r.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(r.value);case"Identifier":return JSON.stringify(r.name);default:throw new Error("unknown type: "+JSON.stringify(r.type))}},massageAstNode:Lw};const jw="Common";var $w={bracketSpacing:{since:"0.0.0",category:jw,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:jw,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:jw,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]}};const Uw="JavaScript";var qw={arrowParens:{since:"1.9.0",category:Uw,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSpacing:$w.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:Uw,type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:Uw,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:$w.singleQuote,jsxSingleQuote:{since:"1.15.0",category:Uw,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:Uw,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:Uw,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]}},Hw={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183},zw={name:"JSX",type:"programming",group:"JavaScript",extensions:[".jsx"],tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178},Vw={name:"TypeScript",type:"programming",color:"#2b7489",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},Ww={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},Gw={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","composer.lock","mcmod.info"],languageId:174},Kw={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423},Xw={name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},Yw={languages:[Nu(Hw,e=>({since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],extensions:[...e.extensions,".wxs"]})),Nu(Hw,()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),Nu(zw,()=>({since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"]})),Nu(Vw,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),Nu(Ww,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),Nu(Gw,()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]})),Nu(Gw,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],filenames:[...e.filenames,".prettierrc"],extensions:e.extensions.filter(e=>".jsonl"!==e)})),Nu(Kw,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc"]})),Nu(Xw,()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],options:qw,printers:{estree:Ow,"estree-json":Bw},parsers:{get babel(){return{}.parsers.babel},get"babel-flow"(){return{}.parsers["babel-flow"]},get"babel-ts"(){return{}.parsers["babel-ts"]},get json(){return{}.parsers.json},get json5(){return{}.parsers.json5},get"json-stringify"(){return{}.parsers["json-stringify"]},get __js_expression(){return{}.parsers.__js_expression},get __vue_expression(){return{}.parsers.__vue_expression},get __vue_event_binding(){return{}.parsers.__vue_event_binding},get flow(){return{}.parsers.flow},get typescript(){return{}.parsers.typescript},get __ng_action(){return{}.parsers.__ng_action},get __ng_binding(){return{}.parsers.__ng_binding},get __ng_interpolation(){return{}.parsers.__ng_interpolation},get __ng_directive(){return{}.parsers.__ng_directive},get espree(){return{}.parsers.espree},get meriyah(){return{}.parsers.meriyah}}};const{isFrontMatterNode:Jw}=Pt,Zw=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function Qw(e,t,n){if(Jw(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&0!==n.nodes.length){if((n.nodes[0]===e||Jw(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text)))return null;if("css-root"===n.type&&le(n.nodes)===e)return null}if("value-root"===e.type&&delete t.text,"media-query"!==e.type&&"media-query-list"!==e.type&&"media-feature-expression"!==e.type||delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),"css-atrule"!==e.type&&"css-import"!==e.type||(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),"media-feature"!==e.type&&"media-keyword"!==e.type&&"media-type"!==e.type&&"media-unknown"!==e.type&&"media-url"!==e.type&&"media-value"!==e.type&&"selector-attribute"!==e.type&&"selector-string"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"value-string"!==e.type||!t.value||(t.value=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),"media-value"!==e.type&&"media-type"!==e.type&&"value-number"!==e.type&&"selector-root-invalid"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"selector-tag"!==e.type||!t.value||(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(e,t,n)=>{const r=Number(t);return isNaN(r)?e:r+n.toLowerCase()})),"selector-tag"===e.type){const n=e.value.toLowerCase();["from","to"].includes(n)&&(t.value=n)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value}Qw.ignoredProperties=Zw;var eD=Qw;const{builders:{hardline:tD,concat:nD,markAsRoot:rD}}=cn,iD={"---":"yaml","+++":"toml"};var oD={parse:function(e){const t=Object.keys(iD).map(ue).join("|"),n=e.match(new RegExp("^(".concat(t,")([^\\n]*)\\n(?:([\\s\\S]*?)\\n)?\\1[^\\n\\S]*(\\n|$)")));if(null===n)return{frontMatter:null,content:e};const[r,i,o,s]=n;let a=iD[i];return"toml"!==a&&o&&o.trim()&&(a=o.trim()),{frontMatter:{type:"front-matter",lang:a,value:s,raw:r.replace(/\n$/,"")},content:r.replace(/[^\n]/g," ")+e.slice(r.length)}},print:function(e,t){if("yaml"===e.lang){const n=e.value.trim(),r=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return rD(nD(["---",tD,r,r?tD:"","---"]))}}};const{builders:{hardline:sD,concat:aD}}=cn,{print:uD}=oD;var lD=function(e,t,n){const r=e.getValue();if("front-matter"===r.type){const e=uD(r,n);return e?aD([e,sD]):""}};const{parse:cD}=oD;var hD={hasPragma:function(e){return Sh.hasPragma(cD(e).content)},insertPragma:function(e){const{frontMatter:t,content:n}=cD(e);return(t?t.raw+"\n\n":"")+Sh.insertPragma(n)}};const fD=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function dD(e,t){const n=[].concat(t);let r,i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function pD(e,t){const n=dD(e,t);return-1===n?null:e.getParentNode(n)}function mD(e){return"value-operator"===e.type&&"*"===e.value}function gD(e){return"value-operator"===e.type&&"/"===e.value}function vD(e){return"value-operator"===e.type&&"+"===e.value}function yD(e){return"value-operator"===e.type&&"-"===e.value}function bD(e){return"value-operator"===e.type&&"%"===e.value}function wD(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function DD(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&wD(e.groups[0])}var ED={getAncestorCounter:dD,getAncestorNode:pD,getPropOfDeclNode:function(e){const t=pD(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function(e){if(e&&e.length)for(let t=e.length-1;t>0;t--)if("word"===e[t].type&&"{"===e[t].value&&"word"===e[t-1].type&&e[t-1].value.endsWith("#"))return!0;return!1},hasStringOrFunction:function(e){if(e&&e.length)for(let t=0;t","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return"value-word"===e.type&&["==","!="].includes(e.value)},isMultiplicationNode:mD,isDivisionNode:gD,isAdditionNode:vD,isSubtractionNode:yD,isModuloNode:bD,isMathOperatorNode:function(e){return mD(e)||gD(e)||vD(e)||yD(e)||bD(e)},isEachKeywordNode:function(e){return"value-word"===e.type&&"in"===e.value},isForKeywordNode:function(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)},isURLFunctionNode:function(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},isIfElseKeywordNode:function(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)},hasComposesNode:function(e){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function(e){return e.value&&e.value.group&&e.value.group.group&&"value-paren_group"===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close},hasEmptyRawBefore:function(e){return e.raws&&""===e.raws.before},isSCSSNestedPropertyNode:function(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*?\n/,"").trim().endsWith(":")},isDetachedRulesetCallNode:function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},isTemplatePlaceholderNode:function(e){return e.name.startsWith("prettier-placeholder")},isTemplatePropNode:function(e){return e.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function(e,t){return"$$"===e.value&&"value-func"===e.type&&t&&"value-word"===t.type&&!t.raws.before},isKeyValuePairNode:wD,isKeyValuePairInParenGroupNode:DD,isSCSSMapItemNode:function(e){const t=e.getValue();if(0===t.groups.length)return!1;const n=e.getParentNode(1);if(!(DD(t)||n&&DD(n)))return!1;const r=pD(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||!!DD(n)||"value-func"===n.type},isInlineValueCommentNode:function(e){return"value-comment"===e.type&&e.inline},isHashNode:function(e){return"value-word"===e.type&&"#"===e.value},isLeftCurlyBraceNode:function(e){return"value-word"===e.type&&"{"===e.value},isRightCurlyBraceNode:function(e){return"value-word"===e.type&&"}"===e.value},isWordNode:function(e){return["value-word","value-atword"].includes(e.type)},isColonNode:function(e){return"value-colon"===e.type},isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&fD.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},stringifyNode:function e(t){if(t.groups)return(t.open&&t.open.value?t.open.value:"")+t.groups.reduce((n,r,i)=>n+e(r)+("comma_group"===t.groups[0].type&&i!==t.groups.length-1?",":""),"")+(t.close&&t.close.value?t.close.value:"");const n=t.raws&&t.raws.before?t.raws.before:"",r=t.raws&&t.raws.quote?t.raws.quote:"";return n+r+("atword"===t.type?"@":"")+(t.value?t.value:"")+r+(t.unit?t.unit:"")+(t.group?e(t.group):"")+(t.raws&&t.raws.after?t.raws.after:"")},isAtWordPlaceholderNode:function(e){return e&&"value-atword"===e.type&&e.value.startsWith("prettier-placeholder-")}},xD=function(e,t){let n=0;for(let r=0;r{const s=r.nodes[o-1];if(s&&"css-comment"===s.type&&"prettier-ignore"===s.text.trim()){const n=e.getValue();i.push(t.originalText.slice(jE(n),$E(n)))}else i.push(e.call(n));o!==r.nodes.length-1&&("css-comment"===r.nodes[o+1].type&&!FD(t.originalText,jE(r.nodes[o+1]),{backwards:!0})&&!ID(r.nodes[o])||"css-atrule"===r.nodes[o+1].type&&"else"===r.nodes[o+1].name&&"css-comment"!==r.nodes[o].type?i.push(" "):(i.push(t.__isHTMLStyleAttribute?BD:jD),RD(t.originalText,e.getValue(),$E)&&!ID(r.nodes[o])&&i.push(jD)))},"nodes"),PD(i)}const HE=/(["'])(?:(?!\1)[^\\]|\\[\S\s])*\1/g,zE=new RegExp(HE.source+"|"+"(".concat(/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source,")?")+"(".concat(/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source,")")+"(".concat(/[A-Za-z]+/g.source,")?"),"g");function VE(e,t){return e.replace(HE,e=>ND(e,t))}function WE(e,t){const n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function GE(e){return e.replace(zE,(e,t,n,r,i)=>!n&&r?KE(r)+JD(i||""):e)}function KE(e){return OD(e).replace(/\.0(?=$|e)/,"")}var XE={print:function(e,t,n){const r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.type){case"front-matter":return PD([r.raw,jD]);case"css-root":{const i=qE(e,t,n),o=r.raws.after.trim();return PD([i,o?" ".concat(o):"",i.parts.length?jD:""])}case"css-comment":{const e=r.inline||r.raws.inline,n=t.originalText.slice(jE(r),$E(r));return e?n.trimEnd():n}case"css-rule":return PD([e.call(n,"selector"),r.important?" !important":"",r.nodes?PD([r.selector&&"selector-unknown"===r.selector.type&&LE(r.selector.value)?BD:" ","{",r.nodes.length>0?HD(PD([jD,qE(e,t,n)])):"",jD,"}",uE(r)?";":""]):";"]);case"css-decl":{const i=e.getParentNode(),{between:o}=r.raws,s=o.trim(),a=":"===s;let u=wE(r)?GD(e.call(n,"value")):e.call(n,"value");return!a&&LE(s)&&(u=HD(PD([jD,zD(u)]))),PD([r.raws.before.replace(/[\s;]/g,""),QD(e)?r.prop:JD(r.prop),s.startsWith("//")?" ":"",s,r.extend?"":" ",sE(t)&&r.extend&&r.selector?PD(["extend(",e.call(n,"selector"),")"]):"",u,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?PD([" {",HD(PD([$D,qE(e,t,n)])),$D,"}"]):kE(r)&&!i.raws.semicolon&&";"!==t.originalText[$E(r)-1]?"":t.__isHTMLStyleAttribute&&oE(e,r)?VD(";",""):";"])}case"css-atrule":{const i=e.getParentNode(),o=CE(r)&&!i.raws.semicolon&&";"!==t.originalText[$E(r)-1];if(sE(t)){if(r.mixin)return PD([e.call(n,"selector"),r.important?" !important":"",o?"":";"]);if(r.function)return PD([r.name,PD([e.call(n,"params")]),o?"":";"]);if(r.variable)return PD(["@",r.name,": ",r.value?PD([e.call(n,"value")]):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?PD(["{",HD(PD([r.nodes.length>0?$D:"",qE(e,t,n)])),$D,"}"]):"",o?"":";"])}return PD(["@",_E(r)||r.name.endsWith(":")?r.name:JD(r.name),r.params?PD([_E(r)?"":CE(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?PD([jD,jD]):/^\s*\n/.test(r.raws.afterName)?jD:" ":" ",e.call(n,"params")]):"",r.selector?HD(PD([" ",e.call(n,"selector")])):"",r.value?UD(PD([" ",e.call(n,"value"),aE(r)?DE(r)?" ":BD:""])):"else"===r.name?" ":"",r.nodes?PD([aE(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&LE(r.selector.value)||!r.selector&&"string"==typeof r.params&&LE(r.params)?BD:" ","{",HD(PD([r.nodes.length>0?$D:"",qE(e,t,n)])),$D,"}"]):o?"":";"])}case"media-query-list":{const t=[];return e.each(e=>{const r=e.getValue();"media-query"===r.type&&""===r.value||t.push(e.call(n))},"nodes"),UD(HD(LD(BD,t)))}case"media-query":return PD([LD(" ",e.map(n,"nodes")),oE(e,r)?"":","]);case"media-type":return GE(VE(r.value,t));case"media-feature-expression":return r.nodes?PD(["(",PD(e.map(n,"nodes")),")"]):r.value;case"media-feature":return JD(VE(r.value.replace(/ +/g," "),t));case"media-colon":return PD([r.value," "]);case"media-value":return GE(VE(r.value,t));case"media-keyword":return VE(r.value,t);case"media-url":return VE(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return r.value;case"selector-root":return UD(PD([eE(e,"custom-selector")?PD([XD(e,"css-atrule").customSelector,BD]):"",LD(PD([",",eE(e,["extend","custom-selector","nest"])?BD:jD]),e.map(n,"nodes"))]));case"selector-selector":return UD(HD(PD(e.map(n,"nodes"))));case"selector-comment":return r.value;case"selector-string":return VE(r.value,t);case"selector-tag":{const t=e.getParentNode(),n=t&&t.nodes.indexOf(r),i=n&&t.nodes[n-1];return PD([r.namespace?PD([!0===r.namespace?"":r.namespace.trim(),"|"]):"","selector-nesting"===i.type?r.value:GE(nE(e,r.value)?r.value.toLowerCase():r.value)])}case"selector-id":return PD(["#",r.value]);case"selector-class":return PD([".",GE(VE(r.value,t))]);case"selector-attribute":return PD(["[",r.namespace?PD([!0===r.namespace?"":r.namespace.trim(),"|"]):"",r.attribute.trim(),r.operator?r.operator:"",r.value?WE(VE(r.value.trim(),t),t):"",r.insensitive?" i":"","]"]);case"selector-combinator":{if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){const t=e.getParentNode(),n="selector-selector"===t.type&&t.nodes[0]===r?"":BD;return PD([n,r.value,oE(e,r)?"":" "])}const n=r.value.trim().startsWith("(")?BD:"",i=GE(VE(r.value.trim(),t))||BD;return PD([n,i])}case"selector-universal":return PD([r.namespace?PD([!0===r.namespace?"":r.namespace.trim(),"|"]):"",r.value]);case"selector-pseudo":return PD([JD(r.value),r.nodes&&r.nodes.length>0?PD(["(",LD(", ",e.map(n,"nodes")),")"]):""]);case"selector-nesting":return r.value;case"selector-unknown":{const n=XD(e,"css-rule");if(n&&n.isSCSSNesterProperty)return GE(VE(JD(r.value),t));const i=e.getParentNode();if(i.raws&&i.raws.selector){const e=jE(i),n=e+i.raws.selector.length;return t.originalText.slice(e,n).trim()}const o=e.getParentNode(1);if("value-paren_group"===i.type&&o&&"value-func"===o.type&&"selector"===o.value){const e=jE(i.open)+1,n=$E(i.close)-1,r=t.originalText.slice(e,n).trim();return LE(r)?PD([WD,r]):r}return r.value}case"value-value":case"value-root":return e.call(n,"group");case"value-comment":return t.originalText.slice(jE(r),$E(r));case"value-comma_group":{const t=e.getParentNode(),i=e.getParentNode(1),o=YD(e),s=o&&"value-value"===t.type&&("grid"===o||o.startsWith("grid-template")),a=XD(e,"css-atrule"),u=a&&aE(a),l=e.map(n,"groups"),c=[],h=ZD(e,"url");let f=!1,d=!1;for(let n=0;n0&&"value-comma_group"===r.groups[0].type&&r.groups[0].groups.length>0&&"value-word"===r.groups[0].groups[0].type&&r.groups[0].groups[0].value.startsWith("data:")))return PD([r.open?e.call(n,"open"):"",LD(",",e.map(n,"groups")),r.close?e.call(n,"close"):""]);if(!r.open){const t=e.map(n,"groups"),r=[];for(let e=0;e{const t=e.getValue(),r=n(e);return xE(t)&&"value-comma_group"===t.type&&t.groups&&t.groups[2]&&"value-paren_group"===t.groups[2].type?(r.contents.contents.parts[1]=UD(r.contents.contents.parts[1]),UD(zD(r))):r},"groups"))])),VD(!a&&iE(t.parser,t.originalText)&&o&&UE(t)?",":""),$D,r.close?e.call(n,"close"):""]),{shouldBreak:o})}case"value-func":return PD([r.value,eE(e,"supports")&&RE(r)?" ":"",e.call(n,"group")]);case"value-paren":return r.value;case"value-number":return PD([KE(r.value),JD(r.unit)]);case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||rE(r.value)?r.value.toLowerCase():r.value;case"value-colon":{const t=e.getParentNode(),n=t&&t.groups.indexOf(r),i=n&&t.groups[n-1];return PD([r.value,i&&"\\"===i.value[i.value.length-1]||ZD(e,"url")?"":BD])}case"value-comma":return PD([r.value," "]);case"value-string":return ND(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return PD(["@",r.value]);case"value-unicode-range":case"value-unknown":return r.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(r.type)))}},embed:lD,insertPragma:KD,massageAstNode:eD},YE={singleQuote:$w.singleQuote},JE={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},ZE={name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},QE={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329},ex={languages:[Nu({name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50},e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]})),Nu(JE,()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),Nu(ZE,()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),Nu(QE,()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],options:YE,printers:{postcss:XE},parsers:{get css(){return{}.parsers.css},get less(){return{}.parsers.less},get scss(){return{}.parsers.scss}}},tx={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}};function nx(e,t){if("TextNode"===e.type){const n=e.chars.trim();if(!n)return null;t.chars=n}}nx.ignoredProperties=new Set(["loc","selfClosing"]);var rx=nx;const ix=new Set(["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]);function ox(e){return sx(e,["TextNode"])&&!/\S/.test(e.chars)}function sx(e,t){return e&&t.some(t=>e.type===t)}function ax(e,t){const n=e.getValue(),r=e.getParentNode(0)||{},i=r.children||r.body||r.parts||[],o=i.indexOf(n);return-1!==o&&i[o+t]}function ux(e,t=1){return ax(e,-t)}function lx(e){return ax(e,1)}function cx(e){return sx(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}var hx={getNextNode:lx,getPreviousNode:ux,hasPrettierIgnore:function(e){const t=e.getValue(),n=ux(e,2);return cx(t)||cx(n)},isNextNodeOfSomeType:function(e,t){return sx(lx(e),t)},isNodeOfSomeType:sx,isParentOfSomeType:function(e,t){return sx(e.getParentNode(0),t)},isPreviousNodeOfSomeType:function(e,t){return sx(ux(e),t)},isVoid:function(e){return function(e){return sx(e,["ElementNode"])&&"string"==typeof e.tag&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every(e=>ox(e))||ix.has(e.tag)},isWhitespaceNode:ox};const{builders:{concat:fx,group:dx,hardline:px,ifBreak:mx,indent:gx,join:vx,line:yx,softline:bx}}=cn,{locStart:wx,locEnd:Dx}=tx,{getNextNode:Ex,getPreviousNode:xx,hasPrettierIgnore:_x,isNextNodeOfSomeType:Cx,isNodeOfSomeType:kx,isParentOfSomeType:Sx,isPreviousNodeOfSomeType:Ax,isVoid:Tx,isWhitespaceNode:Mx}=hx;function Ox(e,t){const n=e.getValue();return fx(["<",n.tag,Nx(e,t),i_(n),Ix(n)])}function Nx(e,t){const n=e.getValue();return gx(fx([n.attributes.length?yx:"",vx(yx,e.map(t,"attributes")),n.modifiers.length?yx:"",vx(yx,e.map(t,"modifiers")),n.comments.length?yx:"",vx(yx,e.map(t,"comments"))]))}function Fx(e,t,n){return fx(e.map((e,r)=>0===r?fx([bx,n(e,t,n)]):n(e,t,n),"children"))}function Ix(e){return Tx(e)?mx(fx([bx,"/>"]),fx([" />",bx])):mx(fx([bx,">"]),">")}function Rx(e){const t=!1===e.escaped?"{{{":"{{",n=e.strip&&e.strip.open?"~":"";return fx([t,n])}function Px(e){const t=!1===e.escaped?"}}}":"}}",n=e.strip&&e.strip.close?"~":"";return fx([n,t])}function Lx(e){const t=Rx(e),n=e.openStrip.open?"~":"";return fx([t,n,"#"])}function Bx(e){const t=Px(e),n=e.openStrip.close?"~":"";return fx([n,t])}function jx(e){const t=Rx(e),n=e.closeStrip.open?"~":"";return fx([t,n,"/"])}function $x(e){const t=Px(e),n=e.closeStrip.close?"~":"";return fx([n,t])}function Ux(e){const t=Rx(e),n=e.inverseStrip.open?"~":"";return fx([t,n])}function qx(e){const t=Px(e),n=e.inverseStrip.close?"~":"";return fx([n,t])}function Hx(e,t){const n=e.getValue();return dx(fx([Lx(n),t_(e,t),i_(n.program),bx,Bx(n)]))}function zx(e){return fx([px,Ux(e),"else",qx(e)])}function Vx(e,t){const n=e.getParentNode(1);return fx([Ux(n),"else ",t_(e,t),qx(n)])}function Wx(e,t){const n=e.getValue();return fx([Gx(n)?bx:px,jx(n),e.call(t,"path"),$x(n)])}function Gx(e){return kx(e,["BlockStatement"])&&e.program.body.every(e=>Mx(e))}function Kx(e){return kx(e,["BlockStatement"])&&e.inverse}function Xx(e,t){if(Gx(e.getValue()))return"";const n=e.call(t,"program");return gx(fx([px,n]))}function Yx(e,t){const n=e.getValue(),r=e.call(t,"inverse"),i=fx([px,r]);return function(e){return Kx(e)&&1===e.inverse.body.length&&kx(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}(n)?i:Kx(n)?fx([zx(n),gx(i)]):""}function Jx(e){return(e="string"==typeof e?e:"").split("\n").length-1}function Zx(e=0,t=0){return new Array(Math.min(e,t)).fill(px)}function Qx(e,t){const n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},i=t.singleQuote?r:n,o=i===r?n:r;let s=!1;(e.includes(i.quote)||e.includes(o.quote))&&(s=(e.match(i.regex)||[]).length>(e.match(o.regex)||[]).length);const a=s?o:i,u=e.replace(a.regex,"\\".concat(a.quote));return fx([a.quote,u,a.quote])}function e_(e,t){const n=n_(e,t),r=r_(e,t);return r?gx(fx([n,yx,dx(r)])):n}function t_(e,t){const n=n_(e,t),r=r_(e,t);return r?gx(dx(fx([n,yx,r]))):n}function n_(e,t){return e.call(t,"path")}function r_(e,t){const n=e.getValue(),r=[];if(n.params.length){const n=e.map(t,"params");r.push(...n)}if(n.hash&&n.hash.pairs.length>0){const n=e.call(t,"hash");r.push(n)}return r.length?vx(yx,r):""}function i_(e){return e&&e.blockParams.length?fx([" as |",e.blockParams.join(" "),"|"]):""}var o_={print:function(e,t,n){const r=e.getValue();if(!r)return"";if(_x(e))return t.originalText.slice(wx(r),Dx(r));switch(r.type){case"Block":case"Program":case"Template":return dx(fx(e.map(n,"body")));case"ElementNode":{const i=Cx(e,["ElementNode"])?px:"";if(Tx(r))return fx([dx(Ox(e,n)),i]);const o=r.children.every(e=>Mx(e));return fx([dx(Ox(e,n)),dx(fx([o?"":gx(Fx(e,t,n)),r.children.length?px:"",fx([""])])),i])}case"BlockStatement":{const t=e.getParentNode(1),i=t&&t.inverse&&1===t.inverse.body.length&&t.inverse.body[0]===r&&"if"===t.inverse.body[0].path.parts[0];return fx(i?[Vx(e,n),Xx(e,n),Yx(e,n)]:[Hx(e,n),dx(fx([Xx(e,n),Yx(e,n),Wx(e,n)]))])}case"ElementModifierStatement":return dx(fx(["{{",t_(e,n),bx,"}}"]));case"MustacheStatement":{const t=Sx(e,["AttrNode","ConcatStatement"]),i=Sx(e,["ElementNode"])&&0===r.hash.pairs.length&&function(e){return 0===e.params.length}(r),o=t||i;return dx(fx([Rx(r),o?gx(bx):"",t_(e,n),bx,Px(r)]))}case"SubExpression":return dx(fx(["(",e_(e,n),bx,")"]));case"AttrNode":{const i="TextNode"===r.value.type;if(i&&""===r.value.chars&&wx(r.value)===Dx(r.value))return fx([r.name]);const o=e.call(n,"value"),s=i?Qx(o.parts.join(),t):o;return fx([r.name,"=",s])}case"ConcatStatement":{const r=t.singleQuote?"'":'"';return fx([r,...e.map(e=>n(e),"parts"),r])}case"Hash":return fx([vx(yx,e.map(n,"pairs"))]);case"HashPair":return fx([r.key,"=",e.call(n,"value")]);case"TextNode":{const t=2,n=!xx(e),i=!Ex(e),o=!/\S/.test(r.chars),s=Jx(r.chars);let a=function(e){return Jx(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(r.chars),u=function(e){return Jx(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(r.chars);if((n||i)&&o&&Sx(e,["Block","ElementNode","Template"]))return"";if(o&&s?(a=Math.min(s,t),u=0):(Cx(e,["BlockStatement","ElementNode"])&&(u=Math.max(u,1)),Ax(e,["BlockStatement","ElementNode"])&&(a=Math.max(a,1))),e.stack.includes("attributes")){if(!function(e,t){return Sx(e,["AttrNode"])&&e.getParentNode().name.toLowerCase()===t||Sx(e,["ConcatStatement"])&&e.getParentNode(1).name.toLowerCase()===t}(e,"class"))return fx([r.chars]);let n="",i="";return Sx(e,["ConcatStatement"])&&(Ax(e,["MustacheStatement"])&&(n=" "),Cx(e,["MustacheStatement"])&&(i=" ")),fx([...Zx(a,t),r.chars.replace(/^\s+/g,n).replace(/\s+$/,i),...Zx(u,t)])}let l="",c="";0===u&&Cx(e,["MustacheStatement"])&&(c=" "),0===a&&Ax(e,["MustacheStatement"])&&(l=" "),n&&(a=0,l=""),i&&(u=0,c="");let h=r.chars;return h.startsWith("{{")&&h.includes("}}")&&(h="\\"+h),fx([...Zx(a,t),h.replace(/^\s+/g,l).replace(/\s+$/,c),...Zx(u,t)])}case"MustacheCommentStatement":{const e=r.value.includes("}}")?"--":"";return fx(["{{!",e,r.value,e,"}}"])}case"PathExpression":return r.original;case"BooleanLiteral":return String(r.value);case"CommentStatement":return fx(["\x3c!--",r.value,"--\x3e"]);case"StringLiteral":return Qx(r.value,t);case"NumberLiteral":return String(r.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:rx},s_={languages:[Nu({name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},()=>({since:null,parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],printers:{glimmer:o_},parsers:{get glimmer(){return{}.parsers.glimmer}}},a_={hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}},u_={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}};const{builders:{concat:l_,join:c_,hardline:h_,line:f_,softline:d_,group:p_,indent:m_,ifBreak:g_}}=cn,{isNextLineEmpty:v_}=Pt,{insertPragma:y_}=a_,{locStart:b_,locEnd:w_}=u_;function D_(e,t,n){if(0===n.directives.length)return"";const r=c_(f_,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?p_(l_([f_,r])):l_([" ",p_(m_(l_([d_,r])))])}function E_(e,t,n){const r=e.getValue().length;return e.map((e,i)=>{const o=n(e);return v_(t.originalText,e.getValue(),w_)&&in(e),"interfaces");for(let a=0;a{i.push(l_([e.call(n)])),o!==r.definitions.length-1&&(i.push(h_),v_(t.originalText,e.getValue(),w_)&&i.push(h_))},"definitions"),l_([l_(i),h_])}case"OperationDefinition":{const i="{"!==t.originalText[b_(r)],o=!!r.name;return l_([i?r.operation:"",i&&o?l_([" ",e.call(n,"name")]):"",r.variableDefinitions&&r.variableDefinitions.length?p_(l_(["(",m_(l_([d_,c_(l_([g_("",", "),d_]),e.map(n,"variableDefinitions"))])),d_,")"])):"",D_(e,n,r),r.selectionSet&&(i||o)?" ":"",e.call(n,"selectionSet")])}case"FragmentDefinition":return l_(["fragment ",e.call(n,"name"),r.variableDefinitions&&r.variableDefinitions.length?p_(l_(["(",m_(l_([d_,c_(l_([g_("",", "),d_]),e.map(n,"variableDefinitions"))])),d_,")"])):""," on ",e.call(n,"typeCondition"),D_(e,n,r)," ",e.call(n,"selectionSet")]);case"SelectionSet":return l_(["{",m_(l_([h_,c_(h_,e.call(e=>E_(e,t,n),"selections"))])),h_,"}"]);case"Field":return p_(l_([r.alias?l_([e.call(n,"alias"),": "]):"",e.call(n,"name"),r.arguments.length>0?p_(l_(["(",m_(l_([d_,c_(l_([g_("",", "),d_]),e.call(e=>E_(e,t,n),"arguments"))])),d_,")"])):"",D_(e,n,r),r.selectionSet?" ":"",e.call(n,"selectionSet")]));case"Name":return r.value;case"StringValue":return r.block?l_(['"""',h_,c_(h_,r.value.replace(/"""/g,"\\$&").split("\n")),h_,'"""']):l_(['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']);case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return l_(["$",e.call(n,"name")]);case"ListValue":return p_(l_(["[",m_(l_([d_,c_(l_([g_("",", "),d_]),e.map(n,"values"))])),d_,"]"]));case"ObjectValue":return p_(l_(["{",t.bracketSpacing&&r.fields.length>0?" ":"",m_(l_([d_,c_(l_([g_("",", "),d_]),e.map(n,"fields"))])),d_,g_("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]));case"ObjectField":case"Argument":return l_([e.call(n,"name"),": ",e.call(n,"value")]);case"Directive":return l_(["@",e.call(n,"name"),r.arguments.length>0?p_(l_(["(",m_(l_([d_,c_(l_([g_("",", "),d_]),e.call(e=>E_(e,t,n),"arguments"))])),d_,")"])):""]);case"NamedType":return e.call(n,"name");case"VariableDefinition":return l_([e.call(n,"variable"),": ",e.call(n,"type"),r.defaultValue?l_([" = ",e.call(n,"defaultValue")]):"",D_(e,n,r)]);case"ObjectTypeExtension":case"ObjectTypeDefinition":return l_([e.call(n,"description"),r.description?h_:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",e.call(n,"name"),r.interfaces.length>0?l_([" implements ",l_(x_(e,t,n))]):"",D_(e,n,r),r.fields.length>0?l_([" {",m_(l_([h_,c_(h_,e.call(e=>E_(e,t,n),"fields"))])),h_,"}"]):""]);case"FieldDefinition":return l_([e.call(n,"description"),r.description?h_:"",e.call(n,"name"),r.arguments.length>0?p_(l_(["(",m_(l_([d_,c_(l_([g_("",", "),d_]),e.call(e=>E_(e,t,n),"arguments"))])),d_,")"])):"",": ",e.call(n,"type"),D_(e,n,r)]);case"DirectiveDefinition":return l_([e.call(n,"description"),r.description?h_:"","directive ","@",e.call(n,"name"),r.arguments.length>0?p_(l_(["(",m_(l_([d_,c_(l_([g_("",", "),d_]),e.call(e=>E_(e,t,n),"arguments"))])),d_,")"])):"",r.repeatable?" repeatable":"",l_([" on ",c_(" | ",e.map(n,"locations"))])]);case"EnumTypeExtension":case"EnumTypeDefinition":return l_([e.call(n,"description"),r.description?h_:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",e.call(n,"name"),D_(e,n,r),r.values.length>0?l_([" {",m_(l_([h_,c_(h_,e.call(e=>E_(e,t,n),"values"))])),h_,"}"]):""]);case"EnumValueDefinition":return l_([e.call(n,"description"),r.description?h_:"",e.call(n,"name"),D_(e,n,r)]);case"InputValueDefinition":return l_([e.call(n,"description"),r.description?r.description.block?h_:f_:"",e.call(n,"name"),": ",e.call(n,"type"),r.defaultValue?l_([" = ",e.call(n,"defaultValue")]):"",D_(e,n,r)]);case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return l_([e.call(n,"description"),r.description?h_:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",e.call(n,"name"),D_(e,n,r),r.fields.length>0?l_([" {",m_(l_([h_,c_(h_,e.call(e=>E_(e,t,n),"fields"))])),h_,"}"]):""]);case"SchemaDefinition":return l_(["schema",D_(e,n,r)," {",r.operationTypes.length>0?m_(l_([h_,c_(h_,e.call(e=>E_(e,t,n),"operationTypes"))])):"",h_,"}"]);case"OperationTypeDefinition":return l_([e.call(n,"operation"),": ",e.call(n,"type")]);case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return l_([e.call(n,"description"),r.description?h_:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",e.call(n,"name"),r.interfaces.length>0?l_([" implements ",l_(x_(e,t,n))]):"",D_(e,n,r),r.fields.length>0?l_([" {",m_(l_([h_,c_(h_,e.call(e=>E_(e,t,n),"fields"))])),h_,"}"]):""]);case"FragmentSpread":return l_(["...",e.call(n,"name"),D_(e,n,r)]);case"InlineFragment":return l_(["...",r.typeCondition?l_([" on ",e.call(n,"typeCondition")]):"",D_(e,n,r)," ",e.call(n,"selectionSet")]);case"UnionTypeExtension":case"UnionTypeDefinition":return p_(l_([e.call(n,"description"),r.description?h_:"",p_(l_(["UnionTypeExtension"===r.kind?"extend ":"","union ",e.call(n,"name"),D_(e,n,r),r.types.length>0?l_([" =",g_(""," "),m_(l_([g_(l_([f_," "])),c_(l_([f_,"| "]),e.map(n,"types"))]))]):""]))]));case"ScalarTypeExtension":case"ScalarTypeDefinition":return l_([e.call(n,"description"),r.description?h_:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",e.call(n,"name"),D_(e,n,r)]);case"NonNullType":return l_([e.call(n,"type"),"!"]);case"ListType":return l_(["[",e.call(n,"type"),"]"]);default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind))}},massageAstNode:__,hasPrettierIgnore:function(e){const t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some(e=>"prettier-ignore"===e.value.trim())},insertPragma:y_,printComment:function(e){const t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}},k_={bracketSpacing:$w.bracketSpacing},S_={languages:[Nu({name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139},()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],options:k_,printers:{graphql:C_},parsers:{get graphql(){return{}.parsers.graphql}}},A_={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};const{getLast:T_}=Pt,{locStart:M_,locEnd:O_}=A_,{cjkPattern:N_,kPattern:F_,punctuationPattern:I_}={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u3000-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"},R_=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],P_=R_.concat(["tableCell","paragraph","heading"]),L_=new RegExp(F_),B_=new RegExp(I_);function j_(e,t){const[,n,r,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:r,leadingSpaces:i}}var $_={mapAst:function(e,t){return function e(n,r,i){i=i||[];const o=Object.assign({},t(n,r,i));return o.children&&(o.children=o.children.map((t,n)=>e(t,n,[o].concat(i)))),o}(e,null,null)},splitText:function(e,t){const n="non-cjk",r="cj-letter",i="cjk-punctuation",o=[];return("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(N_,")\n(").concat(N_,")"),"g"),"$1$2")).split(/([\t\n ]+)/).forEach((e,t,a)=>{t%2!=1?(0!==t&&t!==a.length-1||""!==e)&&e.split(new RegExp("(".concat(N_,")"))).forEach((e,t,o)=>{(0!==t&&t!==o.length-1||""!==e)&&(t%2!=0?s(B_.test(e)?{type:"word",value:e,kind:i,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:e,kind:L_.test(e)?"k-letter":r,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==e&&s({type:"word",value:e,kind:n,hasLeadingPunctuation:B_.test(e[0]),hasTrailingPunctuation:B_.test(T_(e))}))}):o.push({type:"whitespace",value:/\n/.test(e)?"\n":" "})}),o;function s(e){const t=T_(o);var s,a;t&&"word"===t.type&&(t.kind===n&&e.kind===r&&!t.hasTrailingPunctuation||t.kind===r&&e.kind===n&&!e.hasLeadingPunctuation?o.push({type:"whitespace",value:" "}):(s=n,a=i,t.kind===s&&e.kind===a||t.kind===a&&e.kind===s||[t.value,e.value].some(e=>/\u3000/.test(e))||o.push({type:"whitespace",value:""}))),o.push(e)}},punctuationPattern:I_,getFencedCodeBlockValue:function(e,t){const{value:n}=e;return e.position.end.offset===t.length&&n.endsWith("\n")&&t.endsWith("\n")?n.slice(0,-1):n},getOrderedListItemInfo:j_,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;const n=Number(j_(e.children[0],t.originalText).numberText),r=Number(j_(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){const n=Number(j_(e.children[2],t.originalText).numberText);return 1===r&&1===n}return 1===r},INLINE_NODE_TYPES:R_,INLINE_NODE_WRAPPER_TYPES:P_,isAutolink:function(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;const t=e.children[0];return t&&M_(e)===M_(t)&&O_(e)===O_(t)}};const{inferParserByLanguage:U_,getMaxContinuousCount:q_}=Pt,{builders:{hardline:H_,concat:z_,markAsRoot:V_},utils:{replaceNewlinesWithLiterallines:W_}}=cn,{print:G_}=oD,{getFencedCodeBlockValue:K_}=$_;var X_=function(e,t,n,r){const i=e.getValue();if("code"===i.type&&null!==i.lang){const e=U_(i.lang,r);if(e){const t=r.__inJsTemplate?"~":"`",o=t.repeat(Math.max(3,q_(i.value,t)+1)),s=n(K_(i,r.originalText),{parser:e},{stripTrailingHardline:!0});return V_(z_([o,i.lang,i.meta?" "+i.meta:"",H_,W_(s),H_,o]))}}switch(i.type){case"front-matter":return G_(i,n);case"importExport":return z_([n(i.value,{parser:"babel"},{stripTrailingHardline:!0}),H_]);case"jsx":return n("<$>".concat(i.value,""),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null};const{parse:Y_}=oD,J_=["format","prettier"];function Z_(e){const t="@(".concat(J_.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),r=e.match(n);return r&&0===r.index}var Q_={startWithPragma:Z_,hasPragma:e=>Z_(Y_(e).content.trimStart()),insertPragma:e=>{const t=Y_(e),n="\x3c!-- @".concat(J_[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(n,"\n\n").concat(t.content):"".concat(n,"\n\n").concat(t.content)}};const{getOrderedListItemInfo:eC,mapAst:tC,splitText:nC}=$_,rC=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function iC(e,t,n){return tC(e,e=>{if(!e.children)return e;const r=e.children.reduce((e,r)=>{const i=e[e.length-1];return i&&t(i,r)?e.splice(-1,1,n(i,r)):e.push(r),e},[]);return Object.assign({},e,{children:r})})}var oC=function(e,t){return function(e){return iC(e,(e,t)=>"importExport"===e.type&&"importExport"===t.type,(e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}))}(e=function(e){return tC(e,e=>"import"!==e.type&&"export"!==e.type?e:Object.assign({},e,{type:"importExport"}))}(e=function(e,t){return tC(e,(e,n,[r])=>{if("text"!==e.type)return e;let{value:i}=e;return"paragraph"===r.type&&(0===n&&(i=i.trimStart()),n===r.children.length-1&&(i=i.trimEnd())),{type:"sentence",position:e.position,children:nC(i,t)}})}(e=function(e,t){return tC(e,(e,t,n)=>{if("list"===e.type&&0!==e.children.length){for(let t=0;t1)return!0;const o=n(r);return-1!==o&&(1===e.children.length?o%t.tabWidth==0:o===n(i)&&(o%t.tabWidth==0||eC(i,t.originalText).leadingSpaces.length>1))}}(e=function(e,t){return tC(e,(e,n,r)=>{if("code"===e.type){const n=/^\n?( {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=n,n)for(let e=0;e"inlineCode"!==e.type?e:Object.assign({},e,{value:e.value.replace(/\s+/g," ")}))}(e=function(e){return iC(e,(e,t)=>"text"===e.type&&"text"===t.type,(e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}}))}(e=function(e,t){return tC(e,e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&rC.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign({},e,{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e)}(e,t))),t),t),t)))};const{isFrontMatterNode:sC}=Pt,{startWithPragma:aC}=Q_,uC=new Set(["position","raw"]);function lC(e,t,n){return"front-matter"!==e.type&&"code"!==e.type&&"yaml"!==e.type&&"import"!==e.type&&"export"!==e.type&&"jsx"!==e.type||delete t.value,"list"===e.type&&delete t.isAligned,"list"!==e.type&&"listItem"!==e.type||(delete t.spread,delete t.loose),"text"===e.type?null:("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),"definition"!==e.type&&"linkReference"!==e.type||(t.label=e.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),"definition"!==e.type&&"link"!==e.type&&"image"!==e.type||!e.title||(t.title=e.title.replace(/\\(["')])/g,"$1")),n&&"root"===n.type&&n.children.length>0&&(n.children[0]===e||sC(n.children[0])&&n.children[1]===e)&&"html"===e.type&&aC(e.value)?null:void 0)}lC.ignoredProperties=uC;var cC=lC;const{getLast:hC,getMinNotPresentContinuousCount:fC,getMaxContinuousCount:dC,getStringWidth:pC}=Pt,{builders:{breakParent:mC,concat:gC,join:vC,line:yC,literalline:bC,markAsRoot:wC,hardline:DC,softline:EC,ifBreak:xC,fill:_C,align:CC,indent:kC,group:SC},utils:{normalizeDoc:AC},printer:{printDocToString:TC}}=cn,{replaceEndOfLineWith:MC}=Pt,{insertPragma:OC}=Q_,{locStart:NC,locEnd:FC}=A_,{getFencedCodeBlockValue:IC,hasGitDiffFriendlyOrderedList:RC,splitText:PC,punctuationPattern:LC,INLINE_NODE_TYPES:BC,INLINE_NODE_WRAPPER_TYPES:jC,isAutolink:$C}=$_,UC=new Set(["importExport"]),qC=["heading","tableCell","link","wikiLink"],HC=new Set(["listItem","definition","footnoteDefinition"]);function zC(e,t,n,r){const i=e.getValue(),o=null===i.checked?"":i.checked?"[x] ":"[ ] ";return gC([o,YC(e,t,n,{processor:(e,i)=>{if(0===i&&"list"!==e.getValue().type)return CC(" ".repeat(o.length),e.call(n));const s=" ".repeat((a=t.tabWidth-r.length,l=3,a<(u=0)?u:a>l?l:a));var a,u,l;return gC([s,CC(s,e.call(n))])}})])}function VC(e,t){return function(e,t,n){n=n||(()=>!0);let r=-1;for(const i of t.children)if(i.type===e.type&&n(i)?r++:r=-1,i===e)return r}(e,t,t=>t.ordered===e.ordered)}function WC(e,t){const n=[].concat(t);let r,i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function GC(e,t){const n=WC(e,t);return-1===n?null:e.getParentNode(n)}function KC(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return DC;const r="always"===n.proseWrap&&!GC(e,qC);return""!==t?r?yC:" ":r?EC:""}function XC(e,t,n){const r=[];let i=null;const{children:o}=e.getValue();return o.forEach((e,t)=>{switch(ZC(e)){case"start":null===i&&(i={index:t,offset:e.position.end.offset});break;case"end":null!==i&&(r.push({start:i,end:{index:t,offset:e.position.start.offset}}),i=null)}}),YC(e,t,n,{processor:(e,i)=>{if(0!==r.length){const e=r[0];if(i===e.start.index)return gC([o[e.start.index].value,t.originalText.slice(e.start.offset,e.end.offset),o[e.end.index].value]);if(e.start.indexe.call(n)),s=e.getValue(),a=[];let u;return e.each((e,n)=>{const r=e.getValue(),i=o(e,n);if(!1!==i){const e={parts:a,prevNode:u,parentNode:s,options:t};(function(e,t){const n=0===t.parts.length,r=BC.includes(e.type),i="html"===e.type&&jC.includes(t.parentNode.type);return n||r||i})(r,e)||(a.push(DC),u&&UC.has(u.type)||(function(e,t){const n=(t.prevNode&&t.prevNode.type)===e.type&&HC.has(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,i=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,o="next"===ZC(t.prevNode),s="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,a="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return i||!(n||r||o||s||a)}(r,e)||QC(r,e))&&a.push(DC),QC(r,e)&&a.push(DC)),a.push(i),u=r}},"children"),i(a)}function JC(e){let t=e;for(;t.children&&0!==t.children.length;)t=t.children[t.children.length-1];return t}function ZC(e){if("html"!==e.type)return!1;const t=e.value.match(/^$/);return null!==t&&(t[1]?t[1]:"next")}function QC(e,t){const n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function ek(e,t){const n=[" "].concat(t||[]);return new RegExp(n.map(e=>"\\".concat(e)).join("|")).test(e)?"<".concat(e,">"):e}function tk(e,t,n){if(null==n&&(n=!0),!e)return"";if(n)return" "+tk(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");const r=e.split("'").length-1,i=e.split('"').length-1,o=r>i?'"':i>r||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(o,")"),"g"),"\\$1"),"".concat(o).concat(e).concat(o)}var nk={preprocess:oC,print:function(e,t,n){const r=e.getValue();if(function(e){const t=GC(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return gC(PC(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map(n=>"word"===n.type?n.value:""===n.value?"":KC(e,n.value,t)));switch(r.type){case"front-matter":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"root":return 0===r.children.length?"":gC([AC(XC(e,t,n)),UC.has(JC(r).type)?"":DC]);case"paragraph":return YC(e,t,n,{postprocessor:_C});case"sentence":return YC(e,t,n);case"word":{let t=r.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(LC,")(_+)"),"(_+)(".concat(LC,"|$)")].join("|"),"g"),(e,t,n,r,i)=>(n?"".concat(t).concat(n):"".concat(r).concat(i)).replace(/_/g,"\\_"));const n=(e,t,n)=>"sentence"===e.type&&0===n,i=(e,t,n)=>$C(e.children[n-1]);return t!==r.value&&(e.match(void 0,n,i)||e.match(void 0,n,(e,t,n)=>"emphasis"===e.type&&0===n,i))&&(t=t.replace(/^(\\?[*_])+/,e=>e.replace(/\\/g,""))),t}case"whitespace":{const n=e.getParentNode(),i=n.children.indexOf(r),o=n.children[i+1],s=o&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(o.value)?"never":t.proseWrap;return KC(e,r.value,{proseWrap:s})}case"emphasis":{let i;if($C(r.children[0]))i=t.originalText[r.position.start.offset];else{const t=e.getParentNode(),n=t.children.indexOf(r),o=t.children[n-1],s=t.children[n+1];i=o&&"sentence"===o.type&&o.children.length>0&&"word"===hC(o.children).type&&!hC(o.children).hasTrailingPunctuation||s&&"sentence"===s.type&&s.children.length>0&&"word"===s.children[0].type&&!s.children[0].hasLeadingPunctuation||GC(e,"emphasis")?"*":"_"}return gC([i,YC(e,t,n),i])}case"strong":return gC(["**",YC(e,t,n),"**"]);case"delete":return gC(["~~",YC(e,t,n),"~~"]);case"inlineCode":{const e=fC(r.value,"`"),t="`".repeat(e||1),n=e&&!/^\s/.test(r.value)?" ":"";return gC([t,n,r.value,n,t])}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?r.value:r.value.replace(/[\t\n]+/g," "),gC(["[[",e,"]]"])}case"link":switch(t.originalText[r.position.start.offset]){case"<":{const e="mailto:",n=r.url.startsWith(e)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+e.length)!==e?r.url.slice(e.length):r.url;return gC(["<",n,">"])}case"[":return gC(["[",YC(e,t,n),"](",ek(r.url,")"),tk(r.title,t),")"]);default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return gC(["![",r.alt||"","](",ek(r.url,")"),tk(r.title,t),")"]);case"blockquote":return gC(["> ",CC("> ",YC(e,t,n))]);case"heading":return gC(["#".repeat(r.depth)+" ",YC(e,t,n)]);case"code":{if(r.isIndented){const e=" ".repeat(4);return CC(e,gC([e,gC(MC(r.value,DC))]))}const e=t.__inJsTemplate?"~":"`",n=e.repeat(Math.max(3,dC(r.value,e)+1));return gC([n,r.lang||"",r.meta?" "+r.meta:"",DC,gC(MC(IC(r,t.originalText),DC)),DC,n])}case"html":{const t=e.getParentNode(),n="root"===t.type&&hC(t.children)===r?r.value.trimEnd():r.value,i=/^$/.test(n);return gC(MC(n,i?DC:wC(bC)))}case"list":{const i=VC(r,e.getParentNode()),o=RC(r,t);return YC(e,t,n,{processor:(e,s)=>{const a=function(){const e=r.ordered?(0===s?r.start:o?1:r.start+s)+(i%2==0?". ":") "):i%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(e,t){const n=r();return e+" ".repeat(n>=4?0:n);function r(){const n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}}(e,t):e}(),u=e.getValue();return 2===u.children.length&&"html"===u.children[1].type&&u.children[0].position.start.column!==u.children[1].position.start.column?gC([a,zC(e,t,n,a)]):gC([a,CC(" ".repeat(a.length),zC(e,t,n,a))])}})}case"thematicBreak":{const t=WC(e,"list");return-1===t?"---":VC(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return gC(["[",YC(e,t,n),"]","full"===r.referenceType?gC(["[",r.identifier,"]"]):"collapsed"===r.referenceType?"[]":""]);case"imageReference":switch(r.referenceType){case"full":return gC(["![",r.alt||"","][",r.identifier,"]"]);default:return gC(["![",r.alt,"]","collapsed"===r.referenceType?"[]":""])}case"definition":{const e="always"===t.proseWrap?yC:" ";return SC(gC([gC(["[",r.identifier,"]:"]),kC(gC([e,ek(r.url),null===r.title?"":gC([e,tk(r.title,t,!1)])]))]))}case"footnote":return gC(["[^",YC(e,t,n),"]"]);case"footnoteReference":return gC(["[^",r.identifier,"]"]);case"footnoteDefinition":{const i=e.getParentNode().children[e.getName()+1],o=1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line);return gC(["[^",r.identifier,"]: ",o?YC(e,t,n):SC(gC([CC(" ".repeat(4),YC(e,t,n,{processor:(e,t)=>0===t?SC(gC([EC,e.call(n)])):e.call(n)})),i&&"footnoteDefinition"===i.type?EC:""]))])}case"table":return function(e,t,n){const r=DC.parts[0],i=e.getValue(),o=[],s=e.map(e=>e.map((e,r)=>{const i=TC(e.call(n),t).formatted,s=pC(i);return o[r]=Math.max(o[r]||3,s),{text:i,width:s}},"children"),"children"),a=l(!1);if("never"!==t.proseWrap)return gC([mC,a]);const u=l(!0);return gC([mC,SC(xC(u,a))]);function l(e){const t=[h(s[0],e),c(e)];return s.length>1&&t.push(vC(r,s.slice(1).map(t=>h(t,e)))),vC(r,t)}function c(e){const t=o.map((t,n)=>{const r=i.align[n],o="center"===r||"left"===r?":":"-",s="center"===r||"right"===r?":":"-",a=e?"-":"-".repeat(t-2);return"".concat(o).concat(a).concat(s)});return"| ".concat(t.join(" | ")," |")}function h(e,t){const n=e.map(({text:e,width:n},r)=>{if(t)return e;const s=o[r]-n,a=i.align[r];let u=0;"right"===a?u=s:"center"===a&&(u=Math.floor(s/2));const l=s-u;return"".concat(" ".repeat(u)).concat(e).concat(" ".repeat(l))});return"| ".concat(n.join(" | ")," |")}}(e,t,n);case"tableCell":return YC(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?gC([" ",wC(bC)]):gC(["\\",DC]);case"liquidNode":return gC(MC(r.value,DC));case"importExport":return gC([r.value,DC]);case"jsx":return r.value;case"math":return gC(["$$",DC,r.value?gC([gC(MC(r.value,DC)),DC]):"","$$"]);case"inlineMath":return t.originalText.slice(NC(r),FC(r));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:X_,massageAstNode:cC,hasPrettierIgnore:function(e){const t=+e.getName();return 0!==t&&"next"===ZC(e.getParentNode().children[t-1])},insertPragma:OC},rk={proseWrap:$w.proseWrap,singleQuote:$w.singleQuote},ik={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222},ok={languages:[Nu(ik,e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:e.filenames.concat(["README"]),extensions:e.extensions.filter(e=>".mdx"!==e)})),Nu(ik,()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],options:rk,printers:{mdast:nk},parsers:{get remark(){return{}.parsers.remark},get markdown(){return{}.parsers.remark},get mdx(){return{}.parsers.mdx}}};const{isFrontMatterNode:sk}=Pt,ak=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function uk(e,t){return"text"===e.type||"comment"===e.type||sk(e)||"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value))}uk.ignoredProperties=ak;var lk=uk,ck={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]};const{inferParserByLanguage:hk,isFrontMatterNode:fk}=Pt,{CSS_DISPLAY_TAGS:dk,CSS_DISPLAY_DEFAULT:pk,CSS_WHITE_SPACE_TAGS:mk,CSS_WHITE_SPACE_DEFAULT:gk}={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},vk=Ek(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),yk=function(e,t){const n=Object.create(null);for(const r of Object.keys(e))n[r]=t(e[r],r);return n}(ck,Ek),bk=new Set(["\t","\n","\f","\r"," "]),wk=e=>e.replace(/[\t\n\f\r ]+$/,""),Dk=e=>e.match(/^[\t\n\f\r ]*/)[0];function Ek(e){const t=Object.create(null);for(const n of e)t[n]=!0;return t}function xk(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!Rk(e)||!e.children.some(e=>"text"!==e.type&&"interpolation"!==e.type))||!(!Uk(e,t)||Ck(e)||"interpolation"===e.type)}function _k(e){return"attribute"!==e.type&&(!!e.parent&&("number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])))}function Ck(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||Pk(e)&&("script"===e.name||"style"===e.name))}function kk(e){return Lk(e).startsWith("pre")}function Sk(e){return"element"===e.type&&0!==e.children.length&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function Ak(e){return Nk(e)||"element"===e.type&&"br"===e.fullName||Tk(e)}function Tk(e){return Mk(e)&&Ok(e)}function Mk(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Nk(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Fk(e){const{type:t,lang:n}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===n?"babel":"application/x-typescript"===t||"ts"===n||"tsx"===n?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function Ik(e){return"block"===e||"list-item"===e||e.startsWith("table")}function Rk(e){return Lk(e).startsWith("pre")}function Pk(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Lk(e){return"element"===e.type&&(!e.namespace||Pk(e))&&mk[e.name]||gk}const Bk=new Set(["template","style","script"]);function jk(e,t){return $k(e,t)&&!Bk.has(e.fullName)}function $k(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function Uk(e,t){return $k(e,t)&&(jk(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var qk={HTML_ELEMENT_ATTRIBUTES:yk,HTML_TAGS:vk,htmlTrim:e=>(e=>e.replace(/^[\t\n\f\r ]+/,""))(wk(e)),htmlTrimPreserveIndentation:e=>(e=>e.replace(/^[\t\f\r ]*?\n/g,""))(wk(e)),splitByHtmlWhitespace:e=>e.split(/[\t\n\f\r ]+/),hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{const[,t,n,r]=e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/);return{leadingWhitespace:t,trailingWhitespace:r,text:n}},canHaveInterpolation:function(e){return e.children&&!Ck(e)},countChars:function(e,t){let n=0;for(let r=0;r=0;r--){const i=e.stack[r];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&n++}return n},dedentString:function(e,t=function(e){let t=1/0;for(const n of e.split("\n")){if(0===n.length)continue;if(!bk.has(n[0]))return 0;const e=Dk(n).length;n.length!==e&&ee.slice(t)).join("\n")},forceBreakChildren:Sk,forceBreakContent:function(e){return Sk(e)||"element"===e.type&&0!==e.children.length&&(["body","script","style"].includes(e.name)||e.children.some(e=>function(e){return e.children&&e.children.some(e=>"text"!==e.type)}(e)))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&Mk(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Ok(e.lastChild))},forceNextEmptyLine:function(e){return fk(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1"svg:foreignObject"===e.fullName))return"svg"===e.name?"inline-block":"block";n=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||n||Pk(e))&&dk[e.name]||pk}},getNodeCssStyleWhiteSpace:Lk,getPrettierIgnoreAttributeCommentData:function(e){const t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))},hasPrettierIgnore:_k,inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e){const{lang:t}=e.attrMap;return t&&"postcss"!==t&&"css"!==t?"scss"===t?"scss":"less"===t?"less":void 0:"css"}(e):t&&Uk(e,t)?Fk(e)||!("src"in e.attrMap)&&hk(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?Fk(e):"babel"},isVueCustomBlock:jk,isVueNonHtmlBlock:Uk,isVueSlotAttribute:function(e){const t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(e,t){const n=e.parent;if(!$k(n,t))return!1;const r=n.fullName,i=e.fullName;return"script"===r&&"setup"===i||"style"===r&&"vars"===i},isDanglingSpaceSensitiveNode:function(e){return t=e.cssDisplay,!(Ik(t)||"inline-block"===t||Ck(e));var t},isIndentationSensitiveNode:kk,isLeadingSpaceSensitiveNode:function(e,t){const n=function(){return!fk(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!Rk(e.parent)||!(!e.prev&&("root"===e.parent.type||Rk(e)&&e.parent||Ck(e.parent)||jk(e.parent,t)||(n=e.parent.cssDisplay,Ik(n)||"inline-block"===n)))&&!(e.prev&&!function(e){return!Ik(e)}(e.prev.cssDisplay))));var n}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n},isPreLikeNode:Rk,isScriptLikeTag:Ck,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!fk(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!Rk(e.parent)||!(!e.next&&("root"===e.parent.type||Rk(e)&&e.parent||Ck(e.parent)||jk(e.parent,t)||(n=e.parent.cssDisplay,Ik(n)||"inline-block"===n)))&&!(e.next&&!function(e){return!Ik(e)}(e.next.cssDisplay))));var n},isWhitespaceSensitiveNode:function(e){return Ck(e)||"interpolation"===e.type||kk(e)},isUnknownNamespace:Pk,preferHardlineAsLeadingSpaces:function(e){return Nk(e)||e.prev&&Ak(e.prev)||Tk(e)},preferHardlineAsTrailingSpaces:Ak,shouldNotPrintClosingTag:function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(_k(e)||xk(e.parent,t))},shouldPreserveContent:xk,unescapeQuoteEntities:function(e){return e.replace(/'/g,"'").replace(/"/g,'"')}},Hk=Be((function(e,t){function n(e){return t.$0<=e&&e<=t.$9} /** * @license * Copyright Google Inc. All Rights Reserved. @@ -76,9 +76,9 @@ Object.defineProperty(t,"__esModule",{value:!0});const n=/^(?:(?:\[([^\]]+)\])|( * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ -class n{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(e){const t=this.file.content,r=t.length;let i=this.offset,o=this.line,s=this.col;for(;i>0&&e<0;)if(i--,e++,t.charCodeAt(i)==Hk.$LF){o--;const e=t.substr(0,i-1).lastIndexOf(String.fromCharCode(Hk.$LF));s=e>0?i-e:i}else s--;for(;i0;){const n=t.charCodeAt(i);i++,e--,n==Hk.$LF?(o++,s=0):s++}return new n(this.file,i,o,s)}getContext(e,t){const n=this.file.content;let r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);let i=r,o=0,s=0;for(;o0&&(r--,o++,"\n"!=n[r]||++s!=t););for(o=0,s=0;o]").concat(e.after,'")'):this.msg}toString(){const e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}},t.typeSourceSpan=function(e,t){const o=Wk.identifierModuleUrl(t),s=null!=o?"in ".concat(e," ").concat(Wk.identifierName(t)," in ").concat(o):"in ".concat(e," ").concat(Wk.identifierName(t)),a=new r("",s);return new i(new n(a,-1,-1,-1),new n(a,-1,-1,-1))},t.r3JitTypeSourceSpan=function(e,t,o){const s="in ".concat(e," ").concat(t," in ").concat(o),a=new r("",s);return new i(new n(a,-1,-1,-1),new n(a,-1,-1,-1))}}));const{ParseSourceSpan:Kk}=Gk,{htmlTrim:Xk,getLeadingAndTrailingHtmlWhitespace:Yk,hasHtmlWhitespace:Jk,canHaveInterpolation:Zk,getNodeCssStyleDisplay:Qk,isDanglingSpaceSensitiveNode:eS,isIndentationSensitiveNode:tS,isLeadingSpaceSensitiveNode:nS,isTrailingSpaceSensitiveNode:rS,isWhitespaceSensitiveNode:iS}=Uk,oS=[function(e){return e.map(e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&0!==e.children.length&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){const[t,...n]=e.children;return e.clone({children:1===t.value.length?n:[t.clone({value:t.value.slice(1)}),...n]})}return e})},function(e){const t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;return e.map(e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r{if(e.children){const r=e.children.map(t);if(r.some(Boolean)){const t=[];for(let i=0;i"cdata"===e.type,e=>""))},function(e,t){if("html"===t.parser)return e;const n=/{{([\S\s]+?)}}/g;return e.map(e=>{if(!Zk(e))return e;const t=[];for(const r of e.children){if("text"!==r.type){t.push(r);continue}let e=r.sourceSpan.start,i=null;const o=r.value.split(n);for(let n=0;n{if(!e.children)return e;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===Xk(e.children[0].value).length)return e.clone({children:[],hasDanglingSpaces:0!==e.children.length});const n=iS(e),r=tS(e);return e.clone({isWhitespaceSensitive:n,isIndentationSensitive:r,children:e.children.reduce((e,r)=>{if("text"!==r.type||n)return e.concat(r);const i=[],{leadingWhitespace:o,text:s,trailingWhitespace:a}=Yk(r.value);return o&&i.push({type:t}),s&&i.push({type:"text",value:s,sourceSpan:new Kk(r.sourceSpan.start.moveBy(o.length),r.sourceSpan.end.moveBy(-a.length))}),a&&i.push({type:t}),e.concat(i)},[]).reduce((e,n,r,i)=>{if(n.type===t)return e;const o=0!==r&&i[r-1].type===t,s=r!==i.length-1&&i[r+1].type===t;return e.concat(Object.assign({},n,{hasLeadingSpaces:o,hasTrailingSpaces:s}))},[])})})},function(e,t){return e.map(e=>Object.assign(e,{cssDisplay:Qk(e,t)}))},function(e){return e.map(e=>Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)}))},function(e,t){return e.map(e=>"element"!==e.type?e:Object.assign(e,{hasHtmComponentClosingTag:e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))}))},function(e,t){return e.map(e=>e.children?0===e.children.length?e.clone({isDanglingSpaceSensitive:eS(e)}):e.clone({children:e.children.map(e=>Object.assign({},e,{isLeadingSpaceSensitive:nS(e,t),isTrailingSpaceSensitive:rS(e,t)})).map((e,t,n)=>Object.assign({},e,{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive}))}):e)},function(e){const t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!Jk(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;return e.map(e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r")+i.firstChild.value+"")+o.value,sourceSpan:new Kk(n.sourceSpan.start,o.sourceSpan.end),isTrailingSpaceSensitive:s,hasTrailingSpaces:a}))}else t.push(i)}return e.clone({children:t})}}return e})}];var sS=function(e,t){for(const n of oS)e=n(e,t);return e},aS={hasPragma:function(e){return/^\s*/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}},uS={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}};const{builders:{concat:lS,group:cS}}=cn;var hS={isVueEventBindingExpression:function(e){const t=e.trim();return/^([\w$]+|\([^)]*?\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t)},printVueFor:function(e,t){const{left:n,operator:r,right:i}=function(e){const t=/([^]*?)\s+(in|of)\s+([^]*)/,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,i=e.match(t);if(!i)return;const o={};o.for=i[3].trim();const s=i[1].trim().replace(r,""),a=s.match(n);return a?(o.alias=s.replace(n,""),o.iterator1=a[1].trim(),a[2]&&(o.iterator2=a[2].trim())):o.alias=s,{left:"".concat([o.alias,o.iterator1,o.iterator2].filter(Boolean).join(",")),operator:i[2],right:o.for}}(e);return lS([cS(t("function _(".concat(n,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",r," ",t(i,{parser:"__js_expression"},{stripTrailingHardline:!0})])},printVueBindings:function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0},{stripTrailingHardline:!0})}},fS=Be((function(e){!function(t,n){e.exports?e.exports=n():t.parseSrcset=n()}(Le,(function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var n,r=t.exec(e.substring(v));if(r)return n=r[0],v+=n.length,n}for(var o,s,a,u,l,c=e.length,h=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,p=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,v=0,y=[];;){if(i(f),v>=c)return y;o=i(d),s=[],","===o.slice(-1)?(o=o.replace(p,""),w()):b()}function b(){for(i(h),a="",u="in descriptor";;){if(l=e.charAt(v),"in descriptor"===u)if(r(l))a&&(s.push(a),a="",u="after descriptor");else{if(","===l)return v+=1,a&&s.push(a),void w();if("("===l)a+=l,u="in parens";else{if(""===l)return a&&s.push(a),void w();a+=l}}else if("in parens"===u)if(")"===l)a+=l,u="in descriptor";else{if(""===l)return s.push(a),void w();a+=l}else if("after descriptor"===u)if(r(l));else{if(""===l)return void w();u="in descriptor",v-=1}v+=1}}function w(){var t,r,i,a,u,l,c,h,f,d=!1,p={};for(a=0;ae),r=t.some(({h:e})=>e);if(n+r+t.some(({d:e})=>e)>1)throw new Error("Mixed descriptor in srcset is not supported");const i=n?"w":r?"h":"d",o=n?"w":r?"h":"x",s=e=>Math.max(...e),a=t.map(e=>e.url),u=s(a.map(e=>e.length)),l=t.map(e=>e[i]).map(e=>e?e.toString():""),c=l.map(e=>{const t=e.indexOf(".");return-1===t?e.length:t}),h=s(c);return mS(dS([",",gS]),a.map((e,t)=>{const n=[e],r=l[t];if(r){const i=u-e.length+1,s=h-c[t],a=" ".repeat(i+s);n.push(pS(a," "),r+o)}return dS(n)}))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}};const{builders:yS,utils:{mapDoc:bS,normalizeParts:wS}}=cn,{replaceEndOfLineWith:DS}=Rt,{print:ES}=oD,{breakParent:xS,dedentToRoot:_S,fill:CS,group:kS,hardline:SS,ifBreak:AS,indent:TS,join:MS,line:OS,literalline:NS,softline:FS}=yS,{htmlTrimPreserveIndentation:IS,splitByHtmlWhitespace:PS,countChars:RS,countParents:LS,dedentString:BS,forceBreakChildren:jS,forceBreakContent:$S,forceNextEmptyLine:qS,getLastDescendant:US,getPrettierIgnoreAttributeCommentData:HS,hasPrettierIgnore:zS,inferScriptParser:VS,isVueCustomBlock:WS,isVueNonHtmlBlock:GS,isVueSlotAttribute:KS,isVueSfcBindingsAttribute:XS,isScriptLikeTag:YS,isTextLikeNode:JS,preferHardlineAsLeadingSpaces:ZS,shouldNotPrintClosingTag:QS,shouldPreserveContent:eA,unescapeQuoteEntities:tA,isPreLikeNode:nA}=Uk,{insertPragma:rA}=aS,{locStart:iA,locEnd:oA}=uS,{printVueFor:sA,printVueBindings:aA,isVueEventBindingExpression:uA}=hS,{printImgSrcset:lA,printClassNames:cA}=vS;function hA(e){const t=wS(e);return 0===t.length?"":1===t.length?t[0]:yS.concat(t)}function fA(e,t,n){const r=e.getValue();if(jS(r))return hA([xS,hA(e.map(e=>{const t=e.getValue(),n=t.prev?s(t.prev,t):"";return hA([n?hA([n,qS(t.prev)?SS:""]):"",o(e)])},"children"))]);const i=r.children.map(()=>Symbol(""));return hA(e.map((e,t)=>{const n=e.getValue();if(JS(n)){if(n.prev&&JS(n.prev)){const t=s(n.prev,n);if(t)return qS(n.prev)?hA([SS,SS,o(e)]):hA([t,o(e)])}return o(e)}const r=[],a=[],u=[],l=[],c=n.prev?s(n.prev,n):"",h=n.next?s(n,n.next):"";return c&&(qS(n.prev)?r.push(SS,SS):c===SS?r.push(SS):JS(n.prev)?a.push(c):a.push(AS("",FS,{groupId:i[t-1]}))),h&&(qS(n)?JS(n.next)&&l.push(SS,SS):h===SS?JS(n.next)&&l.push(SS):u.push(h)),hA([].concat(r,kS(hA([hA(a),kS(hA([o(e),hA(u)]),{id:i[t]})])),l))},"children"));function o(e){const r=e.getValue();return zS(r)?hA([].concat(kA(r,t),DS(t.originalText.slice(iA(r)+(r.prev&&DA(r.prev)?TA(r).length:0),oA(r)-(r.next&&xA(r.next)?NA(r,t).length:0)),NS),AA(r,t))):n(e)}function s(e,t){return JS(e)&&JS(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?ZS(t)?SS:OS:"":ZS(t)?SS:FS:DA(e)&&(zS(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&0!==t.attrs.length)||"element"===e.type&&e.isSelfClosing&&xA(t)?"":!t.isLeadingSpaceSensitive||ZS(t)||xA(t)&&e.lastChild&&CA(e.lastChild)&&e.lastChild.lastChild&&CA(e.lastChild.lastChild)?SS:t.hasLeadingSpaces?OS:FS}}function dA(e,t){let n=e.startSourceSpan.end.offset;e.firstChild&&EA(e.firstChild)&&(n-=MA(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&CA(e.lastChild)?r+=OA(e,t).length:_A(e)&&(r-=NA(e.lastChild,t).length),t.originalText.slice(n,r)}function pA(e,t,n){const r=e.getValue();if(!r.attrs||0===r.attrs.length)return r.isSelfClosing?" ":"";const i=r.prev&&"comment"===r.prev.type&&HS(r.prev.value),o="boolean"==typeof i?()=>i:Array.isArray(i)?e=>i.includes(e.rawName):()=>!1,s=e.map(e=>{const r=e.getValue();return o(r)?hA(DS(t.originalText.slice(iA(r),oA(r)),NS)):n(e)},"attrs"),a="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,u=[TS(hA([a?" ":OS,MS(OS,s)]))];return r.firstChild&&EA(r.firstChild)||r.isSelfClosing&&_A(r.parent)||a?u.push(r.isSelfClosing?" ":""):u.push(r.isSelfClosing?OS:FS),hA(u)}function mA(e,t,n){const r=e.getValue();return hA([gA(r,t),pA(e,t,n),r.isSelfClosing?"":vA(r)])}function gA(e,t){return e.prev&&DA(e.prev)?"":hA([kA(e,t),TA(e)])}function vA(e){return e.firstChild&&EA(e.firstChild)?"":MA(e)}function yA(e,t){return hA([e.isSelfClosing?"":bA(e,t),wA(e,t)])}function bA(e,t){return e.lastChild&&CA(e.lastChild)?"":hA([SA(e,t),OA(e,t)])}function wA(e,t){return(e.next?xA(e.next):_A(e.parent))?"":hA([NA(e,t),AA(e,t)])}function DA(e){return e.next&&!JS(e.next)&&JS(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function EA(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function xA(e){return e.prev&&"docType"!==e.prev.type&&!JS(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function _A(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!JS(US(e.lastChild))&&!nA(e)}function CA(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&JS(US(e))}function kA(e,t){return EA(e)?MA(e.parent):xA(e)?NA(e.prev,t):""}function SA(e,t){return _A(e)?NA(e.lastChild,t):""}function AA(e,t){return CA(e)?OA(e.parent,t):DA(e)?TA(e.next):""}function TA(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(e.condition);case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function MA(e){switch(na(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}function OA(e,t){if(na(!e.isSelfClosing),QS(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function FA(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?DS(t,NS):DS(BS(IS(t)),SS):MS(OS,PS(t)).parts}var IA={preprocess:sS,print:function(e,t,n){const r=e.getValue();switch(r.type){case"front-matter":return hA(DS(r.raw,NS));case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),yS.concat([kS(fA(e,t,n)),SS]);case"element":case"ieConditionalComment":{if(eA(r,t))return hA([].concat(kA(r,t),kS(mA(e,t,n)),DS(dA(r,t),NS),yA(r,t),AA(r,t)));const o=1===r.children.length&&"interpolation"===r.firstChild.type&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,s=Symbol("element-attr-group-id");return hA([kS(hA([kS(mA(e,t,n),{id:s}),0===r.children.length?r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?OS:"":hA([$S(r)?xS:"",(i=hA([o?AS(FS,"",{groupId:s}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?OS:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?_S(FS):FS,fA(e,t,n)]),o?AS(TS(i),i,{groupId:s}):!YS(r)&&!WS(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?TS(i):i),(r.next?xA(r.next):_A(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":o?AS(FS,"",{groupId:s}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?OS:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*LS(e,e=>e.parent&&"root"!==e.parent.type),"}$")).test(r.lastChild.value)?"":FS])])),yA(r,t)])}case"ieConditionalStartComment":case"ieConditionalEndComment":return hA([gA(r),wA(r)]);case"interpolation":return hA([gA(r,t),hA(e.map(n,"children")),wA(r,t)]);case"text":if("interpolation"===r.parent.type){const e=/\n[^\S\n]*?$/,t=e.test(r.value),n=t?r.value.replace(e,""):r.value;return hA([hA(DS(n,NS)),t?SS:""])}return CS(wS([].concat(kA(r,t),FA(r),AA(r,t))));case"docType":return hA([kS(hA([gA(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")])),wA(r,t)]);case"comment":return hA([kA(r,t),hA(DS(t.originalText.slice(iA(r),oA(r)),NS)),AA(r,t)]);case"attribute":{if(null===r.value)return r.rawName;const e=tA(r.value),t=RS(e,"'")tA(e.value);let o=!1;const s=(e,t)=>{const n="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&("__vue_expression"!==t.parser||"TemplateLiteral"!==n.type&&"StringLiteral"!==n.type)||(o=!0)},a=e=>kS(e),u=(e,t=!0)=>kS(hA([TS(hA([FS,e])),t?FS:""])),l=e=>o?a(e):u(e),c=(e,n)=>t(e,Object.assign({__onHtmlBindingRoot:s},n),{stripTrailingHardline:!0});if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return u(lA(i()));if("class"===e.fullName&&!n.parentParser){const e=i();if(!e.includes("{{"))return cA(e)}if("style"===e.fullName&&!n.parentParser){const e=i();if(!e.includes("{{"))return u(c(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return sA(i(),c);if(KS(e)||XS(e,n))return aA(i(),c);const t=["^:","^v-bind:"],o=["^v-"];if(r(["^@","^v-on:"])){const e=i();return l(c(e,{parser:uA(e)?"__js_expression":"__vue_event_binding"}))}if(r(t))return l(c(i(),{parser:"__vue_expression"}));if(r(o))return l(c(i(),{parser:"__js_expression"}))}if("angular"===n.parser){const t=(e,t)=>c(e,Object.assign({},t,{trailingComma:"none"})),n=["^\\*"],o=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],s=["^i18n(-.+)?$"];if(r(["^\\(.+\\)$","^on-"]))return l(t(i(),{parser:"__ng_action"}));if(r(o))return l(t(i(),{parser:"__ng_binding"}));if(r(s)){const t=i().trim();return u(CS(FA(e,t)),!t.includes("@@"))}if(r(n))return l(t(i(),{parser:"__ng_directive"}));const a=/{{([\S\s]+?)}}/g,h=i();if(a.test(h)){const e=[];return h.split(a).forEach((n,r)=>{if(r%2==0)e.push(hA(DS(n,NS)));else try{e.push(kS(hA(["{{",TS(hA([OS,t(n,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})])),OS,"}}"])))}catch(t){e.push("{{",hA(DS(n,NS)),"}}")}}),kS(hA(e))}}return null}(i,(e,t)=>n(e,Object.assign({__isInHtmlAttribute:!0},t),{stripTrailingHardline:!0}),r);if(e)return hA([i.rawName,'="',kS(bS(e,e=>"string"==typeof e?e.replace(/"/g,"""):e)),'"']);break}case"front-matter":return ES(i,n)}}};const PA="HTML";var RA={htmlWhitespaceSensitivity:{since:"1.15.0",category:PA,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},vueIndentScriptAndStyle:{since:"1.19.0",category:PA,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},LA={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".htm",".html.hl",".inc",".st",".xht",".xhtml"],languageId:146},BA={name:"Vue",type:"markup",color:"#2c3e50",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391},jA={languages:[Nu(LA,()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),Nu(LA,e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:e.extensions.concat([".mjml"])})),Nu(LA,()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),Nu(BA,()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],printers:{html:IA},options:RA,parsers:{get html(){return{}.parsers.html},get vue(){return{}.parsers.vue},get angular(){return{}.parsers.angular},get lwc(){return{}.parsers.lwc}}},$A={isPragma:function(e){return/^\s*@(prettier|format)\s*$/.test(e)},hasPragma:function(e){return/^\s*#[^\S\n]*@(prettier|format)\s*?(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n".concat(e)}},qA={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};const{getLast:UA}=Rt;function HA(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function zA(e){return"prettier-ignore"===e.value.trim()}function VA(e){return e&&e.leadingComments&&0!==e.leadingComments.length}function WA(e){return e&&e.middleComments&&0!==e.middleComments.length}function GA(e){return e&&e.indicatorComment}function KA(e){return e&&e.trailingComment}function XA(e){return e&&e.endComments&&0!==e.endComments.length}function YA(e){const t=[];let n;for(const r of e.split(/( +)/g))" "!==r?" "===n?t.push(r):t.push((t.pop()||"")+r):void 0===n&&t.unshift(""),n=r;return" "===n&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}var JA={getLast:UA,getAncestorCount:function(e,t){let n=0;const r=e.stack.length-1;for(let i=0;ie(r,n,t))}):t,r)},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){let n=0;const r=t.length;for(let i=e.position.end.offset-1;ie.slice(o));return"preserve"===r.proseWrap||"blockLiteral"===e.type?u(a.map(e=>0===e.length?[]:[e])):u(a.map(e=>0===e.length?[]:YA(e)).reduce((e,t,n)=>0===n||0===a[n-1].length||0===t.length||/^\s/.test(t[0])||/^\s|\s$/.test(UA(e))?e.concat([t]):e.concat([e.pop().concat(t)]),[]).map(e=>e.reduce((e,t)=>0!==e.length&&/\s$/.test(UA(e))?e.concat(e.pop()+" "+t):e.concat(t),[])).map(e=>"never"===r.proseWrap?[e.join(" ")]:e));function u(t){if("keep"===e.chomping)return 0===UA(t).length?t.slice(0,-1):t;let r=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)r++;return 0===r?t:r>=2&&!n?t.slice(0,-(r-1)):t.slice(0,-r)}},getFlowScalarLineContents:function(e,t,n){const r=t.split("\n").map((e,t,n)=>0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart());return"preserve"===n.proseWrap?r.map(e=>0===e.length?[]:[e]):r.map(e=>0===e.length?[]:YA(e)).reduce((t,n,i)=>0===i||0===r[i-1].length||0===n.length||"quoteDouble"===e&&UA(UA(t)).endsWith("\\")?t.concat([n]):t.concat([t.pop().concat(n)]),[]).map(e=>"never"===n.proseWrap?[e.join(" ")]:e)},getLastDescendantNode:function e(t){return"children"in t&&0!==t.children.length?e(UA(t.children)):t},hasPrettierIgnore:function(e){const t=e.getValue();if("documentBody"===t.type){const t=e.getParentNode();return XA(t.head)&&zA(UA(t.head.endComments))}return VA(t)&&zA(UA(t.leadingComments))},hasLeadingComments:VA,hasMiddleComments:WA,hasIndicatorComment:GA,hasTrailingComment:KA,hasEndComments:XA};const ZA=cn.builders,{conditionalGroup:QA,breakParent:eT,concat:tT,dedent:nT,dedentToRoot:rT,fill:iT,group:oT,hardline:sT,ifBreak:aT,join:uT,line:lT,lineSuffix:cT,literalline:hT,markAsRoot:fT,softline:dT}=ZA,{replaceEndOfLineWith:pT,isPreviousLineEmpty:mT}=Rt,{insertPragma:gT,isPragma:vT}=$A,{locStart:yT}=qA,{getAncestorCount:bT,getBlockValueLineContents:wT,getFlowScalarLineContents:DT,getLast:ET,getLastDescendantNode:xT,hasLeadingComments:_T,hasMiddleComments:CT,hasIndicatorComment:kT,hasTrailingComment:ST,hasEndComments:AT,hasPrettierIgnore:TT,isLastDescendantNode:MT,isNextLineEmpty:OT,isNode:NT,isEmptyNode:FT,defineShortcut:IT,mapNode:PT}=JA;function RT(e){switch(e.type){case"document":IT(e,"head",()=>e.children[0]),IT(e,"body",()=>e.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":IT(e,"content",()=>e.children[0]);break;case"mappingItem":case"flowMappingItem":IT(e,"key",()=>e.children[0]),IT(e,"value",()=>e.children[1])}return e}function LT(e,t,n,r,i){switch(e.type){case"root":return tT([uT(sT,n.map((t,r)=>{const o=e.children[r],s=e.children[r+1];return tT([i(t),qT(o,s)?tT([sT,"...",ST(o)?tT([" ",n.call(i,"trailingComment")]):""]):!s||ST(s.head)?"":tT([sT,"---"])])},"children")),0===e.children.length||(s=xT(e),NT(s,["blockLiteral","blockFolded"])&&"keep"===s.chomping)?"":sT]);case"document":{const o=t.children[n.getName()+1];return uT(sT,["head"===UT(e,o,t,r)?uT(sT,[0===e.head.children.length&&0===e.head.endComments.length?"":n.call(i,"head"),tT(["---",ST(e.head)?tT([" ",n.call(i,"head","trailingComment")]):""])].filter(Boolean)):"",$T(e)?n.call(i,"body"):""].filter(Boolean))}case"documentHead":return uT(sT,[].concat(n.map(i,"children"),n.map(i,"endComments")));case"documentBody":{const t=uT(sT,n.map(i,"children")).parts,r=uT(sT,n.map(i,"endComments")).parts,o=0===t.length||0===r.length?"":(e=>NT(e,["blockFolded","blockLiteral"])?"keep"===e.chomping?"":tT([sT,sT]):sT)(xT(e));return tT([].concat(t,o,r))}case"directive":return tT(["%",uT(" ",[e.name].concat(e.parameters))]);case"comment":return tT(["#",e.value]);case"alias":return tT(["*",e.value]);case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return tT(["&",e.value]);case"plain":return KT(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":{const t="'",n='"',i=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&i.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(i)){const o="quoteDouble"===e.type?n:t;return tT([o,KT(e.type,i,r),o])}if(i.includes(n))return tT([t,KT(e.type,"quoteDouble"===e.type?i.replace(/\\"/g,n).replace(/'/g,t.repeat(2)):i,r),t]);if(i.includes(t))return tT([n,KT(e.type,"quoteSingle"===e.type?i.replace(/''/g,t):i,r),n]);const o=r.singleQuote?t:n;return tT([o,KT(e.type,i,r),o])}case"blockFolded":case"blockLiteral":{const t=bT(n,e=>NT(e,["sequence","mapping"])),o=MT(n);return tT(["blockFolded"===e.type?">":"|",null===e.indent?"":e.indent.toString(),"clip"===e.chomping?"":"keep"===e.chomping?"+":"-",kT(e)?tT([" ",n.call(i,"indicatorComment")]):"",(null===e.indent?nT:rT)(BT(null===e.indent?r.tabWidth:e.indent-1+t,tT(wT(e,{parentIndent:t,isLastDescendant:o,options:r}).reduce((t,n,r,i)=>t.concat(0===r?sT:"",iT(uT(lT,n).parts),r!==i.length-1?0===n.length?sT:fT(hT):"keep"===e.chomping&&o?0===n.length?rT(sT):rT(hT):""),[]))))])}case"sequence":return uT(sT,n.map(i,"children"));case"sequenceItem":return tT(["- ",BT(2,e.content?n.call(i,"content"):"")]);case"mappingKey":case"mappingValue":return e.content?n.call(i,"content"):"";case"mapping":return uT(sT,n.map(i,"children"));case"mappingItem":case"flowMappingItem":{const o=FT(e.key),s=FT(e.value);if(o&&s)return tT([": "]);const u=n.call(i,"key"),l=n.call(i,"value");if(s)return"flowMappingItem"===e.type&&"flowMapping"===t.type?u:"mappingItem"!==e.type||!HT(e.key.content,r)||ST(e.key.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?tT(["? ",BT(2,u)]):tT([u,zT(e)?" ":"",":"]);if(o)return tT([": ",BT(2,l)]);const c=Symbol("mappingKey");return _T(e.value)||!jT(e.key.content)?tT(["? ",BT(2,u),sT,uT("",n.map(i,"value","leadingComments").map(e=>tT([e,sT]))),": ",BT(2,l)]):!function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(e.key.content)||_T(e.key.content)||CT(e.key.content)||ST(e.key.content)||AT(e.key)||_T(e.value.content)||CT(e.value.content)||AT(e.value)||!HT(e.value.content,r)?QA([tT([oT(tT([aT("? "),oT(BT(2,u),{id:c})])),aT(tT([sT,": ",BT(2,l)]),a(tT([zT(e)?" ":"",":",_T(e.value.content)||AT(e.value)&&e.value.content&&!NT(e.value.content,["mapping","sequence"])||"mapping"===t.type&&ST(e.key.content)&&jT(e.value.content)||NT(e.value.content,["mapping","sequence"])&&null===e.value.content.tag&&null===e.value.content.anchor?sT:e.value.content?lT:"",l])),{groupId:c})])]):tT([u,zT(e)?" ":"",": ",l])}case"flowMapping":case"flowSequence":{const t="flowMapping"===e.type?"{":"[",s="flowMapping"===e.type?"}":"]",u="flowMapping"===e.type&&0!==e.children.length&&r.bracketSpacing?lT:dT,l=0!==e.children.length&&"flowMappingItem"===(o=ET(e.children)).type&&FT(o.key)&&FT(o.value),c="none"===r.trailingComma?"":aT(",","");return tT([t,a(tT([u,tT(n.map((t,n)=>tT([i(t),n===e.children.length-1?"":tT([",",lT,e.children[n].position.start.line!==e.children[n+1].position.start.line?GT(t,r.originalText):""])]),"children")),c,AT(e)?tT([sT,uT(sT,n.map(i,"endComments"))]):""])),l?"":u,s])}case"flowSequenceItem":return n.call(i,"content");default:throw new Error("Unexpected node type ".concat(e.type))}var o,s;function a(e){return ZA.align(" ".repeat(r.tabWidth),e)}}function BT(e,t){return"number"==typeof e&&e>0?ZA.align(" ".repeat(e),t):ZA.align(e,t)}function jT(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}function $T(e){return 0!==e.body.children.length||AT(e.body)}function qT(e,t){return ST(e)||t&&(0!==t.head.children.length||AT(t.head))}function UT(e,t,n,r){return n.children[0]===e&&/---(\s|$)/.test(r.originalText.slice(yT(e),yT(e)+4))||0!==e.head.children.length||AT(e.head)||ST(e.head)?"head":!qT(e,t)&&!!t&&"root"}function HT(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function zT(e){return e.key.content&&"alias"===e.key.content.type}function VT(e){return AT(e)&&!NT(e,["documentHead","documentBody","flowMapping","flowSequence"])}const WT=new WeakMap;function GT(e,t){const n=e.getValue(),r=e.stack[0];let i;return WT.has(r)?i=WT.get(r):(i=new Set,WT.set(r,i)),i.has(n.position.end.line)||(i.add(n.position.end.line),!OT(n,t)||VT(e.getParentNode()))?"":dT}function KT(e,t,n){const r=DT(e,t,n);return uT(sT,r.map(e=>iT(uT(lT,e).parts)))}var XT={preprocess:function(e){return PT(e,RT)},print:function(e,t,n){const r=e.getValue(),i=e.getParentNode(),o=r.tag?e.call(n,"tag"):"",s=r.anchor?e.call(n,"anchor"):"",a=NT(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!MT(e)?GT(e,t.originalText):"";return tT(["mappingValue"!==r.type&&_T(r)?tT([uT(sT,e.map(n,"leadingComments")),sT]):"",o,o&&s?" ":"",s,o||s?NT(r,["sequence","mapping"])&&!CT(r)?sT:" ":"",CT(r)?tT([1===r.middleComments.length?"":sT,uT(sT,e.map(n,"middleComments")),sT]):"",TT(e)?tT(pT(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),hT)):oT(LT(r,i,e,t,n)),ST(r)&&!NT(r,["document","documentHead"])?cT(tT(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===i.type&&"mapping"===e.getParentNode(2).type&&jT(r)?"":eT,e.call(n,"trailingComment")])):"",VT(r)?BT("sequenceItem"===r.type?2:0,tT([sT,uT(sT,e.map(e=>tT([mT(t.originalText,e.getValue(),yT)?sT:"",n(e)]),"endComments"))])):"",a])},massageAstNode:function(e,t){if(NT(t))switch(delete t.position,t.type){case"comment":if(vT(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:gT},YT={bracketSpacing:$w.bracketSpacing,singleQuote:$w.singleQuote,proseWrap:$w.proseWrap},JT=[Yw,ex,s_,S_,ok,jA,{languages:[Nu({name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:e.filenames.filter(e=>"yarn.lock"!==e)}))],printers:{yaml:XT},options:YT,parsers:{get yaml(){return{}.parsers.yaml}}}];const{version:ZT}=r,{getSupportInfo:QT}=vt,eM=JT.map(t=>e(t,["parsers"]));function tM(e,t=1){return(...n)=>{const r=n[t]||{},i=r.plugins||[];return n[t]=Object.assign({},r,{plugins:[...eM,...Array.isArray(i)?i:Object.values(i)]}),e(...n)}}const nM=tM(au.formatWithCursor);return{formatWithCursor:nM,format:(e,t)=>nM(e,t).formatted,check(e,t){const{formatted:n}=nM(e,t);return n===e},doc:cn,getSupportInfo:tM(QT,0),version:ZT,util:Ou,__debug:{parse:tM(au.parse),formatAST:tM(au.formatAST),formatDoc:tM(au.formatDoc),printToDoc:tM(au.printToDoc),printDocToString:tM(au.printDocToString)}}}))}).call(this,n("c8ba"))},3300:function(e,t,n){"use strict";var r=n("f3a3"),i=n("80af"),o=n("3fb5"),s=n("ea53"),a=r.assert;function u(e){s.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function l(e,t,n,r){s.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function c(e,t,n,r){s.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(u,s),e.exports=u,u.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n,r;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var o=this._getEndoRoots(this.p);t=o[0].cmp(o[1])<0?o[0]:o[1],t=t.toRed(this.red)}if(e.lambda)n=new i(e.lambda,16);else{var s=this._getEndoRoots(this.n);0===this.g.mul(s[0]).x.cmp(this.g.x.redMul(t))?n=s[0]:(n=s[1],a(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return r=e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(n),{beta:t,lambda:n,basis:r}}},u.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),n=new i(2).toRed(t).redInvm(),r=n.redNeg(),o=new i(3).toRed(t).redNeg().redSqrt().redMul(n),s=r.redAdd(o).fromRed(),a=r.redSub(o).fromRed();return[s,a]},u.prototype._getEndoBasis=function(e){var t,n,r,o,s,a,u,l,c,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=e,d=this.n.clone(),p=new i(1),m=new i(0),g=new i(0),v=new i(1),y=0;while(0!==f.cmpn(0)){var b=d.div(f);l=d.sub(b.mul(f)),c=g.sub(b.mul(p));var w=v.sub(b.mul(m));if(!r&&l.cmp(h)<0)t=u.neg(),n=p,r=l.neg(),o=c;else if(r&&2===++y)break;u=l,d=f,f=l,g=p,p=c,v=m,m=w}s=l.neg(),a=c;var D=r.sqr().add(o.sqr()),E=s.sqr().add(a.sqr());return E.cmp(D)>=0&&(s=t,a=n),r.negative&&(r=r.neg(),o=o.neg()),s.negative&&(s=s.neg(),a=a.neg()),[{a:r,b:o},{a:s,b:a}]},u.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),o=n.b.neg().mul(e).divRound(this.n),s=i.mul(n.a),a=o.mul(r.a),u=i.mul(n.b),l=o.mul(r.b),c=e.sub(s).sub(a),h=u.add(l).neg();return{k1:c,k2:h}},u.prototype.pointFromX=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(t&&!o||!t&&o)&&(r=r.redNeg()),this.point(e,r)},u.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},u.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},l.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},l.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e},o(c,s.BasePoint),u.prototype.jpoint=function(e,t,n){return new c(this,e,t,n)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),o=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(n.redMul(this.z)),a=r.redSub(i),u=o.redSub(s);if(0===a.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),c=l.redMul(a),h=r.redMul(l),f=u.redSqr().redIAdd(c).redISub(h).redISub(h),d=u.redMul(h.redISub(f)).redISub(o.redMul(c)),p=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(f,d,p)},c.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),s=n.redSub(r),a=i.redSub(o);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),c=n.redMul(u),h=a.redSqr().redIAdd(l).redISub(c).redISub(c),f=a.redMul(c.redISub(h)).redISub(i.redMul(l)),d=this.z.redMul(s);return this.curve.jpoint(h,f,d)},c.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var n=this;for(t=0;t=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},3337:function(e,t,n){"use strict";var r=t;r.version=n("2801").version,r.utils=n("f3a3"),r.rand=n("fdac"),r.curve=n("4136"),r.curves=n("0cbb"),r.ec=n("b9a8"),r.eddsa=n("945d")},"334a":function(e,t,n){t=e.exports=n("4250"),t.Stream=t,t.Readable=t,t.Writable=n("19ea"),t.Duplex=n("e666"),t.Transform=n("09dc"),t.PassThrough=n("0ae3"),t.finished=n("ee93"),t.pipeline=n("fbd5")},3397:function(e,t,n){var r=n("7a41");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"33b7":function(e,t,n){"use strict";var r=n("02cc"),i=(n("44d1"),function(e,t,n){return t=Object.assign({decodeEntities:!1,_useHtmlParser2:!0},t),e=n(e),r.load(e,t)}),o=function(){var t=[],n=function(n){var r=e.exports.codeBlocks;return Object.keys(r).forEach((function(e){var i=new RegExp(r[e].start+"([\\S\\s]*?)"+r[e].end,"g");n=n.replace(i,(function(e,n){return t.push(e),"JUICE_CODE_BLOCK_"+(t.length-1)+"_"}))})),n},r=function(e){for(var n=0;n"},HBS:{start:"{{",end:"}}"}}},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},3438:function(e,t,n){var r=n("164b");e.exports=r},"343e":function(e,t,n){"use strict";const r=t;r.der=n("3768"),r.pem=n("85b3")},3452:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("3252"),n("17e1"),n("a8ce"),n("1132"),n("72fe"),n("df2f"),n("94f8"),n("191b"),n("d6e6"),n("b86b"),n("e61b"),n("10b7"),n("5980"),n("7bbc"),n("2b79"),n("38ba"),n("00bb"),n("f4ea"),n("aaef"),n("4ba9"),n("81bf"),n("a817"),n("a11b"),n("8cef"),n("2a66"),n("b86c"),n("6d08"),n("c198"),n("a40e"),n("c3b6"),n("1382"),n("3d5a"))})(0,(function(e){return e}))},"34d5":function(e,t,n){t=e.exports=n("cf35"),t.Stream=t,t.Readable=t,t.Writable=n("49ce"),t.Duplex=n("5e7d"),t.Transform=n("f1c8"),t.PassThrough=n("9d28"),t.finished=n("42a7"),t.pipeline=n("ac4f")},3505:function(e,t,n){var r=n("8707").Buffer,i=n("8c8a");function o(e,t,n){var o=t.length,s=i(t,e._cache);return e._cache=e._cache.slice(o),e._prev=r.concat([e._prev,n?t:s]),s}t.encrypt=function(e,t,n){var i,s=r.allocUnsafe(0);while(t.length){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),!(e._cache.length<=t.length)){s=r.concat([s,o(e,t,n)]);break}i=e._cache.length,s=r.concat([s,o(e,t.slice(0,i),n)]),t=t.slice(i)}return s}},"35a1":function(e,t,n){var r=n("f5df"),i=n("3f8c"),o=n("b622"),s=o("iterator");e.exports=function(e){if(void 0!=e)return e[s]||e["@@iterator"]||i[r(e)]}},"362e":function(e,t,n){"use strict";class r{constructor(e){const t={},n=this._getOverriddenMethods(this,t);for(const r of Object.keys(n))"function"===typeof n[r]&&(t[r]=e[r],e[r]=n[r])}_getOverriddenMethods(){throw new Error("Not implemented")}}r.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let i=0;i=31?r.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=s.tagClassByName[n||"universal"]<<6,i)}e.exports=a,a.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},r(u,o),u.prototype._encodeComposite=function(e,t,n,r){const o=c(e,t,n,this.reporter);if(r.length<128){const e=i.alloc(2);return e[0]=o,e[1]=r.length,this._createEncoderBuffer([e,r])}let s=1;for(let i=r.length;i>=256;i>>=8)s++;const a=i.alloc(2+s);a[0]=o,a[1]=128|s;for(let i=1+s,u=r.length;u>0;i--,u>>=8)a[i]=255&u;return this._createEncoderBuffer([a,r])},u.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=i.alloc(2*e.length);for(let n=0;n=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let r=0;for(let i=0;i=128;t>>=7)r++}const o=i.alloc(r);let s=o.length-1;for(let i=e.length-1;i>=0;i--){let t=e[i];o[s--]=127&t;while((t>>=7)>0)o[s--]=128|127&t}return this._createEncoderBuffer(o)},u.prototype._encodeTime=function(e,t){let n;const r=new Date(e);return"gentime"===t?n=[l(r.getUTCFullYear()),l(r.getUTCMonth()+1),l(r.getUTCDate()),l(r.getUTCHours()),l(r.getUTCMinutes()),l(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[l(r.getUTCFullYear()%100),l(r.getUTCMonth()+1),l(r.getUTCDate()),l(r.getUTCHours()),l(r.getUTCMinutes()),l(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(e,t){if("string"===typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!==typeof e&&!i.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=i.from(t)}if(i.isBuffer(e)){let t=e.length;0===e.length&&t++;const n=i.alloc(t);return e.copy(n),0===e.length&&(n[0]=0),this._createEncoderBuffer(n)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let n=1;for(let i=e;i>=256;i>>=8)n++;const r=new Array(n);for(let i=r.length-1;i>=0;i--)r[i]=255&e,e>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(i.from(r))},u.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},u.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getEncoder("der").tree},u.prototype._skipDefault=function(e,t,n){const r=this._baseState;let i;if(null===r["default"])return!1;const o=e.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r["default"],t,n).join()),o.length!==r.defaultBuffer.length)return!1;for(i=0;i=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function u(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function l(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&(i++,this.negative=1),i=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)i=u(e,t,r)<=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else{var a=e.length-t;for(r=a%2===0?t+1:t;r=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8}this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,u=0,c=n;c1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}function p(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,u=s/67108864|0;n.words[0]=a;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=f;d++){var p=l-d|0;i=0|e.words[p],o=0|t.words[d],s=i*o+h,c+=s/67108864|0,h=67108863&s}n.words[l]=0|h,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,s=0;s>>24-i&16777215,n=0!==o||s!==this.length-1?c[6-u.length]+u+n:u+n,i+=2,i>=26&&(i-=26,s--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=h[e],d=f[e];n="";var p=this.clone();p.negative=0;while(!p.isZero()){var m=p.modn(d).toString(e);p=p.idivn(d),n=p.isZero()?m+n:c[l-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,u="le"===t,l=new e(o),c=this.clone();if(u){for(a=0;!c.isZero();a++)s=c.andln(255),c.iushrn(8),l[a]=s;for(;a=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==o&&s>26,this.words[s]=67108863&t;if(0===o&&s>>13,d=0|s[1],p=8191&d,m=d>>>13,g=0|s[2],v=8191&g,y=g>>>13,b=0|s[3],w=8191&b,D=b>>>13,E=0|s[4],x=8191&E,_=E>>>13,C=0|s[5],k=8191&C,S=C>>>13,A=0|s[6],T=8191&A,M=A>>>13,O=0|s[7],N=8191&O,F=O>>>13,I=0|s[8],P=8191&I,R=I>>>13,L=0|s[9],B=8191&L,j=L>>>13,$=0|a[0],q=8191&$,U=$>>>13,H=0|a[1],z=8191&H,V=H>>>13,W=0|a[2],G=8191&W,K=W>>>13,X=0|a[3],Y=8191&X,J=X>>>13,Z=0|a[4],Q=8191&Z,ee=Z>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ue=8191&ae,le=ae>>>13,ce=0|a[8],he=8191&ce,fe=ce>>>13,de=0|a[9],pe=8191&de,me=de>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(h,q),i=Math.imul(h,U),i=i+Math.imul(f,q)|0,o=Math.imul(f,U);var ge=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,q),i=Math.imul(p,U),i=i+Math.imul(m,q)|0,o=Math.imul(m,U),r=r+Math.imul(h,z)|0,i=i+Math.imul(h,V)|0,i=i+Math.imul(f,z)|0,o=o+Math.imul(f,V)|0;var ve=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,q),i=Math.imul(v,U),i=i+Math.imul(y,q)|0,o=Math.imul(y,U),r=r+Math.imul(p,z)|0,i=i+Math.imul(p,V)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,V)|0,r=r+Math.imul(h,G)|0,i=i+Math.imul(h,K)|0,i=i+Math.imul(f,G)|0,o=o+Math.imul(f,K)|0;var ye=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,q),i=Math.imul(w,U),i=i+Math.imul(D,q)|0,o=Math.imul(D,U),r=r+Math.imul(v,z)|0,i=i+Math.imul(v,V)|0,i=i+Math.imul(y,z)|0,o=o+Math.imul(y,V)|0,r=r+Math.imul(p,G)|0,i=i+Math.imul(p,K)|0,i=i+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0,r=r+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(f,Y)|0,o=o+Math.imul(f,J)|0;var be=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(x,q),i=Math.imul(x,U),i=i+Math.imul(_,q)|0,o=Math.imul(_,U),r=r+Math.imul(w,z)|0,i=i+Math.imul(w,V)|0,i=i+Math.imul(D,z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,J)|0,r=r+Math.imul(h,Q)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(f,Q)|0,o=o+Math.imul(f,ee)|0;var we=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(k,q),i=Math.imul(k,U),i=i+Math.imul(S,q)|0,o=Math.imul(S,U),r=r+Math.imul(x,z)|0,i=i+Math.imul(x,V)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,V)|0,r=r+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(D,G)|0,o=o+Math.imul(D,K)|0,r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,r=r+Math.imul(p,Q)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=i+Math.imul(h,re)|0,i=i+Math.imul(f,ne)|0,o=o+Math.imul(f,re)|0;var De=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(T,q),i=Math.imul(T,U),i=i+Math.imul(M,q)|0,o=Math.imul(M,U),r=r+Math.imul(k,z)|0,i=i+Math.imul(k,V)|0,i=i+Math.imul(S,z)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(x,G)|0,i=i+Math.imul(x,K)|0,i=i+Math.imul(_,G)|0,o=o+Math.imul(_,K)|0,r=r+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(D,Y)|0,o=o+Math.imul(D,J)|0,r=r+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=i+Math.imul(p,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=i+Math.imul(h,se)|0,i=i+Math.imul(f,oe)|0,o=o+Math.imul(f,se)|0;var Ee=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(N,q),i=Math.imul(N,U),i=i+Math.imul(F,q)|0,o=Math.imul(F,U),r=r+Math.imul(T,z)|0,i=i+Math.imul(T,V)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(k,G)|0,i=i+Math.imul(k,K)|0,i=i+Math.imul(S,G)|0,o=o+Math.imul(S,K)|0,r=r+Math.imul(x,Y)|0,i=i+Math.imul(x,J)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,J)|0,r=r+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=i+Math.imul(p,se)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,r=r+Math.imul(h,ue)|0,i=i+Math.imul(h,le)|0,i=i+Math.imul(f,ue)|0,o=o+Math.imul(f,le)|0;var xe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(P,q),i=Math.imul(P,U),i=i+Math.imul(R,q)|0,o=Math.imul(R,U),r=r+Math.imul(N,z)|0,i=i+Math.imul(N,V)|0,i=i+Math.imul(F,z)|0,o=o+Math.imul(F,V)|0,r=r+Math.imul(T,G)|0,i=i+Math.imul(T,K)|0,i=i+Math.imul(M,G)|0,o=o+Math.imul(M,K)|0,r=r+Math.imul(k,Y)|0,i=i+Math.imul(k,J)|0,i=i+Math.imul(S,Y)|0,o=o+Math.imul(S,J)|0,r=r+Math.imul(x,Q)|0,i=i+Math.imul(x,ee)|0,i=i+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(w,ne)|0,i=i+Math.imul(w,re)|0,i=i+Math.imul(D,ne)|0,o=o+Math.imul(D,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,se)|0,i=i+Math.imul(y,oe)|0,o=o+Math.imul(y,se)|0,r=r+Math.imul(p,ue)|0,i=i+Math.imul(p,le)|0,i=i+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0,r=r+Math.imul(h,he)|0,i=i+Math.imul(h,fe)|0,i=i+Math.imul(f,he)|0,o=o+Math.imul(f,fe)|0;var _e=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(B,q),i=Math.imul(B,U),i=i+Math.imul(j,q)|0,o=Math.imul(j,U),r=r+Math.imul(P,z)|0,i=i+Math.imul(P,V)|0,i=i+Math.imul(R,z)|0,o=o+Math.imul(R,V)|0,r=r+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(F,G)|0,o=o+Math.imul(F,K)|0,r=r+Math.imul(T,Y)|0,i=i+Math.imul(T,J)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,J)|0,r=r+Math.imul(k,Q)|0,i=i+Math.imul(k,ee)|0,i=i+Math.imul(S,Q)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(x,ne)|0,i=i+Math.imul(x,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(w,oe)|0,i=i+Math.imul(w,se)|0,i=i+Math.imul(D,oe)|0,o=o+Math.imul(D,se)|0,r=r+Math.imul(v,ue)|0,i=i+Math.imul(v,le)|0,i=i+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(m,he)|0,o=o+Math.imul(m,fe)|0,r=r+Math.imul(h,pe)|0,i=i+Math.imul(h,me)|0,i=i+Math.imul(f,pe)|0,o=o+Math.imul(f,me)|0;var Ce=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,z),i=Math.imul(B,V),i=i+Math.imul(j,z)|0,o=Math.imul(j,V),r=r+Math.imul(P,G)|0,i=i+Math.imul(P,K)|0,i=i+Math.imul(R,G)|0,o=o+Math.imul(R,K)|0,r=r+Math.imul(N,Y)|0,i=i+Math.imul(N,J)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,J)|0,r=r+Math.imul(T,Q)|0,i=i+Math.imul(T,ee)|0,i=i+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(k,ne)|0,i=i+Math.imul(k,re)|0,i=i+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(x,oe)|0,i=i+Math.imul(x,se)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,r=r+Math.imul(w,ue)|0,i=i+Math.imul(w,le)|0,i=i+Math.imul(D,ue)|0,o=o+Math.imul(D,le)|0,r=r+Math.imul(v,he)|0,i=i+Math.imul(v,fe)|0,i=i+Math.imul(y,he)|0,o=o+Math.imul(y,fe)|0,r=r+Math.imul(p,pe)|0,i=i+Math.imul(p,me)|0,i=i+Math.imul(m,pe)|0,o=o+Math.imul(m,me)|0;var ke=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(B,G),i=Math.imul(B,K),i=i+Math.imul(j,G)|0,o=Math.imul(j,K),r=r+Math.imul(P,Y)|0,i=i+Math.imul(P,J)|0,i=i+Math.imul(R,Y)|0,o=o+Math.imul(R,J)|0,r=r+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(F,Q)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(T,ne)|0,i=i+Math.imul(T,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(k,oe)|0,i=i+Math.imul(k,se)|0,i=i+Math.imul(S,oe)|0,o=o+Math.imul(S,se)|0,r=r+Math.imul(x,ue)|0,i=i+Math.imul(x,le)|0,i=i+Math.imul(_,ue)|0,o=o+Math.imul(_,le)|0,r=r+Math.imul(w,he)|0,i=i+Math.imul(w,fe)|0,i=i+Math.imul(D,he)|0,o=o+Math.imul(D,fe)|0,r=r+Math.imul(v,pe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(y,pe)|0,o=o+Math.imul(y,me)|0;var Se=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,Y),i=Math.imul(B,J),i=i+Math.imul(j,Y)|0,o=Math.imul(j,J),r=r+Math.imul(P,Q)|0,i=i+Math.imul(P,ee)|0,i=i+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,r=r+Math.imul(N,ne)|0,i=i+Math.imul(N,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(T,oe)|0,i=i+Math.imul(T,se)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,r=r+Math.imul(k,ue)|0,i=i+Math.imul(k,le)|0,i=i+Math.imul(S,ue)|0,o=o+Math.imul(S,le)|0,r=r+Math.imul(x,he)|0,i=i+Math.imul(x,fe)|0,i=i+Math.imul(_,he)|0,o=o+Math.imul(_,fe)|0,r=r+Math.imul(w,pe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(D,pe)|0,o=o+Math.imul(D,me)|0;var Ae=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(B,Q),i=Math.imul(B,ee),i=i+Math.imul(j,Q)|0,o=Math.imul(j,ee),r=r+Math.imul(P,ne)|0,i=i+Math.imul(P,re)|0,i=i+Math.imul(R,ne)|0,o=o+Math.imul(R,re)|0,r=r+Math.imul(N,oe)|0,i=i+Math.imul(N,se)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,se)|0,r=r+Math.imul(T,ue)|0,i=i+Math.imul(T,le)|0,i=i+Math.imul(M,ue)|0,o=o+Math.imul(M,le)|0,r=r+Math.imul(k,he)|0,i=i+Math.imul(k,fe)|0,i=i+Math.imul(S,he)|0,o=o+Math.imul(S,fe)|0,r=r+Math.imul(x,pe)|0,i=i+Math.imul(x,me)|0,i=i+Math.imul(_,pe)|0,o=o+Math.imul(_,me)|0;var Te=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(j,ne)|0,o=Math.imul(j,re),r=r+Math.imul(P,oe)|0,i=i+Math.imul(P,se)|0,i=i+Math.imul(R,oe)|0,o=o+Math.imul(R,se)|0,r=r+Math.imul(N,ue)|0,i=i+Math.imul(N,le)|0,i=i+Math.imul(F,ue)|0,o=o+Math.imul(F,le)|0,r=r+Math.imul(T,he)|0,i=i+Math.imul(T,fe)|0,i=i+Math.imul(M,he)|0,o=o+Math.imul(M,fe)|0,r=r+Math.imul(k,pe)|0,i=i+Math.imul(k,me)|0,i=i+Math.imul(S,pe)|0,o=o+Math.imul(S,me)|0;var Me=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,oe),i=Math.imul(B,se),i=i+Math.imul(j,oe)|0,o=Math.imul(j,se),r=r+Math.imul(P,ue)|0,i=i+Math.imul(P,le)|0,i=i+Math.imul(R,ue)|0,o=o+Math.imul(R,le)|0,r=r+Math.imul(N,he)|0,i=i+Math.imul(N,fe)|0,i=i+Math.imul(F,he)|0,o=o+Math.imul(F,fe)|0,r=r+Math.imul(T,pe)|0,i=i+Math.imul(T,me)|0,i=i+Math.imul(M,pe)|0,o=o+Math.imul(M,me)|0;var Oe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ue),i=Math.imul(B,le),i=i+Math.imul(j,ue)|0,o=Math.imul(j,le),r=r+Math.imul(P,he)|0,i=i+Math.imul(P,fe)|0,i=i+Math.imul(R,he)|0,o=o+Math.imul(R,fe)|0,r=r+Math.imul(N,pe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(F,pe)|0,o=o+Math.imul(F,me)|0;var Ne=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,he),i=Math.imul(B,fe),i=i+Math.imul(j,he)|0,o=Math.imul(j,fe),r=r+Math.imul(P,pe)|0,i=i+Math.imul(P,me)|0,i=i+Math.imul(R,pe)|0,o=o+Math.imul(R,me)|0;var Fe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,r=Math.imul(B,pe),i=Math.imul(B,me),i=i+Math.imul(j,pe)|0,o=Math.imul(j,me);var Ie=(l+r|0)+((8191&i)<<13)|0;return l=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,u[0]=ge,u[1]=ve,u[2]=ye,u[3]=be,u[4]=we,u[5]=De,u[6]=Ee,u[7]=xe,u[8]=_e,u[9]=Ce,u[10]=ke,u[11]=Se,u[12]=Ae,u[13]=Te,u[14]=Me,u[15]=Oe,u[16]=Ne,u[17]=Fe,u[18]=Ie,0!==l&&(u[19]=l,n.length++),n};function g(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0,i+=s>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function v(e,t,n){var r=new y;return r.mulp(e,t,n)}function y(e,t){this.x=e,this.y=t}Math.imul||(m=p),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?m(this,e,t):r<63?p(this,e,t):r<1024?g(this,e,t):v(this,e,t),n},y.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},y.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=d(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&a}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,s=0|i.words[i.length-1],a=this._countBits(s);n=26-a,0!==n&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var u,l=r.length-i.length;if("mod"!==t){u=new o(null),u.length=l+1,u.words=new Array(u.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);d=Math.min(d/s|0,67108863),r._ishlnsubmul(i,d,f);while(0!==r.negative)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);u&&(u.words[f]=d)}return u&&u.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),s=new o(0),a=new o(0),u=new o(1),l=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++l;var c=n.clone(),h=t.clone();while(!t.isZero()){for(var f=0,d=1;0===(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0){t.iushrn(f);while(f-- >0)(i.isOdd()||s.isOdd())&&(i.iadd(c),s.isub(h)),i.iushrn(1),s.iushrn(1)}for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0){n.iushrn(p);while(p-- >0)(a.isOdd()||u.isOdd())&&(a.iadd(c),u.isub(h)),a.iushrn(1),u.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(u)):(n.isub(t),a.isub(i),u.isub(s))}return{a:a,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,s=new o(1),a=new o(0),u=n.clone();while(t.cmpn(1)>0&&n.cmpn(1)>0){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);while(l-- >0)s.isOdd()&&s.iadd(u),s.iushrn(1)}for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0){n.iushrn(h);while(h-- >0)a.isOdd()&&a.iadd(u),a.iushrn(1)}t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return i=0===t.cmpn(1)?s:a,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function D(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function k(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(D,w),D.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},D.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new D;else if("p224"===e)t=new E;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new _}return b[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),s=0;while(!i.isZero()&&0===i.andln(1))s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,l).cmp(u))c.redIAdd(u);var h=this.pow(c,i),f=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=s;while(0!==d.cmp(a)){for(var m=d,g=0;0!==m.cmp(a);g++)m=m.redSqr();r(g=0;i--){for(var c=t.words[i],h=l-1;h>=0;h--){var f=c>>h&1;s!==r[0]&&(s=this.sqr(s)),0!==f||0!==a?(a<<=1,a|=f,u++,(u===n||0===i&&0===h)&&(s=this.mul(s,r[a]),u=0,a=0)):u=0}l=26}return s},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new k(e)},i(k,C),k.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},k.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},k.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},k.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"37e8":function(e,t,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),s=n("df75");e.exports=r?Object.defineProperties:function(e,t){o(e);var n,r=s(t),a=r.length,u=0;while(a>u)i.f(e,n=r[u++],t[n]);return e}},"380f":function(e,t,n){"use strict";var r=n("f3a3"),i=r.assert,o=r.parseBytes,s=r.cachedProperty;function a(e,t){this.eddsa=e,this._secret=o(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=o(t.pub)}a.fromPublic=function(e,t){return t instanceof a?t:new a(e,{pub:t})},a.fromSecret=function(e,t){return t instanceof a?t:new a(e,{secret:t})},a.prototype.secret=function(){return this._secret},s(a,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),s(a,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),s(a,"privBytes",(function(){var e=this.eddsa,t=this.hash(),n=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),s(a,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),s(a,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),s(a,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),a.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},a.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},a.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),e)},a.prototype.getPublic=function(e){return r.encode(this.pubBytes(),e)},e.exports=a},3835:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return u}));n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0");function i(e,t){var n=e&&("undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,i,o=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(r=n.next()).done);s=!0)if(o.push(r.value),t&&o.length===t)break}catch(u){a=!0,i=u}finally{try{s||null==n["return"]||n["return"]()}finally{if(a)throw i}}return o}}n("fb6a"),n("a630");function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n>>2];e.sigBytes-=t}},v=(r.BlockCipher=h.extend({cfg:h.cfg.extend({mode:p,padding:g}),reset:function(){var e;h.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),r.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),y=n.format={},b=y.OpenSSL={stringify:function(e){var t,n=e.ciphertext,r=e.salt;return t=r?o.create([1398893684,1701076831]).concat(r).concat(n):n,t.toString(u)},parse:function(e){var t,n=u.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=o.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),v.create({ciphertext:n,salt:t})}},w=r.SerializableCipher=i.extend({cfg:i.extend({format:b}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),o=i.finalize(t),s=i.cfg;return v.create({ciphertext:o,key:n,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=e.createDecryptor(n,r).finalize(t.ciphertext);return i},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),D=n.kdf={},E=D.OpenSSL={execute:function(e,t,n,r){r||(r=o.random(8));var i=c.create({keySize:t+n}).compute(e,r),s=o.create(i.words.slice(t),4*n);return i.sigBytes=4*t,v.create({key:i,iv:s,salt:r})}},x=r.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:E}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=r.kdf.execute(n,e.keySize,e.ivSize);r.iv=i.iv;var o=w.encrypt.call(this,e,t,i.key,r);return o.mixIn(i),o},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);r.iv=i.iv;var o=w.decrypt.call(this,e,t,i.key,r);return o}})}()}))},3934:function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"393a":function(e,t,n){"use strict";var r=n("e444"),i=n("512c"),o=n("ba01"),s=n("051b"),a=n("8a0d"),u=n("26dd"),l=n("92f0"),c=n("ce7a"),h=n("cc15")("iterator"),f=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",m="values",g=function(){return this};e.exports=function(e,t,n,v,y,b,w){u(n,t,v);var D,E,x,_=function(e){if(!f&&e in A)return A[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},C=t+" Iterator",k=y==m,S=!1,A=e.prototype,T=A[h]||A[d]||y&&A[y],M=T||_(y),O=y?k?_("entries"):M:void 0,N="Array"==t&&A.entries||T;if(N&&(x=c(N.call(new e)),x!==Object.prototype&&x.next&&(l(x,C,!0),r||"function"==typeof x[h]||s(x,h,g))),k&&T&&T.name!==m&&(S=!0,M=function(){return T.call(this)}),r&&!w||!f&&!S&&A[h]||s(A,h,M),a[t]=M,a[C]=g,y)if(D={values:k?M:_(m),keys:b?M:_(p),entries:O},w)for(E in D)E in A||o(A,E,D[E]);else i(i.P+i.F*(f||S),t,D);return D}},"399f":function(e,t,n){(function(e){(function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var s;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(10).Buffer}catch(M){}function a(e,t){var n=e.charCodeAt(t);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+e)}function u(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function l(e,t,n,i){for(var o=0,s=0,a=Math.min(e.length,n),u=t;u=49?l-49+10:l>=17?l-17+10:l,r(l>=0&&s0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&(i++,this.negative=1),i=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)i=u(e,t,r)<=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else{var a=e.length-t;for(r=a%2===0?t+1:t;r=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8}this._strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,u=0,c=n;c1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=h}catch(M){o.prototype.inspect=h}else o.prototype.inspect=h;function h(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,s=0;s>>24-i&16777215,n=0!==o||s!==this.length-1?f[6-u.length]+u+n:u+n,i+=2,i>=26&&(i-=26,s--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=d[e],c=p[e];n="";var h=this.clone();h.negative=0;while(!h.isZero()){var m=h.modrn(c).toString(e);h=h.idivn(c),n=h.isZero()?m+n:f[l-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},s&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(s,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};var m=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)};function g(e){for(var t=new Array(e.bitLength()),n=0;n>>i&1}return t}function v(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,u=s/67108864|0;n.words[0]=a;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=f;d++){var p=l-d|0;i=0|e.words[p],o=0|t.words[d],s=i*o+h,c+=s/67108864|0,h=67108863&s}n.words[l]=0|h,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n._strip()}o.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var s=m(e,o),a="le"===t?"LE":"BE";return this["_toArrayLike"+a](s,i),s},o.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=s>>>24,o+=2)}if(n=0&&(e[n--]=s>>8&255),n>=0&&(e[n--]=s>>16&255),6===o?(n>=0&&(e[n--]=s>>24&255),r=0,o=0):(r=s>>>24,o+=2)}if(n>=0){e[n--]=r;while(n>=0)e[n--]=0}},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==o&&s>26,this.words[s]=67108863&t;if(0===o&&s>>13,d=0|s[1],p=8191&d,m=d>>>13,g=0|s[2],v=8191&g,y=g>>>13,b=0|s[3],w=8191&b,D=b>>>13,E=0|s[4],x=8191&E,_=E>>>13,C=0|s[5],k=8191&C,S=C>>>13,A=0|s[6],T=8191&A,M=A>>>13,O=0|s[7],N=8191&O,F=O>>>13,I=0|s[8],P=8191&I,R=I>>>13,L=0|s[9],B=8191&L,j=L>>>13,$=0|a[0],q=8191&$,U=$>>>13,H=0|a[1],z=8191&H,V=H>>>13,W=0|a[2],G=8191&W,K=W>>>13,X=0|a[3],Y=8191&X,J=X>>>13,Z=0|a[4],Q=8191&Z,ee=Z>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ue=8191&ae,le=ae>>>13,ce=0|a[8],he=8191&ce,fe=ce>>>13,de=0|a[9],pe=8191&de,me=de>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(h,q),i=Math.imul(h,U),i=i+Math.imul(f,q)|0,o=Math.imul(f,U);var ge=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,q),i=Math.imul(p,U),i=i+Math.imul(m,q)|0,o=Math.imul(m,U),r=r+Math.imul(h,z)|0,i=i+Math.imul(h,V)|0,i=i+Math.imul(f,z)|0,o=o+Math.imul(f,V)|0;var ve=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,q),i=Math.imul(v,U),i=i+Math.imul(y,q)|0,o=Math.imul(y,U),r=r+Math.imul(p,z)|0,i=i+Math.imul(p,V)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,V)|0,r=r+Math.imul(h,G)|0,i=i+Math.imul(h,K)|0,i=i+Math.imul(f,G)|0,o=o+Math.imul(f,K)|0;var ye=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,q),i=Math.imul(w,U),i=i+Math.imul(D,q)|0,o=Math.imul(D,U),r=r+Math.imul(v,z)|0,i=i+Math.imul(v,V)|0,i=i+Math.imul(y,z)|0,o=o+Math.imul(y,V)|0,r=r+Math.imul(p,G)|0,i=i+Math.imul(p,K)|0,i=i+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0,r=r+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(f,Y)|0,o=o+Math.imul(f,J)|0;var be=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(x,q),i=Math.imul(x,U),i=i+Math.imul(_,q)|0,o=Math.imul(_,U),r=r+Math.imul(w,z)|0,i=i+Math.imul(w,V)|0,i=i+Math.imul(D,z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,J)|0,r=r+Math.imul(h,Q)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(f,Q)|0,o=o+Math.imul(f,ee)|0;var we=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(k,q),i=Math.imul(k,U),i=i+Math.imul(S,q)|0,o=Math.imul(S,U),r=r+Math.imul(x,z)|0,i=i+Math.imul(x,V)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,V)|0,r=r+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(D,G)|0,o=o+Math.imul(D,K)|0,r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,r=r+Math.imul(p,Q)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=i+Math.imul(h,re)|0,i=i+Math.imul(f,ne)|0,o=o+Math.imul(f,re)|0;var De=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(T,q),i=Math.imul(T,U),i=i+Math.imul(M,q)|0,o=Math.imul(M,U),r=r+Math.imul(k,z)|0,i=i+Math.imul(k,V)|0,i=i+Math.imul(S,z)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(x,G)|0,i=i+Math.imul(x,K)|0,i=i+Math.imul(_,G)|0,o=o+Math.imul(_,K)|0,r=r+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(D,Y)|0,o=o+Math.imul(D,J)|0,r=r+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=i+Math.imul(p,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=i+Math.imul(h,se)|0,i=i+Math.imul(f,oe)|0,o=o+Math.imul(f,se)|0;var Ee=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(N,q),i=Math.imul(N,U),i=i+Math.imul(F,q)|0,o=Math.imul(F,U),r=r+Math.imul(T,z)|0,i=i+Math.imul(T,V)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(k,G)|0,i=i+Math.imul(k,K)|0,i=i+Math.imul(S,G)|0,o=o+Math.imul(S,K)|0,r=r+Math.imul(x,Y)|0,i=i+Math.imul(x,J)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,J)|0,r=r+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=i+Math.imul(p,se)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,r=r+Math.imul(h,ue)|0,i=i+Math.imul(h,le)|0,i=i+Math.imul(f,ue)|0,o=o+Math.imul(f,le)|0;var xe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(P,q),i=Math.imul(P,U),i=i+Math.imul(R,q)|0,o=Math.imul(R,U),r=r+Math.imul(N,z)|0,i=i+Math.imul(N,V)|0,i=i+Math.imul(F,z)|0,o=o+Math.imul(F,V)|0,r=r+Math.imul(T,G)|0,i=i+Math.imul(T,K)|0,i=i+Math.imul(M,G)|0,o=o+Math.imul(M,K)|0,r=r+Math.imul(k,Y)|0,i=i+Math.imul(k,J)|0,i=i+Math.imul(S,Y)|0,o=o+Math.imul(S,J)|0,r=r+Math.imul(x,Q)|0,i=i+Math.imul(x,ee)|0,i=i+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(w,ne)|0,i=i+Math.imul(w,re)|0,i=i+Math.imul(D,ne)|0,o=o+Math.imul(D,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,se)|0,i=i+Math.imul(y,oe)|0,o=o+Math.imul(y,se)|0,r=r+Math.imul(p,ue)|0,i=i+Math.imul(p,le)|0,i=i+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0,r=r+Math.imul(h,he)|0,i=i+Math.imul(h,fe)|0,i=i+Math.imul(f,he)|0,o=o+Math.imul(f,fe)|0;var _e=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(B,q),i=Math.imul(B,U),i=i+Math.imul(j,q)|0,o=Math.imul(j,U),r=r+Math.imul(P,z)|0,i=i+Math.imul(P,V)|0,i=i+Math.imul(R,z)|0,o=o+Math.imul(R,V)|0,r=r+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(F,G)|0,o=o+Math.imul(F,K)|0,r=r+Math.imul(T,Y)|0,i=i+Math.imul(T,J)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,J)|0,r=r+Math.imul(k,Q)|0,i=i+Math.imul(k,ee)|0,i=i+Math.imul(S,Q)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(x,ne)|0,i=i+Math.imul(x,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(w,oe)|0,i=i+Math.imul(w,se)|0,i=i+Math.imul(D,oe)|0,o=o+Math.imul(D,se)|0,r=r+Math.imul(v,ue)|0,i=i+Math.imul(v,le)|0,i=i+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(m,he)|0,o=o+Math.imul(m,fe)|0,r=r+Math.imul(h,pe)|0,i=i+Math.imul(h,me)|0,i=i+Math.imul(f,pe)|0,o=o+Math.imul(f,me)|0;var Ce=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,z),i=Math.imul(B,V),i=i+Math.imul(j,z)|0,o=Math.imul(j,V),r=r+Math.imul(P,G)|0,i=i+Math.imul(P,K)|0,i=i+Math.imul(R,G)|0,o=o+Math.imul(R,K)|0,r=r+Math.imul(N,Y)|0,i=i+Math.imul(N,J)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,J)|0,r=r+Math.imul(T,Q)|0,i=i+Math.imul(T,ee)|0,i=i+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(k,ne)|0,i=i+Math.imul(k,re)|0,i=i+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(x,oe)|0,i=i+Math.imul(x,se)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,r=r+Math.imul(w,ue)|0,i=i+Math.imul(w,le)|0,i=i+Math.imul(D,ue)|0,o=o+Math.imul(D,le)|0,r=r+Math.imul(v,he)|0,i=i+Math.imul(v,fe)|0,i=i+Math.imul(y,he)|0,o=o+Math.imul(y,fe)|0,r=r+Math.imul(p,pe)|0,i=i+Math.imul(p,me)|0,i=i+Math.imul(m,pe)|0,o=o+Math.imul(m,me)|0;var ke=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(B,G),i=Math.imul(B,K),i=i+Math.imul(j,G)|0,o=Math.imul(j,K),r=r+Math.imul(P,Y)|0,i=i+Math.imul(P,J)|0,i=i+Math.imul(R,Y)|0,o=o+Math.imul(R,J)|0,r=r+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(F,Q)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(T,ne)|0,i=i+Math.imul(T,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(k,oe)|0,i=i+Math.imul(k,se)|0,i=i+Math.imul(S,oe)|0,o=o+Math.imul(S,se)|0,r=r+Math.imul(x,ue)|0,i=i+Math.imul(x,le)|0,i=i+Math.imul(_,ue)|0,o=o+Math.imul(_,le)|0,r=r+Math.imul(w,he)|0,i=i+Math.imul(w,fe)|0,i=i+Math.imul(D,he)|0,o=o+Math.imul(D,fe)|0,r=r+Math.imul(v,pe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(y,pe)|0,o=o+Math.imul(y,me)|0;var Se=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,Y),i=Math.imul(B,J),i=i+Math.imul(j,Y)|0,o=Math.imul(j,J),r=r+Math.imul(P,Q)|0,i=i+Math.imul(P,ee)|0,i=i+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,r=r+Math.imul(N,ne)|0,i=i+Math.imul(N,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(T,oe)|0,i=i+Math.imul(T,se)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,r=r+Math.imul(k,ue)|0,i=i+Math.imul(k,le)|0,i=i+Math.imul(S,ue)|0,o=o+Math.imul(S,le)|0,r=r+Math.imul(x,he)|0,i=i+Math.imul(x,fe)|0,i=i+Math.imul(_,he)|0,o=o+Math.imul(_,fe)|0,r=r+Math.imul(w,pe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(D,pe)|0,o=o+Math.imul(D,me)|0;var Ae=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(B,Q),i=Math.imul(B,ee),i=i+Math.imul(j,Q)|0,o=Math.imul(j,ee),r=r+Math.imul(P,ne)|0,i=i+Math.imul(P,re)|0,i=i+Math.imul(R,ne)|0,o=o+Math.imul(R,re)|0,r=r+Math.imul(N,oe)|0,i=i+Math.imul(N,se)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,se)|0,r=r+Math.imul(T,ue)|0,i=i+Math.imul(T,le)|0,i=i+Math.imul(M,ue)|0,o=o+Math.imul(M,le)|0,r=r+Math.imul(k,he)|0,i=i+Math.imul(k,fe)|0,i=i+Math.imul(S,he)|0,o=o+Math.imul(S,fe)|0,r=r+Math.imul(x,pe)|0,i=i+Math.imul(x,me)|0,i=i+Math.imul(_,pe)|0,o=o+Math.imul(_,me)|0;var Te=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(j,ne)|0,o=Math.imul(j,re),r=r+Math.imul(P,oe)|0,i=i+Math.imul(P,se)|0,i=i+Math.imul(R,oe)|0,o=o+Math.imul(R,se)|0,r=r+Math.imul(N,ue)|0,i=i+Math.imul(N,le)|0,i=i+Math.imul(F,ue)|0,o=o+Math.imul(F,le)|0,r=r+Math.imul(T,he)|0,i=i+Math.imul(T,fe)|0,i=i+Math.imul(M,he)|0,o=o+Math.imul(M,fe)|0,r=r+Math.imul(k,pe)|0,i=i+Math.imul(k,me)|0,i=i+Math.imul(S,pe)|0,o=o+Math.imul(S,me)|0;var Me=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,oe),i=Math.imul(B,se),i=i+Math.imul(j,oe)|0,o=Math.imul(j,se),r=r+Math.imul(P,ue)|0,i=i+Math.imul(P,le)|0,i=i+Math.imul(R,ue)|0,o=o+Math.imul(R,le)|0,r=r+Math.imul(N,he)|0,i=i+Math.imul(N,fe)|0,i=i+Math.imul(F,he)|0,o=o+Math.imul(F,fe)|0,r=r+Math.imul(T,pe)|0,i=i+Math.imul(T,me)|0,i=i+Math.imul(M,pe)|0,o=o+Math.imul(M,me)|0;var Oe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ue),i=Math.imul(B,le),i=i+Math.imul(j,ue)|0,o=Math.imul(j,le),r=r+Math.imul(P,he)|0,i=i+Math.imul(P,fe)|0,i=i+Math.imul(R,he)|0,o=o+Math.imul(R,fe)|0,r=r+Math.imul(N,pe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(F,pe)|0,o=o+Math.imul(F,me)|0;var Ne=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,he),i=Math.imul(B,fe),i=i+Math.imul(j,he)|0,o=Math.imul(j,fe),r=r+Math.imul(P,pe)|0,i=i+Math.imul(P,me)|0,i=i+Math.imul(R,pe)|0,o=o+Math.imul(R,me)|0;var Fe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,r=Math.imul(B,pe),i=Math.imul(B,me),i=i+Math.imul(j,pe)|0,o=Math.imul(j,me);var Ie=(l+r|0)+((8191&i)<<13)|0;return l=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,u[0]=ge,u[1]=ve,u[2]=ye,u[3]=be,u[4]=we,u[5]=De,u[6]=Ee,u[7]=xe,u[8]=_e,u[9]=Ce,u[10]=ke,u[11]=Se,u[12]=Ae,u[13]=Te,u[14]=Me,u[15]=Oe,u[16]=Ne,u[17]=Fe,u[18]=Ie,0!==l&&(u[19]=l,n.length++),n};function b(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0,i+=s>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function w(e,t,n){return b(e,t,n)}function D(e,t){this.x=e,this.y=t}Math.imul||(y=v),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?y(this,e,t):r<63?v(this,e,t):r<1024?b(this,e,t):w(this,e,t),n},D.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},D.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,n+=o/67108864|0,n+=s>>>26,this.words[i]=67108863&s}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=g(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&a}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===a)return this._strip();for(r(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,s=0|i.words[i.length-1],a=this._countBits(s);n=26-a,0!==n&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var u,l=r.length-i.length;if("mod"!==t){u=new o(null),u.length=l+1,u.words=new Array(u.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);d=Math.min(d/s|0,67108863),r._ishlnsubmul(i,d,f);while(0!==r.negative)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);u&&(u.words[f]=d)}return u&&u._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/e|0,n=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),s=new o(0),a=new o(0),u=new o(1),l=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++l;var c=n.clone(),h=t.clone();while(!t.isZero()){for(var f=0,d=1;0===(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0){t.iushrn(f);while(f-- >0)(i.isOdd()||s.isOdd())&&(i.iadd(c),s.isub(h)),i.iushrn(1),s.iushrn(1)}for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0){n.iushrn(p);while(p-- >0)(a.isOdd()||u.isOdd())&&(a.iadd(c),u.isub(h)),a.iushrn(1),u.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(u)):(n.isub(t),a.isub(i),u.isub(s))}return{a:a,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,s=new o(1),a=new o(0),u=n.clone();while(t.cmpn(1)>0&&n.cmpn(1)>0){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);while(l-- >0)s.isOdd()&&s.iadd(u),s.iushrn(1)}for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0){n.iushrn(h);while(h-- >0)a.isOdd()&&a.iadd(u),a.iushrn(1)}t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return i=0===t.cmpn(1)?s:a,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new A(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var E={k256:null,p224:null,p192:null,p25519:null};function x(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function C(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function T(e){A.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},x.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},x.prototype.split=function(e,t){e.iushrn(this.n,0,t)},x.prototype.imulK=function(e){return e.imul(this.k)},i(_,x),_.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(E[e])return E[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new C;else if("p192"===e)t=new k;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return E[e]=t,t},A.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},A.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},A.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(c(e,e.umod(this.m)._forceRed(this)),e)},A.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},A.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},A.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},A.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},A.prototype.isqr=function(e){return this.imul(e,e.clone())},A.prototype.sqr=function(e){return this.mul(e,e)},A.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),s=0;while(!i.isZero()&&0===i.andln(1))s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,l).cmp(u))c.redIAdd(u);var h=this.pow(c,i),f=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=s;while(0!==d.cmp(a)){for(var m=d,g=0;0!==m.cmp(a);g++)m=m.redSqr();r(g=0;i--){for(var c=t.words[i],h=l-1;h>=0;h--){var f=c>>h&1;s!==r[0]&&(s=this.sqr(s)),0!==f||0!==a?(a<<=1,a|=f,u++,(u===n||0===i&&0===h)&&(s=this.mul(s,r[a]),u=0,a=0)):u=0}l=26}return s},A.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},A.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new T(e)},i(T,A),T.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},T.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},T.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},T.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},T.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"39a9":function(e,t,n){ +class n{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(e){const t=this.file.content,r=t.length;let i=this.offset,o=this.line,s=this.col;for(;i>0&&e<0;)if(i--,e++,t.charCodeAt(i)==Hk.$LF){o--;const e=t.substr(0,i-1).lastIndexOf(String.fromCharCode(Hk.$LF));s=e>0?i-e:i}else s--;for(;i0;){const n=t.charCodeAt(i);i++,e--,n==Hk.$LF?(o++,s=0):s++}return new n(this.file,i,o,s)}getContext(e,t){const n=this.file.content;let r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);let i=r,o=0,s=0;for(;o0&&(r--,o++,"\n"!=n[r]||++s!=t););for(o=0,s=0;o]").concat(e.after,'")'):this.msg}toString(){const e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}},t.typeSourceSpan=function(e,t){const o=Wk.identifierModuleUrl(t),s=null!=o?"in ".concat(e," ").concat(Wk.identifierName(t)," in ").concat(o):"in ".concat(e," ").concat(Wk.identifierName(t)),a=new r("",s);return new i(new n(a,-1,-1,-1),new n(a,-1,-1,-1))},t.r3JitTypeSourceSpan=function(e,t,o){const s="in ".concat(e," ").concat(t," in ").concat(o),a=new r("",s);return new i(new n(a,-1,-1,-1),new n(a,-1,-1,-1))}}));const{ParseSourceSpan:Kk}=Gk,{htmlTrim:Xk,getLeadingAndTrailingHtmlWhitespace:Yk,hasHtmlWhitespace:Jk,canHaveInterpolation:Zk,getNodeCssStyleDisplay:Qk,isDanglingSpaceSensitiveNode:eS,isIndentationSensitiveNode:tS,isLeadingSpaceSensitiveNode:nS,isTrailingSpaceSensitiveNode:rS,isWhitespaceSensitiveNode:iS}=qk,oS=[function(e){return e.map(e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&0!==e.children.length&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){const[t,...n]=e.children;return e.clone({children:1===t.value.length?n:[t.clone({value:t.value.slice(1)}),...n]})}return e})},function(e){const t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;return e.map(e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r{if(e.children){const r=e.children.map(t);if(r.some(Boolean)){const t=[];for(let i=0;i"cdata"===e.type,e=>""))},function(e,t){if("html"===t.parser)return e;const n=/{{([\S\s]+?)}}/g;return e.map(e=>{if(!Zk(e))return e;const t=[];for(const r of e.children){if("text"!==r.type){t.push(r);continue}let e=r.sourceSpan.start,i=null;const o=r.value.split(n);for(let n=0;n{if(!e.children)return e;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===Xk(e.children[0].value).length)return e.clone({children:[],hasDanglingSpaces:0!==e.children.length});const n=iS(e),r=tS(e);return e.clone({isWhitespaceSensitive:n,isIndentationSensitive:r,children:e.children.reduce((e,r)=>{if("text"!==r.type||n)return e.concat(r);const i=[],{leadingWhitespace:o,text:s,trailingWhitespace:a}=Yk(r.value);return o&&i.push({type:t}),s&&i.push({type:"text",value:s,sourceSpan:new Kk(r.sourceSpan.start.moveBy(o.length),r.sourceSpan.end.moveBy(-a.length))}),a&&i.push({type:t}),e.concat(i)},[]).reduce((e,n,r,i)=>{if(n.type===t)return e;const o=0!==r&&i[r-1].type===t,s=r!==i.length-1&&i[r+1].type===t;return e.concat(Object.assign({},n,{hasLeadingSpaces:o,hasTrailingSpaces:s}))},[])})})},function(e,t){return e.map(e=>Object.assign(e,{cssDisplay:Qk(e,t)}))},function(e){return e.map(e=>Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)}))},function(e,t){return e.map(e=>"element"!==e.type?e:Object.assign(e,{hasHtmComponentClosingTag:e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))}))},function(e,t){return e.map(e=>e.children?0===e.children.length?e.clone({isDanglingSpaceSensitive:eS(e)}):e.clone({children:e.children.map(e=>Object.assign({},e,{isLeadingSpaceSensitive:nS(e,t),isTrailingSpaceSensitive:rS(e,t)})).map((e,t,n)=>Object.assign({},e,{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive}))}):e)},function(e){const t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!Jk(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;return e.map(e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r")+i.firstChild.value+"")+o.value,sourceSpan:new Kk(n.sourceSpan.start,o.sourceSpan.end),isTrailingSpaceSensitive:s,hasTrailingSpaces:a}))}else t.push(i)}return e.clone({children:t})}}return e})}];var sS=function(e,t){for(const n of oS)e=n(e,t);return e},aS={hasPragma:function(e){return/^\s*/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}},uS={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}};const{builders:{concat:lS,group:cS}}=cn;var hS={isVueEventBindingExpression:function(e){const t=e.trim();return/^([\w$]+|\([^)]*?\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t)},printVueFor:function(e,t){const{left:n,operator:r,right:i}=function(e){const t=/([^]*?)\s+(in|of)\s+([^]*)/,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,i=e.match(t);if(!i)return;const o={};o.for=i[3].trim();const s=i[1].trim().replace(r,""),a=s.match(n);return a?(o.alias=s.replace(n,""),o.iterator1=a[1].trim(),a[2]&&(o.iterator2=a[2].trim())):o.alias=s,{left:"".concat([o.alias,o.iterator1,o.iterator2].filter(Boolean).join(",")),operator:i[2],right:o.for}}(e);return lS([cS(t("function _(".concat(n,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",r," ",t(i,{parser:"__js_expression"},{stripTrailingHardline:!0})])},printVueBindings:function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0},{stripTrailingHardline:!0})}},fS=Be((function(e){!function(t,n){e.exports?e.exports=n():t.parseSrcset=n()}(Le,(function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var n,r=t.exec(e.substring(v));if(r)return n=r[0],v+=n.length,n}for(var o,s,a,u,l,c=e.length,h=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,p=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,v=0,y=[];;){if(i(f),v>=c)return y;o=i(d),s=[],","===o.slice(-1)?(o=o.replace(p,""),w()):b()}function b(){for(i(h),a="",u="in descriptor";;){if(l=e.charAt(v),"in descriptor"===u)if(r(l))a&&(s.push(a),a="",u="after descriptor");else{if(","===l)return v+=1,a&&s.push(a),void w();if("("===l)a+=l,u="in parens";else{if(""===l)return a&&s.push(a),void w();a+=l}}else if("in parens"===u)if(")"===l)a+=l,u="in descriptor";else{if(""===l)return s.push(a),void w();a+=l}else if("after descriptor"===u)if(r(l));else{if(""===l)return void w();u="in descriptor",v-=1}v+=1}}function w(){var t,r,i,a,u,l,c,h,f,d=!1,p={};for(a=0;ae),r=t.some(({h:e})=>e);if(n+r+t.some(({d:e})=>e)>1)throw new Error("Mixed descriptor in srcset is not supported");const i=n?"w":r?"h":"d",o=n?"w":r?"h":"x",s=e=>Math.max(...e),a=t.map(e=>e.url),u=s(a.map(e=>e.length)),l=t.map(e=>e[i]).map(e=>e?e.toString():""),c=l.map(e=>{const t=e.indexOf(".");return-1===t?e.length:t}),h=s(c);return mS(dS([",",gS]),a.map((e,t)=>{const n=[e],r=l[t];if(r){const i=u-e.length+1,s=h-c[t],a=" ".repeat(i+s);n.push(pS(a," "),r+o)}return dS(n)}))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}};const{builders:yS,utils:{mapDoc:bS,normalizeParts:wS}}=cn,{replaceEndOfLineWith:DS}=Pt,{print:ES}=oD,{breakParent:xS,dedentToRoot:_S,fill:CS,group:kS,hardline:SS,ifBreak:AS,indent:TS,join:MS,line:OS,literalline:NS,softline:FS}=yS,{htmlTrimPreserveIndentation:IS,splitByHtmlWhitespace:RS,countChars:PS,countParents:LS,dedentString:BS,forceBreakChildren:jS,forceBreakContent:$S,forceNextEmptyLine:US,getLastDescendant:qS,getPrettierIgnoreAttributeCommentData:HS,hasPrettierIgnore:zS,inferScriptParser:VS,isVueCustomBlock:WS,isVueNonHtmlBlock:GS,isVueSlotAttribute:KS,isVueSfcBindingsAttribute:XS,isScriptLikeTag:YS,isTextLikeNode:JS,preferHardlineAsLeadingSpaces:ZS,shouldNotPrintClosingTag:QS,shouldPreserveContent:eA,unescapeQuoteEntities:tA,isPreLikeNode:nA}=qk,{insertPragma:rA}=aS,{locStart:iA,locEnd:oA}=uS,{printVueFor:sA,printVueBindings:aA,isVueEventBindingExpression:uA}=hS,{printImgSrcset:lA,printClassNames:cA}=vS;function hA(e){const t=wS(e);return 0===t.length?"":1===t.length?t[0]:yS.concat(t)}function fA(e,t,n){const r=e.getValue();if(jS(r))return hA([xS,hA(e.map(e=>{const t=e.getValue(),n=t.prev?s(t.prev,t):"";return hA([n?hA([n,US(t.prev)?SS:""]):"",o(e)])},"children"))]);const i=r.children.map(()=>Symbol(""));return hA(e.map((e,t)=>{const n=e.getValue();if(JS(n)){if(n.prev&&JS(n.prev)){const t=s(n.prev,n);if(t)return US(n.prev)?hA([SS,SS,o(e)]):hA([t,o(e)])}return o(e)}const r=[],a=[],u=[],l=[],c=n.prev?s(n.prev,n):"",h=n.next?s(n,n.next):"";return c&&(US(n.prev)?r.push(SS,SS):c===SS?r.push(SS):JS(n.prev)?a.push(c):a.push(AS("",FS,{groupId:i[t-1]}))),h&&(US(n)?JS(n.next)&&l.push(SS,SS):h===SS?JS(n.next)&&l.push(SS):u.push(h)),hA([].concat(r,kS(hA([hA(a),kS(hA([o(e),hA(u)]),{id:i[t]})])),l))},"children"));function o(e){const r=e.getValue();return zS(r)?hA([].concat(kA(r,t),DS(t.originalText.slice(iA(r)+(r.prev&&DA(r.prev)?TA(r).length:0),oA(r)-(r.next&&xA(r.next)?NA(r,t).length:0)),NS),AA(r,t))):n(e)}function s(e,t){return JS(e)&&JS(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?ZS(t)?SS:OS:"":ZS(t)?SS:FS:DA(e)&&(zS(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&0!==t.attrs.length)||"element"===e.type&&e.isSelfClosing&&xA(t)?"":!t.isLeadingSpaceSensitive||ZS(t)||xA(t)&&e.lastChild&&CA(e.lastChild)&&e.lastChild.lastChild&&CA(e.lastChild.lastChild)?SS:t.hasLeadingSpaces?OS:FS}}function dA(e,t){let n=e.startSourceSpan.end.offset;e.firstChild&&EA(e.firstChild)&&(n-=MA(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&CA(e.lastChild)?r+=OA(e,t).length:_A(e)&&(r-=NA(e.lastChild,t).length),t.originalText.slice(n,r)}function pA(e,t,n){const r=e.getValue();if(!r.attrs||0===r.attrs.length)return r.isSelfClosing?" ":"";const i=r.prev&&"comment"===r.prev.type&&HS(r.prev.value),o="boolean"==typeof i?()=>i:Array.isArray(i)?e=>i.includes(e.rawName):()=>!1,s=e.map(e=>{const r=e.getValue();return o(r)?hA(DS(t.originalText.slice(iA(r),oA(r)),NS)):n(e)},"attrs"),a="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,u=[TS(hA([a?" ":OS,MS(OS,s)]))];return r.firstChild&&EA(r.firstChild)||r.isSelfClosing&&_A(r.parent)||a?u.push(r.isSelfClosing?" ":""):u.push(r.isSelfClosing?OS:FS),hA(u)}function mA(e,t,n){const r=e.getValue();return hA([gA(r,t),pA(e,t,n),r.isSelfClosing?"":vA(r)])}function gA(e,t){return e.prev&&DA(e.prev)?"":hA([kA(e,t),TA(e)])}function vA(e){return e.firstChild&&EA(e.firstChild)?"":MA(e)}function yA(e,t){return hA([e.isSelfClosing?"":bA(e,t),wA(e,t)])}function bA(e,t){return e.lastChild&&CA(e.lastChild)?"":hA([SA(e,t),OA(e,t)])}function wA(e,t){return(e.next?xA(e.next):_A(e.parent))?"":hA([NA(e,t),AA(e,t)])}function DA(e){return e.next&&!JS(e.next)&&JS(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function EA(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function xA(e){return e.prev&&"docType"!==e.prev.type&&!JS(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function _A(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!JS(qS(e.lastChild))&&!nA(e)}function CA(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&JS(qS(e))}function kA(e,t){return EA(e)?MA(e.parent):xA(e)?NA(e.prev,t):""}function SA(e,t){return _A(e)?NA(e.lastChild,t):""}function AA(e,t){return CA(e)?OA(e.parent,t):DA(e)?TA(e.next):""}function TA(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(e.condition);case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function MA(e){switch(na(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}function OA(e,t){if(na(!e.isSelfClosing),QS(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function FA(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?DS(t,NS):DS(BS(IS(t)),SS):MS(OS,RS(t)).parts}var IA={preprocess:sS,print:function(e,t,n){const r=e.getValue();switch(r.type){case"front-matter":return hA(DS(r.raw,NS));case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),yS.concat([kS(fA(e,t,n)),SS]);case"element":case"ieConditionalComment":{if(eA(r,t))return hA([].concat(kA(r,t),kS(mA(e,t,n)),DS(dA(r,t),NS),yA(r,t),AA(r,t)));const o=1===r.children.length&&"interpolation"===r.firstChild.type&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,s=Symbol("element-attr-group-id");return hA([kS(hA([kS(mA(e,t,n),{id:s}),0===r.children.length?r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?OS:"":hA([$S(r)?xS:"",(i=hA([o?AS(FS,"",{groupId:s}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?OS:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?_S(FS):FS,fA(e,t,n)]),o?AS(TS(i),i,{groupId:s}):!YS(r)&&!WS(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?TS(i):i),(r.next?xA(r.next):_A(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":o?AS(FS,"",{groupId:s}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?OS:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*LS(e,e=>e.parent&&"root"!==e.parent.type),"}$")).test(r.lastChild.value)?"":FS])])),yA(r,t)])}case"ieConditionalStartComment":case"ieConditionalEndComment":return hA([gA(r),wA(r)]);case"interpolation":return hA([gA(r,t),hA(e.map(n,"children")),wA(r,t)]);case"text":if("interpolation"===r.parent.type){const e=/\n[^\S\n]*?$/,t=e.test(r.value),n=t?r.value.replace(e,""):r.value;return hA([hA(DS(n,NS)),t?SS:""])}return CS(wS([].concat(kA(r,t),FA(r),AA(r,t))));case"docType":return hA([kS(hA([gA(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")])),wA(r,t)]);case"comment":return hA([kA(r,t),hA(DS(t.originalText.slice(iA(r),oA(r)),NS)),AA(r,t)]);case"attribute":{if(null===r.value)return r.rawName;const e=tA(r.value),t=PS(e,"'")tA(e.value);let o=!1;const s=(e,t)=>{const n="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&("__vue_expression"!==t.parser||"TemplateLiteral"!==n.type&&"StringLiteral"!==n.type)||(o=!0)},a=e=>kS(e),u=(e,t=!0)=>kS(hA([TS(hA([FS,e])),t?FS:""])),l=e=>o?a(e):u(e),c=(e,n)=>t(e,Object.assign({__onHtmlBindingRoot:s},n),{stripTrailingHardline:!0});if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return u(lA(i()));if("class"===e.fullName&&!n.parentParser){const e=i();if(!e.includes("{{"))return cA(e)}if("style"===e.fullName&&!n.parentParser){const e=i();if(!e.includes("{{"))return u(c(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return sA(i(),c);if(KS(e)||XS(e,n))return aA(i(),c);const t=["^:","^v-bind:"],o=["^v-"];if(r(["^@","^v-on:"])){const e=i();return l(c(e,{parser:uA(e)?"__js_expression":"__vue_event_binding"}))}if(r(t))return l(c(i(),{parser:"__vue_expression"}));if(r(o))return l(c(i(),{parser:"__js_expression"}))}if("angular"===n.parser){const t=(e,t)=>c(e,Object.assign({},t,{trailingComma:"none"})),n=["^\\*"],o=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],s=["^i18n(-.+)?$"];if(r(["^\\(.+\\)$","^on-"]))return l(t(i(),{parser:"__ng_action"}));if(r(o))return l(t(i(),{parser:"__ng_binding"}));if(r(s)){const t=i().trim();return u(CS(FA(e,t)),!t.includes("@@"))}if(r(n))return l(t(i(),{parser:"__ng_directive"}));const a=/{{([\S\s]+?)}}/g,h=i();if(a.test(h)){const e=[];return h.split(a).forEach((n,r)=>{if(r%2==0)e.push(hA(DS(n,NS)));else try{e.push(kS(hA(["{{",TS(hA([OS,t(n,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})])),OS,"}}"])))}catch(t){e.push("{{",hA(DS(n,NS)),"}}")}}),kS(hA(e))}}return null}(i,(e,t)=>n(e,Object.assign({__isInHtmlAttribute:!0},t),{stripTrailingHardline:!0}),r);if(e)return hA([i.rawName,'="',kS(bS(e,e=>"string"==typeof e?e.replace(/"/g,"""):e)),'"']);break}case"front-matter":return ES(i,n)}}};const RA="HTML";var PA={htmlWhitespaceSensitivity:{since:"1.15.0",category:RA,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},vueIndentScriptAndStyle:{since:"1.19.0",category:RA,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},LA={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".htm",".html.hl",".inc",".st",".xht",".xhtml"],languageId:146},BA={name:"Vue",type:"markup",color:"#2c3e50",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391},jA={languages:[Nu(LA,()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),Nu(LA,e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:e.extensions.concat([".mjml"])})),Nu(LA,()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),Nu(BA,()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],printers:{html:IA},options:PA,parsers:{get html(){return{}.parsers.html},get vue(){return{}.parsers.vue},get angular(){return{}.parsers.angular},get lwc(){return{}.parsers.lwc}}},$A={isPragma:function(e){return/^\s*@(prettier|format)\s*$/.test(e)},hasPragma:function(e){return/^\s*#[^\S\n]*@(prettier|format)\s*?(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n".concat(e)}},UA={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};const{getLast:qA}=Pt;function HA(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function zA(e){return"prettier-ignore"===e.value.trim()}function VA(e){return e&&e.leadingComments&&0!==e.leadingComments.length}function WA(e){return e&&e.middleComments&&0!==e.middleComments.length}function GA(e){return e&&e.indicatorComment}function KA(e){return e&&e.trailingComment}function XA(e){return e&&e.endComments&&0!==e.endComments.length}function YA(e){const t=[];let n;for(const r of e.split(/( +)/g))" "!==r?" "===n?t.push(r):t.push((t.pop()||"")+r):void 0===n&&t.unshift(""),n=r;return" "===n&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}var JA={getLast:qA,getAncestorCount:function(e,t){let n=0;const r=e.stack.length-1;for(let i=0;ie(r,n,t))}):t,r)},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){let n=0;const r=t.length;for(let i=e.position.end.offset-1;ie.slice(o));return"preserve"===r.proseWrap||"blockLiteral"===e.type?u(a.map(e=>0===e.length?[]:[e])):u(a.map(e=>0===e.length?[]:YA(e)).reduce((e,t,n)=>0===n||0===a[n-1].length||0===t.length||/^\s/.test(t[0])||/^\s|\s$/.test(qA(e))?e.concat([t]):e.concat([e.pop().concat(t)]),[]).map(e=>e.reduce((e,t)=>0!==e.length&&/\s$/.test(qA(e))?e.concat(e.pop()+" "+t):e.concat(t),[])).map(e=>"never"===r.proseWrap?[e.join(" ")]:e));function u(t){if("keep"===e.chomping)return 0===qA(t).length?t.slice(0,-1):t;let r=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)r++;return 0===r?t:r>=2&&!n?t.slice(0,-(r-1)):t.slice(0,-r)}},getFlowScalarLineContents:function(e,t,n){const r=t.split("\n").map((e,t,n)=>0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart());return"preserve"===n.proseWrap?r.map(e=>0===e.length?[]:[e]):r.map(e=>0===e.length?[]:YA(e)).reduce((t,n,i)=>0===i||0===r[i-1].length||0===n.length||"quoteDouble"===e&&qA(qA(t)).endsWith("\\")?t.concat([n]):t.concat([t.pop().concat(n)]),[]).map(e=>"never"===n.proseWrap?[e.join(" ")]:e)},getLastDescendantNode:function e(t){return"children"in t&&0!==t.children.length?e(qA(t.children)):t},hasPrettierIgnore:function(e){const t=e.getValue();if("documentBody"===t.type){const t=e.getParentNode();return XA(t.head)&&zA(qA(t.head.endComments))}return VA(t)&&zA(qA(t.leadingComments))},hasLeadingComments:VA,hasMiddleComments:WA,hasIndicatorComment:GA,hasTrailingComment:KA,hasEndComments:XA};const ZA=cn.builders,{conditionalGroup:QA,breakParent:eT,concat:tT,dedent:nT,dedentToRoot:rT,fill:iT,group:oT,hardline:sT,ifBreak:aT,join:uT,line:lT,lineSuffix:cT,literalline:hT,markAsRoot:fT,softline:dT}=ZA,{replaceEndOfLineWith:pT,isPreviousLineEmpty:mT}=Pt,{insertPragma:gT,isPragma:vT}=$A,{locStart:yT}=UA,{getAncestorCount:bT,getBlockValueLineContents:wT,getFlowScalarLineContents:DT,getLast:ET,getLastDescendantNode:xT,hasLeadingComments:_T,hasMiddleComments:CT,hasIndicatorComment:kT,hasTrailingComment:ST,hasEndComments:AT,hasPrettierIgnore:TT,isLastDescendantNode:MT,isNextLineEmpty:OT,isNode:NT,isEmptyNode:FT,defineShortcut:IT,mapNode:RT}=JA;function PT(e){switch(e.type){case"document":IT(e,"head",()=>e.children[0]),IT(e,"body",()=>e.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":IT(e,"content",()=>e.children[0]);break;case"mappingItem":case"flowMappingItem":IT(e,"key",()=>e.children[0]),IT(e,"value",()=>e.children[1])}return e}function LT(e,t,n,r,i){switch(e.type){case"root":return tT([uT(sT,n.map((t,r)=>{const o=e.children[r],s=e.children[r+1];return tT([i(t),UT(o,s)?tT([sT,"...",ST(o)?tT([" ",n.call(i,"trailingComment")]):""]):!s||ST(s.head)?"":tT([sT,"---"])])},"children")),0===e.children.length||(s=xT(e),NT(s,["blockLiteral","blockFolded"])&&"keep"===s.chomping)?"":sT]);case"document":{const o=t.children[n.getName()+1];return uT(sT,["head"===qT(e,o,t,r)?uT(sT,[0===e.head.children.length&&0===e.head.endComments.length?"":n.call(i,"head"),tT(["---",ST(e.head)?tT([" ",n.call(i,"head","trailingComment")]):""])].filter(Boolean)):"",$T(e)?n.call(i,"body"):""].filter(Boolean))}case"documentHead":return uT(sT,[].concat(n.map(i,"children"),n.map(i,"endComments")));case"documentBody":{const t=uT(sT,n.map(i,"children")).parts,r=uT(sT,n.map(i,"endComments")).parts,o=0===t.length||0===r.length?"":(e=>NT(e,["blockFolded","blockLiteral"])?"keep"===e.chomping?"":tT([sT,sT]):sT)(xT(e));return tT([].concat(t,o,r))}case"directive":return tT(["%",uT(" ",[e.name].concat(e.parameters))]);case"comment":return tT(["#",e.value]);case"alias":return tT(["*",e.value]);case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return tT(["&",e.value]);case"plain":return KT(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":{const t="'",n='"',i=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&i.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(i)){const o="quoteDouble"===e.type?n:t;return tT([o,KT(e.type,i,r),o])}if(i.includes(n))return tT([t,KT(e.type,"quoteDouble"===e.type?i.replace(/\\"/g,n).replace(/'/g,t.repeat(2)):i,r),t]);if(i.includes(t))return tT([n,KT(e.type,"quoteSingle"===e.type?i.replace(/''/g,t):i,r),n]);const o=r.singleQuote?t:n;return tT([o,KT(e.type,i,r),o])}case"blockFolded":case"blockLiteral":{const t=bT(n,e=>NT(e,["sequence","mapping"])),o=MT(n);return tT(["blockFolded"===e.type?">":"|",null===e.indent?"":e.indent.toString(),"clip"===e.chomping?"":"keep"===e.chomping?"+":"-",kT(e)?tT([" ",n.call(i,"indicatorComment")]):"",(null===e.indent?nT:rT)(BT(null===e.indent?r.tabWidth:e.indent-1+t,tT(wT(e,{parentIndent:t,isLastDescendant:o,options:r}).reduce((t,n,r,i)=>t.concat(0===r?sT:"",iT(uT(lT,n).parts),r!==i.length-1?0===n.length?sT:fT(hT):"keep"===e.chomping&&o?0===n.length?rT(sT):rT(hT):""),[]))))])}case"sequence":return uT(sT,n.map(i,"children"));case"sequenceItem":return tT(["- ",BT(2,e.content?n.call(i,"content"):"")]);case"mappingKey":case"mappingValue":return e.content?n.call(i,"content"):"";case"mapping":return uT(sT,n.map(i,"children"));case"mappingItem":case"flowMappingItem":{const o=FT(e.key),s=FT(e.value);if(o&&s)return tT([": "]);const u=n.call(i,"key"),l=n.call(i,"value");if(s)return"flowMappingItem"===e.type&&"flowMapping"===t.type?u:"mappingItem"!==e.type||!HT(e.key.content,r)||ST(e.key.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?tT(["? ",BT(2,u)]):tT([u,zT(e)?" ":"",":"]);if(o)return tT([": ",BT(2,l)]);const c=Symbol("mappingKey");return _T(e.value)||!jT(e.key.content)?tT(["? ",BT(2,u),sT,uT("",n.map(i,"value","leadingComments").map(e=>tT([e,sT]))),": ",BT(2,l)]):!function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(e.key.content)||_T(e.key.content)||CT(e.key.content)||ST(e.key.content)||AT(e.key)||_T(e.value.content)||CT(e.value.content)||AT(e.value)||!HT(e.value.content,r)?QA([tT([oT(tT([aT("? "),oT(BT(2,u),{id:c})])),aT(tT([sT,": ",BT(2,l)]),a(tT([zT(e)?" ":"",":",_T(e.value.content)||AT(e.value)&&e.value.content&&!NT(e.value.content,["mapping","sequence"])||"mapping"===t.type&&ST(e.key.content)&&jT(e.value.content)||NT(e.value.content,["mapping","sequence"])&&null===e.value.content.tag&&null===e.value.content.anchor?sT:e.value.content?lT:"",l])),{groupId:c})])]):tT([u,zT(e)?" ":"",": ",l])}case"flowMapping":case"flowSequence":{const t="flowMapping"===e.type?"{":"[",s="flowMapping"===e.type?"}":"]",u="flowMapping"===e.type&&0!==e.children.length&&r.bracketSpacing?lT:dT,l=0!==e.children.length&&"flowMappingItem"===(o=ET(e.children)).type&&FT(o.key)&&FT(o.value),c="none"===r.trailingComma?"":aT(",","");return tT([t,a(tT([u,tT(n.map((t,n)=>tT([i(t),n===e.children.length-1?"":tT([",",lT,e.children[n].position.start.line!==e.children[n+1].position.start.line?GT(t,r.originalText):""])]),"children")),c,AT(e)?tT([sT,uT(sT,n.map(i,"endComments"))]):""])),l?"":u,s])}case"flowSequenceItem":return n.call(i,"content");default:throw new Error("Unexpected node type ".concat(e.type))}var o,s;function a(e){return ZA.align(" ".repeat(r.tabWidth),e)}}function BT(e,t){return"number"==typeof e&&e>0?ZA.align(" ".repeat(e),t):ZA.align(e,t)}function jT(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}function $T(e){return 0!==e.body.children.length||AT(e.body)}function UT(e,t){return ST(e)||t&&(0!==t.head.children.length||AT(t.head))}function qT(e,t,n,r){return n.children[0]===e&&/---(\s|$)/.test(r.originalText.slice(yT(e),yT(e)+4))||0!==e.head.children.length||AT(e.head)||ST(e.head)?"head":!UT(e,t)&&!!t&&"root"}function HT(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function zT(e){return e.key.content&&"alias"===e.key.content.type}function VT(e){return AT(e)&&!NT(e,["documentHead","documentBody","flowMapping","flowSequence"])}const WT=new WeakMap;function GT(e,t){const n=e.getValue(),r=e.stack[0];let i;return WT.has(r)?i=WT.get(r):(i=new Set,WT.set(r,i)),i.has(n.position.end.line)||(i.add(n.position.end.line),!OT(n,t)||VT(e.getParentNode()))?"":dT}function KT(e,t,n){const r=DT(e,t,n);return uT(sT,r.map(e=>iT(uT(lT,e).parts)))}var XT={preprocess:function(e){return RT(e,PT)},print:function(e,t,n){const r=e.getValue(),i=e.getParentNode(),o=r.tag?e.call(n,"tag"):"",s=r.anchor?e.call(n,"anchor"):"",a=NT(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!MT(e)?GT(e,t.originalText):"";return tT(["mappingValue"!==r.type&&_T(r)?tT([uT(sT,e.map(n,"leadingComments")),sT]):"",o,o&&s?" ":"",s,o||s?NT(r,["sequence","mapping"])&&!CT(r)?sT:" ":"",CT(r)?tT([1===r.middleComments.length?"":sT,uT(sT,e.map(n,"middleComments")),sT]):"",TT(e)?tT(pT(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),hT)):oT(LT(r,i,e,t,n)),ST(r)&&!NT(r,["document","documentHead"])?cT(tT(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===i.type&&"mapping"===e.getParentNode(2).type&&jT(r)?"":eT,e.call(n,"trailingComment")])):"",VT(r)?BT("sequenceItem"===r.type?2:0,tT([sT,uT(sT,e.map(e=>tT([mT(t.originalText,e.getValue(),yT)?sT:"",n(e)]),"endComments"))])):"",a])},massageAstNode:function(e,t){if(NT(t))switch(delete t.position,t.type){case"comment":if(vT(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:gT},YT={bracketSpacing:$w.bracketSpacing,singleQuote:$w.singleQuote,proseWrap:$w.proseWrap},JT=[Yw,ex,s_,S_,ok,jA,{languages:[Nu({name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:e.filenames.filter(e=>"yarn.lock"!==e)}))],printers:{yaml:XT},options:YT,parsers:{get yaml(){return{}.parsers.yaml}}}];const{version:ZT}=r,{getSupportInfo:QT}=vt,eM=JT.map(t=>e(t,["parsers"]));function tM(e,t=1){return(...n)=>{const r=n[t]||{},i=r.plugins||[];return n[t]=Object.assign({},r,{plugins:[...eM,...Array.isArray(i)?i:Object.values(i)]}),e(...n)}}const nM=tM(au.formatWithCursor);return{formatWithCursor:nM,format:(e,t)=>nM(e,t).formatted,check(e,t){const{formatted:n}=nM(e,t);return n===e},doc:cn,getSupportInfo:tM(QT,0),version:ZT,util:Ou,__debug:{parse:tM(au.parse),formatAST:tM(au.formatAST),formatDoc:tM(au.formatDoc),printToDoc:tM(au.printToDoc),printDocToString:tM(au.printDocToString)}}}))}).call(this,n("c8ba"))},3300:function(e,t,n){"use strict";var r=n("f3a3"),i=n("80af"),o=n("3fb5"),s=n("ea53"),a=r.assert;function u(e){s.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function l(e,t,n,r){s.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function c(e,t,n,r){s.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(u,s),e.exports=u,u.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n,r;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var o=this._getEndoRoots(this.p);t=o[0].cmp(o[1])<0?o[0]:o[1],t=t.toRed(this.red)}if(e.lambda)n=new i(e.lambda,16);else{var s=this._getEndoRoots(this.n);0===this.g.mul(s[0]).x.cmp(this.g.x.redMul(t))?n=s[0]:(n=s[1],a(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return r=e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(n),{beta:t,lambda:n,basis:r}}},u.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),n=new i(2).toRed(t).redInvm(),r=n.redNeg(),o=new i(3).toRed(t).redNeg().redSqrt().redMul(n),s=r.redAdd(o).fromRed(),a=r.redSub(o).fromRed();return[s,a]},u.prototype._getEndoBasis=function(e){var t,n,r,o,s,a,u,l,c,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=e,d=this.n.clone(),p=new i(1),m=new i(0),g=new i(0),v=new i(1),y=0;while(0!==f.cmpn(0)){var b=d.div(f);l=d.sub(b.mul(f)),c=g.sub(b.mul(p));var w=v.sub(b.mul(m));if(!r&&l.cmp(h)<0)t=u.neg(),n=p,r=l.neg(),o=c;else if(r&&2===++y)break;u=l,d=f,f=l,g=p,p=c,v=m,m=w}s=l.neg(),a=c;var D=r.sqr().add(o.sqr()),E=s.sqr().add(a.sqr());return E.cmp(D)>=0&&(s=t,a=n),r.negative&&(r=r.neg(),o=o.neg()),s.negative&&(s=s.neg(),a=a.neg()),[{a:r,b:o},{a:s,b:a}]},u.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),o=n.b.neg().mul(e).divRound(this.n),s=i.mul(n.a),a=o.mul(r.a),u=i.mul(n.b),l=o.mul(r.b),c=e.sub(s).sub(a),h=u.add(l).neg();return{k1:c,k2:h}},u.prototype.pointFromX=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(t&&!o||!t&&o)&&(r=r.redNeg()),this.point(e,r)},u.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},u.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},l.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},l.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e},o(c,s.BasePoint),u.prototype.jpoint=function(e,t,n){return new c(this,e,t,n)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),o=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(n.redMul(this.z)),a=r.redSub(i),u=o.redSub(s);if(0===a.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),c=l.redMul(a),h=r.redMul(l),f=u.redSqr().redIAdd(c).redISub(h).redISub(h),d=u.redMul(h.redISub(f)).redISub(o.redMul(c)),p=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(f,d,p)},c.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),s=n.redSub(r),a=i.redSub(o);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),c=n.redMul(u),h=a.redSqr().redIAdd(l).redISub(c).redISub(c),f=a.redMul(c.redISub(h)).redISub(i.redMul(l)),d=this.z.redMul(s);return this.curve.jpoint(h,f,d)},c.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var n=this;for(t=0;t=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},3337:function(e,t,n){"use strict";var r=t;r.version=n("2801").version,r.utils=n("f3a3"),r.rand=n("fdac"),r.curve=n("4136"),r.curves=n("0cbb"),r.ec=n("b9a8"),r.eddsa=n("945d")},"334a":function(e,t,n){t=e.exports=n("4250"),t.Stream=t,t.Readable=t,t.Writable=n("19ea"),t.Duplex=n("e666"),t.Transform=n("09dc"),t.PassThrough=n("0ae3"),t.finished=n("ee93"),t.pipeline=n("fbd5")},3397:function(e,t,n){var r=n("7a41");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"33b7":function(e,t,n){"use strict";var r=n("02cc"),i=(n("44d1"),function(e,t,n){return t=Object.assign({decodeEntities:!1,_useHtmlParser2:!0},t),e=n(e),r.load(e,t)}),o=function(){var t=[],n=function(n){var r=e.exports.codeBlocks;return Object.keys(r).forEach((function(e){var i=new RegExp(r[e].start+"([\\S\\s]*?)"+r[e].end,"g");n=n.replace(i,(function(e,n){return t.push(e),"JUICE_CODE_BLOCK_"+(t.length-1)+"_"}))})),n},r=function(e){for(var n=0;n"},HBS:{start:"{{",end:"}}"}}},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},3438:function(e,t,n){var r=n("164b");e.exports=r},"343e":function(e,t,n){"use strict";const r=t;r.der=n("3768"),r.pem=n("85b3")},3452:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("3252"),n("17e1"),n("a8ce"),n("1132"),n("72fe"),n("df2f"),n("94f8"),n("191b"),n("d6e6"),n("b86b"),n("e61b"),n("10b7"),n("5980"),n("7bbc"),n("2b79"),n("38ba"),n("00bb"),n("f4ea"),n("aaef"),n("4ba9"),n("81bf"),n("a817"),n("a11b"),n("8cef"),n("2a66"),n("b86c"),n("6d08"),n("c198"),n("a40e"),n("c3b6"),n("1382"),n("3d5a"))})(0,(function(e){return e}))},"34d5":function(e,t,n){t=e.exports=n("cf35"),t.Stream=t,t.Readable=t,t.Writable=n("49ce"),t.Duplex=n("5e7d"),t.Transform=n("f1c8"),t.PassThrough=n("9d28"),t.finished=n("42a7"),t.pipeline=n("ac4f")},3505:function(e,t,n){var r=n("8707").Buffer,i=n("8c8a");function o(e,t,n){var o=t.length,s=i(t,e._cache);return e._cache=e._cache.slice(o),e._prev=r.concat([e._prev,n?t:s]),s}t.encrypt=function(e,t,n){var i,s=r.allocUnsafe(0);while(t.length){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),!(e._cache.length<=t.length)){s=r.concat([s,o(e,t,n)]);break}i=e._cache.length,s=r.concat([s,o(e,t.slice(0,i),n)]),t=t.slice(i)}return s}},"35a1":function(e,t,n){var r=n("f5df"),i=n("3f8c"),o=n("b622"),s=o("iterator");e.exports=function(e){if(void 0!=e)return e[s]||e["@@iterator"]||i[r(e)]}},"362e":function(e,t,n){"use strict";class r{constructor(e){const t={},n=this._getOverriddenMethods(this,t);for(const r of Object.keys(n))"function"===typeof n[r]&&(t[r]=e[r],e[r]=n[r])}_getOverriddenMethods(){throw new Error("Not implemented")}}r.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let i=0;i=31?r.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=s.tagClassByName[n||"universal"]<<6,i)}e.exports=a,a.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},r(u,o),u.prototype._encodeComposite=function(e,t,n,r){const o=c(e,t,n,this.reporter);if(r.length<128){const e=i.alloc(2);return e[0]=o,e[1]=r.length,this._createEncoderBuffer([e,r])}let s=1;for(let i=r.length;i>=256;i>>=8)s++;const a=i.alloc(2+s);a[0]=o,a[1]=128|s;for(let i=1+s,u=r.length;u>0;i--,u>>=8)a[i]=255&u;return this._createEncoderBuffer([a,r])},u.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=i.alloc(2*e.length);for(let n=0;n=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let r=0;for(let i=0;i=128;t>>=7)r++}const o=i.alloc(r);let s=o.length-1;for(let i=e.length-1;i>=0;i--){let t=e[i];o[s--]=127&t;while((t>>=7)>0)o[s--]=128|127&t}return this._createEncoderBuffer(o)},u.prototype._encodeTime=function(e,t){let n;const r=new Date(e);return"gentime"===t?n=[l(r.getUTCFullYear()),l(r.getUTCMonth()+1),l(r.getUTCDate()),l(r.getUTCHours()),l(r.getUTCMinutes()),l(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[l(r.getUTCFullYear()%100),l(r.getUTCMonth()+1),l(r.getUTCDate()),l(r.getUTCHours()),l(r.getUTCMinutes()),l(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(e,t){if("string"===typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!==typeof e&&!i.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=i.from(t)}if(i.isBuffer(e)){let t=e.length;0===e.length&&t++;const n=i.alloc(t);return e.copy(n),0===e.length&&(n[0]=0),this._createEncoderBuffer(n)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let n=1;for(let i=e;i>=256;i>>=8)n++;const r=new Array(n);for(let i=r.length-1;i>=0;i--)r[i]=255&e,e>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(i.from(r))},u.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},u.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getEncoder("der").tree},u.prototype._skipDefault=function(e,t,n){const r=this._baseState;let i;if(null===r["default"])return!1;const o=e.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r["default"],t,n).join()),o.length!==r.defaultBuffer.length)return!1;for(i=0;i=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function u(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function l(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&(i++,this.negative=1),i=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)i=u(e,t,r)<=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else{var a=e.length-t;for(r=a%2===0?t+1:t;r=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8}this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,u=0,c=n;c1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}function p(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,u=s/67108864|0;n.words[0]=a;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=f;d++){var p=l-d|0;i=0|e.words[p],o=0|t.words[d],s=i*o+h,c+=s/67108864|0,h=67108863&s}n.words[l]=0|h,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,s=0;s>>24-i&16777215,n=0!==o||s!==this.length-1?c[6-u.length]+u+n:u+n,i+=2,i>=26&&(i-=26,s--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=h[e],d=f[e];n="";var p=this.clone();p.negative=0;while(!p.isZero()){var m=p.modn(d).toString(e);p=p.idivn(d),n=p.isZero()?m+n:c[l-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,u="le"===t,l=new e(o),c=this.clone();if(u){for(a=0;!c.isZero();a++)s=c.andln(255),c.iushrn(8),l[a]=s;for(;a=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==o&&s>26,this.words[s]=67108863&t;if(0===o&&s>>13,d=0|s[1],p=8191&d,m=d>>>13,g=0|s[2],v=8191&g,y=g>>>13,b=0|s[3],w=8191&b,D=b>>>13,E=0|s[4],x=8191&E,_=E>>>13,C=0|s[5],k=8191&C,S=C>>>13,A=0|s[6],T=8191&A,M=A>>>13,O=0|s[7],N=8191&O,F=O>>>13,I=0|s[8],R=8191&I,P=I>>>13,L=0|s[9],B=8191&L,j=L>>>13,$=0|a[0],U=8191&$,q=$>>>13,H=0|a[1],z=8191&H,V=H>>>13,W=0|a[2],G=8191&W,K=W>>>13,X=0|a[3],Y=8191&X,J=X>>>13,Z=0|a[4],Q=8191&Z,ee=Z>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ue=8191&ae,le=ae>>>13,ce=0|a[8],he=8191&ce,fe=ce>>>13,de=0|a[9],pe=8191&de,me=de>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(h,U),i=Math.imul(h,q),i=i+Math.imul(f,U)|0,o=Math.imul(f,q);var ge=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,U),i=Math.imul(p,q),i=i+Math.imul(m,U)|0,o=Math.imul(m,q),r=r+Math.imul(h,z)|0,i=i+Math.imul(h,V)|0,i=i+Math.imul(f,z)|0,o=o+Math.imul(f,V)|0;var ve=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,U),i=Math.imul(v,q),i=i+Math.imul(y,U)|0,o=Math.imul(y,q),r=r+Math.imul(p,z)|0,i=i+Math.imul(p,V)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,V)|0,r=r+Math.imul(h,G)|0,i=i+Math.imul(h,K)|0,i=i+Math.imul(f,G)|0,o=o+Math.imul(f,K)|0;var ye=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,U),i=Math.imul(w,q),i=i+Math.imul(D,U)|0,o=Math.imul(D,q),r=r+Math.imul(v,z)|0,i=i+Math.imul(v,V)|0,i=i+Math.imul(y,z)|0,o=o+Math.imul(y,V)|0,r=r+Math.imul(p,G)|0,i=i+Math.imul(p,K)|0,i=i+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0,r=r+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(f,Y)|0,o=o+Math.imul(f,J)|0;var be=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(x,U),i=Math.imul(x,q),i=i+Math.imul(_,U)|0,o=Math.imul(_,q),r=r+Math.imul(w,z)|0,i=i+Math.imul(w,V)|0,i=i+Math.imul(D,z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,J)|0,r=r+Math.imul(h,Q)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(f,Q)|0,o=o+Math.imul(f,ee)|0;var we=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(k,U),i=Math.imul(k,q),i=i+Math.imul(S,U)|0,o=Math.imul(S,q),r=r+Math.imul(x,z)|0,i=i+Math.imul(x,V)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,V)|0,r=r+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(D,G)|0,o=o+Math.imul(D,K)|0,r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,r=r+Math.imul(p,Q)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=i+Math.imul(h,re)|0,i=i+Math.imul(f,ne)|0,o=o+Math.imul(f,re)|0;var De=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(T,U),i=Math.imul(T,q),i=i+Math.imul(M,U)|0,o=Math.imul(M,q),r=r+Math.imul(k,z)|0,i=i+Math.imul(k,V)|0,i=i+Math.imul(S,z)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(x,G)|0,i=i+Math.imul(x,K)|0,i=i+Math.imul(_,G)|0,o=o+Math.imul(_,K)|0,r=r+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(D,Y)|0,o=o+Math.imul(D,J)|0,r=r+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=i+Math.imul(p,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=i+Math.imul(h,se)|0,i=i+Math.imul(f,oe)|0,o=o+Math.imul(f,se)|0;var Ee=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(N,U),i=Math.imul(N,q),i=i+Math.imul(F,U)|0,o=Math.imul(F,q),r=r+Math.imul(T,z)|0,i=i+Math.imul(T,V)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(k,G)|0,i=i+Math.imul(k,K)|0,i=i+Math.imul(S,G)|0,o=o+Math.imul(S,K)|0,r=r+Math.imul(x,Y)|0,i=i+Math.imul(x,J)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,J)|0,r=r+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=i+Math.imul(p,se)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,r=r+Math.imul(h,ue)|0,i=i+Math.imul(h,le)|0,i=i+Math.imul(f,ue)|0,o=o+Math.imul(f,le)|0;var xe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(R,U),i=Math.imul(R,q),i=i+Math.imul(P,U)|0,o=Math.imul(P,q),r=r+Math.imul(N,z)|0,i=i+Math.imul(N,V)|0,i=i+Math.imul(F,z)|0,o=o+Math.imul(F,V)|0,r=r+Math.imul(T,G)|0,i=i+Math.imul(T,K)|0,i=i+Math.imul(M,G)|0,o=o+Math.imul(M,K)|0,r=r+Math.imul(k,Y)|0,i=i+Math.imul(k,J)|0,i=i+Math.imul(S,Y)|0,o=o+Math.imul(S,J)|0,r=r+Math.imul(x,Q)|0,i=i+Math.imul(x,ee)|0,i=i+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(w,ne)|0,i=i+Math.imul(w,re)|0,i=i+Math.imul(D,ne)|0,o=o+Math.imul(D,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,se)|0,i=i+Math.imul(y,oe)|0,o=o+Math.imul(y,se)|0,r=r+Math.imul(p,ue)|0,i=i+Math.imul(p,le)|0,i=i+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0,r=r+Math.imul(h,he)|0,i=i+Math.imul(h,fe)|0,i=i+Math.imul(f,he)|0,o=o+Math.imul(f,fe)|0;var _e=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(B,U),i=Math.imul(B,q),i=i+Math.imul(j,U)|0,o=Math.imul(j,q),r=r+Math.imul(R,z)|0,i=i+Math.imul(R,V)|0,i=i+Math.imul(P,z)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(F,G)|0,o=o+Math.imul(F,K)|0,r=r+Math.imul(T,Y)|0,i=i+Math.imul(T,J)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,J)|0,r=r+Math.imul(k,Q)|0,i=i+Math.imul(k,ee)|0,i=i+Math.imul(S,Q)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(x,ne)|0,i=i+Math.imul(x,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(w,oe)|0,i=i+Math.imul(w,se)|0,i=i+Math.imul(D,oe)|0,o=o+Math.imul(D,se)|0,r=r+Math.imul(v,ue)|0,i=i+Math.imul(v,le)|0,i=i+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(m,he)|0,o=o+Math.imul(m,fe)|0,r=r+Math.imul(h,pe)|0,i=i+Math.imul(h,me)|0,i=i+Math.imul(f,pe)|0,o=o+Math.imul(f,me)|0;var Ce=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,z),i=Math.imul(B,V),i=i+Math.imul(j,z)|0,o=Math.imul(j,V),r=r+Math.imul(R,G)|0,i=i+Math.imul(R,K)|0,i=i+Math.imul(P,G)|0,o=o+Math.imul(P,K)|0,r=r+Math.imul(N,Y)|0,i=i+Math.imul(N,J)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,J)|0,r=r+Math.imul(T,Q)|0,i=i+Math.imul(T,ee)|0,i=i+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(k,ne)|0,i=i+Math.imul(k,re)|0,i=i+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(x,oe)|0,i=i+Math.imul(x,se)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,r=r+Math.imul(w,ue)|0,i=i+Math.imul(w,le)|0,i=i+Math.imul(D,ue)|0,o=o+Math.imul(D,le)|0,r=r+Math.imul(v,he)|0,i=i+Math.imul(v,fe)|0,i=i+Math.imul(y,he)|0,o=o+Math.imul(y,fe)|0,r=r+Math.imul(p,pe)|0,i=i+Math.imul(p,me)|0,i=i+Math.imul(m,pe)|0,o=o+Math.imul(m,me)|0;var ke=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(B,G),i=Math.imul(B,K),i=i+Math.imul(j,G)|0,o=Math.imul(j,K),r=r+Math.imul(R,Y)|0,i=i+Math.imul(R,J)|0,i=i+Math.imul(P,Y)|0,o=o+Math.imul(P,J)|0,r=r+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(F,Q)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(T,ne)|0,i=i+Math.imul(T,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(k,oe)|0,i=i+Math.imul(k,se)|0,i=i+Math.imul(S,oe)|0,o=o+Math.imul(S,se)|0,r=r+Math.imul(x,ue)|0,i=i+Math.imul(x,le)|0,i=i+Math.imul(_,ue)|0,o=o+Math.imul(_,le)|0,r=r+Math.imul(w,he)|0,i=i+Math.imul(w,fe)|0,i=i+Math.imul(D,he)|0,o=o+Math.imul(D,fe)|0,r=r+Math.imul(v,pe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(y,pe)|0,o=o+Math.imul(y,me)|0;var Se=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,Y),i=Math.imul(B,J),i=i+Math.imul(j,Y)|0,o=Math.imul(j,J),r=r+Math.imul(R,Q)|0,i=i+Math.imul(R,ee)|0,i=i+Math.imul(P,Q)|0,o=o+Math.imul(P,ee)|0,r=r+Math.imul(N,ne)|0,i=i+Math.imul(N,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(T,oe)|0,i=i+Math.imul(T,se)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,r=r+Math.imul(k,ue)|0,i=i+Math.imul(k,le)|0,i=i+Math.imul(S,ue)|0,o=o+Math.imul(S,le)|0,r=r+Math.imul(x,he)|0,i=i+Math.imul(x,fe)|0,i=i+Math.imul(_,he)|0,o=o+Math.imul(_,fe)|0,r=r+Math.imul(w,pe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(D,pe)|0,o=o+Math.imul(D,me)|0;var Ae=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(B,Q),i=Math.imul(B,ee),i=i+Math.imul(j,Q)|0,o=Math.imul(j,ee),r=r+Math.imul(R,ne)|0,i=i+Math.imul(R,re)|0,i=i+Math.imul(P,ne)|0,o=o+Math.imul(P,re)|0,r=r+Math.imul(N,oe)|0,i=i+Math.imul(N,se)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,se)|0,r=r+Math.imul(T,ue)|0,i=i+Math.imul(T,le)|0,i=i+Math.imul(M,ue)|0,o=o+Math.imul(M,le)|0,r=r+Math.imul(k,he)|0,i=i+Math.imul(k,fe)|0,i=i+Math.imul(S,he)|0,o=o+Math.imul(S,fe)|0,r=r+Math.imul(x,pe)|0,i=i+Math.imul(x,me)|0,i=i+Math.imul(_,pe)|0,o=o+Math.imul(_,me)|0;var Te=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(j,ne)|0,o=Math.imul(j,re),r=r+Math.imul(R,oe)|0,i=i+Math.imul(R,se)|0,i=i+Math.imul(P,oe)|0,o=o+Math.imul(P,se)|0,r=r+Math.imul(N,ue)|0,i=i+Math.imul(N,le)|0,i=i+Math.imul(F,ue)|0,o=o+Math.imul(F,le)|0,r=r+Math.imul(T,he)|0,i=i+Math.imul(T,fe)|0,i=i+Math.imul(M,he)|0,o=o+Math.imul(M,fe)|0,r=r+Math.imul(k,pe)|0,i=i+Math.imul(k,me)|0,i=i+Math.imul(S,pe)|0,o=o+Math.imul(S,me)|0;var Me=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,oe),i=Math.imul(B,se),i=i+Math.imul(j,oe)|0,o=Math.imul(j,se),r=r+Math.imul(R,ue)|0,i=i+Math.imul(R,le)|0,i=i+Math.imul(P,ue)|0,o=o+Math.imul(P,le)|0,r=r+Math.imul(N,he)|0,i=i+Math.imul(N,fe)|0,i=i+Math.imul(F,he)|0,o=o+Math.imul(F,fe)|0,r=r+Math.imul(T,pe)|0,i=i+Math.imul(T,me)|0,i=i+Math.imul(M,pe)|0,o=o+Math.imul(M,me)|0;var Oe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ue),i=Math.imul(B,le),i=i+Math.imul(j,ue)|0,o=Math.imul(j,le),r=r+Math.imul(R,he)|0,i=i+Math.imul(R,fe)|0,i=i+Math.imul(P,he)|0,o=o+Math.imul(P,fe)|0,r=r+Math.imul(N,pe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(F,pe)|0,o=o+Math.imul(F,me)|0;var Ne=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,he),i=Math.imul(B,fe),i=i+Math.imul(j,he)|0,o=Math.imul(j,fe),r=r+Math.imul(R,pe)|0,i=i+Math.imul(R,me)|0,i=i+Math.imul(P,pe)|0,o=o+Math.imul(P,me)|0;var Fe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,r=Math.imul(B,pe),i=Math.imul(B,me),i=i+Math.imul(j,pe)|0,o=Math.imul(j,me);var Ie=(l+r|0)+((8191&i)<<13)|0;return l=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,u[0]=ge,u[1]=ve,u[2]=ye,u[3]=be,u[4]=we,u[5]=De,u[6]=Ee,u[7]=xe,u[8]=_e,u[9]=Ce,u[10]=ke,u[11]=Se,u[12]=Ae,u[13]=Te,u[14]=Me,u[15]=Oe,u[16]=Ne,u[17]=Fe,u[18]=Ie,0!==l&&(u[19]=l,n.length++),n};function g(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0,i+=s>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function v(e,t,n){var r=new y;return r.mulp(e,t,n)}function y(e,t){this.x=e,this.y=t}Math.imul||(m=p),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?m(this,e,t):r<63?p(this,e,t):r<1024?g(this,e,t):v(this,e,t),n},y.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},y.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=d(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&a}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,s=0|i.words[i.length-1],a=this._countBits(s);n=26-a,0!==n&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var u,l=r.length-i.length;if("mod"!==t){u=new o(null),u.length=l+1,u.words=new Array(u.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);d=Math.min(d/s|0,67108863),r._ishlnsubmul(i,d,f);while(0!==r.negative)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);u&&(u.words[f]=d)}return u&&u.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),s=new o(0),a=new o(0),u=new o(1),l=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++l;var c=n.clone(),h=t.clone();while(!t.isZero()){for(var f=0,d=1;0===(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0){t.iushrn(f);while(f-- >0)(i.isOdd()||s.isOdd())&&(i.iadd(c),s.isub(h)),i.iushrn(1),s.iushrn(1)}for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0){n.iushrn(p);while(p-- >0)(a.isOdd()||u.isOdd())&&(a.iadd(c),u.isub(h)),a.iushrn(1),u.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(u)):(n.isub(t),a.isub(i),u.isub(s))}return{a:a,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,s=new o(1),a=new o(0),u=n.clone();while(t.cmpn(1)>0&&n.cmpn(1)>0){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);while(l-- >0)s.isOdd()&&s.iadd(u),s.iushrn(1)}for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0){n.iushrn(h);while(h-- >0)a.isOdd()&&a.iadd(u),a.iushrn(1)}t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return i=0===t.cmpn(1)?s:a,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function D(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function k(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(D,w),D.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},D.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new D;else if("p224"===e)t=new E;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new _}return b[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),s=0;while(!i.isZero()&&0===i.andln(1))s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,l).cmp(u))c.redIAdd(u);var h=this.pow(c,i),f=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=s;while(0!==d.cmp(a)){for(var m=d,g=0;0!==m.cmp(a);g++)m=m.redSqr();r(g=0;i--){for(var c=t.words[i],h=l-1;h>=0;h--){var f=c>>h&1;s!==r[0]&&(s=this.sqr(s)),0!==f||0!==a?(a<<=1,a|=f,u++,(u===n||0===i&&0===h)&&(s=this.mul(s,r[a]),u=0,a=0)):u=0}l=26}return s},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new k(e)},i(k,C),k.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},k.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},k.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},k.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"37e8":function(e,t,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),s=n("df75");e.exports=r?Object.defineProperties:function(e,t){o(e);var n,r=s(t),a=r.length,u=0;while(a>u)i.f(e,n=r[u++],t[n]);return e}},"380f":function(e,t,n){"use strict";var r=n("f3a3"),i=r.assert,o=r.parseBytes,s=r.cachedProperty;function a(e,t){this.eddsa=e,this._secret=o(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=o(t.pub)}a.fromPublic=function(e,t){return t instanceof a?t:new a(e,{pub:t})},a.fromSecret=function(e,t){return t instanceof a?t:new a(e,{secret:t})},a.prototype.secret=function(){return this._secret},s(a,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),s(a,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),s(a,"privBytes",(function(){var e=this.eddsa,t=this.hash(),n=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),s(a,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),s(a,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),s(a,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),a.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},a.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},a.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),e)},a.prototype.getPublic=function(e){return r.encode(this.pubBytes(),e)},e.exports=a},3835:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return u}));n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0");function i(e,t){var n=e&&("undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,i,o=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(r=n.next()).done);s=!0)if(o.push(r.value),t&&o.length===t)break}catch(u){a=!0,i=u}finally{try{s||null==n["return"]||n["return"]()}finally{if(a)throw i}}return o}}n("fb6a"),n("a630");function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n>>2];e.sigBytes-=t}},v=(r.BlockCipher=h.extend({cfg:h.cfg.extend({mode:p,padding:g}),reset:function(){var e;h.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),r.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),y=n.format={},b=y.OpenSSL={stringify:function(e){var t,n=e.ciphertext,r=e.salt;return t=r?o.create([1398893684,1701076831]).concat(r).concat(n):n,t.toString(u)},parse:function(e){var t,n=u.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=o.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),v.create({ciphertext:n,salt:t})}},w=r.SerializableCipher=i.extend({cfg:i.extend({format:b}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),o=i.finalize(t),s=i.cfg;return v.create({ciphertext:o,key:n,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=e.createDecryptor(n,r).finalize(t.ciphertext);return i},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),D=n.kdf={},E=D.OpenSSL={execute:function(e,t,n,r){r||(r=o.random(8));var i=c.create({keySize:t+n}).compute(e,r),s=o.create(i.words.slice(t),4*n);return i.sigBytes=4*t,v.create({key:i,iv:s,salt:r})}},x=r.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:E}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=r.kdf.execute(n,e.keySize,e.ivSize);r.iv=i.iv;var o=w.encrypt.call(this,e,t,i.key,r);return o.mixIn(i),o},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);r.iv=i.iv;var o=w.decrypt.call(this,e,t,i.key,r);return o}})}()}))},3934:function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"393a":function(e,t,n){"use strict";var r=n("e444"),i=n("512c"),o=n("ba01"),s=n("051b"),a=n("8a0d"),u=n("26dd"),l=n("92f0"),c=n("ce7a"),h=n("cc15")("iterator"),f=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",m="values",g=function(){return this};e.exports=function(e,t,n,v,y,b,w){u(n,t,v);var D,E,x,_=function(e){if(!f&&e in A)return A[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},C=t+" Iterator",k=y==m,S=!1,A=e.prototype,T=A[h]||A[d]||y&&A[y],M=T||_(y),O=y?k?_("entries"):M:void 0,N="Array"==t&&A.entries||T;if(N&&(x=c(N.call(new e)),x!==Object.prototype&&x.next&&(l(x,C,!0),r||"function"==typeof x[h]||s(x,h,g))),k&&T&&T.name!==m&&(S=!0,M=function(){return T.call(this)}),r&&!w||!f&&!S&&A[h]||s(A,h,M),a[t]=M,a[C]=g,y)if(D={values:k?M:_(m),keys:b?M:_(p),entries:O},w)for(E in D)E in A||o(A,E,D[E]);else i(i.P+i.F*(f||S),t,D);return D}},"399f":function(e,t,n){(function(e){(function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var s;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(10).Buffer}catch(M){}function a(e,t){var n=e.charCodeAt(t);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+e)}function u(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function l(e,t,n,i){for(var o=0,s=0,a=Math.min(e.length,n),u=t;u=49?l-49+10:l>=17?l-17+10:l,r(l>=0&&s0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&(i++,this.negative=1),i=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)i=u(e,t,r)<=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else{var a=e.length-t;for(r=a%2===0?t+1:t;r=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8}this._strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,u=0,c=n;c1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=h}catch(M){o.prototype.inspect=h}else o.prototype.inspect=h;function h(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,s=0;s>>24-i&16777215,n=0!==o||s!==this.length-1?f[6-u.length]+u+n:u+n,i+=2,i>=26&&(i-=26,s--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=d[e],c=p[e];n="";var h=this.clone();h.negative=0;while(!h.isZero()){var m=h.modrn(c).toString(e);h=h.idivn(c),n=h.isZero()?m+n:f[l-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},s&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(s,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};var m=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)};function g(e){for(var t=new Array(e.bitLength()),n=0;n>>i&1}return t}function v(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,u=s/67108864|0;n.words[0]=a;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=f;d++){var p=l-d|0;i=0|e.words[p],o=0|t.words[d],s=i*o+h,c+=s/67108864|0,h=67108863&s}n.words[l]=0|h,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n._strip()}o.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var s=m(e,o),a="le"===t?"LE":"BE";return this["_toArrayLike"+a](s,i),s},o.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=s>>>24,o+=2)}if(n=0&&(e[n--]=s>>8&255),n>=0&&(e[n--]=s>>16&255),6===o?(n>=0&&(e[n--]=s>>24&255),r=0,o=0):(r=s>>>24,o+=2)}if(n>=0){e[n--]=r;while(n>=0)e[n--]=0}},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==o&&s>26,this.words[s]=67108863&t;if(0===o&&s>>13,d=0|s[1],p=8191&d,m=d>>>13,g=0|s[2],v=8191&g,y=g>>>13,b=0|s[3],w=8191&b,D=b>>>13,E=0|s[4],x=8191&E,_=E>>>13,C=0|s[5],k=8191&C,S=C>>>13,A=0|s[6],T=8191&A,M=A>>>13,O=0|s[7],N=8191&O,F=O>>>13,I=0|s[8],R=8191&I,P=I>>>13,L=0|s[9],B=8191&L,j=L>>>13,$=0|a[0],U=8191&$,q=$>>>13,H=0|a[1],z=8191&H,V=H>>>13,W=0|a[2],G=8191&W,K=W>>>13,X=0|a[3],Y=8191&X,J=X>>>13,Z=0|a[4],Q=8191&Z,ee=Z>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ue=8191&ae,le=ae>>>13,ce=0|a[8],he=8191&ce,fe=ce>>>13,de=0|a[9],pe=8191&de,me=de>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(h,U),i=Math.imul(h,q),i=i+Math.imul(f,U)|0,o=Math.imul(f,q);var ge=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,U),i=Math.imul(p,q),i=i+Math.imul(m,U)|0,o=Math.imul(m,q),r=r+Math.imul(h,z)|0,i=i+Math.imul(h,V)|0,i=i+Math.imul(f,z)|0,o=o+Math.imul(f,V)|0;var ve=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,U),i=Math.imul(v,q),i=i+Math.imul(y,U)|0,o=Math.imul(y,q),r=r+Math.imul(p,z)|0,i=i+Math.imul(p,V)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,V)|0,r=r+Math.imul(h,G)|0,i=i+Math.imul(h,K)|0,i=i+Math.imul(f,G)|0,o=o+Math.imul(f,K)|0;var ye=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,U),i=Math.imul(w,q),i=i+Math.imul(D,U)|0,o=Math.imul(D,q),r=r+Math.imul(v,z)|0,i=i+Math.imul(v,V)|0,i=i+Math.imul(y,z)|0,o=o+Math.imul(y,V)|0,r=r+Math.imul(p,G)|0,i=i+Math.imul(p,K)|0,i=i+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0,r=r+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(f,Y)|0,o=o+Math.imul(f,J)|0;var be=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(x,U),i=Math.imul(x,q),i=i+Math.imul(_,U)|0,o=Math.imul(_,q),r=r+Math.imul(w,z)|0,i=i+Math.imul(w,V)|0,i=i+Math.imul(D,z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,J)|0,r=r+Math.imul(h,Q)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(f,Q)|0,o=o+Math.imul(f,ee)|0;var we=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(k,U),i=Math.imul(k,q),i=i+Math.imul(S,U)|0,o=Math.imul(S,q),r=r+Math.imul(x,z)|0,i=i+Math.imul(x,V)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,V)|0,r=r+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(D,G)|0,o=o+Math.imul(D,K)|0,r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,r=r+Math.imul(p,Q)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=i+Math.imul(h,re)|0,i=i+Math.imul(f,ne)|0,o=o+Math.imul(f,re)|0;var De=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(T,U),i=Math.imul(T,q),i=i+Math.imul(M,U)|0,o=Math.imul(M,q),r=r+Math.imul(k,z)|0,i=i+Math.imul(k,V)|0,i=i+Math.imul(S,z)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(x,G)|0,i=i+Math.imul(x,K)|0,i=i+Math.imul(_,G)|0,o=o+Math.imul(_,K)|0,r=r+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(D,Y)|0,o=o+Math.imul(D,J)|0,r=r+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=i+Math.imul(p,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=i+Math.imul(h,se)|0,i=i+Math.imul(f,oe)|0,o=o+Math.imul(f,se)|0;var Ee=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(N,U),i=Math.imul(N,q),i=i+Math.imul(F,U)|0,o=Math.imul(F,q),r=r+Math.imul(T,z)|0,i=i+Math.imul(T,V)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(k,G)|0,i=i+Math.imul(k,K)|0,i=i+Math.imul(S,G)|0,o=o+Math.imul(S,K)|0,r=r+Math.imul(x,Y)|0,i=i+Math.imul(x,J)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,J)|0,r=r+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=i+Math.imul(p,se)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,r=r+Math.imul(h,ue)|0,i=i+Math.imul(h,le)|0,i=i+Math.imul(f,ue)|0,o=o+Math.imul(f,le)|0;var xe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(R,U),i=Math.imul(R,q),i=i+Math.imul(P,U)|0,o=Math.imul(P,q),r=r+Math.imul(N,z)|0,i=i+Math.imul(N,V)|0,i=i+Math.imul(F,z)|0,o=o+Math.imul(F,V)|0,r=r+Math.imul(T,G)|0,i=i+Math.imul(T,K)|0,i=i+Math.imul(M,G)|0,o=o+Math.imul(M,K)|0,r=r+Math.imul(k,Y)|0,i=i+Math.imul(k,J)|0,i=i+Math.imul(S,Y)|0,o=o+Math.imul(S,J)|0,r=r+Math.imul(x,Q)|0,i=i+Math.imul(x,ee)|0,i=i+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(w,ne)|0,i=i+Math.imul(w,re)|0,i=i+Math.imul(D,ne)|0,o=o+Math.imul(D,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,se)|0,i=i+Math.imul(y,oe)|0,o=o+Math.imul(y,se)|0,r=r+Math.imul(p,ue)|0,i=i+Math.imul(p,le)|0,i=i+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0,r=r+Math.imul(h,he)|0,i=i+Math.imul(h,fe)|0,i=i+Math.imul(f,he)|0,o=o+Math.imul(f,fe)|0;var _e=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(B,U),i=Math.imul(B,q),i=i+Math.imul(j,U)|0,o=Math.imul(j,q),r=r+Math.imul(R,z)|0,i=i+Math.imul(R,V)|0,i=i+Math.imul(P,z)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(F,G)|0,o=o+Math.imul(F,K)|0,r=r+Math.imul(T,Y)|0,i=i+Math.imul(T,J)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,J)|0,r=r+Math.imul(k,Q)|0,i=i+Math.imul(k,ee)|0,i=i+Math.imul(S,Q)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(x,ne)|0,i=i+Math.imul(x,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(w,oe)|0,i=i+Math.imul(w,se)|0,i=i+Math.imul(D,oe)|0,o=o+Math.imul(D,se)|0,r=r+Math.imul(v,ue)|0,i=i+Math.imul(v,le)|0,i=i+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(m,he)|0,o=o+Math.imul(m,fe)|0,r=r+Math.imul(h,pe)|0,i=i+Math.imul(h,me)|0,i=i+Math.imul(f,pe)|0,o=o+Math.imul(f,me)|0;var Ce=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,z),i=Math.imul(B,V),i=i+Math.imul(j,z)|0,o=Math.imul(j,V),r=r+Math.imul(R,G)|0,i=i+Math.imul(R,K)|0,i=i+Math.imul(P,G)|0,o=o+Math.imul(P,K)|0,r=r+Math.imul(N,Y)|0,i=i+Math.imul(N,J)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,J)|0,r=r+Math.imul(T,Q)|0,i=i+Math.imul(T,ee)|0,i=i+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(k,ne)|0,i=i+Math.imul(k,re)|0,i=i+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(x,oe)|0,i=i+Math.imul(x,se)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,r=r+Math.imul(w,ue)|0,i=i+Math.imul(w,le)|0,i=i+Math.imul(D,ue)|0,o=o+Math.imul(D,le)|0,r=r+Math.imul(v,he)|0,i=i+Math.imul(v,fe)|0,i=i+Math.imul(y,he)|0,o=o+Math.imul(y,fe)|0,r=r+Math.imul(p,pe)|0,i=i+Math.imul(p,me)|0,i=i+Math.imul(m,pe)|0,o=o+Math.imul(m,me)|0;var ke=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(B,G),i=Math.imul(B,K),i=i+Math.imul(j,G)|0,o=Math.imul(j,K),r=r+Math.imul(R,Y)|0,i=i+Math.imul(R,J)|0,i=i+Math.imul(P,Y)|0,o=o+Math.imul(P,J)|0,r=r+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(F,Q)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(T,ne)|0,i=i+Math.imul(T,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(k,oe)|0,i=i+Math.imul(k,se)|0,i=i+Math.imul(S,oe)|0,o=o+Math.imul(S,se)|0,r=r+Math.imul(x,ue)|0,i=i+Math.imul(x,le)|0,i=i+Math.imul(_,ue)|0,o=o+Math.imul(_,le)|0,r=r+Math.imul(w,he)|0,i=i+Math.imul(w,fe)|0,i=i+Math.imul(D,he)|0,o=o+Math.imul(D,fe)|0,r=r+Math.imul(v,pe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(y,pe)|0,o=o+Math.imul(y,me)|0;var Se=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,Y),i=Math.imul(B,J),i=i+Math.imul(j,Y)|0,o=Math.imul(j,J),r=r+Math.imul(R,Q)|0,i=i+Math.imul(R,ee)|0,i=i+Math.imul(P,Q)|0,o=o+Math.imul(P,ee)|0,r=r+Math.imul(N,ne)|0,i=i+Math.imul(N,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(T,oe)|0,i=i+Math.imul(T,se)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,r=r+Math.imul(k,ue)|0,i=i+Math.imul(k,le)|0,i=i+Math.imul(S,ue)|0,o=o+Math.imul(S,le)|0,r=r+Math.imul(x,he)|0,i=i+Math.imul(x,fe)|0,i=i+Math.imul(_,he)|0,o=o+Math.imul(_,fe)|0,r=r+Math.imul(w,pe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(D,pe)|0,o=o+Math.imul(D,me)|0;var Ae=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(B,Q),i=Math.imul(B,ee),i=i+Math.imul(j,Q)|0,o=Math.imul(j,ee),r=r+Math.imul(R,ne)|0,i=i+Math.imul(R,re)|0,i=i+Math.imul(P,ne)|0,o=o+Math.imul(P,re)|0,r=r+Math.imul(N,oe)|0,i=i+Math.imul(N,se)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,se)|0,r=r+Math.imul(T,ue)|0,i=i+Math.imul(T,le)|0,i=i+Math.imul(M,ue)|0,o=o+Math.imul(M,le)|0,r=r+Math.imul(k,he)|0,i=i+Math.imul(k,fe)|0,i=i+Math.imul(S,he)|0,o=o+Math.imul(S,fe)|0,r=r+Math.imul(x,pe)|0,i=i+Math.imul(x,me)|0,i=i+Math.imul(_,pe)|0,o=o+Math.imul(_,me)|0;var Te=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(j,ne)|0,o=Math.imul(j,re),r=r+Math.imul(R,oe)|0,i=i+Math.imul(R,se)|0,i=i+Math.imul(P,oe)|0,o=o+Math.imul(P,se)|0,r=r+Math.imul(N,ue)|0,i=i+Math.imul(N,le)|0,i=i+Math.imul(F,ue)|0,o=o+Math.imul(F,le)|0,r=r+Math.imul(T,he)|0,i=i+Math.imul(T,fe)|0,i=i+Math.imul(M,he)|0,o=o+Math.imul(M,fe)|0,r=r+Math.imul(k,pe)|0,i=i+Math.imul(k,me)|0,i=i+Math.imul(S,pe)|0,o=o+Math.imul(S,me)|0;var Me=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,oe),i=Math.imul(B,se),i=i+Math.imul(j,oe)|0,o=Math.imul(j,se),r=r+Math.imul(R,ue)|0,i=i+Math.imul(R,le)|0,i=i+Math.imul(P,ue)|0,o=o+Math.imul(P,le)|0,r=r+Math.imul(N,he)|0,i=i+Math.imul(N,fe)|0,i=i+Math.imul(F,he)|0,o=o+Math.imul(F,fe)|0,r=r+Math.imul(T,pe)|0,i=i+Math.imul(T,me)|0,i=i+Math.imul(M,pe)|0,o=o+Math.imul(M,me)|0;var Oe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ue),i=Math.imul(B,le),i=i+Math.imul(j,ue)|0,o=Math.imul(j,le),r=r+Math.imul(R,he)|0,i=i+Math.imul(R,fe)|0,i=i+Math.imul(P,he)|0,o=o+Math.imul(P,fe)|0,r=r+Math.imul(N,pe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(F,pe)|0,o=o+Math.imul(F,me)|0;var Ne=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,he),i=Math.imul(B,fe),i=i+Math.imul(j,he)|0,o=Math.imul(j,fe),r=r+Math.imul(R,pe)|0,i=i+Math.imul(R,me)|0,i=i+Math.imul(P,pe)|0,o=o+Math.imul(P,me)|0;var Fe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,r=Math.imul(B,pe),i=Math.imul(B,me),i=i+Math.imul(j,pe)|0,o=Math.imul(j,me);var Ie=(l+r|0)+((8191&i)<<13)|0;return l=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,u[0]=ge,u[1]=ve,u[2]=ye,u[3]=be,u[4]=we,u[5]=De,u[6]=Ee,u[7]=xe,u[8]=_e,u[9]=Ce,u[10]=ke,u[11]=Se,u[12]=Ae,u[13]=Te,u[14]=Me,u[15]=Oe,u[16]=Ne,u[17]=Fe,u[18]=Ie,0!==l&&(u[19]=l,n.length++),n};function b(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0,i+=s>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function w(e,t,n){return b(e,t,n)}function D(e,t){this.x=e,this.y=t}Math.imul||(y=v),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?y(this,e,t):r<63?v(this,e,t):r<1024?b(this,e,t):w(this,e,t),n},D.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},D.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,n+=o/67108864|0,n+=s>>>26,this.words[i]=67108863&s}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=g(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&a}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===a)return this._strip();for(r(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,s=0|i.words[i.length-1],a=this._countBits(s);n=26-a,0!==n&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var u,l=r.length-i.length;if("mod"!==t){u=new o(null),u.length=l+1,u.words=new Array(u.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);d=Math.min(d/s|0,67108863),r._ishlnsubmul(i,d,f);while(0!==r.negative)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);u&&(u.words[f]=d)}return u&&u._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/e|0,n=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),s=new o(0),a=new o(0),u=new o(1),l=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++l;var c=n.clone(),h=t.clone();while(!t.isZero()){for(var f=0,d=1;0===(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0){t.iushrn(f);while(f-- >0)(i.isOdd()||s.isOdd())&&(i.iadd(c),s.isub(h)),i.iushrn(1),s.iushrn(1)}for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0){n.iushrn(p);while(p-- >0)(a.isOdd()||u.isOdd())&&(a.iadd(c),u.isub(h)),a.iushrn(1),u.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(u)):(n.isub(t),a.isub(i),u.isub(s))}return{a:a,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,s=new o(1),a=new o(0),u=n.clone();while(t.cmpn(1)>0&&n.cmpn(1)>0){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);while(l-- >0)s.isOdd()&&s.iadd(u),s.iushrn(1)}for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0){n.iushrn(h);while(h-- >0)a.isOdd()&&a.iadd(u),a.iushrn(1)}t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return i=0===t.cmpn(1)?s:a,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new A(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var E={k256:null,p224:null,p192:null,p25519:null};function x(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function C(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function T(e){A.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},x.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},x.prototype.split=function(e,t){e.iushrn(this.n,0,t)},x.prototype.imulK=function(e){return e.imul(this.k)},i(_,x),_.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(E[e])return E[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new C;else if("p192"===e)t=new k;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return E[e]=t,t},A.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},A.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},A.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(c(e,e.umod(this.m)._forceRed(this)),e)},A.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},A.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},A.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},A.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},A.prototype.isqr=function(e){return this.imul(e,e.clone())},A.prototype.sqr=function(e){return this.mul(e,e)},A.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),s=0;while(!i.isZero()&&0===i.andln(1))s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,l).cmp(u))c.redIAdd(u);var h=this.pow(c,i),f=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=s;while(0!==d.cmp(a)){for(var m=d,g=0;0!==m.cmp(a);g++)m=m.redSqr();r(g=0;i--){for(var c=t.words[i],h=l-1;h>=0;h--){var f=c>>h&1;s!==r[0]&&(s=this.sqr(s)),0!==f||0!==a?(a<<=1,a|=f,u++,(u===n||0===i&&0===h)&&(s=this.mul(s,r[a]),u=0,a=0)):u=0}l=26}return s},A.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},A.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new T(e)},i(T,A),T.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},T.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},T.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},T.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},T.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"39a9":function(e,t,n){ /*! safe-buffer. MIT License. Feross Aboukhadijeh */ -var r=n("b639"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=s),s.prototype=Object.create(i.prototype),o(i,s),s.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},s.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},"39ad":function(e,t,n){var r=n("6ca1"),i=n("d16a"),o=n("9d11");e.exports=function(e){return function(t,n,s){var a,u=r(t),l=i(u.length),c=o(s,l);if(e&&n!=n){while(l>c)if(a=u[c++],a!=a)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},"39f5":function(e,t,n){var r=n("8707").Buffer;function i(e){r.isBuffer(e)||(e=r.from(e));for(var t=e.length/4|0,n=new Array(t),i=0;i>>24]^c[p>>>16&255]^h[m>>>8&255]^f[255&g]^t[v++],s=l[p>>>24]^c[m>>>16&255]^h[g>>>8&255]^f[255&d]^t[v++],a=l[m>>>24]^c[g>>>16&255]^h[d>>>8&255]^f[255&p]^t[v++],u=l[g>>>24]^c[d>>>16&255]^h[p>>>8&255]^f[255&m]^t[v++],d=o,p=s,m=a,g=u;return o=(r[d>>>24]<<24|r[p>>>16&255]<<16|r[m>>>8&255]<<8|r[255&g])^t[v++],s=(r[p>>>24]<<24|r[m>>>16&255]<<16|r[g>>>8&255]<<8|r[255&d])^t[v++],a=(r[m>>>24]<<24|r[g>>>16&255]<<16|r[d>>>8&255]<<8|r[255&p])^t[v++],u=(r[g>>>24]<<24|r[d>>>16&255]<<16|r[p>>>8&255]<<8|r[255&m])^t[v++],o>>>=0,s>>>=0,a>>>=0,u>>>=0,[o,s,a,u]}var a=[0,1,2,4,8,16,32,64,128,27,54],u=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],s=0,a=0,u=0;u<256;++u){var l=a^a<<1^a<<2^a<<3^a<<4;l=l>>>8^255&l^99,n[s]=l,r[l]=s;var c=e[s],h=e[c],f=e[h],d=257*e[l]^16843008*l;i[0][s]=d<<24|d>>>8,i[1][s]=d<<16|d>>>16,i[2][s]=d<<8|d>>>24,i[3][s]=d,d=16843009*f^65537*h^257*c^16843008*s,o[0][l]=d<<24|d>>>8,o[1][l]=d<<16|d>>>16,o[2][l]=d<<8|d>>>24,o[3][l]=d,0===s?s=a=1:(s=c^e[e[e[f^c]]],a^=e[e[a]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function l(e){this._key=i(e),this._reset()}l.blockSize=16,l.keySize=32,l.prototype.blockSize=l.blockSize,l.prototype.keySize=l.keySize,l.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],o=0;o>>24,s=u.SBOX[s>>>24]<<24|u.SBOX[s>>>16&255]<<16|u.SBOX[s>>>8&255]<<8|u.SBOX[255&s],s^=a[o/t|0]<<24):t>6&&o%t===4&&(s=u.SBOX[s>>>24]<<24|u.SBOX[s>>>16&255]<<16|u.SBOX[s>>>8&255]<<8|u.SBOX[255&s]),i[o]=i[o-t]^s}for(var l=[],c=0;c>>24]]^u.INV_SUB_MIX[1][u.SBOX[f>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[f>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&f]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=l},l.prototype.encryptBlockRaw=function(e){return e=i(e),s(e,this._keySchedule,u.SUB_MIX,u.SBOX,this._nRounds)},l.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},l.prototype.decryptBlock=function(e){e=i(e);var t=e[1];e[1]=e[3],e[3]=t;var n=s(e,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},l.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=l},"3a7c":function(e,t,n){(function(e){function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function r(e){return"boolean"===typeof e}function i(e){return null===e}function o(e){return null==e}function s(e){return"number"===typeof e}function a(e){return"string"===typeof e}function u(e){return"symbol"===typeof e}function l(e){return void 0===e}function c(e){return"[object RegExp]"===g(e)}function h(e){return"object"===typeof e&&null!==e}function f(e){return"[object Date]"===g(e)}function d(e){return"[object Error]"===g(e)||e instanceof Error}function p(e){return"function"===typeof e}function m(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function g(e){return Object.prototype.toString.call(e)}t.isArray=n,t.isBoolean=r,t.isNull=i,t.isNullOrUndefined=o,t.isNumber=s,t.isString=a,t.isSymbol=u,t.isUndefined=l,t.isRegExp=c,t.isObject=h,t.isDate=f,t.isError=d,t.isFunction=p,t.isPrimitive=m,t.isBuffer=e.isBuffer}).call(this,n("b639").Buffer)},"3bbe":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3c35":function(e,t){(function(t){e.exports=t}).call(this,{})},"3c4e":function(e,t,n){"use strict";var r=function(e){return i(e)&&!o(e)};function i(e){return!!e&&"object"===typeof e}function o(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||u(e)}var s="function"===typeof Symbol&&Symbol.for,a=s?Symbol.for("react.element"):60103;function u(e){return e.$$typeof===a}function l(e){return Array.isArray(e)?[]:{}}function c(e,t){var n=t&&!0===t.clone;return n&&r(e)?d(l(e),e,t):e}function h(e,t,n){var i=e.slice();return t.forEach((function(t,o){"undefined"===typeof i[o]?i[o]=c(t,n):r(t)?i[o]=d(e[o],t,n):-1===e.indexOf(t)&&i.push(c(t,n))})),i}function f(e,t,n){var i={};return r(e)&&Object.keys(e).forEach((function(t){i[t]=c(e[t],n)})),Object.keys(t).forEach((function(o){r(t[o])&&e[o]?i[o]=d(e[o],t[o],n):i[o]=c(t[o],n)})),i}function d(e,t,n){var r=Array.isArray(t),i=Array.isArray(e),o=n||{arrayMerge:h},s=r===i;if(s){if(r){var a=o.arrayMerge||h;return a(e,t,n)}return f(e,t,n)}return c(t,n)}d.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return d(e,n,t)}))};var p=d;e.exports=p},"3ca3":function(e,t,n){"use strict";var r=n("6547").charAt,i=n("69f3"),o=n("7dd0"),s="String Iterator",a=i.set,u=i.getterFor(s);o(String,"String",(function(e){a(this,{type:s,string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},"3d5a":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("1132"),n("72fe"),n("2b79"),n("38ba"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.StreamCipher,i=t.algo,o=[],s=[],a=[],u=i.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)l.call(this);for(i=0;i<8;i++)r[i]^=n[i+4&7];if(t){var o=t.words,s=o[0],a=o[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),h=u>>>16|4294901760&c,f=c<<16|65535&u;r[0]^=u,r[1]^=h,r[2]^=c,r[3]^=f,r[4]^=u,r[5]^=h,r[6]^=c,r[7]^=f;for(i=0;i<4;i++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)s[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,o=r>>>16,u=((i*i>>>17)+i*o>>>15)+o*o,l=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=u^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.RabbitLegacy=r._createHelper(u)}(),e.RabbitLegacy}))},"3daf":function(e,t,n){"use strict";var r=n("f3a3"),i=n("80af"),o=n("3fb5"),s=n("ea53"),a=r.assert;function u(e){this.twisted=1!==(0|e.a),this.mOneA=this.twisted&&-1===(0|e.a),this.extended=this.mOneA,s.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|e.c)}function l(e,t,n,r,o){s.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(u,s),e.exports=u,u.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},u.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},u.prototype.jpoint=function(e,t,n,r){return this.point(e,t,n,r)},u.prototype.pointFromX=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var n=e.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),s=r.redMul(o.redInvm()),a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");var u=a.fromRed().isOdd();return(t&&!u||!t&&u)&&(a=a.redNeg()),this.point(e,a)},u.prototype.pointFromY=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var n=e.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),s=r.redMul(o.redInvm());if(0===s.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},u.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),r=t.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===r.cmp(i)},o(l,s.BasePoint),u.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},u.prototype.point=function(e,t,n,r){return new l(this,e,t,n,r)},l.fromJSON=function(e,t){return new l(e,t[0],t[1],t[2])},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},l.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=r.redAdd(t),s=o.redSub(n),a=r.redSub(t),u=i.redMul(s),l=o.redMul(a),c=i.redMul(a),h=s.redMul(o);return this.curve.point(u,l,h,c)},l.prototype._projDbl=function(){var e,t,n,r,i,o,s=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),u=this.y.redSqr();if(this.curve.twisted){r=this.curve._mulA(a);var l=r.redAdd(u);this.zOne?(e=s.redSub(a).redSub(u).redMul(l.redSub(this.curve.two)),t=l.redMul(r.redSub(u)),n=l.redSqr().redSub(l).redSub(l)):(i=this.z.redSqr(),o=l.redSub(i).redISub(i),e=s.redSub(a).redISub(u).redMul(o),t=l.redMul(r.redSub(u)),n=l.redMul(o))}else r=a.redAdd(u),i=this.curve._mulC(this.z).redSqr(),o=r.redSub(i).redSub(i),e=this.curve._mulC(s.redISub(r)).redMul(o),t=this.curve._mulC(r).redMul(a.redISub(u)),n=r.redMul(o);return this.curve.point(e,t,n)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=n.redSub(t),s=i.redSub(r),a=i.redAdd(r),u=n.redAdd(t),l=o.redMul(s),c=a.redMul(u),h=o.redMul(u),f=s.redMul(a);return this.curve.point(l,c,f,h)},l.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),i=r.redSqr(),o=this.x.redMul(e.x),s=this.y.redMul(e.y),a=this.curve.d.redMul(o).redMul(s),u=i.redSub(a),l=i.redAdd(a),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(s),h=r.redMul(u).redMul(c);return this.curve.twisted?(t=r.redMul(l).redMul(s.redSub(this.curve._mulA(o))),n=u.redMul(l)):(t=r.redMul(l).redMul(s.redSub(o)),n=this.curve._mulC(u).redMul(l)),this.curve.point(h,t,n)},l.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},l.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},l.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},l.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},"3f62":function(e,t,n){var r=n("8707").Buffer,i=r.alloc(16,0);function o(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}function s(e){var t=r.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function a(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}a.prototype.ghash=function(e){var t=-1;while(++t0;e--)r[e]=r[e]>>>1|(1&r[e-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=s(i)},a.prototype.update=function(e){var t;this.cache=r.concat([this.cache,e]);while(this.cache.length>=16)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},a.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(s([0,e,0,t])),this.state},e.exports=a},"3f6b":function(e,t,n){e.exports={default:n("b9c7"),__esModule:!0}},"3f8c":function(e,t){e.exports={}},"3fb5":function(e,t){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},4010:function(e,t,n){"use strict";t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var r=n("6dd8"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var s="undefined"===typeof window,a=function(e){var t=e,n=Array.isArray(t),r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i,s=o.target.__resizeListeners__||[];s.length&&s.forEach((function(e){e()}))}};t.addResizeListener=function(e,t){s||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new i.default(a),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},"409b":function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},4111:function(e,t,n){"use strict";var r=n("7f7a");t.certificate=n("56b5");var i=r.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));t.RSAPrivateKey=i;var o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=o;var s=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}));t.PublicKey=s;var a=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),u=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=u;var l=r.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));t.EncryptedPrivateKey=l;var c=r.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));t.DSAPrivateKey=c,t.DSAparam=r.define("DSAparam",(function(){this.int()}));var h=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(f),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=h;var f=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},4136:function(e,t,n){"use strict";var r=t;r.base=n("ea53"),r.short=n("3300"),r.mont=n("676f"),r.edwards=n("3daf")},4160:function(e,t,n){"use strict";var r=n("23e7"),i=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},"417f":function(e,t,n){"use strict";t.__esModule=!0;var r=n("2b0e"),i=s(r),o=n("5924");function s(e){return e&&e.__esModule?e:{default:e}}var a=[],u="@@clickoutsideContext",l=void 0,c=0;function h(e,t,n){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&r.target&&i.target)||e.contains(r.target)||e.contains(i.target)||e===r.target||n.context.popperElm&&(n.context.popperElm.contains(r.target)||n.context.popperElm.contains(i.target))||(t.expression&&e[u].methodName&&n.context[e[u].methodName]?n.context[e[u].methodName]():e[u].bindingFn&&e[u].bindingFn())}}!i.default.prototype.$isServer&&(0,o.on)(document,"mousedown",(function(e){return l=e})),!i.default.prototype.$isServer&&(0,o.on)(document,"mouseup",(function(e){a.forEach((function(t){return t[u].documentHandler(e,l)}))})),t.default={bind:function(e,t,n){a.push(e);var r=c++;e[u]={id:r,documentHandler:h(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[u].documentHandler=h(e,t,n),e[u].methodName=t.expression,e[u].bindingFn=t.value},unbind:function(e){for(var t=a.length,n=0;n16)throw new Error("unable to decrypt data");var n=-1;while(++n16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=m,t.createDecipheriv=p},4250:function(e,t,n){"use strict";(function(t,r){var i;e.exports=T,T.ReadableState=A;n("faa1").EventEmitter;var o=function(e,t){return e.listeners(t).length},s=n("5bbb"),a=n("b639").Buffer,u=t.Uint8Array||function(){};function l(e){return a.from(e)}function c(e){return a.isBuffer(e)||e instanceof u}var h,f=n(1);h=f&&f.debuglog?f.debuglog("stream"):function(){};var d,p,m,g=n("96a5"),v=n("493f"),y=n("b9b5"),b=y.getHighWaterMark,w=n("9d8a").codes,D=w.ERR_INVALID_ARG_TYPE,E=w.ERR_STREAM_PUSH_AFTER_EOF,x=w.ERR_METHOD_NOT_IMPLEMENTED,_=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n("3fb5")(T,s);var C=v.errorOrDestroy,k=["error","close","destroy","pause","resume"];function S(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function A(e,t,r){i=i||n("e666"),e=e||{},"boolean"!==typeof r&&(r=t instanceof i),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=b(this,e,"readableHighWaterMark",r),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.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=n("7d72").StringDecoder),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function T(e){if(i=i||n("e666"),!(this instanceof T))return new T(e);var t=this instanceof i;this._readableState=new A(e,this,t),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function M(e,t,n,r,i){h("readableAddChunk",t);var o,s=e._readableState;if(null===t)s.reading=!1,R(e,s);else if(i||(o=N(s,t)),o)C(e,o);else if(s.objectMode||t&&t.length>0)if("string"===typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=l(t)),r)s.endEmitted?C(e,new _):O(e,s,t,!0);else if(s.ended)C(e,new E);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?O(e,s,t,!1):j(e,s)):O(e,s,t,!1)}else r||(s.reading=!1,j(e,s));return!s.ended&&(s.length=F?e=F:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function P(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=I(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function R(e,t){if(h("onEofChunk"),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?L(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,B(e)))}}function L(e){var t=e._readableState;h("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(B,e))}function B(e){var t=e._readableState;h("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,W(e)}function j(e,t){t.readingMore||(t.readingMore=!0,r.nextTick($,e,t))}function $(e,t){while(!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function H(e){h("readable nexttick read 0"),e.read(0)}function z(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(V,e,t))}function V(e,t){h("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),W(e),t.flowing&&!t.reading&&e.read(0)}function W(e){var t=e._readableState;h("flow",t.flowing);while(t.flowing&&null!==e.read());}function G(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function K(e){var t=e._readableState;h("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(X,t,e))}function X(e,t){if(h("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function Y(e,t){for(var n=0,r=e.length;n=t.highWaterMark:t.length>0)||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?K(this):L(this),null;if(e=P(e,t),0===e&&t.ended)return 0===t.length&&K(this),null;var r,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e0?G(e,t):null,null===r?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&K(this)),null!==r&&this.emit("data",r),r},T.prototype._read=function(e){C(this,new x("_read()"))},T.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,h("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr,a=s?l:y;function u(e,t){h("onunpipe"),e===n&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,d())}function l(){h("onend"),e.end()}i.endEmitted?r.nextTick(a):n.once("end",a),e.on("unpipe",u);var c=q(n);e.on("drain",c);var f=!1;function d(){h("cleanup"),e.removeListener("close",g),e.removeListener("finish",v),e.removeListener("drain",c),e.removeListener("error",m),e.removeListener("unpipe",u),n.removeListener("end",l),n.removeListener("end",y),n.removeListener("data",p),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||c()}function p(t){h("ondata");var r=e.write(t);h("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==Y(i.pipes,e))&&!f&&(h("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function m(t){h("onerror",t),y(),e.removeListener("error",m),0===o(e,"error")&&C(e,t)}function g(){e.removeListener("finish",v),y()}function v(){h("onfinish"),e.removeListener("close",g),y()}function y(){h("unpipe"),n.unpipe(e)}return n.on("data",p),S(e,"error",m),e.once("close",g),e.once("finish",v),e.emit("pipe",n),i.flowing||(h("pipe resume"),n.resume()),e},T.prototype.unpipe=function(e){var t=this._readableState,n={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,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,h("on readable",i.length,i.reading),i.length?L(this):i.reading||r.nextTick(H,this))),n},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(e,t){var n=s.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(U,this),n},T.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||r.nextTick(U,this),t},T.prototype.resume=function(){var e=this._readableState;return e.flowing||(h("resume"),e.flowing=!e.readableListening,z(this,e)),e.paused=!1,this},T.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},T.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(h("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){if(h("wrapped data"),n.decoder&&(i=n.decoder.write(i)),(!n.objectMode||null!==i&&void 0!==i)&&(n.objectMode||i&&i.length)){var o=t.push(i);o||(r=!0,e.pause())}})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o0);for(let r=t;r=0;e--){let n=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));const r=this.treeAdapter.getTagName(n),i=W[r];if(i){this.insertionMode=i;break}if(!(t||r!==g.TD&&r!==g.TH)){this.insertionMode=L;break}if(!t&&r===g.HEAD){this.insertionMode=k;break}if(r===g.SELECT){this._resetInsertionModeForSelect(e);break}if(r===g.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===g.HTML){this.insertionMode=this.headElement?A:C;break}if(t){this.insertionMode=T;break}}}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.items[t],n=this.treeAdapter.getTagName(e);if(n===g.TEMPLATE)break;if(n===g.TABLE)return void(this.insertionMode=j)}this.insertionMode=B}_pushTmplInsertionMode(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(e){const t=this.treeAdapter.getTagName(e);return t===g.TABLE||t===g.TBODY||t===g.TFOOT||t===g.THEAD||t===g.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const e={parent:null,beforeElement:null};for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),i=this.treeAdapter.getNamespaceURI(n);if(r===g.TEMPLATE&&i===v.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}if(r===g.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_fosterParentText(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)}_isSpecialElement(e){const t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return m.SPECIAL_ELEMENTS[n][t]}}function Y(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):yt(e,t),n}function J(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i)&&(n=i)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function Z(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let o=0,s=i;s!==n;o++,s=i){i=e.openElements.getCommonAncestor(s);const n=e.activeFormattingElements.getElementEntry(s),a=n&&o>=E,u=!n||a;u?(a&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(s)):(s=Q(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(s,r),r=s)}return r}function Q(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function ee(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),i=e.treeAdapter.getNamespaceURI(t);r===g.TEMPLATE&&i===v.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function te(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),i=n.token,o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o)}function ne(e,t){let n;for(let r=0;r0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==g.TEMPLATE&&e._err(d.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(g.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(d.endTagWithoutMatchingOpenElement)}function we(e,t){e.openElements.pop(),e.insertionMode=A,e._processToken(t)}function De(e,t){const n=t.tagName;n===g.HTML?at(e,t):n===g.BASEFONT||n===g.BGSOUND||n===g.HEAD||n===g.LINK||n===g.META||n===g.NOFRAMES||n===g.STYLE?ye(e,t):n===g.NOSCRIPT?e._err(d.nestedNoscriptInHead):xe(e,t)}function Ee(e,t){const n=t.tagName;n===g.NOSCRIPT?(e.openElements.pop(),e.insertionMode=k):n===g.BR?xe(e,t):e._err(d.endTagWithoutMatchingOpenElement)}function xe(e,t){const n=t.type===r.EOF_TOKEN?d.openElementsLeftAfterEof:d.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=k,e._processToken(t)}function _e(e,t){const n=t.tagName;n===g.HTML?at(e,t):n===g.BODY?(e._insertElement(t,v.HTML),e.framesetOk=!1,e.insertionMode=T):n===g.FRAMESET?(e._insertElement(t,v.HTML),e.insertionMode=U):n===g.BASE||n===g.BASEFONT||n===g.BGSOUND||n===g.LINK||n===g.META||n===g.NOFRAMES||n===g.SCRIPT||n===g.STYLE||n===g.TEMPLATE||n===g.TITLE?(e._err(d.abandonedHeadElementChild),e.openElements.push(e.headElement),ye(e,t),e.openElements.remove(e.headElement)):n===g.HEAD?e._err(d.misplacedStartTagForHeadElement):ke(e,t)}function Ce(e,t){const n=t.tagName;n===g.BODY||n===g.HTML||n===g.BR?ke(e,t):n===g.TEMPLATE?be(e,t):e._err(d.endTagWithoutMatchingOpenElement)}function ke(e,t){e._insertFakeElement(g.BODY),e.insertionMode=T,e._processToken(t)}function Se(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Ae(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Te(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Me(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Oe(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,v.HTML),e.insertionMode=U)}function Ne(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML)}function Fe(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement();const n=e.openElements.currentTagName;n!==g.H1&&n!==g.H2&&n!==g.H3&&n!==g.H4&&n!==g.H5&&n!==g.H6||e.openElements.pop(),e._insertElement(t,v.HTML)}function Ie(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Pe(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML),n||(e.formElement=e.openElements.current))}function Re(e,t){e.framesetOk=!1;const n=t.tagName;for(let r=e.openElements.stackTop;r>=0;r--){const t=e.openElements.items[r],i=e.treeAdapter.getTagName(t);let o=null;if(n===g.LI&&i===g.LI?o=g.LI:n!==g.DD&&n!==g.DT||i!==g.DD&&i!==g.DT||(o=i),o){e.openElements.generateImpliedEndTagsWithExclusion(o),e.openElements.popUntilTagNamePopped(o);break}if(i!==g.ADDRESS&&i!==g.DIV&&i!==g.P&&e._isSpecialElement(t))break}e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML)}function Le(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML),e.tokenizer.state=r.MODE.PLAINTEXT}function Be(e,t){e.openElements.hasInScope(g.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(g.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.framesetOk=!1}function je(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(g.A);n&&(ne(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function $e(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function qe(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(g.NOBR)&&(ne(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,v.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ue(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function He(e,t){e.treeAdapter.getDocumentMode(e.document)!==m.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML),e.framesetOk=!1,e.insertionMode=O}function ze(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,v.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Ve(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,v.HTML);const n=r.getTokenAttr(t,y.TYPE);n&&n.toLowerCase()===w||(e.framesetOk=!1),t.ackSelfClosing=!0}function We(e,t){e._appendElement(t,v.HTML),t.ackSelfClosing=!0}function Ge(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._appendElement(t,v.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Ke(e,t){t.tagName=g.IMG,ze(e,t)}function Xe(e,t){e._insertElement(t,v.HTML),e.skipNextNewLine=!0,e.tokenizer.state=r.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=M}function Ye(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}function Je(e,t){e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}function Ze(e,t){e._switchToTextParsing(t,r.MODE.RAWTEXT)}function Qe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.framesetOk=!1,e.insertionMode===O||e.insertionMode===F||e.insertionMode===P||e.insertionMode===R||e.insertionMode===L?e.insertionMode=j:e.insertionMode=B}function et(e,t){e.openElements.currentTagName===g.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML)}function tt(e,t){e.openElements.hasInScope(g.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,v.HTML)}function nt(e,t){e.openElements.hasInScope(g.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(g.RTC),e._insertElement(t,v.HTML)}function rt(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML)}function it(e,t){e._reconstructActiveFormattingElements(),f.adjustTokenMathMLAttrs(t),f.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,v.MATHML):e._insertElement(t,v.MATHML),t.ackSelfClosing=!0}function ot(e,t){e._reconstructActiveFormattingElements(),f.adjustTokenSVGAttrs(t),f.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,v.SVG):e._insertElement(t,v.SVG),t.ackSelfClosing=!0}function st(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML)}function at(e,t){const n=t.tagName;switch(n.length){case 1:n===g.I||n===g.S||n===g.B||n===g.U?$e(e,t):n===g.P?Ne(e,t):n===g.A?je(e,t):st(e,t);break;case 2:n===g.DL||n===g.OL||n===g.UL?Ne(e,t):n===g.H1||n===g.H2||n===g.H3||n===g.H4||n===g.H5||n===g.H6?Fe(e,t):n===g.LI||n===g.DD||n===g.DT?Re(e,t):n===g.EM||n===g.TT?$e(e,t):n===g.BR?ze(e,t):n===g.HR?Ge(e,t):n===g.RB?tt(e,t):n===g.RT||n===g.RP?nt(e,t):n!==g.TH&&n!==g.TD&&n!==g.TR&&st(e,t);break;case 3:n===g.DIV||n===g.DIR||n===g.NAV?Ne(e,t):n===g.PRE?Ie(e,t):n===g.BIG?$e(e,t):n===g.IMG||n===g.WBR?ze(e,t):n===g.XMP?Ye(e,t):n===g.SVG?ot(e,t):n===g.RTC?tt(e,t):n!==g.COL&&st(e,t);break;case 4:n===g.HTML?Te(e,t):n===g.BASE||n===g.LINK||n===g.META?ye(e,t):n===g.BODY?Me(e,t):n===g.MAIN||n===g.MENU?Ne(e,t):n===g.FORM?Pe(e,t):n===g.CODE||n===g.FONT?$e(e,t):n===g.NOBR?qe(e,t):n===g.AREA?ze(e,t):n===g.MATH?it(e,t):n===g.MENU?rt(e,t):n!==g.HEAD&&st(e,t);break;case 5:n===g.STYLE||n===g.TITLE?ye(e,t):n===g.ASIDE?Ne(e,t):n===g.SMALL?$e(e,t):n===g.TABLE?He(e,t):n===g.EMBED?ze(e,t):n===g.INPUT?Ve(e,t):n===g.PARAM||n===g.TRACK?We(e,t):n===g.IMAGE?Ke(e,t):n!==g.FRAME&&n!==g.TBODY&&n!==g.TFOOT&&n!==g.THEAD&&st(e,t);break;case 6:n===g.SCRIPT?ye(e,t):n===g.CENTER||n===g.FIGURE||n===g.FOOTER||n===g.HEADER||n===g.HGROUP||n===g.DIALOG?Ne(e,t):n===g.BUTTON?Be(e,t):n===g.STRIKE||n===g.STRONG?$e(e,t):n===g.APPLET||n===g.OBJECT?Ue(e,t):n===g.KEYGEN?ze(e,t):n===g.SOURCE?We(e,t):n===g.IFRAME?Je(e,t):n===g.SELECT?Qe(e,t):n===g.OPTION?et(e,t):st(e,t);break;case 7:n===g.BGSOUND?ye(e,t):n===g.DETAILS||n===g.ADDRESS||n===g.ARTICLE||n===g.SECTION||n===g.SUMMARY?Ne(e,t):n===g.LISTING?Ie(e,t):n===g.MARQUEE?Ue(e,t):n===g.NOEMBED?Ze(e,t):n!==g.CAPTION&&st(e,t);break;case 8:n===g.BASEFONT?ye(e,t):n===g.FRAMESET?Oe(e,t):n===g.FIELDSET?Ne(e,t):n===g.TEXTAREA?Xe(e,t):n===g.TEMPLATE?ye(e,t):n===g.NOSCRIPT?e.options.scriptingEnabled?Ze(e,t):st(e,t):n===g.OPTGROUP?et(e,t):n!==g.COLGROUP&&st(e,t);break;case 9:n===g.PLAINTEXT?Le(e,t):st(e,t);break;case 10:n===g.BLOCKQUOTE||n===g.FIGCAPTION?Ne(e,t):st(e,t);break;default:st(e,t)}}function ut(e){e.openElements.hasInScope(g.BODY)&&(e.insertionMode=q)}function lt(e,t){e.openElements.hasInScope(g.BODY)&&(e.insertionMode=q,e._processToken(t))}function ct(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function ht(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(g.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(g.FORM):e.openElements.remove(n))}function ft(e){e.openElements.hasInButtonScope(g.P)||e._insertFakeElement(g.P),e._closePElement()}function dt(e){e.openElements.hasInListItemScope(g.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(g.LI),e.openElements.popUntilTagNamePopped(g.LI))}function pt(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function mt(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function gt(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function vt(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(g.BR),e.openElements.pop(),e.framesetOk=!1}function yt(e,t){const n=t.tagName;for(let r=e.openElements.stackTop;r>0;r--){const t=e.openElements.items[r];if(e.treeAdapter.getTagName(t)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(t);break}if(e._isSpecialElement(t))break}}function bt(e,t){const n=t.tagName;switch(n.length){case 1:n===g.A||n===g.B||n===g.I||n===g.S||n===g.U?ne(e,t):n===g.P?ft(e,t):yt(e,t);break;case 2:n===g.DL||n===g.UL||n===g.OL?ct(e,t):n===g.LI?dt(e,t):n===g.DD||n===g.DT?pt(e,t):n===g.H1||n===g.H2||n===g.H3||n===g.H4||n===g.H5||n===g.H6?mt(e,t):n===g.BR?vt(e,t):n===g.EM||n===g.TT?ne(e,t):yt(e,t);break;case 3:n===g.BIG?ne(e,t):n===g.DIR||n===g.DIV||n===g.NAV||n===g.PRE?ct(e,t):yt(e,t);break;case 4:n===g.BODY?ut(e,t):n===g.HTML?lt(e,t):n===g.FORM?ht(e,t):n===g.CODE||n===g.FONT||n===g.NOBR?ne(e,t):n===g.MAIN||n===g.MENU?ct(e,t):yt(e,t);break;case 5:n===g.ASIDE?ct(e,t):n===g.SMALL?ne(e,t):yt(e,t);break;case 6:n===g.CENTER||n===g.FIGURE||n===g.FOOTER||n===g.HEADER||n===g.HGROUP||n===g.DIALOG?ct(e,t):n===g.APPLET||n===g.OBJECT?gt(e,t):n===g.STRIKE||n===g.STRONG?ne(e,t):yt(e,t);break;case 7:n===g.ADDRESS||n===g.ARTICLE||n===g.DETAILS||n===g.SECTION||n===g.SUMMARY||n===g.LISTING?ct(e,t):n===g.MARQUEE?gt(e,t):yt(e,t);break;case 8:n===g.FIELDSET?ct(e,t):n===g.TEMPLATE?be(e,t):yt(e,t);break;case 10:n===g.BLOCKQUOTE||n===g.FIGCAPTION?ct(e,t):yt(e,t);break;default:yt(e,t)}}function wt(e,t){e.tmplInsertionModeStackTop>-1?tn(e,t):e.stopped=!0}function Dt(e,t){t.tagName===g.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Et(e,t){e._err(d.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}function xt(e,t){const n=e.openElements.currentTagName;n===g.TABLE||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=N,e._processToken(t)):It(e,t)}function _t(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,v.HTML),e.insertionMode=F}function Ct(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,v.HTML),e.insertionMode=I}function kt(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(g.COLGROUP),e.insertionMode=I,e._processToken(t)}function St(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,v.HTML),e.insertionMode=P}function At(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(g.TBODY),e.insertionMode=P,e._processToken(t)}function Tt(e,t){e.openElements.hasInTableScope(g.TABLE)&&(e.openElements.popUntilTagNamePopped(g.TABLE),e._resetInsertionMode(),e._processToken(t))}function Mt(e,t){const n=r.getTokenAttr(t,y.TYPE);n&&n.toLowerCase()===w?e._appendElement(t,v.HTML):It(e,t),t.ackSelfClosing=!0}function Ot(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,v.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Nt(e,t){const n=t.tagName;switch(n.length){case 2:n===g.TD||n===g.TH||n===g.TR?At(e,t):It(e,t);break;case 3:n===g.COL?kt(e,t):It(e,t);break;case 4:n===g.FORM?Ot(e,t):It(e,t);break;case 5:n===g.TABLE?Tt(e,t):n===g.STYLE?ye(e,t):n===g.TBODY||n===g.TFOOT||n===g.THEAD?St(e,t):n===g.INPUT?Mt(e,t):It(e,t);break;case 6:n===g.SCRIPT?ye(e,t):It(e,t);break;case 7:n===g.CAPTION?_t(e,t):It(e,t);break;case 8:n===g.COLGROUP?Ct(e,t):n===g.TEMPLATE?ye(e,t):It(e,t);break;default:It(e,t)}}function Ft(e,t){const n=t.tagName;n===g.TABLE?e.openElements.hasInTableScope(g.TABLE)&&(e.openElements.popUntilTagNamePopped(g.TABLE),e._resetInsertionMode()):n===g.TEMPLATE?be(e,t):n!==g.BODY&&n!==g.CAPTION&&n!==g.COL&&n!==g.COLGROUP&&n!==g.HTML&&n!==g.TBODY&&n!==g.TD&&n!==g.TFOOT&&n!==g.TH&&n!==g.THEAD&&n!==g.TR&&It(e,t)}function It(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function Pt(e,t){e.pendingCharacterTokens.push(t)}function Rt(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Lt(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0?(e.openElements.popUntilTagNamePopped(g.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function nn(e,t){t.tagName===g.HTML?at(e,t):on(e,t)}function rn(e,t){t.tagName===g.HTML?e.fragmentContext||(e.insertionMode=z):on(e,t)}function on(e,t){e.insertionMode=T,e._processToken(t)}function sn(e,t){const n=t.tagName;n===g.HTML?at(e,t):n===g.FRAMESET?e._insertElement(t,v.HTML):n===g.FRAME?(e._appendElement(t,v.HTML),t.ackSelfClosing=!0):n===g.NOFRAMES&&ye(e,t)}function an(e,t){t.tagName!==g.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===g.FRAMESET||(e.insertionMode=H))}function un(e,t){const n=t.tagName;n===g.HTML?at(e,t):n===g.NOFRAMES&&ye(e,t)}function ln(e,t){t.tagName===g.HTML&&(e.insertionMode=V)}function cn(e,t){t.tagName===g.HTML?at(e,t):hn(e,t)}function hn(e,t){e.insertionMode=T,e._processToken(t)}function fn(e,t){const n=t.tagName;n===g.HTML?at(e,t):n===g.NOFRAMES&&ye(e,t)}function dn(e,t){t.chars=p.REPLACEMENT_CHARACTER,e._insertCharacters(t)}function pn(e,t){e._insertCharacters(t),e.framesetOk=!1}function mn(e,t){if(f.causesExit(t)&&!e.fragmentContext){while(e.treeAdapter.getNamespaceURI(e.openElements.current)!==v.HTML&&!e._isIntegrationPoint(e.openElements.current))e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===v.MATHML?f.adjustTokenMathMLAttrs(t):r===v.SVG&&(f.adjustTokenSVGTagName(t),f.adjustTokenSVGAttrs(t)),f.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function gn(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===v.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}e.exports=X},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"44a3":function(e,t,n){"use strict";var r=n("80af"),i=n("f3a3"),o=i.assert,s=i.cachedProperty,a=i.parseBytes;function u(e,t){this.eddsa=e,"object"!==typeof t&&(t=a(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof r&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}s(u,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),s(u,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),s(u,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),s(u,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),u.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},u.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},e.exports=u},"44ad":function(e,t,n){var r=n("d039"),i=n("c6b6"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},"44d1":function(e,t,n){"use strict";var r=n("4ed0"),i=n("eb6a"),o=n("d9b2");t.Selector=i,t.Property=o, +var r=n("b639"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=s),s.prototype=Object.create(i.prototype),o(i,s),s.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},s.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},"39ad":function(e,t,n){var r=n("6ca1"),i=n("d16a"),o=n("9d11");e.exports=function(e){return function(t,n,s){var a,u=r(t),l=i(u.length),c=o(s,l);if(e&&n!=n){while(l>c)if(a=u[c++],a!=a)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},"39f5":function(e,t,n){var r=n("8707").Buffer;function i(e){r.isBuffer(e)||(e=r.from(e));for(var t=e.length/4|0,n=new Array(t),i=0;i>>24]^c[p>>>16&255]^h[m>>>8&255]^f[255&g]^t[v++],s=l[p>>>24]^c[m>>>16&255]^h[g>>>8&255]^f[255&d]^t[v++],a=l[m>>>24]^c[g>>>16&255]^h[d>>>8&255]^f[255&p]^t[v++],u=l[g>>>24]^c[d>>>16&255]^h[p>>>8&255]^f[255&m]^t[v++],d=o,p=s,m=a,g=u;return o=(r[d>>>24]<<24|r[p>>>16&255]<<16|r[m>>>8&255]<<8|r[255&g])^t[v++],s=(r[p>>>24]<<24|r[m>>>16&255]<<16|r[g>>>8&255]<<8|r[255&d])^t[v++],a=(r[m>>>24]<<24|r[g>>>16&255]<<16|r[d>>>8&255]<<8|r[255&p])^t[v++],u=(r[g>>>24]<<24|r[d>>>16&255]<<16|r[p>>>8&255]<<8|r[255&m])^t[v++],o>>>=0,s>>>=0,a>>>=0,u>>>=0,[o,s,a,u]}var a=[0,1,2,4,8,16,32,64,128,27,54],u=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],s=0,a=0,u=0;u<256;++u){var l=a^a<<1^a<<2^a<<3^a<<4;l=l>>>8^255&l^99,n[s]=l,r[l]=s;var c=e[s],h=e[c],f=e[h],d=257*e[l]^16843008*l;i[0][s]=d<<24|d>>>8,i[1][s]=d<<16|d>>>16,i[2][s]=d<<8|d>>>24,i[3][s]=d,d=16843009*f^65537*h^257*c^16843008*s,o[0][l]=d<<24|d>>>8,o[1][l]=d<<16|d>>>16,o[2][l]=d<<8|d>>>24,o[3][l]=d,0===s?s=a=1:(s=c^e[e[e[f^c]]],a^=e[e[a]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function l(e){this._key=i(e),this._reset()}l.blockSize=16,l.keySize=32,l.prototype.blockSize=l.blockSize,l.prototype.keySize=l.keySize,l.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],o=0;o>>24,s=u.SBOX[s>>>24]<<24|u.SBOX[s>>>16&255]<<16|u.SBOX[s>>>8&255]<<8|u.SBOX[255&s],s^=a[o/t|0]<<24):t>6&&o%t===4&&(s=u.SBOX[s>>>24]<<24|u.SBOX[s>>>16&255]<<16|u.SBOX[s>>>8&255]<<8|u.SBOX[255&s]),i[o]=i[o-t]^s}for(var l=[],c=0;c>>24]]^u.INV_SUB_MIX[1][u.SBOX[f>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[f>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&f]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=l},l.prototype.encryptBlockRaw=function(e){return e=i(e),s(e,this._keySchedule,u.SUB_MIX,u.SBOX,this._nRounds)},l.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},l.prototype.decryptBlock=function(e){e=i(e);var t=e[1];e[1]=e[3],e[3]=t;var n=s(e,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},l.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=l},"3a7c":function(e,t,n){(function(e){function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function r(e){return"boolean"===typeof e}function i(e){return null===e}function o(e){return null==e}function s(e){return"number"===typeof e}function a(e){return"string"===typeof e}function u(e){return"symbol"===typeof e}function l(e){return void 0===e}function c(e){return"[object RegExp]"===g(e)}function h(e){return"object"===typeof e&&null!==e}function f(e){return"[object Date]"===g(e)}function d(e){return"[object Error]"===g(e)||e instanceof Error}function p(e){return"function"===typeof e}function m(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function g(e){return Object.prototype.toString.call(e)}t.isArray=n,t.isBoolean=r,t.isNull=i,t.isNullOrUndefined=o,t.isNumber=s,t.isString=a,t.isSymbol=u,t.isUndefined=l,t.isRegExp=c,t.isObject=h,t.isDate=f,t.isError=d,t.isFunction=p,t.isPrimitive=m,t.isBuffer=e.isBuffer}).call(this,n("b639").Buffer)},"3bbe":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3c35":function(e,t){(function(t){e.exports=t}).call(this,{})},"3c4e":function(e,t,n){"use strict";var r=function(e){return i(e)&&!o(e)};function i(e){return!!e&&"object"===typeof e}function o(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||u(e)}var s="function"===typeof Symbol&&Symbol.for,a=s?Symbol.for("react.element"):60103;function u(e){return e.$$typeof===a}function l(e){return Array.isArray(e)?[]:{}}function c(e,t){var n=t&&!0===t.clone;return n&&r(e)?d(l(e),e,t):e}function h(e,t,n){var i=e.slice();return t.forEach((function(t,o){"undefined"===typeof i[o]?i[o]=c(t,n):r(t)?i[o]=d(e[o],t,n):-1===e.indexOf(t)&&i.push(c(t,n))})),i}function f(e,t,n){var i={};return r(e)&&Object.keys(e).forEach((function(t){i[t]=c(e[t],n)})),Object.keys(t).forEach((function(o){r(t[o])&&e[o]?i[o]=d(e[o],t[o],n):i[o]=c(t[o],n)})),i}function d(e,t,n){var r=Array.isArray(t),i=Array.isArray(e),o=n||{arrayMerge:h},s=r===i;if(s){if(r){var a=o.arrayMerge||h;return a(e,t,n)}return f(e,t,n)}return c(t,n)}d.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return d(e,n,t)}))};var p=d;e.exports=p},"3ca3":function(e,t,n){"use strict";var r=n("6547").charAt,i=n("69f3"),o=n("7dd0"),s="String Iterator",a=i.set,u=i.getterFor(s);o(String,"String",(function(e){a(this,{type:s,string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},"3d5a":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("1132"),n("72fe"),n("2b79"),n("38ba"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.StreamCipher,i=t.algo,o=[],s=[],a=[],u=i.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)l.call(this);for(i=0;i<8;i++)r[i]^=n[i+4&7];if(t){var o=t.words,s=o[0],a=o[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),h=u>>>16|4294901760&c,f=c<<16|65535&u;r[0]^=u,r[1]^=h,r[2]^=c,r[3]^=f,r[4]^=u,r[5]^=h,r[6]^=c,r[7]^=f;for(i=0;i<4;i++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)s[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,o=r>>>16,u=((i*i>>>17)+i*o>>>15)+o*o,l=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=u^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.RabbitLegacy=r._createHelper(u)}(),e.RabbitLegacy}))},"3daf":function(e,t,n){"use strict";var r=n("f3a3"),i=n("80af"),o=n("3fb5"),s=n("ea53"),a=r.assert;function u(e){this.twisted=1!==(0|e.a),this.mOneA=this.twisted&&-1===(0|e.a),this.extended=this.mOneA,s.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|e.c)}function l(e,t,n,r,o){s.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(u,s),e.exports=u,u.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},u.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},u.prototype.jpoint=function(e,t,n,r){return this.point(e,t,n,r)},u.prototype.pointFromX=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var n=e.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),s=r.redMul(o.redInvm()),a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");var u=a.fromRed().isOdd();return(t&&!u||!t&&u)&&(a=a.redNeg()),this.point(e,a)},u.prototype.pointFromY=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var n=e.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),s=r.redMul(o.redInvm());if(0===s.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},u.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),r=t.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===r.cmp(i)},o(l,s.BasePoint),u.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},u.prototype.point=function(e,t,n,r){return new l(this,e,t,n,r)},l.fromJSON=function(e,t){return new l(e,t[0],t[1],t[2])},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},l.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=r.redAdd(t),s=o.redSub(n),a=r.redSub(t),u=i.redMul(s),l=o.redMul(a),c=i.redMul(a),h=s.redMul(o);return this.curve.point(u,l,h,c)},l.prototype._projDbl=function(){var e,t,n,r,i,o,s=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),u=this.y.redSqr();if(this.curve.twisted){r=this.curve._mulA(a);var l=r.redAdd(u);this.zOne?(e=s.redSub(a).redSub(u).redMul(l.redSub(this.curve.two)),t=l.redMul(r.redSub(u)),n=l.redSqr().redSub(l).redSub(l)):(i=this.z.redSqr(),o=l.redSub(i).redISub(i),e=s.redSub(a).redISub(u).redMul(o),t=l.redMul(r.redSub(u)),n=l.redMul(o))}else r=a.redAdd(u),i=this.curve._mulC(this.z).redSqr(),o=r.redSub(i).redSub(i),e=this.curve._mulC(s.redISub(r)).redMul(o),t=this.curve._mulC(r).redMul(a.redISub(u)),n=r.redMul(o);return this.curve.point(e,t,n)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=n.redSub(t),s=i.redSub(r),a=i.redAdd(r),u=n.redAdd(t),l=o.redMul(s),c=a.redMul(u),h=o.redMul(u),f=s.redMul(a);return this.curve.point(l,c,f,h)},l.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),i=r.redSqr(),o=this.x.redMul(e.x),s=this.y.redMul(e.y),a=this.curve.d.redMul(o).redMul(s),u=i.redSub(a),l=i.redAdd(a),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(s),h=r.redMul(u).redMul(c);return this.curve.twisted?(t=r.redMul(l).redMul(s.redSub(this.curve._mulA(o))),n=u.redMul(l)):(t=r.redMul(l).redMul(s.redSub(o)),n=this.curve._mulC(u).redMul(l)),this.curve.point(h,t,n)},l.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},l.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},l.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},l.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},"3f62":function(e,t,n){var r=n("8707").Buffer,i=r.alloc(16,0);function o(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}function s(e){var t=r.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function a(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}a.prototype.ghash=function(e){var t=-1;while(++t0;e--)r[e]=r[e]>>>1|(1&r[e-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=s(i)},a.prototype.update=function(e){var t;this.cache=r.concat([this.cache,e]);while(this.cache.length>=16)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},a.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(s([0,e,0,t])),this.state},e.exports=a},"3f6b":function(e,t,n){e.exports={default:n("b9c7"),__esModule:!0}},"3f8c":function(e,t){e.exports={}},"3fb5":function(e,t){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},4010:function(e,t,n){"use strict";t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var r=n("6dd8"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var s="undefined"===typeof window,a=function(e){var t=e,n=Array.isArray(t),r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i,s=o.target.__resizeListeners__||[];s.length&&s.forEach((function(e){e()}))}};t.addResizeListener=function(e,t){s||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new i.default(a),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},"409b":function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},4111:function(e,t,n){"use strict";var r=n("7f7a");t.certificate=n("56b5");var i=r.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));t.RSAPrivateKey=i;var o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=o;var s=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}));t.PublicKey=s;var a=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),u=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=u;var l=r.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));t.EncryptedPrivateKey=l;var c=r.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));t.DSAPrivateKey=c,t.DSAparam=r.define("DSAparam",(function(){this.int()}));var h=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(f),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=h;var f=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},4136:function(e,t,n){"use strict";var r=t;r.base=n("ea53"),r.short=n("3300"),r.mont=n("676f"),r.edwards=n("3daf")},4160:function(e,t,n){"use strict";var r=n("23e7"),i=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},"417f":function(e,t,n){"use strict";t.__esModule=!0;var r=n("2b0e"),i=s(r),o=n("5924");function s(e){return e&&e.__esModule?e:{default:e}}var a=[],u="@@clickoutsideContext",l=void 0,c=0;function h(e,t,n){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&r.target&&i.target)||e.contains(r.target)||e.contains(i.target)||e===r.target||n.context.popperElm&&(n.context.popperElm.contains(r.target)||n.context.popperElm.contains(i.target))||(t.expression&&e[u].methodName&&n.context[e[u].methodName]?n.context[e[u].methodName]():e[u].bindingFn&&e[u].bindingFn())}}!i.default.prototype.$isServer&&(0,o.on)(document,"mousedown",(function(e){return l=e})),!i.default.prototype.$isServer&&(0,o.on)(document,"mouseup",(function(e){a.forEach((function(t){return t[u].documentHandler(e,l)}))})),t.default={bind:function(e,t,n){a.push(e);var r=c++;e[u]={id:r,documentHandler:h(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[u].documentHandler=h(e,t,n),e[u].methodName=t.expression,e[u].bindingFn=t.value},unbind:function(e){for(var t=a.length,n=0;n16)throw new Error("unable to decrypt data");var n=-1;while(++n16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=m,t.createDecipheriv=p},4250:function(e,t,n){"use strict";(function(t,r){var i;e.exports=T,T.ReadableState=A;n("faa1").EventEmitter;var o=function(e,t){return e.listeners(t).length},s=n("5bbb"),a=n("b639").Buffer,u=t.Uint8Array||function(){};function l(e){return a.from(e)}function c(e){return a.isBuffer(e)||e instanceof u}var h,f=n(1);h=f&&f.debuglog?f.debuglog("stream"):function(){};var d,p,m,g=n("96a5"),v=n("493f"),y=n("b9b5"),b=y.getHighWaterMark,w=n("9d8a").codes,D=w.ERR_INVALID_ARG_TYPE,E=w.ERR_STREAM_PUSH_AFTER_EOF,x=w.ERR_METHOD_NOT_IMPLEMENTED,_=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n("3fb5")(T,s);var C=v.errorOrDestroy,k=["error","close","destroy","pause","resume"];function S(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function A(e,t,r){i=i||n("e666"),e=e||{},"boolean"!==typeof r&&(r=t instanceof i),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=b(this,e,"readableHighWaterMark",r),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.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=n("7d72").StringDecoder),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function T(e){if(i=i||n("e666"),!(this instanceof T))return new T(e);var t=this instanceof i;this._readableState=new A(e,this,t),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function M(e,t,n,r,i){h("readableAddChunk",t);var o,s=e._readableState;if(null===t)s.reading=!1,P(e,s);else if(i||(o=N(s,t)),o)C(e,o);else if(s.objectMode||t&&t.length>0)if("string"===typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=l(t)),r)s.endEmitted?C(e,new _):O(e,s,t,!0);else if(s.ended)C(e,new E);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?O(e,s,t,!1):j(e,s)):O(e,s,t,!1)}else r||(s.reading=!1,j(e,s));return!s.ended&&(s.length=F?e=F:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function R(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=I(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function P(e,t){if(h("onEofChunk"),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?L(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,B(e)))}}function L(e){var t=e._readableState;h("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(B,e))}function B(e){var t=e._readableState;h("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,W(e)}function j(e,t){t.readingMore||(t.readingMore=!0,r.nextTick($,e,t))}function $(e,t){while(!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function H(e){h("readable nexttick read 0"),e.read(0)}function z(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(V,e,t))}function V(e,t){h("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),W(e),t.flowing&&!t.reading&&e.read(0)}function W(e){var t=e._readableState;h("flow",t.flowing);while(t.flowing&&null!==e.read());}function G(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function K(e){var t=e._readableState;h("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(X,t,e))}function X(e,t){if(h("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function Y(e,t){for(var n=0,r=e.length;n=t.highWaterMark:t.length>0)||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?K(this):L(this),null;if(e=R(e,t),0===e&&t.ended)return 0===t.length&&K(this),null;var r,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e0?G(e,t):null,null===r?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&K(this)),null!==r&&this.emit("data",r),r},T.prototype._read=function(e){C(this,new x("_read()"))},T.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,h("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr,a=s?l:y;function u(e,t){h("onunpipe"),e===n&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,d())}function l(){h("onend"),e.end()}i.endEmitted?r.nextTick(a):n.once("end",a),e.on("unpipe",u);var c=U(n);e.on("drain",c);var f=!1;function d(){h("cleanup"),e.removeListener("close",g),e.removeListener("finish",v),e.removeListener("drain",c),e.removeListener("error",m),e.removeListener("unpipe",u),n.removeListener("end",l),n.removeListener("end",y),n.removeListener("data",p),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||c()}function p(t){h("ondata");var r=e.write(t);h("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==Y(i.pipes,e))&&!f&&(h("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function m(t){h("onerror",t),y(),e.removeListener("error",m),0===o(e,"error")&&C(e,t)}function g(){e.removeListener("finish",v),y()}function v(){h("onfinish"),e.removeListener("close",g),y()}function y(){h("unpipe"),n.unpipe(e)}return n.on("data",p),S(e,"error",m),e.once("close",g),e.once("finish",v),e.emit("pipe",n),i.flowing||(h("pipe resume"),n.resume()),e},T.prototype.unpipe=function(e){var t=this._readableState,n={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,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,h("on readable",i.length,i.reading),i.length?L(this):i.reading||r.nextTick(H,this))),n},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(e,t){var n=s.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(q,this),n},T.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||r.nextTick(q,this),t},T.prototype.resume=function(){var e=this._readableState;return e.flowing||(h("resume"),e.flowing=!e.readableListening,z(this,e)),e.paused=!1,this},T.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},T.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(h("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){if(h("wrapped data"),n.decoder&&(i=n.decoder.write(i)),(!n.objectMode||null!==i&&void 0!==i)&&(n.objectMode||i&&i.length)){var o=t.push(i);o||(r=!0,e.pause())}})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o0);for(let r=t;r=0;e--){let n=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));const r=this.treeAdapter.getTagName(n),i=W[r];if(i){this.insertionMode=i;break}if(!(t||r!==g.TD&&r!==g.TH)){this.insertionMode=L;break}if(!t&&r===g.HEAD){this.insertionMode=k;break}if(r===g.SELECT){this._resetInsertionModeForSelect(e);break}if(r===g.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===g.HTML){this.insertionMode=this.headElement?A:C;break}if(t){this.insertionMode=T;break}}}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.items[t],n=this.treeAdapter.getTagName(e);if(n===g.TEMPLATE)break;if(n===g.TABLE)return void(this.insertionMode=j)}this.insertionMode=B}_pushTmplInsertionMode(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(e){const t=this.treeAdapter.getTagName(e);return t===g.TABLE||t===g.TBODY||t===g.TFOOT||t===g.THEAD||t===g.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const e={parent:null,beforeElement:null};for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),i=this.treeAdapter.getNamespaceURI(n);if(r===g.TEMPLATE&&i===v.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}if(r===g.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_fosterParentText(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)}_isSpecialElement(e){const t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return m.SPECIAL_ELEMENTS[n][t]}}function Y(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):yt(e,t),n}function J(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i)&&(n=i)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function Z(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let o=0,s=i;s!==n;o++,s=i){i=e.openElements.getCommonAncestor(s);const n=e.activeFormattingElements.getElementEntry(s),a=n&&o>=E,u=!n||a;u?(a&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(s)):(s=Q(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(s,r),r=s)}return r}function Q(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function ee(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),i=e.treeAdapter.getNamespaceURI(t);r===g.TEMPLATE&&i===v.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function te(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),i=n.token,o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o)}function ne(e,t){let n;for(let r=0;r0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==g.TEMPLATE&&e._err(d.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(g.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(d.endTagWithoutMatchingOpenElement)}function we(e,t){e.openElements.pop(),e.insertionMode=A,e._processToken(t)}function De(e,t){const n=t.tagName;n===g.HTML?at(e,t):n===g.BASEFONT||n===g.BGSOUND||n===g.HEAD||n===g.LINK||n===g.META||n===g.NOFRAMES||n===g.STYLE?ye(e,t):n===g.NOSCRIPT?e._err(d.nestedNoscriptInHead):xe(e,t)}function Ee(e,t){const n=t.tagName;n===g.NOSCRIPT?(e.openElements.pop(),e.insertionMode=k):n===g.BR?xe(e,t):e._err(d.endTagWithoutMatchingOpenElement)}function xe(e,t){const n=t.type===r.EOF_TOKEN?d.openElementsLeftAfterEof:d.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=k,e._processToken(t)}function _e(e,t){const n=t.tagName;n===g.HTML?at(e,t):n===g.BODY?(e._insertElement(t,v.HTML),e.framesetOk=!1,e.insertionMode=T):n===g.FRAMESET?(e._insertElement(t,v.HTML),e.insertionMode=q):n===g.BASE||n===g.BASEFONT||n===g.BGSOUND||n===g.LINK||n===g.META||n===g.NOFRAMES||n===g.SCRIPT||n===g.STYLE||n===g.TEMPLATE||n===g.TITLE?(e._err(d.abandonedHeadElementChild),e.openElements.push(e.headElement),ye(e,t),e.openElements.remove(e.headElement)):n===g.HEAD?e._err(d.misplacedStartTagForHeadElement):ke(e,t)}function Ce(e,t){const n=t.tagName;n===g.BODY||n===g.HTML||n===g.BR?ke(e,t):n===g.TEMPLATE?be(e,t):e._err(d.endTagWithoutMatchingOpenElement)}function ke(e,t){e._insertFakeElement(g.BODY),e.insertionMode=T,e._processToken(t)}function Se(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Ae(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Te(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Me(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Oe(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,v.HTML),e.insertionMode=q)}function Ne(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML)}function Fe(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement();const n=e.openElements.currentTagName;n!==g.H1&&n!==g.H2&&n!==g.H3&&n!==g.H4&&n!==g.H5&&n!==g.H6||e.openElements.pop(),e._insertElement(t,v.HTML)}function Ie(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Re(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML),n||(e.formElement=e.openElements.current))}function Pe(e,t){e.framesetOk=!1;const n=t.tagName;for(let r=e.openElements.stackTop;r>=0;r--){const t=e.openElements.items[r],i=e.treeAdapter.getTagName(t);let o=null;if(n===g.LI&&i===g.LI?o=g.LI:n!==g.DD&&n!==g.DT||i!==g.DD&&i!==g.DT||(o=i),o){e.openElements.generateImpliedEndTagsWithExclusion(o),e.openElements.popUntilTagNamePopped(o);break}if(i!==g.ADDRESS&&i!==g.DIV&&i!==g.P&&e._isSpecialElement(t))break}e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML)}function Le(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML),e.tokenizer.state=r.MODE.PLAINTEXT}function Be(e,t){e.openElements.hasInScope(g.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(g.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.framesetOk=!1}function je(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(g.A);n&&(ne(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function $e(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ue(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(g.NOBR)&&(ne(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,v.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function qe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function He(e,t){e.treeAdapter.getDocumentMode(e.document)!==m.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML),e.framesetOk=!1,e.insertionMode=O}function ze(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,v.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Ve(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,v.HTML);const n=r.getTokenAttr(t,y.TYPE);n&&n.toLowerCase()===w||(e.framesetOk=!1),t.ackSelfClosing=!0}function We(e,t){e._appendElement(t,v.HTML),t.ackSelfClosing=!0}function Ge(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._appendElement(t,v.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Ke(e,t){t.tagName=g.IMG,ze(e,t)}function Xe(e,t){e._insertElement(t,v.HTML),e.skipNextNewLine=!0,e.tokenizer.state=r.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=M}function Ye(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}function Je(e,t){e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}function Ze(e,t){e._switchToTextParsing(t,r.MODE.RAWTEXT)}function Qe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.framesetOk=!1,e.insertionMode===O||e.insertionMode===F||e.insertionMode===R||e.insertionMode===P||e.insertionMode===L?e.insertionMode=j:e.insertionMode=B}function et(e,t){e.openElements.currentTagName===g.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML)}function tt(e,t){e.openElements.hasInScope(g.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,v.HTML)}function nt(e,t){e.openElements.hasInScope(g.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(g.RTC),e._insertElement(t,v.HTML)}function rt(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML)}function it(e,t){e._reconstructActiveFormattingElements(),f.adjustTokenMathMLAttrs(t),f.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,v.MATHML):e._insertElement(t,v.MATHML),t.ackSelfClosing=!0}function ot(e,t){e._reconstructActiveFormattingElements(),f.adjustTokenSVGAttrs(t),f.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,v.SVG):e._insertElement(t,v.SVG),t.ackSelfClosing=!0}function st(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML)}function at(e,t){const n=t.tagName;switch(n.length){case 1:n===g.I||n===g.S||n===g.B||n===g.U?$e(e,t):n===g.P?Ne(e,t):n===g.A?je(e,t):st(e,t);break;case 2:n===g.DL||n===g.OL||n===g.UL?Ne(e,t):n===g.H1||n===g.H2||n===g.H3||n===g.H4||n===g.H5||n===g.H6?Fe(e,t):n===g.LI||n===g.DD||n===g.DT?Pe(e,t):n===g.EM||n===g.TT?$e(e,t):n===g.BR?ze(e,t):n===g.HR?Ge(e,t):n===g.RB?tt(e,t):n===g.RT||n===g.RP?nt(e,t):n!==g.TH&&n!==g.TD&&n!==g.TR&&st(e,t);break;case 3:n===g.DIV||n===g.DIR||n===g.NAV?Ne(e,t):n===g.PRE?Ie(e,t):n===g.BIG?$e(e,t):n===g.IMG||n===g.WBR?ze(e,t):n===g.XMP?Ye(e,t):n===g.SVG?ot(e,t):n===g.RTC?tt(e,t):n!==g.COL&&st(e,t);break;case 4:n===g.HTML?Te(e,t):n===g.BASE||n===g.LINK||n===g.META?ye(e,t):n===g.BODY?Me(e,t):n===g.MAIN||n===g.MENU?Ne(e,t):n===g.FORM?Re(e,t):n===g.CODE||n===g.FONT?$e(e,t):n===g.NOBR?Ue(e,t):n===g.AREA?ze(e,t):n===g.MATH?it(e,t):n===g.MENU?rt(e,t):n!==g.HEAD&&st(e,t);break;case 5:n===g.STYLE||n===g.TITLE?ye(e,t):n===g.ASIDE?Ne(e,t):n===g.SMALL?$e(e,t):n===g.TABLE?He(e,t):n===g.EMBED?ze(e,t):n===g.INPUT?Ve(e,t):n===g.PARAM||n===g.TRACK?We(e,t):n===g.IMAGE?Ke(e,t):n!==g.FRAME&&n!==g.TBODY&&n!==g.TFOOT&&n!==g.THEAD&&st(e,t);break;case 6:n===g.SCRIPT?ye(e,t):n===g.CENTER||n===g.FIGURE||n===g.FOOTER||n===g.HEADER||n===g.HGROUP||n===g.DIALOG?Ne(e,t):n===g.BUTTON?Be(e,t):n===g.STRIKE||n===g.STRONG?$e(e,t):n===g.APPLET||n===g.OBJECT?qe(e,t):n===g.KEYGEN?ze(e,t):n===g.SOURCE?We(e,t):n===g.IFRAME?Je(e,t):n===g.SELECT?Qe(e,t):n===g.OPTION?et(e,t):st(e,t);break;case 7:n===g.BGSOUND?ye(e,t):n===g.DETAILS||n===g.ADDRESS||n===g.ARTICLE||n===g.SECTION||n===g.SUMMARY?Ne(e,t):n===g.LISTING?Ie(e,t):n===g.MARQUEE?qe(e,t):n===g.NOEMBED?Ze(e,t):n!==g.CAPTION&&st(e,t);break;case 8:n===g.BASEFONT?ye(e,t):n===g.FRAMESET?Oe(e,t):n===g.FIELDSET?Ne(e,t):n===g.TEXTAREA?Xe(e,t):n===g.TEMPLATE?ye(e,t):n===g.NOSCRIPT?e.options.scriptingEnabled?Ze(e,t):st(e,t):n===g.OPTGROUP?et(e,t):n!==g.COLGROUP&&st(e,t);break;case 9:n===g.PLAINTEXT?Le(e,t):st(e,t);break;case 10:n===g.BLOCKQUOTE||n===g.FIGCAPTION?Ne(e,t):st(e,t);break;default:st(e,t)}}function ut(e){e.openElements.hasInScope(g.BODY)&&(e.insertionMode=U)}function lt(e,t){e.openElements.hasInScope(g.BODY)&&(e.insertionMode=U,e._processToken(t))}function ct(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function ht(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(g.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(g.FORM):e.openElements.remove(n))}function ft(e){e.openElements.hasInButtonScope(g.P)||e._insertFakeElement(g.P),e._closePElement()}function dt(e){e.openElements.hasInListItemScope(g.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(g.LI),e.openElements.popUntilTagNamePopped(g.LI))}function pt(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function mt(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function gt(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function vt(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(g.BR),e.openElements.pop(),e.framesetOk=!1}function yt(e,t){const n=t.tagName;for(let r=e.openElements.stackTop;r>0;r--){const t=e.openElements.items[r];if(e.treeAdapter.getTagName(t)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(t);break}if(e._isSpecialElement(t))break}}function bt(e,t){const n=t.tagName;switch(n.length){case 1:n===g.A||n===g.B||n===g.I||n===g.S||n===g.U?ne(e,t):n===g.P?ft(e,t):yt(e,t);break;case 2:n===g.DL||n===g.UL||n===g.OL?ct(e,t):n===g.LI?dt(e,t):n===g.DD||n===g.DT?pt(e,t):n===g.H1||n===g.H2||n===g.H3||n===g.H4||n===g.H5||n===g.H6?mt(e,t):n===g.BR?vt(e,t):n===g.EM||n===g.TT?ne(e,t):yt(e,t);break;case 3:n===g.BIG?ne(e,t):n===g.DIR||n===g.DIV||n===g.NAV||n===g.PRE?ct(e,t):yt(e,t);break;case 4:n===g.BODY?ut(e,t):n===g.HTML?lt(e,t):n===g.FORM?ht(e,t):n===g.CODE||n===g.FONT||n===g.NOBR?ne(e,t):n===g.MAIN||n===g.MENU?ct(e,t):yt(e,t);break;case 5:n===g.ASIDE?ct(e,t):n===g.SMALL?ne(e,t):yt(e,t);break;case 6:n===g.CENTER||n===g.FIGURE||n===g.FOOTER||n===g.HEADER||n===g.HGROUP||n===g.DIALOG?ct(e,t):n===g.APPLET||n===g.OBJECT?gt(e,t):n===g.STRIKE||n===g.STRONG?ne(e,t):yt(e,t);break;case 7:n===g.ADDRESS||n===g.ARTICLE||n===g.DETAILS||n===g.SECTION||n===g.SUMMARY||n===g.LISTING?ct(e,t):n===g.MARQUEE?gt(e,t):yt(e,t);break;case 8:n===g.FIELDSET?ct(e,t):n===g.TEMPLATE?be(e,t):yt(e,t);break;case 10:n===g.BLOCKQUOTE||n===g.FIGCAPTION?ct(e,t):yt(e,t);break;default:yt(e,t)}}function wt(e,t){e.tmplInsertionModeStackTop>-1?tn(e,t):e.stopped=!0}function Dt(e,t){t.tagName===g.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Et(e,t){e._err(d.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}function xt(e,t){const n=e.openElements.currentTagName;n===g.TABLE||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=N,e._processToken(t)):It(e,t)}function _t(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,v.HTML),e.insertionMode=F}function Ct(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,v.HTML),e.insertionMode=I}function kt(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(g.COLGROUP),e.insertionMode=I,e._processToken(t)}function St(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,v.HTML),e.insertionMode=R}function At(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(g.TBODY),e.insertionMode=R,e._processToken(t)}function Tt(e,t){e.openElements.hasInTableScope(g.TABLE)&&(e.openElements.popUntilTagNamePopped(g.TABLE),e._resetInsertionMode(),e._processToken(t))}function Mt(e,t){const n=r.getTokenAttr(t,y.TYPE);n&&n.toLowerCase()===w?e._appendElement(t,v.HTML):It(e,t),t.ackSelfClosing=!0}function Ot(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,v.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Nt(e,t){const n=t.tagName;switch(n.length){case 2:n===g.TD||n===g.TH||n===g.TR?At(e,t):It(e,t);break;case 3:n===g.COL?kt(e,t):It(e,t);break;case 4:n===g.FORM?Ot(e,t):It(e,t);break;case 5:n===g.TABLE?Tt(e,t):n===g.STYLE?ye(e,t):n===g.TBODY||n===g.TFOOT||n===g.THEAD?St(e,t):n===g.INPUT?Mt(e,t):It(e,t);break;case 6:n===g.SCRIPT?ye(e,t):It(e,t);break;case 7:n===g.CAPTION?_t(e,t):It(e,t);break;case 8:n===g.COLGROUP?Ct(e,t):n===g.TEMPLATE?ye(e,t):It(e,t);break;default:It(e,t)}}function Ft(e,t){const n=t.tagName;n===g.TABLE?e.openElements.hasInTableScope(g.TABLE)&&(e.openElements.popUntilTagNamePopped(g.TABLE),e._resetInsertionMode()):n===g.TEMPLATE?be(e,t):n!==g.BODY&&n!==g.CAPTION&&n!==g.COL&&n!==g.COLGROUP&&n!==g.HTML&&n!==g.TBODY&&n!==g.TD&&n!==g.TFOOT&&n!==g.TH&&n!==g.THEAD&&n!==g.TR&&It(e,t)}function It(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function Rt(e,t){e.pendingCharacterTokens.push(t)}function Pt(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Lt(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0?(e.openElements.popUntilTagNamePopped(g.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function nn(e,t){t.tagName===g.HTML?at(e,t):on(e,t)}function rn(e,t){t.tagName===g.HTML?e.fragmentContext||(e.insertionMode=z):on(e,t)}function on(e,t){e.insertionMode=T,e._processToken(t)}function sn(e,t){const n=t.tagName;n===g.HTML?at(e,t):n===g.FRAMESET?e._insertElement(t,v.HTML):n===g.FRAME?(e._appendElement(t,v.HTML),t.ackSelfClosing=!0):n===g.NOFRAMES&&ye(e,t)}function an(e,t){t.tagName!==g.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===g.FRAMESET||(e.insertionMode=H))}function un(e,t){const n=t.tagName;n===g.HTML?at(e,t):n===g.NOFRAMES&&ye(e,t)}function ln(e,t){t.tagName===g.HTML&&(e.insertionMode=V)}function cn(e,t){t.tagName===g.HTML?at(e,t):hn(e,t)}function hn(e,t){e.insertionMode=T,e._processToken(t)}function fn(e,t){const n=t.tagName;n===g.HTML?at(e,t):n===g.NOFRAMES&&ye(e,t)}function dn(e,t){t.chars=p.REPLACEMENT_CHARACTER,e._insertCharacters(t)}function pn(e,t){e._insertCharacters(t),e.framesetOk=!1}function mn(e,t){if(f.causesExit(t)&&!e.fragmentContext){while(e.treeAdapter.getNamespaceURI(e.openElements.current)!==v.HTML&&!e._isIntegrationPoint(e.openElements.current))e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===v.MATHML?f.adjustTokenMathMLAttrs(t):r===v.SVG&&(f.adjustTokenSVGTagName(t),f.adjustTokenSVGAttrs(t)),f.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function gn(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===v.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}e.exports=X},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"44a3":function(e,t,n){"use strict";var r=n("80af"),i=n("f3a3"),o=i.assert,s=i.cachedProperty,a=i.parseBytes;function u(e,t){this.eddsa=e,"object"!==typeof t&&(t=a(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof r&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}s(u,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),s(u,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),s(u,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),s(u,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),u.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},u.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},e.exports=u},"44ad":function(e,t,n){var r=n("d039"),i=n("c6b6"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},"44d1":function(e,t,n){"use strict";var r=n("4ed0"),i=n("eb6a"),o=n("d9b2");t.Selector=i,t.Property=o, /** * Returns an array of the selectors. * @@ -86,26 +86,26 @@ var r=n("b639"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function s(e * @param {String} selectorText from mensch * @api public */ -t.extract=function(e){for(var t=0,n=[],r="",i=0,o=e.length;i=0;a--)(t.fontFaces&&"font-face"===o[a].type||t.mediaQueries&&"media"===o[a].type||t.keyFrames&&"keyframes"===o[a].type||t.pseudos&&o[a].selectors&&this.matchesPseudo(o[a].selectors[0],n))&&s.unshift(r.stringify({stylesheet:{rules:[o[a]]}},{comments:!1,indentation:" "})),o[a].position.start;return 0!==s.length&&"\n"+s.join("\n")+"\n"},t.normalizeLineEndings=function(e){return e.replace(/\r\n/g,"\n").replace(/\n/g,"\r\n")},t.matchesPseudo=function(e,t){return t.find((function(t){return e.indexOf(t)>-1}))},t.compareFunc=function(e,t){for(var n=Math.min(e.length,t.length),r=0;rt[r]?1:-1;return e.length-t.length},t.compare=function(e,n){return 1==t.compareFunc(e,n)?e:n},t.getDefaultOptions=function(e){var t=Object.assign({extraCss:"",insertPreservedExtraCss:!0,applyStyleTags:!0,removeStyleTags:!0,preserveMediaQueries:!0,preserveFontFaces:!0,preserveKeyFrames:!0,preservePseudos:!0,applyWidthAttributes:!0,applyHeightAttributes:!0,applyAttributesTableElements:!0,url:""},e);return t.webResources=t.webResources||{},t}},"44d2":function(e,t,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),s=r("unscopables"),a=Array.prototype;void 0==a[s]&&o.f(a,s,{configurable:!0,value:i(null)}),e.exports=function(e){a[s][e]=!0}},"44de":function(e,t,n){var r=n("da84");e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},"44e7":function(e,t,n){var r=n("861d"),i=n("c6b6"),o=n("b622"),s=o("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[s])?!!t:"RegExp"==i(e))}},"466b":function(e,t,n){"use strict";var r=n("33b7"),i=n("492c"),o=i((function(e,t){return r(e,{xmlMode:t&&t.xmlMode},s,[t])})),s=function(e,t){return o.juiceDocument(e,t)};o.inlineContent=function(e,t,n){return r(e,{xmlMode:n&&n.xmlMode},o.inlineDocument,[t,n])},e.exports=o},"467f":function(e,t,n){"use strict";var r=n("2d83");e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},4681:function(e,t,n){"use strict";var r=n("966d");function i(e,t){var n=this,i=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return i||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(s,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(r.nextTick(s,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)})),this)}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function s(e,t){e.emit("error",t)}e.exports={destroy:i,undestroy:o}},4726:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=59)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,s,a){var u,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=u):i&&(u=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(e,t){return u.call(t),c(e,t)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,u):[u]}return{exports:e,options:l}}n.d(t,"a",(function(){return r}))},14:function(e,t){e.exports=n("14e9")},18:function(e,t){e.exports=n("dcdc")},21:function(e,t){e.exports=n("d397")},26:function(e,t){e.exports=n("92fa")},3:function(e,t){e.exports=n("8122")},31:function(e,t){e.exports=n("2a5e")},40:function(e,t){e.exports=n("e452")},51:function(e,t){e.exports=n("f494")},59:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-cascader-panel",e.border&&"is-bordered"],on:{keydown:e.handleKeyDown}},e._l(e.menus,(function(e,t){return n("cascader-menu",{key:t,ref:"menu",refInFor:!0,attrs:{index:t,nodes:e}})})),1)},i=[];r._withStripped=!0;var o,s,a=n(26),u=n.n(a),l=n(14),c=n.n(l),h=n(18),f=n.n(h),d=n(51),p=n.n(d),m=n(3),g=function(e){return e.stopPropagation()},v={inject:["panel"],components:{ElCheckbox:f.a,ElRadio:p.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some((function(t){return e.isInPath(t)}))},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,n=this.node,r=this.isDisabled,i=this.config,o=i.multiple,s=i.checkStrictly;!s&&r||n.loading||(i.lazy&&!n.loaded?t.lazyLoad(n,(function(){var t=e.isLeaf;if(t||e.handleExpand(),o){var r=!!t&&n.checked;e.handleMultiCheckChange(r)}})):t.handleExpand(n))},handleCheckChange:function(){var e=this.panel,t=this.value,n=this.node;e.handleCheckChange(t),e.handleExpand(n)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node,n=e[t.level-1]||{};return n.uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,n=this.isChecked,r=this.config,i=r.checkStrictly,o=r.multiple;return o?this.renderCheckbox(e):i?this.renderRadio(e):t&&n?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,n=this.isLeaf;return t.loading?this.renderLoadingIcon(e):n?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,n=this.config,r=this.isDisabled,i={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(i.nativeOn.click=g),e("el-checkbox",u()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:r}},i]))},renderRadio:function(e){var t=this.checkedValue,n=this.value,r=this.isDisabled;return Object(m["isEqual"])(n,t)&&(n=t),e("el-radio",{attrs:{value:t,label:n,disabled:r},on:{change:this.handleCheckChange},nativeOn:{click:g}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,n=this.node,r=t.renderLabelFn,i=r?r({node:n,data:n.data}):null;return e("span",{class:"el-cascader-node__label"},[i||n.label])}},render:function(e){var t=this,n=this.inActivePath,r=this.inCheckedPath,i=this.isChecked,o=this.isLeaf,s=this.isDisabled,a=this.config,l=this.nodeId,c=a.expandTrigger,h=a.checkStrictly,f=a.multiple,d=!h&&s,p={on:{}};return"click"===c?p.on.click=this.handleExpand:(p.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},p.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!o||s||h||f||(p.on.click=this.handleCheckChange),e("li",u()([{attrs:{role:"menuitem",id:l,"aria-expanded":n,tabindex:d?null:-1},class:{"el-cascader-node":!0,"is-selectable":h,"in-active-path":n,"in-checked-path":r,"is-active":i,"is-disabled":d}},p]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},y=v,b=n(0),w=Object(b["a"])(y,o,s,!1,null,null,null);w.options.__file="packages/cascader-panel/src/cascader-node.vue";var D,E,x=w.exports,_=n(6),C=n.n(_),k={name:"ElCascaderMenu",mixins:[C.a],inject:["panel"],components:{ElScrollbar:c.a,CascaderNode:x},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(m["generateId"])()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,n=this.hoverTimer,r=this.$refs.hoverZone;if(t&&r)if(t.contains(e.target)){clearTimeout(n);var i=this.$el.getBoundingClientRect(),o=i.left,s=e.clientX-o,a=this.$el,u=a.offsetWidth,l=a.offsetHeight,c=t.offsetTop,h=c+t.offsetHeight;r.innerHTML='\n \n \n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,r={on:{}};n&&(r.on.expand=this.handleExpand);var i=this.nodes.map((function(n,i){var o=n.hasChildren;return e("cascader-node",u()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+i,"aria-haspopup":o,"aria-owns":o?t:null}},r]))}));return[].concat(i,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,r={nativeOn:{}};return this.panel.isHoverMenu&&(r.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",u()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},r]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},S=k,A=Object(b["a"])(S,D,E,!1,null,null,null);A.options.__file="packages/cascader-panel/src/cascader-menu.vue";var T=A.exports,M=n(21),O=function(){function e(e,t){for(var n=0;n1?t-1:0),r=1;r1?r-1:0),o=1;o0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},O(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,r=n.disabled,i=n.checkStrictly;return e[r]||!i&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,r=this.children,i=this.config,o=i.lazy,s=i.leaf;if(o){var a=Object(M["isDef"])(e[s])?e[s]:!!t&&!r.length;return this.hasChildren=!a,a}return!n}}]),e}(),P=I;function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var L=function e(t,n){return t.reduce((function(t,r){return r.isLeaf?t.push(r):(!n&&t.push(r),t=t.concat(e(r.children,n))),t}),[])},B=function(){function e(t,n){R(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(m["coerceTruthyValueToArray"])(e),this.nodes=e.map((function(e){return new P(e,t.config)})),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new P(e,this.config,t),r=t?t.children:this.nodes;r.push(n)},e.prototype.appendNodes=function(e,t){var n=this;e=Object(m["coerceTruthyValueToArray"])(e),e.forEach((function(e){return n.appendNode(e,t)}))},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:L(this.nodes,e)},e.prototype.getNodeByValue=function(e){if(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter((function(t){return Object(m["valueEquals"])(t.path,e)||t.value===e}));return t&&t.length?t[0]:null}return null},e}(),j=B,$=n(9),q=n.n($),U=n(40),H=n.n(U),z=n(31),V=n.n(z),W=Object.assign||function(e){for(var t=1;t0){var u=n.store.getNodeByValue(o);u.data[a]||n.lazyLoad(u,(function(){n.handleExpand(u)})),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(r)};r.lazyLoad(e,i)},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map((function(e){return e.getValueByOption()}))},scrollIntoView:function(){if(!this.$isServer){var e=this.$refs.menu||[];e.forEach((function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),r=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");V()(n,r)}}))}},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue,n=this.multiple;if(n){var r=this.getFlattedNodes(e);return r.filter((function(e){return e.checked}))}return Object(m["isEmpty"])(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,r=e.emitPath;n?(this.getCheckedNodes(t).filter((function(e){return!e.isDisabled})).forEach((function(e){return e.doCheck(!1)})),this.calculateMultiCheckedValue()):this.checkedValue=r?[]:null}}},te=ee,ne=Object(b["a"])(te,r,i,!1,null,null,null);ne.options.__file="packages/cascader-panel/src/cascader-panel.vue";var re=ne.exports;re.install=function(e){e.component(re.name,re)};t["default"]=re},6:function(e,t){e.exports=n("6b7c")},9:function(e,t){e.exports=n("7f4d")}})},4840:function(e,t,n){var r=n("825a"),i=n("1c0b"),o=n("b622"),s=o("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[s])?t:i(n)}},4897:function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var r=n("f0d9"),i=h(r),o=n("2b0e"),s=h(o),a=n("3c4e"),u=h(a),l=n("9d7e"),c=h(l);function h(e){return e&&e.__esModule?e:{default:e}}var f=(0,c.default)(s.default),d=i.default,p=!1,m=function(){var e=Object.getPrototypeOf(this||s.default).$t;if("function"===typeof e&&s.default.locale)return p||(p=!0,s.default.locale(s.default.config.lang,(0,u.default)(d,s.default.locale(s.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},g=t.t=function(e,t){var n=m.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var r=e.split("."),i=d,o=0,s=r.length;o=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function u(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function l(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&(i++,this.negative=1),i=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)i=u(e,t,r)<=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else{var a=e.length-t;for(r=a%2===0?t+1:t;r=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8}this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,u=0,c=n;c1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}function p(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,u=s/67108864|0;n.words[0]=a;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=f;d++){var p=l-d|0;i=0|e.words[p],o=0|t.words[d],s=i*o+h,c+=s/67108864|0,h=67108863&s}n.words[l]=0|h,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,s=0;s>>24-i&16777215,n=0!==o||s!==this.length-1?c[6-u.length]+u+n:u+n,i+=2,i>=26&&(i-=26,s--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=h[e],d=f[e];n="";var p=this.clone();p.negative=0;while(!p.isZero()){var m=p.modn(d).toString(e);p=p.idivn(d),n=p.isZero()?m+n:c[l-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,u="le"===t,l=new e(o),c=this.clone();if(u){for(a=0;!c.isZero();a++)s=c.andln(255),c.iushrn(8),l[a]=s;for(;a=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==o&&s>26,this.words[s]=67108863&t;if(0===o&&s>>13,d=0|s[1],p=8191&d,m=d>>>13,g=0|s[2],v=8191&g,y=g>>>13,b=0|s[3],w=8191&b,D=b>>>13,E=0|s[4],x=8191&E,_=E>>>13,C=0|s[5],k=8191&C,S=C>>>13,A=0|s[6],T=8191&A,M=A>>>13,O=0|s[7],N=8191&O,F=O>>>13,I=0|s[8],P=8191&I,R=I>>>13,L=0|s[9],B=8191&L,j=L>>>13,$=0|a[0],q=8191&$,U=$>>>13,H=0|a[1],z=8191&H,V=H>>>13,W=0|a[2],G=8191&W,K=W>>>13,X=0|a[3],Y=8191&X,J=X>>>13,Z=0|a[4],Q=8191&Z,ee=Z>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ue=8191&ae,le=ae>>>13,ce=0|a[8],he=8191&ce,fe=ce>>>13,de=0|a[9],pe=8191&de,me=de>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(h,q),i=Math.imul(h,U),i=i+Math.imul(f,q)|0,o=Math.imul(f,U);var ge=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,q),i=Math.imul(p,U),i=i+Math.imul(m,q)|0,o=Math.imul(m,U),r=r+Math.imul(h,z)|0,i=i+Math.imul(h,V)|0,i=i+Math.imul(f,z)|0,o=o+Math.imul(f,V)|0;var ve=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,q),i=Math.imul(v,U),i=i+Math.imul(y,q)|0,o=Math.imul(y,U),r=r+Math.imul(p,z)|0,i=i+Math.imul(p,V)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,V)|0,r=r+Math.imul(h,G)|0,i=i+Math.imul(h,K)|0,i=i+Math.imul(f,G)|0,o=o+Math.imul(f,K)|0;var ye=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,q),i=Math.imul(w,U),i=i+Math.imul(D,q)|0,o=Math.imul(D,U),r=r+Math.imul(v,z)|0,i=i+Math.imul(v,V)|0,i=i+Math.imul(y,z)|0,o=o+Math.imul(y,V)|0,r=r+Math.imul(p,G)|0,i=i+Math.imul(p,K)|0,i=i+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0,r=r+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(f,Y)|0,o=o+Math.imul(f,J)|0;var be=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(x,q),i=Math.imul(x,U),i=i+Math.imul(_,q)|0,o=Math.imul(_,U),r=r+Math.imul(w,z)|0,i=i+Math.imul(w,V)|0,i=i+Math.imul(D,z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,J)|0,r=r+Math.imul(h,Q)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(f,Q)|0,o=o+Math.imul(f,ee)|0;var we=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(k,q),i=Math.imul(k,U),i=i+Math.imul(S,q)|0,o=Math.imul(S,U),r=r+Math.imul(x,z)|0,i=i+Math.imul(x,V)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,V)|0,r=r+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(D,G)|0,o=o+Math.imul(D,K)|0,r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,r=r+Math.imul(p,Q)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=i+Math.imul(h,re)|0,i=i+Math.imul(f,ne)|0,o=o+Math.imul(f,re)|0;var De=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(T,q),i=Math.imul(T,U),i=i+Math.imul(M,q)|0,o=Math.imul(M,U),r=r+Math.imul(k,z)|0,i=i+Math.imul(k,V)|0,i=i+Math.imul(S,z)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(x,G)|0,i=i+Math.imul(x,K)|0,i=i+Math.imul(_,G)|0,o=o+Math.imul(_,K)|0,r=r+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(D,Y)|0,o=o+Math.imul(D,J)|0,r=r+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=i+Math.imul(p,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=i+Math.imul(h,se)|0,i=i+Math.imul(f,oe)|0,o=o+Math.imul(f,se)|0;var Ee=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(N,q),i=Math.imul(N,U),i=i+Math.imul(F,q)|0,o=Math.imul(F,U),r=r+Math.imul(T,z)|0,i=i+Math.imul(T,V)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(k,G)|0,i=i+Math.imul(k,K)|0,i=i+Math.imul(S,G)|0,o=o+Math.imul(S,K)|0,r=r+Math.imul(x,Y)|0,i=i+Math.imul(x,J)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,J)|0,r=r+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=i+Math.imul(p,se)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,r=r+Math.imul(h,ue)|0,i=i+Math.imul(h,le)|0,i=i+Math.imul(f,ue)|0,o=o+Math.imul(f,le)|0;var xe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(P,q),i=Math.imul(P,U),i=i+Math.imul(R,q)|0,o=Math.imul(R,U),r=r+Math.imul(N,z)|0,i=i+Math.imul(N,V)|0,i=i+Math.imul(F,z)|0,o=o+Math.imul(F,V)|0,r=r+Math.imul(T,G)|0,i=i+Math.imul(T,K)|0,i=i+Math.imul(M,G)|0,o=o+Math.imul(M,K)|0,r=r+Math.imul(k,Y)|0,i=i+Math.imul(k,J)|0,i=i+Math.imul(S,Y)|0,o=o+Math.imul(S,J)|0,r=r+Math.imul(x,Q)|0,i=i+Math.imul(x,ee)|0,i=i+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(w,ne)|0,i=i+Math.imul(w,re)|0,i=i+Math.imul(D,ne)|0,o=o+Math.imul(D,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,se)|0,i=i+Math.imul(y,oe)|0,o=o+Math.imul(y,se)|0,r=r+Math.imul(p,ue)|0,i=i+Math.imul(p,le)|0,i=i+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0,r=r+Math.imul(h,he)|0,i=i+Math.imul(h,fe)|0,i=i+Math.imul(f,he)|0,o=o+Math.imul(f,fe)|0;var _e=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(B,q),i=Math.imul(B,U),i=i+Math.imul(j,q)|0,o=Math.imul(j,U),r=r+Math.imul(P,z)|0,i=i+Math.imul(P,V)|0,i=i+Math.imul(R,z)|0,o=o+Math.imul(R,V)|0,r=r+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(F,G)|0,o=o+Math.imul(F,K)|0,r=r+Math.imul(T,Y)|0,i=i+Math.imul(T,J)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,J)|0,r=r+Math.imul(k,Q)|0,i=i+Math.imul(k,ee)|0,i=i+Math.imul(S,Q)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(x,ne)|0,i=i+Math.imul(x,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(w,oe)|0,i=i+Math.imul(w,se)|0,i=i+Math.imul(D,oe)|0,o=o+Math.imul(D,se)|0,r=r+Math.imul(v,ue)|0,i=i+Math.imul(v,le)|0,i=i+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(m,he)|0,o=o+Math.imul(m,fe)|0,r=r+Math.imul(h,pe)|0,i=i+Math.imul(h,me)|0,i=i+Math.imul(f,pe)|0,o=o+Math.imul(f,me)|0;var Ce=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,z),i=Math.imul(B,V),i=i+Math.imul(j,z)|0,o=Math.imul(j,V),r=r+Math.imul(P,G)|0,i=i+Math.imul(P,K)|0,i=i+Math.imul(R,G)|0,o=o+Math.imul(R,K)|0,r=r+Math.imul(N,Y)|0,i=i+Math.imul(N,J)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,J)|0,r=r+Math.imul(T,Q)|0,i=i+Math.imul(T,ee)|0,i=i+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(k,ne)|0,i=i+Math.imul(k,re)|0,i=i+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(x,oe)|0,i=i+Math.imul(x,se)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,r=r+Math.imul(w,ue)|0,i=i+Math.imul(w,le)|0,i=i+Math.imul(D,ue)|0,o=o+Math.imul(D,le)|0,r=r+Math.imul(v,he)|0,i=i+Math.imul(v,fe)|0,i=i+Math.imul(y,he)|0,o=o+Math.imul(y,fe)|0,r=r+Math.imul(p,pe)|0,i=i+Math.imul(p,me)|0,i=i+Math.imul(m,pe)|0,o=o+Math.imul(m,me)|0;var ke=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(B,G),i=Math.imul(B,K),i=i+Math.imul(j,G)|0,o=Math.imul(j,K),r=r+Math.imul(P,Y)|0,i=i+Math.imul(P,J)|0,i=i+Math.imul(R,Y)|0,o=o+Math.imul(R,J)|0,r=r+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(F,Q)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(T,ne)|0,i=i+Math.imul(T,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(k,oe)|0,i=i+Math.imul(k,se)|0,i=i+Math.imul(S,oe)|0,o=o+Math.imul(S,se)|0,r=r+Math.imul(x,ue)|0,i=i+Math.imul(x,le)|0,i=i+Math.imul(_,ue)|0,o=o+Math.imul(_,le)|0,r=r+Math.imul(w,he)|0,i=i+Math.imul(w,fe)|0,i=i+Math.imul(D,he)|0,o=o+Math.imul(D,fe)|0,r=r+Math.imul(v,pe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(y,pe)|0,o=o+Math.imul(y,me)|0;var Se=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,Y),i=Math.imul(B,J),i=i+Math.imul(j,Y)|0,o=Math.imul(j,J),r=r+Math.imul(P,Q)|0,i=i+Math.imul(P,ee)|0,i=i+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,r=r+Math.imul(N,ne)|0,i=i+Math.imul(N,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(T,oe)|0,i=i+Math.imul(T,se)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,r=r+Math.imul(k,ue)|0,i=i+Math.imul(k,le)|0,i=i+Math.imul(S,ue)|0,o=o+Math.imul(S,le)|0,r=r+Math.imul(x,he)|0,i=i+Math.imul(x,fe)|0,i=i+Math.imul(_,he)|0,o=o+Math.imul(_,fe)|0,r=r+Math.imul(w,pe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(D,pe)|0,o=o+Math.imul(D,me)|0;var Ae=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(B,Q),i=Math.imul(B,ee),i=i+Math.imul(j,Q)|0,o=Math.imul(j,ee),r=r+Math.imul(P,ne)|0,i=i+Math.imul(P,re)|0,i=i+Math.imul(R,ne)|0,o=o+Math.imul(R,re)|0,r=r+Math.imul(N,oe)|0,i=i+Math.imul(N,se)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,se)|0,r=r+Math.imul(T,ue)|0,i=i+Math.imul(T,le)|0,i=i+Math.imul(M,ue)|0,o=o+Math.imul(M,le)|0,r=r+Math.imul(k,he)|0,i=i+Math.imul(k,fe)|0,i=i+Math.imul(S,he)|0,o=o+Math.imul(S,fe)|0,r=r+Math.imul(x,pe)|0,i=i+Math.imul(x,me)|0,i=i+Math.imul(_,pe)|0,o=o+Math.imul(_,me)|0;var Te=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(j,ne)|0,o=Math.imul(j,re),r=r+Math.imul(P,oe)|0,i=i+Math.imul(P,se)|0,i=i+Math.imul(R,oe)|0,o=o+Math.imul(R,se)|0,r=r+Math.imul(N,ue)|0,i=i+Math.imul(N,le)|0,i=i+Math.imul(F,ue)|0,o=o+Math.imul(F,le)|0,r=r+Math.imul(T,he)|0,i=i+Math.imul(T,fe)|0,i=i+Math.imul(M,he)|0,o=o+Math.imul(M,fe)|0,r=r+Math.imul(k,pe)|0,i=i+Math.imul(k,me)|0,i=i+Math.imul(S,pe)|0,o=o+Math.imul(S,me)|0;var Me=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,oe),i=Math.imul(B,se),i=i+Math.imul(j,oe)|0,o=Math.imul(j,se),r=r+Math.imul(P,ue)|0,i=i+Math.imul(P,le)|0,i=i+Math.imul(R,ue)|0,o=o+Math.imul(R,le)|0,r=r+Math.imul(N,he)|0,i=i+Math.imul(N,fe)|0,i=i+Math.imul(F,he)|0,o=o+Math.imul(F,fe)|0,r=r+Math.imul(T,pe)|0,i=i+Math.imul(T,me)|0,i=i+Math.imul(M,pe)|0,o=o+Math.imul(M,me)|0;var Oe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ue),i=Math.imul(B,le),i=i+Math.imul(j,ue)|0,o=Math.imul(j,le),r=r+Math.imul(P,he)|0,i=i+Math.imul(P,fe)|0,i=i+Math.imul(R,he)|0,o=o+Math.imul(R,fe)|0,r=r+Math.imul(N,pe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(F,pe)|0,o=o+Math.imul(F,me)|0;var Ne=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,he),i=Math.imul(B,fe),i=i+Math.imul(j,he)|0,o=Math.imul(j,fe),r=r+Math.imul(P,pe)|0,i=i+Math.imul(P,me)|0,i=i+Math.imul(R,pe)|0,o=o+Math.imul(R,me)|0;var Fe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,r=Math.imul(B,pe),i=Math.imul(B,me),i=i+Math.imul(j,pe)|0,o=Math.imul(j,me);var Ie=(l+r|0)+((8191&i)<<13)|0;return l=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,u[0]=ge,u[1]=ve,u[2]=ye,u[3]=be,u[4]=we,u[5]=De,u[6]=Ee,u[7]=xe,u[8]=_e,u[9]=Ce,u[10]=ke,u[11]=Se,u[12]=Ae,u[13]=Te,u[14]=Me,u[15]=Oe,u[16]=Ne,u[17]=Fe,u[18]=Ie,0!==l&&(u[19]=l,n.length++),n};function g(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0,i+=s>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function v(e,t,n){var r=new y;return r.mulp(e,t,n)}function y(e,t){this.x=e,this.y=t}Math.imul||(m=p),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?m(this,e,t):r<63?p(this,e,t):r<1024?g(this,e,t):v(this,e,t),n},y.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},y.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=d(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&a}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,s=0|i.words[i.length-1],a=this._countBits(s);n=26-a,0!==n&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var u,l=r.length-i.length;if("mod"!==t){u=new o(null),u.length=l+1,u.words=new Array(u.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);d=Math.min(d/s|0,67108863),r._ishlnsubmul(i,d,f);while(0!==r.negative)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);u&&(u.words[f]=d)}return u&&u.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),s=new o(0),a=new o(0),u=new o(1),l=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++l;var c=n.clone(),h=t.clone();while(!t.isZero()){for(var f=0,d=1;0===(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0){t.iushrn(f);while(f-- >0)(i.isOdd()||s.isOdd())&&(i.iadd(c),s.isub(h)),i.iushrn(1),s.iushrn(1)}for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0){n.iushrn(p);while(p-- >0)(a.isOdd()||u.isOdd())&&(a.iadd(c),u.isub(h)),a.iushrn(1),u.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(u)):(n.isub(t),a.isub(i),u.isub(s))}return{a:a,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,s=new o(1),a=new o(0),u=n.clone();while(t.cmpn(1)>0&&n.cmpn(1)>0){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);while(l-- >0)s.isOdd()&&s.iadd(u),s.iushrn(1)}for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0){n.iushrn(h);while(h-- >0)a.isOdd()&&a.iadd(u),a.iushrn(1)}t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return i=0===t.cmpn(1)?s:a,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function D(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function k(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(D,w),D.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},D.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new D;else if("p224"===e)t=new E;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new _}return b[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),s=0;while(!i.isZero()&&0===i.andln(1))s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,l).cmp(u))c.redIAdd(u);var h=this.pow(c,i),f=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=s;while(0!==d.cmp(a)){for(var m=d,g=0;0!==m.cmp(a);g++)m=m.redSqr();r(g=0;i--){for(var c=t.words[i],h=l-1;h>=0;h--){var f=c>>h&1;s!==r[0]&&(s=this.sqr(s)),0!==f||0!==a?(a<<=1,a|=f,u++,(u===n||0===i&&0===h)&&(s=this.mul(s,r[a]),u=0,a=0)):u=0}l=26}return s},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new k(e)},i(k,C),k.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},k.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},k.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},k.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"492c":function(e,t,n){"use strict";var r=n("44d1");e.exports=function(e){function t(t,o,a){a=a||{};var u=r.parseCSS(o),l=[],c="style";if(a.styleAttributeName&&(c=a.styleAttributeName),u.forEach(d),l.forEach(p),a.inlinePseudoElements&&l.forEach(m),a.applyWidthAttributes&&l.forEach((function(e){g(e,"width")})),a.applyHeightAttributes&&l.forEach((function(e){g(e,"height")})),a.applyAttributesTableElements&&l.forEach(y),a.insertPreservedExtraCss&&a.extraCss){var h=r.getPreservedText(a.extraCss,{mediaQueries:a.preserveMediaQueries,fontFaces:a.preserveFontFaces,keyFrames:a.preserveKeyFrames});if(h){var f=null;!0!==a.insertPreservedExtraCss?f=t(a.insertPreservedExtraCss):(f=t("head"),f.length||(f=t("body")),f.length||(f=t.root())),f.first().append("")}}function d(n){var o=n[0],u=n[1],h=new r.Selector(o),f=h.parsed();if(f){for(var d,p=i(f),m=0;m=0)return}}if(p){var b=f[f.length-1],w=b.pseudos;b.pseudos=s(b.pseudos),o=f.toString(),b.pseudos=w}try{d=t(o)}catch(D){return}d.each((function(){var n=this;if(!(n.name&&e.nonVisualElements.indexOf(n.name.toUpperCase())>=0)){if(p){var i="pseudo"+p,o=n[i];o||(o=n[i]=t("").get(0),o.pseudoElementType=p,o.pseudoElementParent=n,n[i]=o),n=o}if(!n.styleProps){if(n.styleProps={},t(n).attr(c)){var s="* { "+t(n).attr(c)+" } ";f(r.parseCSS(s)[0][1],new r.Selector("")}}function d(n){var o=n[0],u=n[1],h=new r.Selector(o),f=h.parsed();if(f){for(var d,p=i(f),m=0;m=0)return}}if(p){var b=f[f.length-1],w=b.pseudos;b.pseudos=s(b.pseudos),o=f.toString(),b.pseudos=w}try{d=t(o)}catch(D){return}d.each((function(){var n=this;if(!(n.name&&e.nonVisualElements.indexOf(n.name.toUpperCase())>=0)){if(p){var i="pseudo"+p,o=n[i];o||(o=n[i]=t("").get(0),o.pseudoElementType=p,o.pseudoElementParent=n,n[i]=o),n=o}if(!n.styleProps){if(n.styleProps={},t(n).attr(c)){var s="* { "+t(n).attr(c)+" } ";f(r.parseCSS(s)[0][1],new r.Selector("');\n }\n }\n\n function handleRule(rule) {\n var sel = rule[0];\n var style = rule[1];\n var selector = new utils.Selector(sel);\n var parsedSelector = selector.parsed();\n\n if (!parsedSelector) {\n return;\n }\n\n var pseudoElementType = getPseudoElementType(parsedSelector);\n\n // skip rule if the selector has any pseudos which are ignored\n for (var i = 0; i < parsedSelector.length; ++i) {\n var subSel = parsedSelector[i];\n if (subSel.pseudos) {\n for (var j = 0; j < subSel.pseudos.length; ++j) {\n var subSelPseudo = subSel.pseudos[j];\n if (juiceClient.ignoredPseudos.indexOf(subSelPseudo.name) >= 0) {\n return;\n }\n }\n }\n }\n\n if (pseudoElementType) {\n var last = parsedSelector[parsedSelector.length - 1];\n var pseudos = last.pseudos;\n last.pseudos = filterElementPseudos(last.pseudos);\n sel = parsedSelector.toString();\n last.pseudos = pseudos;\n }\n\n var els;\n try {\n els = $(sel);\n } catch (err) {\n // skip invalid selector\n return;\n }\n\n els.each(function() {\n var el = this;\n\n if (el.name && juiceClient.nonVisualElements.indexOf(el.name.toUpperCase()) >= 0) {\n return;\n }\n\n if (pseudoElementType) {\n var pseudoElPropName = 'pseudo' + pseudoElementType;\n var pseudoEl = el[pseudoElPropName];\n if (!pseudoEl) {\n pseudoEl = el[pseudoElPropName] = $('').get(0);\n pseudoEl.pseudoElementType = pseudoElementType;\n pseudoEl.pseudoElementParent = el;\n el[pseudoElPropName] = pseudoEl;\n }\n el = pseudoEl;\n }\n\n if (!el.styleProps) {\n el.styleProps = {};\n\n // if the element has inline styles, fake selector with topmost specificity\n if ($(el).attr(styleAttributeName)) {\n var cssText = '* { ' + $(el).attr(styleAttributeName) + ' } ';\n addProps(utils.parseCSS(cssText)[0][1], new utils.Selector('');\n }\n }\n\n function handleRule(rule) {\n var sel = rule[0];\n var style = rule[1];\n var selector = new utils.Selector(sel);\n var parsedSelector = selector.parsed();\n\n if (!parsedSelector) {\n return;\n }\n\n var pseudoElementType = getPseudoElementType(parsedSelector);\n\n // skip rule if the selector has any pseudos which are ignored\n for (var i = 0; i < parsedSelector.length; ++i) {\n var subSel = parsedSelector[i];\n if (subSel.pseudos) {\n for (var j = 0; j < subSel.pseudos.length; ++j) {\n var subSelPseudo = subSel.pseudos[j];\n if (juiceClient.ignoredPseudos.indexOf(subSelPseudo.name) >= 0) {\n return;\n }\n }\n }\n }\n\n if (pseudoElementType) {\n var last = parsedSelector[parsedSelector.length - 1];\n var pseudos = last.pseudos;\n last.pseudos = filterElementPseudos(last.pseudos);\n sel = parsedSelector.toString();\n last.pseudos = pseudos;\n }\n\n var els;\n try {\n els = $(sel);\n } catch (err) {\n // skip invalid selector\n return;\n }\n\n els.each(function() {\n var el = this;\n\n if (el.name && juiceClient.nonVisualElements.indexOf(el.name.toUpperCase()) >= 0) {\n return;\n }\n\n if (pseudoElementType) {\n var pseudoElPropName = 'pseudo' + pseudoElementType;\n var pseudoEl = el[pseudoElPropName];\n if (!pseudoEl) {\n pseudoEl = el[pseudoElPropName] = $('').get(0);\n pseudoEl.pseudoElementType = pseudoElementType;\n pseudoEl.pseudoElementParent = el;\n el[pseudoElPropName] = pseudoEl;\n }\n el = pseudoEl;\n }\n\n if (!el.styleProps) {\n el.styleProps = {};\n\n // if the element has inline styles, fake selector with topmost specificity\n if ($(el).attr(styleAttributeName)) {\n var cssText = '* { ' + $(el).attr(styleAttributeName) + ' } ';\n addProps(utils.parseCSS(cssText)[0][1], new utils.Selector('