From 57fe3153456540b273c61931db6157f0c9d89704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A1=97=E8=A7=92=E5=B0=8F=E6=9E=97?= <1013335014@qq.com> Date: Fri, 29 Mar 2024 16:16:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=850.9.9-fix.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/css/{chunk-cae1ba8a.css => chunk-bac9f554.css} | 4 ++-- dist/js/app.js | 2 +- dist/js/chunk-2d0f026c.js | 2 +- dist/js/chunk-2d208ffa.js | 2 +- dist/js/{chunk-cae1ba8a.js => chunk-bac9f554.js} | 12 ++++++------ index.html | 4 ++-- simple-mind-map/full.js | 2 +- web/src/pages/Doc/en/changelog/index.md | 12 ++++++++++++ web/src/pages/Doc/en/changelog/index.vue | 10 ++++++++++ web/src/pages/Doc/zh/changelog/index.md | 12 ++++++++++++ web/src/pages/Doc/zh/changelog/index.vue | 10 ++++++++++ 11 files changed, 58 insertions(+), 14 deletions(-) rename dist/css/{chunk-cae1ba8a.css => chunk-bac9f554.css} (99%) rename dist/js/{chunk-cae1ba8a.js => chunk-bac9f554.js} (71%) diff --git a/dist/css/chunk-cae1ba8a.css b/dist/css/chunk-bac9f554.css similarity index 99% rename from dist/css/chunk-cae1ba8a.css rename to dist/css/chunk-bac9f554.css index 2a97c67f..0260537a 100644 --- a/dist/css/chunk-cae1ba8a.css +++ b/dist/css/chunk-bac9f554.css @@ -12,11 +12,11 @@ * https://quilljs.com/ * Copyright (c) 2014, Jason Chen * Copyright (c) 2013, salesforce.com - */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;-o-tab-size:4;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover{color:#06c}.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item:before,.ql-snow .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item:before,.ql-snow .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item:before,.ql-snow .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:0 2px 8px rgba(0,0,0,.2)}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.sidebarContainer[data-v-1107d8de]{position:fixed;right:-300px;top:110px;bottom:0;width:300px;background-color:#fff;border-left:1px solid #e8e8e8;display:flex;flex-direction:column;transition:all .3s}.sidebarContainer.isDark[data-v-1107d8de]{background-color:#262a2e;border-left-color:hsla(0,0%,100%,.1)}.sidebarContainer.isDark .sidebarHeader[data-v-1107d8de]{border-bottom-color:hsla(0,0%,100%,.1);color:#fff}.sidebarContainer.isDark .closeBtn[data-v-1107d8de]{color:#fff}.sidebarContainer.show[data-v-1107d8de]{right:0}.sidebarContainer .closeBtn[data-v-1107d8de]{position:absolute;right:20px;top:12px;font-size:20px;cursor:pointer}.sidebarContainer .sidebarHeader[data-v-1107d8de]{width:100%;height:44px;border-bottom:1px solid #e8e8e8;display:flex;justify-content:center;align-items:center;flex-grow:0;flex-shrink:0}.sidebarContainer .sidebarContent[data-v-1107d8de]{width:100%;height:100%;overflow:auto}.customNode[data-v-bdfd8c98]{width:100%;color:rgba(0,0,0,.85);font-weight:700}.customNode .nodeEdit[data-v-bdfd8c98]{outline:none;white-space:normal;padding-right:20px}.outlineTree.isDark[data-v-bdfd8c98]{background-color:#262a2e}.outlineTree.isDark .customNode[data-v-bdfd8c98]{color:#fff}.outlineTree.isDark.el-tree--highlight-current[data-v-bdfd8c98] .el-tree-node.is-current>.el-tree-node__content{background-color:hsla(0,0%,100%,.05)!important}.outlineTree.isDark .el-upload-list__item[data-v-bdfd8c98]:hover,.outlineTree.isDark[data-v-bdfd8c98] .el-tree-node__content:hover{background-color:hsla(0,0%,100%,.02)!important}.outlineTree.isDark[data-v-bdfd8c98] .el-tree-node__content .el-tree-node__expand-icon{color:#fff}.outlineTree.isDark[data-v-bdfd8c98] .el-tree-node__content .el-tree-node__expand-icon.is-leaf:after{background-color:#fff}.outlineTree[data-v-bdfd8c98] .el-tree-node>.el-tree-node__children{overflow:inherit}.outlineTree[data-v-bdfd8c98] .el-tree-node__content{height:auto;margin:5px 0}.outlineTree[data-v-bdfd8c98] .el-tree-node__content .el-tree-node__expand-icon{color:#262a2e}.outlineTree[data-v-bdfd8c98] .el-tree-node__content .el-tree-node__expand-icon.is-leaf{color:transparent;position:relative}.outlineTree[data-v-bdfd8c98] .el-tree-node__content .el-tree-node__expand-icon.is-leaf:after{background-color:#262a2e;position:absolute;content:"";width:5px;height:5px;border-radius:50%;left:10px;top:50%;transform:translateY(-50%)}.changeBtn[data-v-c20f9926]{position:absolute;right:50px;top:12px;cursor:pointer}.changeBtn.isDark[data-v-c20f9926]{color:#fff}.colorContainer.isDark .moreColor[data-v-7b860447]{color:hsla(0,0%,100%,.6)}.colorList[data-v-7b860447]{width:240px;display:flex;flex-wrap:wrap}.colorList .colorItem[data-v-7b860447]{display:flex;justify-content:center;align-items:center;width:15px;height:15px;margin-right:5px;margin-bottom:5px;cursor:pointer}.moreColor[data-v-7b860447]{display:flex;align-items:center}.moreColor span[data-v-7b860447]{margin-right:5px}.styleBox[data-v-302f00a3]{width:100%;height:100%;display:flex;flex-direction:column}.styleBox.isDark .sidebarContent .title[data-v-302f00a3]{color:#fff}.styleBox.isDark .sidebarContent .row .rowItem .name[data-v-302f00a3]{color:hsla(0,0%,100%,.6)}.styleBox.isDark .sidebarContent .row .styleBtn[data-v-302f00a3]{background-color:#363b3f;color:hsla(0,0%,100%,.6);border-color:hsla(0,0%,100%,.1)}.styleBox .tab[data-v-302f00a3]{flex-grow:0;flex-shrink:0;padding:0 20px}.tipBox[data-v-302f00a3]{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#666}.tipBox .tipIcon[data-v-302f00a3]{font-size:100px}.sidebarContent[data-v-302f00a3]{padding:20px;padding-top:10px}.sidebarContent .title[data-v-302f00a3]{font-size:16px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:rgba(26,26,26,.9);margin-bottom:10px;margin-top:20px}.sidebarContent .title.noTop[data-v-302f00a3]{margin-top:0}.sidebarContent .row[data-v-302f00a3]{display:flex;justify-content:space-between;margin-bottom:10px}.sidebarContent .row .btnGroup[data-v-302f00a3]{width:100%;display:flex;justify-content:space-between}.sidebarContent .row .rowItem[data-v-302f00a3]{display:flex;align-items:center}.sidebarContent .row .rowItem .name[data-v-302f00a3]{font-size:12px;margin-right:10px}.sidebarContent .row .rowItem .block[data-v-302f00a3]{display:inline-block;width:30px;height:30px;border:1px solid #dcdfe6;border-radius:4px;cursor:pointer}.sidebarContent .row .rowItem .block.disabled[data-v-302f00a3]{background-color:#f5f7fa!important;border-color:#e4e7ed!important;color:#c0c4cc!important;cursor:not-allowed!important}.sidebarContent .row .styleBtn[data-v-302f00a3]{position:relative;width:50px;height:30px;background:#fff;border:1px solid #eee;display:flex;justify-content:center;align-items:center;font-weight:700;cursor:pointer;border-radius:4px}.sidebarContent .row .styleBtn.actived[data-v-302f00a3]{background-color:#eee}.sidebarContent .row .styleBtn.disabled[data-v-302f00a3]{background-color:#f5f7fa!important;border-color:#e4e7ed!important;color:#c0c4cc!important;cursor:not-allowed!important}.sidebarContent .row .styleBtn.i[data-v-302f00a3]{font-style:italic}.sidebarContent .row .styleBtn .colorShow[data-v-302f00a3]{position:absolute;left:0;right:0;bottom:0;height:2px}.borderLine[data-v-302f00a3]{display:inline-block;width:100%;background-color:#000}.borderLine.isDark[data-v-302f00a3]{background-color:#fff}.sidebarContent[data-v-568887d0]{padding:20px;padding-top:10px}.sidebarContent.isDark .title[data-v-568887d0]{color:#fff}.sidebarContent.isDark .row .rowItem .curRainbowLine[data-v-568887d0],.sidebarContent.isDark .row .rowItem .name[data-v-568887d0]{color:hsla(0,0%,100%,.6)}.sidebarContent .title[data-v-568887d0]{font-size:16px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:rgba(26,26,26,.9);margin-bottom:10px;margin-top:20px}.sidebarContent .title.noTop[data-v-568887d0]{margin-top:0}.sidebarContent .row[data-v-568887d0]{display:flex;justify-content:space-between;margin-bottom:10px}.sidebarContent .row.column[data-v-568887d0]{flex-direction:column}.sidebarContent .row .tab[data-v-568887d0]{width:100%}.sidebarContent .row .imgUpload[data-v-568887d0]{margin-bottom:5px}.sidebarContent .row .btnGroup[data-v-568887d0]{width:100%;display:flex;justify-content:space-between}.sidebarContent .row .rowItem[data-v-568887d0]{display:flex;align-items:center;margin-bottom:5px}.sidebarContent .row .rowItem .name[data-v-568887d0]{font-size:12px;margin-right:10px;white-space:nowrap}.sidebarContent .row .rowItem .block[data-v-568887d0]{display:inline-block;width:30px;height:30px;border:1px solid #dcdfe6;border-radius:4px;cursor:pointer}.sidebarContent .row .rowItem .curRainbowLine[data-v-568887d0]{height:24px;border:1px solid #dcdfe6;font-size:12px;width:240px;display:flex;align-items:center;justify-content:center;cursor:pointer}.sidebarContent .row .styleBtn[data-v-568887d0]{position:relative;width:50px;height:30px;background:#fff;border:1px solid #eee;display:flex;justify-content:center;align-items:center;font-weight:700;cursor:pointer;border-radius:4px}.sidebarContent .row .styleBtn.actived[data-v-568887d0]{background-color:#eee}.sidebarContent .row .styleBtn .colorShow[data-v-568887d0]{position:absolute;left:0;right:0;bottom:0;height:2px}.borderLine[data-v-568887d0]{display:inline-block;width:100%;background-color:#000}.borderLine.isDark[data-v-568887d0]{background-color:#fff}.el-select-dropdown__item.selected .borderLine{background-color:#409eff}.lineStyleOption.isDark svg path{stroke:#fff}.lineStyleOption.isSelected svg path{stroke:#409eff}.lineStyleOption svg{margin-top:4px}.lineStyleOption svg path{stroke:#000}.rainbowLinesOptionsBox{width:200px}.rainbowLinesOptionsBox.isDark .optionItem{color:hsla(0,0%,100%,.6)}.rainbowLinesOptionsBox.isDark .optionItem:hover{background-color:hsla(0,0%,100%,.05)}.rainbowLinesOptionsBox .optionItem{width:100%;height:30px;cursor:pointer;display:flex;align-items:center;justify-content:center}.rainbowLinesOptionsBox .optionItem:hover{background-color:#f5f7fa}.colorsBar{display:flex;width:100%;height:100%;align-items:center}.colorsBar .colorItem{flex:1;height:15px}.themeList[data-v-4ed87757]{padding:20px;padding-top:0}.themeList.isDark .name[data-v-4ed87757]{color:#fff}.themeList .themeItem[data-v-4ed87757]{width:100%;cursor:pointer;border-bottom:1px solid #e9e9e9;margin-bottom:20px;padding-bottom:20px;transition:all .2s;border:1px solid transparent}.themeList .themeItem[data-v-4ed87757]:last-of-type{border:none}.themeList .themeItem[data-v-4ed87757]:hover{box-shadow:0 1px 2px -2px rgba(0,0,0,.16),0 3px 6px 0 rgba(0,0,0,.12),0 5px 12px 4px rgba(0,0,0,.09)}.themeList .themeItem.active[data-v-4ed87757]{border:1px solid #67c23a}.themeList .themeItem .imgBox[data-v-4ed87757],.themeList .themeItem .imgBox img[data-v-4ed87757]{width:100%}.themeList .themeItem .name[data-v-4ed87757]{text-align:center;font-size:14px}.layoutList[data-v-3722724b]{padding:20px}.layoutList.isDark .name[data-v-3722724b]{color:#fff}.layoutList .layoutItem[data-v-3722724b]{width:100%;cursor:pointer;border-bottom:1px solid #e9e9e9;margin-bottom:20px;padding-bottom:20px;transition:all .2s;border:1px solid transparent}.layoutList .layoutItem[data-v-3722724b]:last-of-type{border:none}.layoutList .layoutItem[data-v-3722724b]:hover{box-shadow:0 1px 2px -2px rgba(0,0,0,.16),0 3px 6px 0 rgba(0,0,0,.12),0 5px 12px 4px rgba(0,0,0,.09)}.layoutList .layoutItem.active[data-v-3722724b]{border:1px solid #67c23a}.layoutList .layoutItem .imgBox[data-v-3722724b],.layoutList .layoutItem .imgBox img[data-v-3722724b]{width:100%}.layoutList .layoutItem .name[data-v-3722724b]{text-align:center;font-size:14px}.countContainer[data-v-02323109]{padding:0 12px;position:fixed;left:20px;bottom:20px;background:hsla(0,0%,100%,.8);border-radius:2px;opacity:.8;height:22px;line-height:22px;font-size:12px;display:flex}.countContainer.isDark[data-v-02323109]{background:#262a2e}.countContainer.isDark .item[data-v-02323109]{color:hsla(0,0%,100%,.6)}.countContainer .item[data-v-02323109]{color:#555;margin-right:15px}.countContainer .item[data-v-02323109]:last-of-type{margin-right:0}.countContainer .item .name[data-v-02323109]{margin-right:5px}@media screen and (max-width:740px){.countContainer[data-v-02323109]{display:none}}.scaleContainer[data-v-07c47fcc]{display:flex;align-items:center}.scaleContainer.isDark .btn[data-v-07c47fcc],.scaleContainer.isDark .scaleInfo[data-v-07c47fcc],.scaleContainer.isDark .scaleInfo input[data-v-07c47fcc]{color:hsla(0,0%,100%,.6)}.scaleContainer .btn[data-v-07c47fcc]{cursor:pointer}.scaleContainer .scaleInfo[data-v-07c47fcc]{margin:0 20px;display:flex;align-items:center}.scaleContainer .scaleInfo input[data-v-07c47fcc]{width:35px;text-align:center;background-color:transparent;border:none;outline:none}.fullscreenContainer[data-v-1bcbabda]{display:flex;align-items:center}.fullscreenContainer.isDark .btn[data-v-1bcbabda]{color:hsla(0,0%,100%,.6)}.fullscreenContainer .item[data-v-1bcbabda]{margin-right:12px}.fullscreenContainer .item[data-v-1bcbabda]:last-of-type{margin-right:0}.fullscreenContainer .btn[data-v-1bcbabda]{cursor:pointer}.mouseActionContainer[data-v-a1887b1e]{display:flex;align-items:center}.mouseActionContainer.isDark .btn[data-v-a1887b1e]{color:hsla(0,0%,100%,.6)}.mouseActionContainer .item[data-v-a1887b1e]{margin-right:12px}.mouseActionContainer .item[data-v-a1887b1e]:last-of-type{margin-right:0}.mouseActionContainer .btn[data-v-a1887b1e]{cursor:pointer;font-size:18px}.navigatorContainer[data-v-ba6310d8]{padding:0 12px;position:fixed;right:20px;bottom:20px;background:hsla(0,0%,100%,.8);border-radius:5px;opacity:.8;height:44px;font-size:12px;display:flex;align-items:center}.navigatorContainer.isDark[data-v-ba6310d8]{background:#262a2e}.navigatorContainer.isDark .item .btn[data-v-ba6310d8],.navigatorContainer.isDark .item a[data-v-ba6310d8]{color:hsla(0,0%,100%,.6)}.navigatorContainer .item[data-v-ba6310d8]{margin-right:20px}.navigatorContainer .item[data-v-ba6310d8]:last-of-type{margin-right:0}.navigatorContainer .item a[data-v-ba6310d8]{color:#303133;text-decoration:none}.navigatorContainer .item .btn[data-v-ba6310d8]{cursor:pointer;font-size:18px}@media screen and (max-width:590px){.navigatorContainer[data-v-ba6310d8]{left:20px;overflow-x:auto;overflow-y:hidden;height:60px}}.box[data-v-60ee437a]{padding:0 20px}.box.isDark .title[data-v-60ee437a]{color:#fff}.box.isDark .list .item .icon[data-v-60ee437a],.box.isDark .list .item .name[data-v-60ee437a]{color:hsla(0,0%,100%,.6)}.box.isDark .list .item .value[data-v-60ee437a]{color:hsla(0,0%,100%,.3)}.box .title[data-v-60ee437a]{font-size:16px;font-weight:500;color:#333;margin:26px 0 20px}.box .list[data-v-60ee437a]{font-size:14px}.box .list .item[data-v-60ee437a]{display:flex;align-items:center;margin-bottom:15px}.box .list .item .icon[data-v-60ee437a]{font-size:16px;margin-right:16px}.box .list .item .name[data-v-60ee437a]{color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.box .list .item .value[data-v-60ee437a]{color:#909090;margin-left:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.listBox[data-v-4e101914]{width:250px;background:#fff;box-shadow:0 4px 12px 0 hsla(0,0%,69%,.5);border-radius:4px;padding-top:16px;padding-bottom:16px}.listBox.isDark[data-v-4e101914]{background:#363b3f}.contextmenuContainer[data-v-4e101914]{position:fixed;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#1a1a1a}.contextmenuContainer.isDark[data-v-4e101914]{color:#fff}.contextmenuContainer.isDark .item[data-v-4e101914]:hover{background:hsla(0,0%,100%,.05)}.contextmenuContainer .item[data-v-4e101914]{position:relative;height:28px;line-height:28px;padding:0 16px;cursor:pointer;display:flex;justify-content:space-between}.contextmenuContainer .item.danger[data-v-4e101914]{color:#f56c6c}.contextmenuContainer .item[data-v-4e101914]:hover{background:#f5f5f5}.contextmenuContainer .item:hover .subItems[data-v-4e101914]{visibility:visible}.contextmenuContainer .item.disabled[data-v-4e101914]{color:grey;cursor:not-allowed;pointer-events:none}.contextmenuContainer .item.disabled[data-v-4e101914]:hover{background:#fff}.contextmenuContainer .item .desc[data-v-4e101914],.contextmenuContainer .item .name[data-v-4e101914]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.contextmenuContainer .item .desc[data-v-4e101914]{color:#999}.contextmenuContainer .item .subItems[data-v-4e101914]{position:absolute;left:100%;top:0;visibility:hidden}.richTextToolbar[data-v-dffaed3e]{position:fixed;z-index:2000;height:55px;background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:8px;box-shadow:0 2px 16px 0 rgba(0,0,0,.06);display:flex;align-items:center;transform:translateX(-50%)}.richTextToolbar.isDark[data-v-dffaed3e]{background:#363b3f}.richTextToolbar.isDark .btn[data-v-dffaed3e]{color:#fff}.richTextToolbar.isDark .btn[data-v-dffaed3e]:hover{background:hsla(0,0%,100%,.05)}.richTextToolbar .btn[data-v-dffaed3e]{width:55px;height:55px;display:flex;justify-content:center;align-items:center;cursor:pointer}.richTextToolbar .btn[data-v-dffaed3e]:hover{background-color:#eefbed}.richTextToolbar .btn.active[data-v-dffaed3e]{color:#12bb37}.richTextToolbar .btn .icon[data-v-dffaed3e]{font-size:20px}.richTextToolbar .btn .icon.fontColor[data-v-dffaed3e]{font-size:26px}.fontOptionsList[data-v-dffaed3e]{width:150px}.fontOptionsList.isDark .fontOptionItem[data-v-dffaed3e]{color:#fff}.fontOptionsList.isDark .fontOptionItem[data-v-dffaed3e]:hover{background-color:hsla(0,0%,100%,.05)}.fontOptionsList .fontOptionItem[data-v-dffaed3e]{height:30px;width:100%;display:flex;align-items:center;cursor:pointer}.fontOptionsList .fontOptionItem[data-v-dffaed3e]:hover{background-color:#f7f7f7}.fontOptionsList .fontOptionItem.active[data-v-dffaed3e]{color:#12bb37} + */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;-o-tab-size:4;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover{color:#06c}.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item:before,.ql-snow .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item:before,.ql-snow .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item:before,.ql-snow .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:0 2px 8px rgba(0,0,0,.2)}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.sidebarContainer[data-v-1107d8de]{position:fixed;right:-300px;top:110px;bottom:0;width:300px;background-color:#fff;border-left:1px solid #e8e8e8;display:flex;flex-direction:column;transition:all .3s}.sidebarContainer.isDark[data-v-1107d8de]{background-color:#262a2e;border-left-color:hsla(0,0%,100%,.1)}.sidebarContainer.isDark .sidebarHeader[data-v-1107d8de]{border-bottom-color:hsla(0,0%,100%,.1);color:#fff}.sidebarContainer.isDark .closeBtn[data-v-1107d8de]{color:#fff}.sidebarContainer.show[data-v-1107d8de]{right:0}.sidebarContainer .closeBtn[data-v-1107d8de]{position:absolute;right:20px;top:12px;font-size:20px;cursor:pointer}.sidebarContainer .sidebarHeader[data-v-1107d8de]{width:100%;height:44px;border-bottom:1px solid #e8e8e8;display:flex;justify-content:center;align-items:center;flex-grow:0;flex-shrink:0}.sidebarContainer .sidebarContent[data-v-1107d8de]{width:100%;height:100%;overflow:auto}.customNode[data-v-bdfd8c98]{width:100%;color:rgba(0,0,0,.85);font-weight:700}.customNode .nodeEdit[data-v-bdfd8c98]{outline:none;white-space:normal;padding-right:20px}.outlineTree.isDark[data-v-bdfd8c98]{background-color:#262a2e}.outlineTree.isDark .customNode[data-v-bdfd8c98]{color:#fff}.outlineTree.isDark.el-tree--highlight-current[data-v-bdfd8c98] .el-tree-node.is-current>.el-tree-node__content{background-color:hsla(0,0%,100%,.05)!important}.outlineTree.isDark .el-upload-list__item[data-v-bdfd8c98]:hover,.outlineTree.isDark[data-v-bdfd8c98] .el-tree-node__content:hover{background-color:hsla(0,0%,100%,.02)!important}.outlineTree.isDark[data-v-bdfd8c98] .el-tree-node__content .el-tree-node__expand-icon{color:#fff}.outlineTree.isDark[data-v-bdfd8c98] .el-tree-node__content .el-tree-node__expand-icon.is-leaf:after{background-color:#fff}.outlineTree[data-v-bdfd8c98] .el-tree-node>.el-tree-node__children{overflow:inherit}.outlineTree[data-v-bdfd8c98] .el-tree-node__content{height:auto;margin:5px 0}.outlineTree[data-v-bdfd8c98] .el-tree-node__content .el-tree-node__expand-icon{color:#262a2e}.outlineTree[data-v-bdfd8c98] .el-tree-node__content .el-tree-node__expand-icon.is-leaf{color:transparent;position:relative}.outlineTree[data-v-bdfd8c98] .el-tree-node__content .el-tree-node__expand-icon.is-leaf:after{background-color:#262a2e;position:absolute;content:"";width:5px;height:5px;border-radius:50%;left:10px;top:50%;transform:translateY(-50%)}.changeBtn[data-v-c20f9926]{position:absolute;right:50px;top:12px;cursor:pointer}.changeBtn.isDark[data-v-c20f9926]{color:#fff}.colorContainer.isDark .moreColor[data-v-7b860447]{color:hsla(0,0%,100%,.6)}.colorList[data-v-7b860447]{width:240px;display:flex;flex-wrap:wrap}.colorList .colorItem[data-v-7b860447]{display:flex;justify-content:center;align-items:center;width:15px;height:15px;margin-right:5px;margin-bottom:5px;cursor:pointer}.moreColor[data-v-7b860447]{display:flex;align-items:center}.moreColor span[data-v-7b860447]{margin-right:5px}.styleBox[data-v-302f00a3]{width:100%;height:100%;display:flex;flex-direction:column}.styleBox.isDark .sidebarContent .title[data-v-302f00a3]{color:#fff}.styleBox.isDark .sidebarContent .row .rowItem .name[data-v-302f00a3]{color:hsla(0,0%,100%,.6)}.styleBox.isDark .sidebarContent .row .styleBtn[data-v-302f00a3]{background-color:#363b3f;color:hsla(0,0%,100%,.6);border-color:hsla(0,0%,100%,.1)}.styleBox .tab[data-v-302f00a3]{flex-grow:0;flex-shrink:0;padding:0 20px}.tipBox[data-v-302f00a3]{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#666}.tipBox .tipIcon[data-v-302f00a3]{font-size:100px}.sidebarContent[data-v-302f00a3]{padding:20px;padding-top:10px}.sidebarContent .title[data-v-302f00a3]{font-size:16px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:rgba(26,26,26,.9);margin-bottom:10px;margin-top:20px}.sidebarContent .title.noTop[data-v-302f00a3]{margin-top:0}.sidebarContent .row[data-v-302f00a3]{display:flex;justify-content:space-between;margin-bottom:10px}.sidebarContent .row .btnGroup[data-v-302f00a3]{width:100%;display:flex;justify-content:space-between}.sidebarContent .row .rowItem[data-v-302f00a3]{display:flex;align-items:center}.sidebarContent .row .rowItem .name[data-v-302f00a3]{font-size:12px;margin-right:10px}.sidebarContent .row .rowItem .block[data-v-302f00a3]{display:inline-block;width:30px;height:30px;border:1px solid #dcdfe6;border-radius:4px;cursor:pointer}.sidebarContent .row .rowItem .block.disabled[data-v-302f00a3]{background-color:#f5f7fa!important;border-color:#e4e7ed!important;color:#c0c4cc!important;cursor:not-allowed!important}.sidebarContent .row .styleBtn[data-v-302f00a3]{position:relative;width:50px;height:30px;background:#fff;border:1px solid #eee;display:flex;justify-content:center;align-items:center;font-weight:700;cursor:pointer;border-radius:4px}.sidebarContent .row .styleBtn.actived[data-v-302f00a3]{background-color:#eee}.sidebarContent .row .styleBtn.disabled[data-v-302f00a3]{background-color:#f5f7fa!important;border-color:#e4e7ed!important;color:#c0c4cc!important;cursor:not-allowed!important}.sidebarContent .row .styleBtn.i[data-v-302f00a3]{font-style:italic}.sidebarContent .row .styleBtn .colorShow[data-v-302f00a3]{position:absolute;left:0;right:0;bottom:0;height:2px}.borderLine[data-v-302f00a3]{display:inline-block;width:100%;background-color:#000}.borderLine.isDark[data-v-302f00a3]{background-color:#fff}.sidebarContent[data-v-568887d0]{padding:20px;padding-top:10px}.sidebarContent.isDark .title[data-v-568887d0]{color:#fff}.sidebarContent.isDark .row .rowItem .curRainbowLine[data-v-568887d0],.sidebarContent.isDark .row .rowItem .name[data-v-568887d0]{color:hsla(0,0%,100%,.6)}.sidebarContent .title[data-v-568887d0]{font-size:16px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:rgba(26,26,26,.9);margin-bottom:10px;margin-top:20px}.sidebarContent .title.noTop[data-v-568887d0]{margin-top:0}.sidebarContent .row[data-v-568887d0]{display:flex;justify-content:space-between;margin-bottom:10px}.sidebarContent .row.column[data-v-568887d0]{flex-direction:column}.sidebarContent .row .tab[data-v-568887d0]{width:100%}.sidebarContent .row .imgUpload[data-v-568887d0]{margin-bottom:5px}.sidebarContent .row .btnGroup[data-v-568887d0]{width:100%;display:flex;justify-content:space-between}.sidebarContent .row .rowItem[data-v-568887d0]{display:flex;align-items:center;margin-bottom:5px}.sidebarContent .row .rowItem .name[data-v-568887d0]{font-size:12px;margin-right:10px;white-space:nowrap}.sidebarContent .row .rowItem .block[data-v-568887d0]{display:inline-block;width:30px;height:30px;border:1px solid #dcdfe6;border-radius:4px;cursor:pointer}.sidebarContent .row .rowItem .curRainbowLine[data-v-568887d0]{height:24px;border:1px solid #dcdfe6;font-size:12px;width:240px;display:flex;align-items:center;justify-content:center;cursor:pointer}.sidebarContent .row .styleBtn[data-v-568887d0]{position:relative;width:50px;height:30px;background:#fff;border:1px solid #eee;display:flex;justify-content:center;align-items:center;font-weight:700;cursor:pointer;border-radius:4px}.sidebarContent .row .styleBtn.actived[data-v-568887d0]{background-color:#eee}.sidebarContent .row .styleBtn .colorShow[data-v-568887d0]{position:absolute;left:0;right:0;bottom:0;height:2px}.borderLine[data-v-568887d0]{display:inline-block;width:100%;background-color:#000}.borderLine.isDark[data-v-568887d0]{background-color:#fff}.el-select-dropdown__item.selected .borderLine{background-color:#409eff}.lineStyleOption.isDark svg path{stroke:#fff}.lineStyleOption.isSelected svg path{stroke:#409eff}.lineStyleOption svg{margin-top:4px}.lineStyleOption svg path{stroke:#000}.rainbowLinesOptionsBox{width:200px}.rainbowLinesOptionsBox.isDark .optionItem{color:hsla(0,0%,100%,.6)}.rainbowLinesOptionsBox.isDark .optionItem:hover{background-color:hsla(0,0%,100%,.05)}.rainbowLinesOptionsBox .optionItem{width:100%;height:30px;cursor:pointer;display:flex;align-items:center;justify-content:center}.rainbowLinesOptionsBox .optionItem:hover{background-color:#f5f7fa}.colorsBar{display:flex;width:100%;height:100%;align-items:center}.colorsBar .colorItem{flex:1;height:15px}.themeList[data-v-4ed87757]{padding:20px;padding-top:0}.themeList.isDark .name[data-v-4ed87757]{color:#fff}.themeList .themeItem[data-v-4ed87757]{width:100%;cursor:pointer;border-bottom:1px solid #e9e9e9;margin-bottom:20px;padding-bottom:20px;transition:all .2s;border:1px solid transparent}.themeList .themeItem[data-v-4ed87757]:last-of-type{border:none}.themeList .themeItem[data-v-4ed87757]:hover{box-shadow:0 1px 2px -2px rgba(0,0,0,.16),0 3px 6px 0 rgba(0,0,0,.12),0 5px 12px 4px rgba(0,0,0,.09)}.themeList .themeItem.active[data-v-4ed87757]{border:1px solid #67c23a}.themeList .themeItem .imgBox[data-v-4ed87757],.themeList .themeItem .imgBox img[data-v-4ed87757]{width:100%}.themeList .themeItem .name[data-v-4ed87757]{text-align:center;font-size:14px}.layoutList[data-v-3722724b]{padding:20px}.layoutList.isDark .name[data-v-3722724b]{color:#fff}.layoutList .layoutItem[data-v-3722724b]{width:100%;cursor:pointer;border-bottom:1px solid #e9e9e9;margin-bottom:20px;padding-bottom:20px;transition:all .2s;border:1px solid transparent}.layoutList .layoutItem[data-v-3722724b]:last-of-type{border:none}.layoutList .layoutItem[data-v-3722724b]:hover{box-shadow:0 1px 2px -2px rgba(0,0,0,.16),0 3px 6px 0 rgba(0,0,0,.12),0 5px 12px 4px rgba(0,0,0,.09)}.layoutList .layoutItem.active[data-v-3722724b]{border:1px solid #67c23a}.layoutList .layoutItem .imgBox[data-v-3722724b],.layoutList .layoutItem .imgBox img[data-v-3722724b]{width:100%}.layoutList .layoutItem .name[data-v-3722724b]{text-align:center;font-size:14px}.countContainer[data-v-02323109]{padding:0 12px;position:fixed;left:20px;bottom:20px;background:hsla(0,0%,100%,.8);border-radius:2px;opacity:.8;height:22px;line-height:22px;font-size:12px;display:flex}.countContainer.isDark[data-v-02323109]{background:#262a2e}.countContainer.isDark .item[data-v-02323109]{color:hsla(0,0%,100%,.6)}.countContainer .item[data-v-02323109]{color:#555;margin-right:15px}.countContainer .item[data-v-02323109]:last-of-type{margin-right:0}.countContainer .item .name[data-v-02323109]{margin-right:5px}@media screen and (max-width:740px){.countContainer[data-v-02323109]{display:none}}.scaleContainer[data-v-07c47fcc]{display:flex;align-items:center}.scaleContainer.isDark .btn[data-v-07c47fcc],.scaleContainer.isDark .scaleInfo[data-v-07c47fcc],.scaleContainer.isDark .scaleInfo input[data-v-07c47fcc]{color:hsla(0,0%,100%,.6)}.scaleContainer .btn[data-v-07c47fcc]{cursor:pointer}.scaleContainer .scaleInfo[data-v-07c47fcc]{margin:0 20px;display:flex;align-items:center}.scaleContainer .scaleInfo input[data-v-07c47fcc]{width:35px;text-align:center;background-color:transparent;border:none;outline:none}.fullscreenContainer[data-v-1bcbabda]{display:flex;align-items:center}.fullscreenContainer.isDark .btn[data-v-1bcbabda]{color:hsla(0,0%,100%,.6)}.fullscreenContainer .item[data-v-1bcbabda]{margin-right:12px}.fullscreenContainer .item[data-v-1bcbabda]:last-of-type{margin-right:0}.fullscreenContainer .btn[data-v-1bcbabda]{cursor:pointer}.mouseActionContainer[data-v-a1887b1e]{display:flex;align-items:center}.mouseActionContainer.isDark .btn[data-v-a1887b1e]{color:hsla(0,0%,100%,.6)}.mouseActionContainer .item[data-v-a1887b1e]{margin-right:12px}.mouseActionContainer .item[data-v-a1887b1e]:last-of-type{margin-right:0}.mouseActionContainer .btn[data-v-a1887b1e]{cursor:pointer;font-size:18px}.navigatorContainer[data-v-393f0c38]{padding:0 12px;position:fixed;right:20px;bottom:20px;background:hsla(0,0%,100%,.8);border-radius:5px;opacity:.8;height:44px;font-size:12px;display:flex;align-items:center}.navigatorContainer.isDark[data-v-393f0c38]{background:#262a2e}.navigatorContainer.isDark .item .btn[data-v-393f0c38],.navigatorContainer.isDark .item a[data-v-393f0c38]{color:hsla(0,0%,100%,.6)}.navigatorContainer .item[data-v-393f0c38]{margin-right:20px}.navigatorContainer .item[data-v-393f0c38]:last-of-type{margin-right:0}.navigatorContainer .item a[data-v-393f0c38]{color:#303133;text-decoration:none}.navigatorContainer .item .btn[data-v-393f0c38]{cursor:pointer;font-size:18px}@media screen and (max-width:590px){.navigatorContainer[data-v-393f0c38]{left:20px;overflow-x:auto;overflow-y:hidden;height:60px}}.box[data-v-60ee437a]{padding:0 20px}.box.isDark .title[data-v-60ee437a]{color:#fff}.box.isDark .list .item .icon[data-v-60ee437a],.box.isDark .list .item .name[data-v-60ee437a]{color:hsla(0,0%,100%,.6)}.box.isDark .list .item .value[data-v-60ee437a]{color:hsla(0,0%,100%,.3)}.box .title[data-v-60ee437a]{font-size:16px;font-weight:500;color:#333;margin:26px 0 20px}.box .list[data-v-60ee437a]{font-size:14px}.box .list .item[data-v-60ee437a]{display:flex;align-items:center;margin-bottom:15px}.box .list .item .icon[data-v-60ee437a]{font-size:16px;margin-right:16px}.box .list .item .name[data-v-60ee437a]{color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.box .list .item .value[data-v-60ee437a]{color:#909090;margin-left:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.listBox[data-v-4e101914]{width:250px;background:#fff;box-shadow:0 4px 12px 0 hsla(0,0%,69%,.5);border-radius:4px;padding-top:16px;padding-bottom:16px}.listBox.isDark[data-v-4e101914]{background:#363b3f}.contextmenuContainer[data-v-4e101914]{position:fixed;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#1a1a1a}.contextmenuContainer.isDark[data-v-4e101914]{color:#fff}.contextmenuContainer.isDark .item[data-v-4e101914]:hover{background:hsla(0,0%,100%,.05)}.contextmenuContainer .item[data-v-4e101914]{position:relative;height:28px;line-height:28px;padding:0 16px;cursor:pointer;display:flex;justify-content:space-between}.contextmenuContainer .item.danger[data-v-4e101914]{color:#f56c6c}.contextmenuContainer .item[data-v-4e101914]:hover{background:#f5f5f5}.contextmenuContainer .item:hover .subItems[data-v-4e101914]{visibility:visible}.contextmenuContainer .item.disabled[data-v-4e101914]{color:grey;cursor:not-allowed;pointer-events:none}.contextmenuContainer .item.disabled[data-v-4e101914]:hover{background:#fff}.contextmenuContainer .item .desc[data-v-4e101914],.contextmenuContainer .item .name[data-v-4e101914]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.contextmenuContainer .item .desc[data-v-4e101914]{color:#999}.contextmenuContainer .item .subItems[data-v-4e101914]{position:absolute;left:100%;top:0;visibility:hidden}.richTextToolbar[data-v-dffaed3e]{position:fixed;z-index:2000;height:55px;background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:8px;box-shadow:0 2px 16px 0 rgba(0,0,0,.06);display:flex;align-items:center;transform:translateX(-50%)}.richTextToolbar.isDark[data-v-dffaed3e]{background:#363b3f}.richTextToolbar.isDark .btn[data-v-dffaed3e]{color:#fff}.richTextToolbar.isDark .btn[data-v-dffaed3e]:hover{background:hsla(0,0%,100%,.05)}.richTextToolbar .btn[data-v-dffaed3e]{width:55px;height:55px;display:flex;justify-content:center;align-items:center;cursor:pointer}.richTextToolbar .btn[data-v-dffaed3e]:hover{background-color:#eefbed}.richTextToolbar .btn.active[data-v-dffaed3e]{color:#12bb37}.richTextToolbar .btn .icon[data-v-dffaed3e]{font-size:20px}.richTextToolbar .btn .icon.fontColor[data-v-dffaed3e]{font-size:26px}.fontOptionsList[data-v-dffaed3e]{width:150px}.fontOptionsList.isDark .fontOptionItem[data-v-dffaed3e]{color:#fff}.fontOptionsList.isDark .fontOptionItem[data-v-dffaed3e]:hover{background-color:hsla(0,0%,100%,.05)}.fontOptionsList .fontOptionItem[data-v-dffaed3e]{height:30px;width:100%;display:flex;align-items:center;cursor:pointer}.fontOptionsList .fontOptionItem[data-v-dffaed3e]:hover{background-color:#f7f7f7}.fontOptionsList .fontOptionItem.active[data-v-dffaed3e]{color:#12bb37} /*! * @toast-ui/editor * @version 3.2.2 | Fri Feb 17 2023 * @author NHN Cloud FE Development Lab * @license MIT - */.ProseMirror{font-family:Open Sans,Helvetica Neue,Helvetica,Arial,나눔바른고딕,Nanum Barun Gothic,맑은고딕,Malgun Gothic,sans-serif;color:#222;font-size:13px;overflow-y:auto;overflow-X:hidden;height:calc(100% - 36px)}.ProseMirror .placeholder{color:#999}.ProseMirror-selectednode,.ProseMirror:focus{outline:none}.html-block.ProseMirror-selectednode,table.ProseMirror-selectednode{border-radius:2px;outline:2px solid #00a9ff}.toastui-editor-contents{margin:0;padding:0;font-size:13px;font-family:Open Sans,Helvetica Neue,Helvetica,Arial,나눔바른고딕,Nanum Barun Gothic,맑은고딕,Malgun Gothic,sans-serif;z-index:20}.toastui-editor-contents :not(table){line-height:160%;-webkit-box-sizing:content-box;box-sizing:content-box}.toastui-editor-contents address,.toastui-editor-contents cite,.toastui-editor-contents dfn,.toastui-editor-contents em,.toastui-editor-contents i,.toastui-editor-contents var{font-style:italic}.toastui-editor-contents strong{font-weight:700}.toastui-editor-contents p{margin:10px 0;color:#222}.toastui-editor-contents>div>div:first-of-type h1,.toastui-editor-contents>h1:first-of-type{margin-top:14px}.toastui-editor-contents h1,.toastui-editor-contents h2,.toastui-editor-contents h3,.toastui-editor-contents h4,.toastui-editor-contents h5,.toastui-editor-contents h6{font-weight:700;color:#222}.toastui-editor-contents h1{font-size:24px;line-height:28px;border-bottom:3px double #999;margin:52px 0 15px 0;padding-bottom:7px}.toastui-editor-contents h2{font-size:22px;line-height:23px;border-bottom:1px solid #dbdbdb;margin:20px 0 13px 0;padding-bottom:7px}.toastui-editor-contents h3{font-size:20px;margin:18px 0 2px}.toastui-editor-contents h4{font-size:18px;margin:10px 0 2px}.toastui-editor-contents h3,.toastui-editor-contents h4{line-height:18px}.toastui-editor-contents h5{font-size:16px}.toastui-editor-contents h6{font-size:14px}.toastui-editor-contents h5,.toastui-editor-contents h6{line-height:17px;margin:9px 0 -4px}.toastui-editor-contents del{color:#999}.toastui-editor-contents blockquote{margin:14px 0;border-left:4px solid #e5e5e5;padding:0 16px;color:#999}.toastui-editor-contents blockquote ol,.toastui-editor-contents blockquote p,.toastui-editor-contents blockquote ul{color:#999}.toastui-editor-contents blockquote>:first-child{margin-top:0}.toastui-editor-contents blockquote>:last-child{margin-bottom:0}.toastui-editor-contents code,.toastui-editor-contents pre{font-family:Consolas,Courier,Apple SD 산돌고딕 Neo,-apple-system,Lucida Grande,Apple SD Gothic Neo,맑은 고딕,Malgun Gothic,Segoe UI,돋움,dotum,sans-serif;border:0;border-radius:0}.toastui-editor-contents pre{margin:2px 0 8px;padding:18px;background-color:#f4f7f8}.toastui-editor-contents code{color:#c1798b;background-color:#f9f2f4;padding:2px 3px;letter-spacing:-.3px;border-radius:2px}.toastui-editor-contents pre code{padding:0;color:inherit;white-space:pre-wrap;background-color:transparent}.toastui-editor-contents img{margin:4px 0 10px;-webkit-box-sizing:border-box;box-sizing:border-box;vertical-align:top;max-width:100%}.toastui-editor-contents table{border:1px solid rgba(0,0,0,.1);margin:12px 0 14px;color:#222;width:auto;border-collapse:collapse;-webkit-box-sizing:border-box;box-sizing:border-box}.toastui-editor-contents table td,.toastui-editor-contents table th{border:1px solid rgba(0,0,0,.1);padding:5px 14px 5px 12px;height:32px}.toastui-editor-contents table th{background-color:#555;font-weight:300;color:#fff;padding-top:6px}.toastui-editor-contents th p{margin:0;color:#fff}.toastui-editor-contents td p{margin:0;padding:0 2px}.toastui-editor-contents td.toastui-editor-cell-selected{background-color:#d8dfec}.toastui-editor-contents th.toastui-editor-cell-selected{background-color:#908f8f}.toastui-editor-contents dir,.toastui-editor-contents menu,.toastui-editor-contents ol,.toastui-editor-contents ul{display:block;list-style-type:none;padding-left:24px;margin:6px 0 10px;color:#222}.toastui-editor-contents ol{list-style-type:none;counter-reset:li}.toastui-editor-contents ol>li{counter-increment:li}.toastui-editor-contents ol>li:before,.toastui-editor-contents ul>li:before{display:inline-block;position:absolute}.toastui-editor-contents ul>li:before{content:"";margin-top:6px;margin-left:-17px;width:5px;height:5px;border-radius:50%;background-color:#ccc}.toastui-editor-contents ol>li:before{content:"." counter(li);margin-left:-28px;width:24px;text-align:right;direction:rtl;color:#aaa}.toastui-editor-contents ol ol,.toastui-editor-contents ol ul,.toastui-editor-contents ul ol,.toastui-editor-contents ul ul{margin-top:0!important;margin-bottom:0!important}.toastui-editor-contents ol li,.toastui-editor-contents ul li{position:relative}.toastui-editor-contents ol p,.toastui-editor-contents ul p{margin:0}.toastui-editor-contents hr{border-top:1px solid #eee;margin:16px 0}.toastui-editor-contents a{text-decoration:underline;color:#4b96e6}.toastui-editor-contents a:hover{color:#1f70de}.toastui-editor-contents .image-link{position:relative}.toastui-editor-contents .image-link:hover:before{content:"";position:absolute;width:30px;height:30px;right:0;border-radius:50%;border:1px solid #c9ccd5;background:#fff url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGcgc3Ryb2tlPSIjNTU1IiBzdHJva2Utd2lkdGg9IjEuNSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2UtbGluZWNhcD0icm91bmQiPjxwYXRoIGQ9Ik01LjY4NyAxMC4yOTRsLTEuMjg1IDEuMjg4Yy0xLjA1IDEuMDUtMS4wMzUgMi43NzIuMDM3IDMuODQ0bC4xMzUuMTM1YzEuMDcyIDEuMDcyIDIuNzk0IDEuMDg4IDMuODQ0LjAzN2wyLjcyLTIuNzJjMS4wNTEtMS4wNSAxLjAzNC0yLjc3Mi0uMDM3LTMuODQzbC0uMTM2LS4xMzYiLz48cGF0aCBkPSJNMTQuMzA1IDkuNzEzbDEuMjg3LTEuMjljMS4wNTItMS4wNTEgMS4wMzYtMi43NzMtLjAzNi0zLjg0NGwtLjEzNS0uMTM2Yy0xLjA3Mi0xLjA3Mi0yLjc5NC0xLjA4OC0zLjg0NS0uMDM2TDguODU3IDcuMTI2Yy0xLjA1MSAxLjA1MS0xLjAzNCAyLjc3Mi4wMzcgMy44NDNsLjEzNi4xMzYiLz48L2c+PC9zdmc+) no-repeat;background-position:50%;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.08);box-shadow:0 2px 4px 0 rgba(0,0,0,.08);cursor:pointer}.toastui-editor-contents .task-list-item{border:0;list-style:none;padding-left:24px;margin-left:-24px}.toastui-editor-contents .task-list-item:before{background-repeat:no-repeat;background-size:18px 18px;background-position:50%;content:"";margin-left:0;margin-top:0;border-radius:2px;height:18px;width:18px;position:absolute;left:0;top:1px;cursor:pointer;background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PHJlY3Qgd2lkdGg9IjE3IiBoZWlnaHQ9IjE3IiB4PSIuNSIgeT0iLjUiIHJ4PSIyIiBmaWxsPSIjRkZGIiBzdHJva2U9IiNDQ0MiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==)}.toastui-editor-contents .task-list-item.checked:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PHBhdGggZD0iTTE2IDBhMiAyIDAgMDEyIDJ2MTRhMiAyIDAgMDEtMiAySDJhMiAyIDAgMDEtMi0yVjJhMiAyIDAgMDEyLTJoMTR6bS0xLjc5MyA1LjI5M2ExIDEgMCAwMC0xLjQxNCAwTDcuNSAxMC41ODUgNS4yMDcgOC4yOTNsLS4wOTQtLjA4M2ExIDEgMCAwMC0xLjMyIDEuNDk3bDMgMyAuMDk0LjA4M2ExIDEgMCAwMDEuMzItLjA4M2w2LTYgLjA4My0uMDk0YTEgMSAwIDAwLS4wODMtMS4zMnoiIGZpbGw9IiM0Qjk2RTYiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==)}.toastui-editor-custom-block .toastui-editor-custom-block-editor{background:#f9f7fd;color:#452d6b;border:1px solid #dbd4ea}.toastui-editor-custom-block .toastui-editor-custom-block-view{position:relative;padding:9px 13px 8px 12px}.toastui-editor-custom-block.ProseMirror-selectednode .toastui-editor-custom-block-view{border:1px solid #dbd4ea;border-radius:2px}.toastui-editor-custom-block .toastui-editor-custom-block-view .tool{position:absolute;right:10px;top:7px;display:none}.toastui-editor-custom-block.ProseMirror-selectednode .toastui-editor-custom-block-view .tool{display:block}.toastui-editor-custom-block-view button{vertical-align:middle;width:15px;height:15px;margin-left:8px;padding:3px;border:1px solid #ccc;background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMCAzMCI+PHBhdGggZD0iTTE1LjUgMTIuNWwyIDJMMTIgMjBoLTJ2LTJsNS41LTUuNXpNMTggMTBsMiAyLTEuNSAxLjUtMi0yTDE4IDEweiIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiM1NTUiLz48L3N2Zz4=) no-repeat;background-position:50%;background-size:30px 30px}.toastui-editor-custom-block-view .info{font-size:13px;font-weight:700;color:#5200d0;vertical-align:middle}.toastui-editor-contents .toastui-editor-ww-code-block{position:relative}.toastui-editor-contents .toastui-editor-ww-code-block:after{content:attr(data-language);position:absolute;display:inline-block;top:10px;right:10px;height:24px;padding:3px 35px 0 10px;font-weight:700;font-size:13px;color:#333;background:#e5e9ea url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMCAzMCI+PHBhdGggZD0iTTE1LjUgMTIuNWwyIDJMMTIgMjBoLTJ2LTJsNS41LTUuNXpNMTggMTBsMiAyLTEuNSAxLjUtMi0yTDE4IDEweiIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiM1NTUiLz48L3N2Zz4=) no-repeat;background-position:100%;border-radius:2px;background-size:30px 30px;cursor:pointer}.toastui-editor-ww-code-block-language{position:fixed;display:inline-block;width:100px;height:27px;right:35px;border:1px solid #ccc;border-radius:2px;background-color:#fff;z-index:30}.toastui-editor-ww-code-block-language input{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0 10px;height:100%;width:100%;background-color:transparent;border:none;outline:none}.toastui-editor-contents-placeholder:before{content:attr(data-placeholder);color:grey;line-height:160%;position:absolute}.toastui-editor-md-preview .toastui-editor-contents h1{min-height:28px}.toastui-editor-md-preview .toastui-editor-contents h2{min-height:23px}.toastui-editor-md-preview .toastui-editor-contents blockquote{min-height:20px}.toastui-editor-md-preview .toastui-editor-contents li{min-height:22px}.toastui-editor-pseudo-clipboard{position:fixed;opacity:0;width:0;height:0;left:-1000px;top:-1000px;z-index:-1}.noteContentViewer[data-v-1484624c]{position:fixed;background-color:#fff;padding:10px;border-radius:5px;max-height:300px;overflow-y:auto}.noteContentViewer[data-v-1484624c]::-webkit-scrollbar{width:7px;height:7px}.noteContentViewer[data-v-1484624c]::-webkit-scrollbar-thumb{border-radius:7px;background-color:rgba(0,0,0,.3);cursor:pointer}.noteContentViewer[data-v-1484624c]::-webkit-scrollbar-track{box-shadow:none;background:transparent;display:none}.navigatorBox[data-v-8a96ff3c]{position:absolute;height:220px;background-color:#fff;bottom:80px;right:70px;box-shadow:0 0 16px #989898;border-radius:4px;border:1px solid #eee;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.navigatorBox.isDark[data-v-8a96ff3c]{background-color:#262a2e}.navigatorBox .svgBox[data-v-8a96ff3c]{position:absolute;left:0;transform-origin:left top}.navigatorBox .windowBox[data-v-8a96ff3c]{position:absolute;border:2px solid #ee4545;transition:all .3s}.sidebarTriggerContainer[data-v-03ad7129]{position:fixed;right:-60px;margin-top:110px;transition:all .3s;top:50%;transform:translateY(-50%)}.sidebarTriggerContainer.isDark .trigger[data-v-03ad7129]{background-color:#262a2e}.sidebarTriggerContainer.isDark .trigger .triggerItem[data-v-03ad7129]{color:hsla(0,0%,100%,.6)}.sidebarTriggerContainer.isDark .trigger .triggerItem[data-v-03ad7129]:hover{background-color:hsla(0,0%,100%,.05)}.sidebarTriggerContainer.show[data-v-03ad7129]{right:0}.sidebarTriggerContainer.hasActive[data-v-03ad7129]{right:305px}.sidebarTriggerContainer .toggleShowBtn[data-v-03ad7129]{position:absolute;left:-6px;width:35px;height:60px;background:#409eff;top:50%;transform:translateY(-50%);cursor:pointer;transition:left .1s linear;z-index:0;border-top-left-radius:10px;border-bottom-left-radius:10px;display:flex;align-items:center;padding-left:4px}.sidebarTriggerContainer .toggleShowBtn.hide[data-v-03ad7129]{left:-8px}.sidebarTriggerContainer .toggleShowBtn.hide span[data-v-03ad7129]{transform:rotate(180deg)}.sidebarTriggerContainer .toggleShowBtn[data-v-03ad7129]:hover{left:-18px}.sidebarTriggerContainer .toggleShowBtn span[data-v-03ad7129]{color:#fff;transition:all .1s}.sidebarTriggerContainer .trigger[data-v-03ad7129]{position:relative;width:60px;border-color:#eee;background-color:#fff;box-shadow:0 2px 16px 0 rgba(0,0,0,.06);border-radius:6px;overflow:hidden}.sidebarTriggerContainer .trigger .triggerItem[data-v-03ad7129]{height:60px;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;color:#464646;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.sidebarTriggerContainer .trigger .triggerItem[data-v-03ad7129]:hover{background-color:#ededed}.sidebarTriggerContainer .trigger .triggerItem.active[data-v-03ad7129]{color:#409eff;font-weight:700}.sidebarTriggerContainer .trigger .triggerItem .triggerIcon[data-v-03ad7129]{font-size:18px;margin-bottom:5px}.sidebarTriggerContainer .trigger .triggerItem .triggerName[data-v-03ad7129]{font-size:13px}.customNodeContent[data-v-6ef61ceb]{padding:10px;cursor:pointer}.searchContainer[data-v-4c813624]{position:relative;background-color:#fff;padding:16px;width:296px;border-radius:12px;box-shadow:0 4px 16px 0 rgba(0,0,0,.1);position:fixed;top:110px;right:-296px;transition:all .3s}.searchContainer.isDark[data-v-4c813624]{background-color:#363b3f}.searchContainer.isDark .closeBtnBox[data-v-4c813624]{color:#fff;background-color:#363b3f}.searchContainer.show[data-v-4c813624]{right:20px}.searchContainer .btnList[data-v-4c813624]{display:flex;justify-content:flex-end}.searchContainer .closeBtnBox[data-v-4c813624]{position:absolute;right:-5px;top:-5px;width:20px;height:20px;background-color:#fff;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;box-shadow:0 4px 16px 0 rgba(0,0,0,.1)}.searchContainer .closeBtnBox .closeBtn[data-v-4c813624]{font-size:16px}.searchContainer .searchInputBox[data-v-4c813624]{position:relative}.searchContainer .searchInputBox .searchInfo[data-v-4c813624]{position:absolute;right:70px;top:50%;transform:translateY(-50%);color:#909090;font-size:14px}.box[data-v-9d4ebae2]{padding:0 20px}.box.isDark .title[data-v-9d4ebae2]{color:#fff}.box .title[data-v-9d4ebae2]{font-size:16px;font-weight:500;color:#333}.box .boxContent .iconBox .item[data-v-9d4ebae2]{margin-bottom:20px;font-weight:700}.box .boxContent .iconBox .item .title[data-v-9d4ebae2]{margin-bottom:10px}.box .boxContent .iconBox .item .list[data-v-9d4ebae2]{display:flex;flex-wrap:wrap}.box .boxContent .iconBox .item .list .icon[data-v-9d4ebae2]{width:24px;height:24px;margin-right:10px;margin-bottom:10px;cursor:pointer;position:relative}.box .boxContent .iconBox .item .list .icon[data-v-9d4ebae2] img,.box .boxContent .iconBox .item .list .icon[data-v-9d4ebae2] svg{width:100%;height:100%}.box .boxContent .iconBox .item .list .icon.selected[data-v-9d4ebae2]:after{content:"";position:absolute;left:-4px;top:-4px;width:28px;height:28px;border-radius:50%;border:2px solid #409eff}.box .boxContent .imageBox[data-v-9d4ebae2]{margin-bottom:20px;font-weight:700}.box .boxContent .imageBox .title[data-v-9d4ebae2]{margin-bottom:10px}.box .boxContent .imageBox .list[data-v-9d4ebae2]{display:flex;flex-wrap:wrap}.box .boxContent .imageBox .list .icon[data-v-9d4ebae2]{width:50px;height:50px;margin-right:10px;margin-bottom:10px;cursor:pointer;position:relative}.box .boxContent .imageBox .list .icon[data-v-9d4ebae2] img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.box .boxContent .imageBox .list .icon.selected[data-v-9d4ebae2]:after{content:"";position:absolute;left:-4px;top:-4px;width:54px;height:54px;border:2px solid #409eff}.nodeIconToolbar[data-v-1321abee]{position:fixed;z-index:2000;width:210px;max-height:170px;background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:8px;box-shadow:0 2px 16px 0 rgba(0,0,0,.06);display:flex;flex-direction:column;overflow:hidden}.nodeIconToolbar .iconListBox[data-v-1321abee]{width:100%;height:180px;overflow-y:auto;padding:10px}.nodeIconToolbar .iconListBox .icon[data-v-1321abee]{width:24px;height:24px;margin:5px;cursor:pointer;position:relative;float:left}.nodeIconToolbar .iconListBox .icon[data-v-1321abee] img,.nodeIconToolbar .iconListBox .icon[data-v-1321abee] svg{width:100%;height:100%}.nodeIconToolbar .iconListBox .icon.selected[data-v-1321abee]:after{content:"";position:absolute;left:-4px;top:-4px;width:28px;height:28px;border-radius:50%;border:2px solid #409eff}.nodeIconToolbar .btnBox[data-v-1321abee]{width:100%;height:30px;display:flex;justify-content:center;align-items:center;border-top:1px solid #eee;flex-shrink:0}.nodeIconToolbar .btnBox .btn[data-v-1321abee]{cursor:pointer;color:rgba(26,26,26,.8)}.outlineEditContainer[data-v-157fc5ba]{position:fixed;left:0;top:0;width:100%;height:100%;z-index:9999;background-color:#fff;overflow:hidden}.outlineEditContainer.isDark[data-v-157fc5ba]{background-color:#262a2e}.outlineEditContainer.isDark .closeBtn .icon[data-v-157fc5ba]{color:#fff}.outlineEditContainer .closeBtn[data-v-157fc5ba]{position:absolute;right:40px;top:20px;cursor:pointer}.outlineEditContainer .closeBtn .icon[data-v-157fc5ba]{font-size:28px}.outlineEditContainer .outlineEditBox[data-v-157fc5ba]{width:100%;height:100%;overflow-y:auto;padding:50px 0}.outlineEditContainer .outlineEditBox .outlineEdit[data-v-157fc5ba]{width:1000px;height:100%;height:-moz-max-content;height:max-content;margin:0 auto}.outlineEditContainer .outlineEditBox .outlineEdit[data-v-157fc5ba] .customNode .nodeEdit{max-width:800px}.customNode[data-v-157fc5ba]{width:100%;color:rgba(0,0,0,.85);font-weight:700}.customNode .nodeEdit[data-v-157fc5ba]{outline:none;white-space:normal;padding-right:20px}.outlineTree.isDark[data-v-157fc5ba]{background-color:#262a2e}.outlineTree.isDark .customNode[data-v-157fc5ba]{color:#fff}.outlineTree.isDark.el-tree--highlight-current[data-v-157fc5ba] .el-tree-node.is-current>.el-tree-node__content{background-color:hsla(0,0%,100%,.05)!important}.outlineTree.isDark .el-upload-list__item[data-v-157fc5ba]:hover,.outlineTree.isDark[data-v-157fc5ba] .el-tree-node__content:hover{background-color:hsla(0,0%,100%,.02)!important}.outlineTree.isDark[data-v-157fc5ba] .el-tree-node__content .el-tree-node__expand-icon{color:#fff}.outlineTree.isDark[data-v-157fc5ba] .el-tree-node__content .el-tree-node__expand-icon.is-leaf:after{background-color:#fff}.outlineTree[data-v-157fc5ba] .el-tree-node>.el-tree-node__children{overflow:inherit}.outlineTree[data-v-157fc5ba] .el-tree-node__content{height:auto;margin:5px 0}.outlineTree[data-v-157fc5ba] .el-tree-node__content .el-tree-node__expand-icon{color:#262a2e}.outlineTree[data-v-157fc5ba] .el-tree-node__content .el-tree-node__expand-icon.is-leaf{color:transparent;position:relative}.outlineTree[data-v-157fc5ba] .el-tree-node__content .el-tree-node__expand-icon.is-leaf:after{background-color:#262a2e;position:absolute;content:"";width:5px;height:5px;border-radius:50%;left:10px;top:50%;transform:translateY(-50%)}.scrollbarContainer.isDark .scrollbar[data-v-301c5ef9]{background-color:#363b3f}.scrollbarContainer.isDark .scrollbar .scrollbarInner[data-v-301c5ef9]{background-color:rgba(0,0,0,.3)}.scrollbarContainer .scrollbar[data-v-301c5ef9]{position:absolute;background-color:#f5f5f5;border-radius:10px;overflow:hidden}.scrollbarContainer .scrollbar.verticalScrollbar[data-v-301c5ef9]{width:10px;top:100px;bottom:100px;left:20px}.scrollbarContainer .scrollbar.verticalScrollbar .scrollbarInner[data-v-301c5ef9]{width:10px;left:0}.scrollbarContainer .scrollbar.horizontalScrollbar[data-v-301c5ef9]{height:10px;left:100px;right:100px;bottom:70px}.scrollbarContainer .scrollbar.horizontalScrollbar .scrollbarInner[data-v-301c5ef9]{height:10px;top:0}.scrollbarContainer .scrollbar .scrollbarInner[data-v-301c5ef9]{position:absolute;background-color:#ccc;border-radius:10px}@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_AMS-Regular.woff2) format("woff2"),url(../fonts/KaTeX_AMS-Regular.woff) format("woff"),url(../fonts/KaTeX_AMS-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(../fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(../fonts/KaTeX_Caligraphic-Bold.woff) format("woff"),url(../fonts/KaTeX_Caligraphic-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(../fonts/KaTeX_Caligraphic-Regular.woff) format("woff"),url(../fonts/KaTeX_Caligraphic-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(../fonts/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(../fonts/KaTeX_Fraktur-Bold.woff) format("woff"),url(../fonts/KaTeX_Fraktur-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(../fonts/KaTeX_Fraktur-Regular.woff) format("woff"),url(../fonts/KaTeX_Fraktur-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(../fonts/KaTeX_Main-Bold.woff2) format("woff2"),url(../fonts/KaTeX_Main-Bold.woff) format("woff"),url(../fonts/KaTeX_Main-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(../fonts/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(../fonts/KaTeX_Main-BoldItalic.woff) format("woff"),url(../fonts/KaTeX_Main-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(../fonts/KaTeX_Main-Italic.woff2) format("woff2"),url(../fonts/KaTeX_Main-Italic.woff) format("woff"),url(../fonts/KaTeX_Main-Italic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_Main-Regular.woff2) format("woff2"),url(../fonts/KaTeX_Main-Regular.woff) format("woff"),url(../fonts/KaTeX_Main-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(../fonts/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(../fonts/KaTeX_Math-BoldItalic.woff) format("woff"),url(../fonts/KaTeX_Math-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(../fonts/KaTeX_Math-Italic.woff2) format("woff2"),url(../fonts/KaTeX_Math-Italic.woff) format("woff"),url(../fonts/KaTeX_Math-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(../fonts/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(../fonts/KaTeX_SansSerif-Bold.woff) format("woff"),url(../fonts/KaTeX_SansSerif-Bold.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(../fonts/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(../fonts/KaTeX_SansSerif-Italic.woff) format("woff"),url(../fonts/KaTeX_SansSerif-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(../fonts/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(../fonts/KaTeX_SansSerif-Regular.woff) format("woff"),url(../fonts/KaTeX_SansSerif-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_Script-Regular.woff2) format("woff2"),url(../fonts/KaTeX_Script-Regular.woff) format("woff"),url(../fonts/KaTeX_Script-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_Size1-Regular.woff2) format("woff2"),url(../fonts/KaTeX_Size1-Regular.woff) format("woff"),url(../fonts/KaTeX_Size1-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_Size2-Regular.woff2) format("woff2"),url(../fonts/KaTeX_Size2-Regular.woff) format("woff"),url(../fonts/KaTeX_Size2-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(../fonts/KaTeX_Size3-Regular.woff) format("woff"),url(../fonts/KaTeX_Size3-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_Size4-Regular.woff2) format("woff2"),url(../fonts/KaTeX_Size4-Regular.woff) format("woff"),url(../fonts/KaTeX_Size4-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(../fonts/KaTeX_Typewriter-Regular.woff) format("woff"),url(../fonts/KaTeX_Typewriter-Regular.ttf) format("truetype")}.katex{text-rendering:auto;font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.9"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.box[data-v-3171f35e]{padding:10px;width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.box.isDark .formulaList .formulaItem .overview[data-v-3171f35e],.box.isDark .formulaList .formulaItem .text[data-v-3171f35e],.box.isDark .title[data-v-3171f35e]{color:#fff}.box.isDark .formulaList .formulaItem .text[data-v-3171f35e]{background-color:#363b3f}.box.isDark[data-v-3171f35e] .el-textarea__inner{background-color:transparent;color:#fff}.box .title[data-v-3171f35e]{font-size:16px;font-weight:500;color:#333;margin:10px 0;flex-shrink:0}.box .formulaInputBox[data-v-3171f35e]{flex-shrink:0}.box .formulaList[data-v-3171f35e]{height:100%;overflow-y:auto}.box .formulaList .formulaItem[data-v-3171f35e]{position:relative;display:flex;overflow:hidden;align-items:center;border:1px solid #dcdfe6;border-bottom:none}.box .formulaList .formulaItem[data-v-3171f35e]:last-of-type{border-bottom:1px solid #dcdfe6}.box .formulaList .formulaItem .overview[data-v-3171f35e],.box .formulaList .formulaItem .text[data-v-3171f35e]{width:50%;overflow:hidden;display:flex;justify-content:center;align-items:center;flex-shrink:0}.box .formulaList .formulaItem .overview[data-v-3171f35e]{padding:10px 0;border-right:none}.box .formulaList .formulaItem .text[data-v-3171f35e]{cursor:pointer;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:100%;position:absolute;right:0;top:0;border-left:1px solid #dcdfe6;background-color:#fafafa}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative;z-index:0}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.sourceCodeEditContainer[data-v-479e776e]{position:fixed;left:0;top:0;width:100%;height:100%;z-index:1999;background-color:#f5f5f5;overflow:hidden}.sourceCodeEditContainer.isDark[data-v-479e776e]{background-color:#262a2e}.sourceCodeEditContainer.isDark .closeBtn .icon[data-v-479e776e]{color:#fff}.sourceCodeEditContainer .closeBtn[data-v-479e776e]{position:absolute;right:40px;top:20px;cursor:pointer;display:flex;align-items:center}.sourceCodeEditContainer .closeBtn .icon[data-v-479e776e]{font-size:28px;margin-left:10px}.sourceCodeEditContainer .sourceCodeEditBox[data-v-479e776e]{width:100%;height:100%;overflow:hidden;padding:50px 0}.sourceCodeEditContainer .sourceCodeEditBox .outlineEdit[data-v-479e776e]{width:1000px;margin:0 auto;font-size:17px;background-color:#fff;padding:12px;border-radius:5px}.sourceCodeEditContainer .sourceCodeEditBox .outlineEdit[data-v-479e776e],.sourceCodeEditContainer .sourceCodeEditBox .outlineEdit[data-v-479e776e] .CodeMirror{height:100%;font-family:Menlo,Monaco,Consolas,Andale Mono,Ubuntu Mono,Courier New,monospace}.editContainer[data-v-84d17fb6]{position:fixed;left:0;right:0;top:0;bottom:0}.editContainer .mindMapContainer[data-v-84d17fb6]{position:absolute;left:0;top:0;width:100%;height:100%}body.isDark .el-button,body.isDark .el-input__inner{background-color:#363b3f;color:hsla(0,0%,100%,.9);border-color:hsla(0,0%,100%,.1)}body.isDark .el-input.is-disabled .el-input__inner{color:hsla(0,0%,100%,.3)}body.isDark .el-input-group__append,body.isDark .el-input-group__prepend,body.isDark .el-input.is-disabled .el-input__inner{background-color:#363b3f;border-color:hsla(0,0%,100%,.1)}body.isDark .el-input-group__append button.el-button{color:hsla(0,0%,100%,.9)}body.isDark .el-select-dropdown{background-color:#36393d;border-color:hsla(0,0%,100%,.1)}body.isDark .el-select-dropdown .el-select-dropdown__item{color:hsla(0,0%,100%,.6)}body.isDark .el-select-dropdown .el-select-dropdown__item.selected{color:#409eff}body.isDark .el-select-dropdown .el-select-dropdown__item.hover,body.isDark .el-select-dropdown .el-select-dropdown__item:hover{background-color:hsla(0,0%,100%,.05)}body.isDark .el-popper,body.isDark .el-select .el-input.is-disabled .el-input__inner:hover{border-color:hsla(0,0%,100%,.1)}body.isDark .el-popper,body.isDark .el-popper[x-placement^=bottom] .popper__arrow{background-color:#36393d}body.isDark .el-popper[x-placement^=bottom] .popper__arrow:after{border-bottom-color:#36393d}body.isDark .el-popper[x-placement^=top] .popper__arrow{background-color:#36393d}body.isDark .el-popper[x-placement^=top] .popper__arrow:after{border-top-color:#36393d}body.isDark .el-tabs__item{color:hsla(0,0%,100%,.6)}body.isDark .el-tabs__item.is-active,body.isDark .el-tabs__item:hover{color:#409eff}body.isDark .el-slider__runway,body.isDark .el-tabs__nav-wrap:after{background-color:hsla(0,0%,100%,.6)}body.isDark .el-radio-group .el-radio-button__inner{background-color:#36393d;color:hsla(0,0%,100%,.6)}body.isDark .el-radio-group .el-radio-button__orig-radio:checked+.el-radio-button__inner{color:#fff;background-color:#409eff}body.isDark .el-dialog{background-color:#262a2e}body.isDark .el-dialog .el-dialog__header{border-bottom:1px solid hsla(0,0%,100%,.1)}body.isDark .el-dialog .el-dialog__title{color:hsla(0,0%,100%,.9)}body.isDark .el-dialog .el-dialog__body{background-color:#262a2e}body.isDark .el-dialog .el-dialog__footer{border-top:1px solid hsla(0,0%,100%,.1)}body.isDark .el-upload__tip{color:#999}body.isDark .toastui-editor-main-container{background-color:#fff} \ No newline at end of file + */.ProseMirror{font-family:Open Sans,Helvetica Neue,Helvetica,Arial,나눔바른고딕,Nanum Barun Gothic,맑은고딕,Malgun Gothic,sans-serif;color:#222;font-size:13px;overflow-y:auto;overflow-X:hidden;height:calc(100% - 36px)}.ProseMirror .placeholder{color:#999}.ProseMirror-selectednode,.ProseMirror:focus{outline:none}.html-block.ProseMirror-selectednode,table.ProseMirror-selectednode{border-radius:2px;outline:2px solid #00a9ff}.toastui-editor-contents{margin:0;padding:0;font-size:13px;font-family:Open Sans,Helvetica Neue,Helvetica,Arial,나눔바른고딕,Nanum Barun Gothic,맑은고딕,Malgun Gothic,sans-serif;z-index:20}.toastui-editor-contents :not(table){line-height:160%;-webkit-box-sizing:content-box;box-sizing:content-box}.toastui-editor-contents address,.toastui-editor-contents cite,.toastui-editor-contents dfn,.toastui-editor-contents em,.toastui-editor-contents i,.toastui-editor-contents var{font-style:italic}.toastui-editor-contents strong{font-weight:700}.toastui-editor-contents p{margin:10px 0;color:#222}.toastui-editor-contents>div>div:first-of-type h1,.toastui-editor-contents>h1:first-of-type{margin-top:14px}.toastui-editor-contents h1,.toastui-editor-contents h2,.toastui-editor-contents h3,.toastui-editor-contents h4,.toastui-editor-contents h5,.toastui-editor-contents h6{font-weight:700;color:#222}.toastui-editor-contents h1{font-size:24px;line-height:28px;border-bottom:3px double #999;margin:52px 0 15px 0;padding-bottom:7px}.toastui-editor-contents h2{font-size:22px;line-height:23px;border-bottom:1px solid #dbdbdb;margin:20px 0 13px 0;padding-bottom:7px}.toastui-editor-contents h3{font-size:20px;margin:18px 0 2px}.toastui-editor-contents h4{font-size:18px;margin:10px 0 2px}.toastui-editor-contents h3,.toastui-editor-contents h4{line-height:18px}.toastui-editor-contents h5{font-size:16px}.toastui-editor-contents h6{font-size:14px}.toastui-editor-contents h5,.toastui-editor-contents h6{line-height:17px;margin:9px 0 -4px}.toastui-editor-contents del{color:#999}.toastui-editor-contents blockquote{margin:14px 0;border-left:4px solid #e5e5e5;padding:0 16px;color:#999}.toastui-editor-contents blockquote ol,.toastui-editor-contents blockquote p,.toastui-editor-contents blockquote ul{color:#999}.toastui-editor-contents blockquote>:first-child{margin-top:0}.toastui-editor-contents blockquote>:last-child{margin-bottom:0}.toastui-editor-contents code,.toastui-editor-contents pre{font-family:Consolas,Courier,Apple SD 산돌고딕 Neo,-apple-system,Lucida Grande,Apple SD Gothic Neo,맑은 고딕,Malgun Gothic,Segoe UI,돋움,dotum,sans-serif;border:0;border-radius:0}.toastui-editor-contents pre{margin:2px 0 8px;padding:18px;background-color:#f4f7f8}.toastui-editor-contents code{color:#c1798b;background-color:#f9f2f4;padding:2px 3px;letter-spacing:-.3px;border-radius:2px}.toastui-editor-contents pre code{padding:0;color:inherit;white-space:pre-wrap;background-color:transparent}.toastui-editor-contents img{margin:4px 0 10px;-webkit-box-sizing:border-box;box-sizing:border-box;vertical-align:top;max-width:100%}.toastui-editor-contents table{border:1px solid rgba(0,0,0,.1);margin:12px 0 14px;color:#222;width:auto;border-collapse:collapse;-webkit-box-sizing:border-box;box-sizing:border-box}.toastui-editor-contents table td,.toastui-editor-contents table th{border:1px solid rgba(0,0,0,.1);padding:5px 14px 5px 12px;height:32px}.toastui-editor-contents table th{background-color:#555;font-weight:300;color:#fff;padding-top:6px}.toastui-editor-contents th p{margin:0;color:#fff}.toastui-editor-contents td p{margin:0;padding:0 2px}.toastui-editor-contents td.toastui-editor-cell-selected{background-color:#d8dfec}.toastui-editor-contents th.toastui-editor-cell-selected{background-color:#908f8f}.toastui-editor-contents dir,.toastui-editor-contents menu,.toastui-editor-contents ol,.toastui-editor-contents ul{display:block;list-style-type:none;padding-left:24px;margin:6px 0 10px;color:#222}.toastui-editor-contents ol{list-style-type:none;counter-reset:li}.toastui-editor-contents ol>li{counter-increment:li}.toastui-editor-contents ol>li:before,.toastui-editor-contents ul>li:before{display:inline-block;position:absolute}.toastui-editor-contents ul>li:before{content:"";margin-top:6px;margin-left:-17px;width:5px;height:5px;border-radius:50%;background-color:#ccc}.toastui-editor-contents ol>li:before{content:"." counter(li);margin-left:-28px;width:24px;text-align:right;direction:rtl;color:#aaa}.toastui-editor-contents ol ol,.toastui-editor-contents ol ul,.toastui-editor-contents ul ol,.toastui-editor-contents ul ul{margin-top:0!important;margin-bottom:0!important}.toastui-editor-contents ol li,.toastui-editor-contents ul li{position:relative}.toastui-editor-contents ol p,.toastui-editor-contents ul p{margin:0}.toastui-editor-contents hr{border-top:1px solid #eee;margin:16px 0}.toastui-editor-contents a{text-decoration:underline;color:#4b96e6}.toastui-editor-contents a:hover{color:#1f70de}.toastui-editor-contents .image-link{position:relative}.toastui-editor-contents .image-link:hover:before{content:"";position:absolute;width:30px;height:30px;right:0;border-radius:50%;border:1px solid #c9ccd5;background:#fff url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGcgc3Ryb2tlPSIjNTU1IiBzdHJva2Utd2lkdGg9IjEuNSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2UtbGluZWNhcD0icm91bmQiPjxwYXRoIGQ9Ik01LjY4NyAxMC4yOTRsLTEuMjg1IDEuMjg4Yy0xLjA1IDEuMDUtMS4wMzUgMi43NzIuMDM3IDMuODQ0bC4xMzUuMTM1YzEuMDcyIDEuMDcyIDIuNzk0IDEuMDg4IDMuODQ0LjAzN2wyLjcyLTIuNzJjMS4wNTEtMS4wNSAxLjAzNC0yLjc3Mi0uMDM3LTMuODQzbC0uMTM2LS4xMzYiLz48cGF0aCBkPSJNMTQuMzA1IDkuNzEzbDEuMjg3LTEuMjljMS4wNTItMS4wNTEgMS4wMzYtMi43NzMtLjAzNi0zLjg0NGwtLjEzNS0uMTM2Yy0xLjA3Mi0xLjA3Mi0yLjc5NC0xLjA4OC0zLjg0NS0uMDM2TDguODU3IDcuMTI2Yy0xLjA1MSAxLjA1MS0xLjAzNCAyLjc3Mi4wMzcgMy44NDNsLjEzNi4xMzYiLz48L2c+PC9zdmc+) no-repeat;background-position:50%;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.08);box-shadow:0 2px 4px 0 rgba(0,0,0,.08);cursor:pointer}.toastui-editor-contents .task-list-item{border:0;list-style:none;padding-left:24px;margin-left:-24px}.toastui-editor-contents .task-list-item:before{background-repeat:no-repeat;background-size:18px 18px;background-position:50%;content:"";margin-left:0;margin-top:0;border-radius:2px;height:18px;width:18px;position:absolute;left:0;top:1px;cursor:pointer;background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PHJlY3Qgd2lkdGg9IjE3IiBoZWlnaHQ9IjE3IiB4PSIuNSIgeT0iLjUiIHJ4PSIyIiBmaWxsPSIjRkZGIiBzdHJva2U9IiNDQ0MiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==)}.toastui-editor-contents .task-list-item.checked:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PHBhdGggZD0iTTE2IDBhMiAyIDAgMDEyIDJ2MTRhMiAyIDAgMDEtMiAySDJhMiAyIDAgMDEtMi0yVjJhMiAyIDAgMDEyLTJoMTR6bS0xLjc5MyA1LjI5M2ExIDEgMCAwMC0xLjQxNCAwTDcuNSAxMC41ODUgNS4yMDcgOC4yOTNsLS4wOTQtLjA4M2ExIDEgMCAwMC0xLjMyIDEuNDk3bDMgMyAuMDk0LjA4M2ExIDEgMCAwMDEuMzItLjA4M2w2LTYgLjA4My0uMDk0YTEgMSAwIDAwLS4wODMtMS4zMnoiIGZpbGw9IiM0Qjk2RTYiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==)}.toastui-editor-custom-block .toastui-editor-custom-block-editor{background:#f9f7fd;color:#452d6b;border:1px solid #dbd4ea}.toastui-editor-custom-block .toastui-editor-custom-block-view{position:relative;padding:9px 13px 8px 12px}.toastui-editor-custom-block.ProseMirror-selectednode .toastui-editor-custom-block-view{border:1px solid #dbd4ea;border-radius:2px}.toastui-editor-custom-block .toastui-editor-custom-block-view .tool{position:absolute;right:10px;top:7px;display:none}.toastui-editor-custom-block.ProseMirror-selectednode .toastui-editor-custom-block-view .tool{display:block}.toastui-editor-custom-block-view button{vertical-align:middle;width:15px;height:15px;margin-left:8px;padding:3px;border:1px solid #ccc;background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMCAzMCI+PHBhdGggZD0iTTE1LjUgMTIuNWwyIDJMMTIgMjBoLTJ2LTJsNS41LTUuNXpNMTggMTBsMiAyLTEuNSAxLjUtMi0yTDE4IDEweiIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiM1NTUiLz48L3N2Zz4=) no-repeat;background-position:50%;background-size:30px 30px}.toastui-editor-custom-block-view .info{font-size:13px;font-weight:700;color:#5200d0;vertical-align:middle}.toastui-editor-contents .toastui-editor-ww-code-block{position:relative}.toastui-editor-contents .toastui-editor-ww-code-block:after{content:attr(data-language);position:absolute;display:inline-block;top:10px;right:10px;height:24px;padding:3px 35px 0 10px;font-weight:700;font-size:13px;color:#333;background:#e5e9ea url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMCAzMCI+PHBhdGggZD0iTTE1LjUgMTIuNWwyIDJMMTIgMjBoLTJ2LTJsNS41LTUuNXpNMTggMTBsMiAyLTEuNSAxLjUtMi0yTDE4IDEweiIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiM1NTUiLz48L3N2Zz4=) no-repeat;background-position:100%;border-radius:2px;background-size:30px 30px;cursor:pointer}.toastui-editor-ww-code-block-language{position:fixed;display:inline-block;width:100px;height:27px;right:35px;border:1px solid #ccc;border-radius:2px;background-color:#fff;z-index:30}.toastui-editor-ww-code-block-language input{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0 10px;height:100%;width:100%;background-color:transparent;border:none;outline:none}.toastui-editor-contents-placeholder:before{content:attr(data-placeholder);color:grey;line-height:160%;position:absolute}.toastui-editor-md-preview .toastui-editor-contents h1{min-height:28px}.toastui-editor-md-preview .toastui-editor-contents h2{min-height:23px}.toastui-editor-md-preview .toastui-editor-contents blockquote{min-height:20px}.toastui-editor-md-preview .toastui-editor-contents li{min-height:22px}.toastui-editor-pseudo-clipboard{position:fixed;opacity:0;width:0;height:0;left:-1000px;top:-1000px;z-index:-1}.noteContentViewer[data-v-1484624c]{position:fixed;background-color:#fff;padding:10px;border-radius:5px;max-height:300px;overflow-y:auto}.noteContentViewer[data-v-1484624c]::-webkit-scrollbar{width:7px;height:7px}.noteContentViewer[data-v-1484624c]::-webkit-scrollbar-thumb{border-radius:7px;background-color:rgba(0,0,0,.3);cursor:pointer}.noteContentViewer[data-v-1484624c]::-webkit-scrollbar-track{box-shadow:none;background:transparent;display:none}.navigatorBox[data-v-8a96ff3c]{position:absolute;height:220px;background-color:#fff;bottom:80px;right:70px;box-shadow:0 0 16px #989898;border-radius:4px;border:1px solid #eee;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.navigatorBox.isDark[data-v-8a96ff3c]{background-color:#262a2e}.navigatorBox .svgBox[data-v-8a96ff3c]{position:absolute;left:0;transform-origin:left top}.navigatorBox .windowBox[data-v-8a96ff3c]{position:absolute;border:2px solid #ee4545;transition:all .3s}.sidebarTriggerContainer[data-v-03ad7129]{position:fixed;right:-60px;margin-top:110px;transition:all .3s;top:50%;transform:translateY(-50%)}.sidebarTriggerContainer.isDark .trigger[data-v-03ad7129]{background-color:#262a2e}.sidebarTriggerContainer.isDark .trigger .triggerItem[data-v-03ad7129]{color:hsla(0,0%,100%,.6)}.sidebarTriggerContainer.isDark .trigger .triggerItem[data-v-03ad7129]:hover{background-color:hsla(0,0%,100%,.05)}.sidebarTriggerContainer.show[data-v-03ad7129]{right:0}.sidebarTriggerContainer.hasActive[data-v-03ad7129]{right:305px}.sidebarTriggerContainer .toggleShowBtn[data-v-03ad7129]{position:absolute;left:-6px;width:35px;height:60px;background:#409eff;top:50%;transform:translateY(-50%);cursor:pointer;transition:left .1s linear;z-index:0;border-top-left-radius:10px;border-bottom-left-radius:10px;display:flex;align-items:center;padding-left:4px}.sidebarTriggerContainer .toggleShowBtn.hide[data-v-03ad7129]{left:-8px}.sidebarTriggerContainer .toggleShowBtn.hide span[data-v-03ad7129]{transform:rotate(180deg)}.sidebarTriggerContainer .toggleShowBtn[data-v-03ad7129]:hover{left:-18px}.sidebarTriggerContainer .toggleShowBtn span[data-v-03ad7129]{color:#fff;transition:all .1s}.sidebarTriggerContainer .trigger[data-v-03ad7129]{position:relative;width:60px;border-color:#eee;background-color:#fff;box-shadow:0 2px 16px 0 rgba(0,0,0,.06);border-radius:6px;overflow:hidden}.sidebarTriggerContainer .trigger .triggerItem[data-v-03ad7129]{height:60px;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;color:#464646;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.sidebarTriggerContainer .trigger .triggerItem[data-v-03ad7129]:hover{background-color:#ededed}.sidebarTriggerContainer .trigger .triggerItem.active[data-v-03ad7129]{color:#409eff;font-weight:700}.sidebarTriggerContainer .trigger .triggerItem .triggerIcon[data-v-03ad7129]{font-size:18px;margin-bottom:5px}.sidebarTriggerContainer .trigger .triggerItem .triggerName[data-v-03ad7129]{font-size:13px}.customNodeContent[data-v-6ef61ceb]{padding:10px;cursor:pointer}.searchContainer[data-v-4c813624]{position:relative;background-color:#fff;padding:16px;width:296px;border-radius:12px;box-shadow:0 4px 16px 0 rgba(0,0,0,.1);position:fixed;top:110px;right:-296px;transition:all .3s}.searchContainer.isDark[data-v-4c813624]{background-color:#363b3f}.searchContainer.isDark .closeBtnBox[data-v-4c813624]{color:#fff;background-color:#363b3f}.searchContainer.show[data-v-4c813624]{right:20px}.searchContainer .btnList[data-v-4c813624]{display:flex;justify-content:flex-end}.searchContainer .closeBtnBox[data-v-4c813624]{position:absolute;right:-5px;top:-5px;width:20px;height:20px;background-color:#fff;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;box-shadow:0 4px 16px 0 rgba(0,0,0,.1)}.searchContainer .closeBtnBox .closeBtn[data-v-4c813624]{font-size:16px}.searchContainer .searchInputBox[data-v-4c813624]{position:relative}.searchContainer .searchInputBox .searchInfo[data-v-4c813624]{position:absolute;right:70px;top:50%;transform:translateY(-50%);color:#909090;font-size:14px}.box[data-v-9d4ebae2]{padding:0 20px}.box.isDark .title[data-v-9d4ebae2]{color:#fff}.box .title[data-v-9d4ebae2]{font-size:16px;font-weight:500;color:#333}.box .boxContent .iconBox .item[data-v-9d4ebae2]{margin-bottom:20px;font-weight:700}.box .boxContent .iconBox .item .title[data-v-9d4ebae2]{margin-bottom:10px}.box .boxContent .iconBox .item .list[data-v-9d4ebae2]{display:flex;flex-wrap:wrap}.box .boxContent .iconBox .item .list .icon[data-v-9d4ebae2]{width:24px;height:24px;margin-right:10px;margin-bottom:10px;cursor:pointer;position:relative}.box .boxContent .iconBox .item .list .icon[data-v-9d4ebae2] img,.box .boxContent .iconBox .item .list .icon[data-v-9d4ebae2] svg{width:100%;height:100%}.box .boxContent .iconBox .item .list .icon.selected[data-v-9d4ebae2]:after{content:"";position:absolute;left:-4px;top:-4px;width:28px;height:28px;border-radius:50%;border:2px solid #409eff}.box .boxContent .imageBox[data-v-9d4ebae2]{margin-bottom:20px;font-weight:700}.box .boxContent .imageBox .title[data-v-9d4ebae2]{margin-bottom:10px}.box .boxContent .imageBox .list[data-v-9d4ebae2]{display:flex;flex-wrap:wrap}.box .boxContent .imageBox .list .icon[data-v-9d4ebae2]{width:50px;height:50px;margin-right:10px;margin-bottom:10px;cursor:pointer;position:relative}.box .boxContent .imageBox .list .icon[data-v-9d4ebae2] img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.box .boxContent .imageBox .list .icon.selected[data-v-9d4ebae2]:after{content:"";position:absolute;left:-4px;top:-4px;width:54px;height:54px;border:2px solid #409eff}.nodeIconToolbar[data-v-1321abee]{position:fixed;z-index:2000;width:210px;max-height:170px;background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:8px;box-shadow:0 2px 16px 0 rgba(0,0,0,.06);display:flex;flex-direction:column;overflow:hidden}.nodeIconToolbar .iconListBox[data-v-1321abee]{width:100%;height:180px;overflow-y:auto;padding:10px}.nodeIconToolbar .iconListBox .icon[data-v-1321abee]{width:24px;height:24px;margin:5px;cursor:pointer;position:relative;float:left}.nodeIconToolbar .iconListBox .icon[data-v-1321abee] img,.nodeIconToolbar .iconListBox .icon[data-v-1321abee] svg{width:100%;height:100%}.nodeIconToolbar .iconListBox .icon.selected[data-v-1321abee]:after{content:"";position:absolute;left:-4px;top:-4px;width:28px;height:28px;border-radius:50%;border:2px solid #409eff}.nodeIconToolbar .btnBox[data-v-1321abee]{width:100%;height:30px;display:flex;justify-content:center;align-items:center;border-top:1px solid #eee;flex-shrink:0}.nodeIconToolbar .btnBox .btn[data-v-1321abee]{cursor:pointer;color:rgba(26,26,26,.8)}.outlineEditContainer[data-v-157fc5ba]{position:fixed;left:0;top:0;width:100%;height:100%;z-index:9999;background-color:#fff;overflow:hidden}.outlineEditContainer.isDark[data-v-157fc5ba]{background-color:#262a2e}.outlineEditContainer.isDark .closeBtn .icon[data-v-157fc5ba]{color:#fff}.outlineEditContainer .closeBtn[data-v-157fc5ba]{position:absolute;right:40px;top:20px;cursor:pointer}.outlineEditContainer .closeBtn .icon[data-v-157fc5ba]{font-size:28px}.outlineEditContainer .outlineEditBox[data-v-157fc5ba]{width:100%;height:100%;overflow-y:auto;padding:50px 0}.outlineEditContainer .outlineEditBox .outlineEdit[data-v-157fc5ba]{width:1000px;height:100%;height:-moz-max-content;height:max-content;margin:0 auto}.outlineEditContainer .outlineEditBox .outlineEdit[data-v-157fc5ba] .customNode .nodeEdit{max-width:800px}.customNode[data-v-157fc5ba]{width:100%;color:rgba(0,0,0,.85);font-weight:700}.customNode .nodeEdit[data-v-157fc5ba]{outline:none;white-space:normal;padding-right:20px}.outlineTree.isDark[data-v-157fc5ba]{background-color:#262a2e}.outlineTree.isDark .customNode[data-v-157fc5ba]{color:#fff}.outlineTree.isDark.el-tree--highlight-current[data-v-157fc5ba] .el-tree-node.is-current>.el-tree-node__content{background-color:hsla(0,0%,100%,.05)!important}.outlineTree.isDark .el-upload-list__item[data-v-157fc5ba]:hover,.outlineTree.isDark[data-v-157fc5ba] .el-tree-node__content:hover{background-color:hsla(0,0%,100%,.02)!important}.outlineTree.isDark[data-v-157fc5ba] .el-tree-node__content .el-tree-node__expand-icon{color:#fff}.outlineTree.isDark[data-v-157fc5ba] .el-tree-node__content .el-tree-node__expand-icon.is-leaf:after{background-color:#fff}.outlineTree[data-v-157fc5ba] .el-tree-node>.el-tree-node__children{overflow:inherit}.outlineTree[data-v-157fc5ba] .el-tree-node__content{height:auto;margin:5px 0}.outlineTree[data-v-157fc5ba] .el-tree-node__content .el-tree-node__expand-icon{color:#262a2e}.outlineTree[data-v-157fc5ba] .el-tree-node__content .el-tree-node__expand-icon.is-leaf{color:transparent;position:relative}.outlineTree[data-v-157fc5ba] .el-tree-node__content .el-tree-node__expand-icon.is-leaf:after{background-color:#262a2e;position:absolute;content:"";width:5px;height:5px;border-radius:50%;left:10px;top:50%;transform:translateY(-50%)}.scrollbarContainer.isDark .scrollbar[data-v-301c5ef9]{background-color:#363b3f}.scrollbarContainer.isDark .scrollbar .scrollbarInner[data-v-301c5ef9]{background-color:rgba(0,0,0,.3)}.scrollbarContainer .scrollbar[data-v-301c5ef9]{position:absolute;background-color:#f5f5f5;border-radius:10px;overflow:hidden}.scrollbarContainer .scrollbar.verticalScrollbar[data-v-301c5ef9]{width:10px;top:100px;bottom:100px;left:20px}.scrollbarContainer .scrollbar.verticalScrollbar .scrollbarInner[data-v-301c5ef9]{width:10px;left:0}.scrollbarContainer .scrollbar.horizontalScrollbar[data-v-301c5ef9]{height:10px;left:100px;right:100px;bottom:70px}.scrollbarContainer .scrollbar.horizontalScrollbar .scrollbarInner[data-v-301c5ef9]{height:10px;top:0}.scrollbarContainer .scrollbar .scrollbarInner[data-v-301c5ef9]{position:absolute;background-color:#ccc;border-radius:10px}@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_AMS-Regular.woff2) format("woff2"),url(../fonts/KaTeX_AMS-Regular.woff) format("woff"),url(../fonts/KaTeX_AMS-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(../fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(../fonts/KaTeX_Caligraphic-Bold.woff) format("woff"),url(../fonts/KaTeX_Caligraphic-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(../fonts/KaTeX_Caligraphic-Regular.woff) format("woff"),url(../fonts/KaTeX_Caligraphic-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(../fonts/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(../fonts/KaTeX_Fraktur-Bold.woff) format("woff"),url(../fonts/KaTeX_Fraktur-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(../fonts/KaTeX_Fraktur-Regular.woff) format("woff"),url(../fonts/KaTeX_Fraktur-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(../fonts/KaTeX_Main-Bold.woff2) format("woff2"),url(../fonts/KaTeX_Main-Bold.woff) format("woff"),url(../fonts/KaTeX_Main-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(../fonts/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(../fonts/KaTeX_Main-BoldItalic.woff) format("woff"),url(../fonts/KaTeX_Main-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(../fonts/KaTeX_Main-Italic.woff2) format("woff2"),url(../fonts/KaTeX_Main-Italic.woff) format("woff"),url(../fonts/KaTeX_Main-Italic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_Main-Regular.woff2) format("woff2"),url(../fonts/KaTeX_Main-Regular.woff) format("woff"),url(../fonts/KaTeX_Main-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(../fonts/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(../fonts/KaTeX_Math-BoldItalic.woff) format("woff"),url(../fonts/KaTeX_Math-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(../fonts/KaTeX_Math-Italic.woff2) format("woff2"),url(../fonts/KaTeX_Math-Italic.woff) format("woff"),url(../fonts/KaTeX_Math-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(../fonts/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(../fonts/KaTeX_SansSerif-Bold.woff) format("woff"),url(../fonts/KaTeX_SansSerif-Bold.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(../fonts/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(../fonts/KaTeX_SansSerif-Italic.woff) format("woff"),url(../fonts/KaTeX_SansSerif-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(../fonts/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(../fonts/KaTeX_SansSerif-Regular.woff) format("woff"),url(../fonts/KaTeX_SansSerif-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_Script-Regular.woff2) format("woff2"),url(../fonts/KaTeX_Script-Regular.woff) format("woff"),url(../fonts/KaTeX_Script-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_Size1-Regular.woff2) format("woff2"),url(../fonts/KaTeX_Size1-Regular.woff) format("woff"),url(../fonts/KaTeX_Size1-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_Size2-Regular.woff2) format("woff2"),url(../fonts/KaTeX_Size2-Regular.woff) format("woff"),url(../fonts/KaTeX_Size2-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(../fonts/KaTeX_Size3-Regular.woff) format("woff"),url(../fonts/KaTeX_Size3-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_Size4-Regular.woff2) format("woff2"),url(../fonts/KaTeX_Size4-Regular.woff) format("woff"),url(../fonts/KaTeX_Size4-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(../fonts/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(../fonts/KaTeX_Typewriter-Regular.woff) format("woff"),url(../fonts/KaTeX_Typewriter-Regular.ttf) format("truetype")}.katex{text-rendering:auto;font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.9"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.box[data-v-3171f35e]{padding:10px;width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.box.isDark .formulaList .formulaItem .overview[data-v-3171f35e],.box.isDark .formulaList .formulaItem .text[data-v-3171f35e],.box.isDark .title[data-v-3171f35e]{color:#fff}.box.isDark .formulaList .formulaItem .text[data-v-3171f35e]{background-color:#363b3f}.box.isDark[data-v-3171f35e] .el-textarea__inner{background-color:transparent;color:#fff}.box .title[data-v-3171f35e]{font-size:16px;font-weight:500;color:#333;margin:10px 0;flex-shrink:0}.box .formulaInputBox[data-v-3171f35e]{flex-shrink:0}.box .formulaList[data-v-3171f35e]{height:100%;overflow-y:auto}.box .formulaList .formulaItem[data-v-3171f35e]{position:relative;display:flex;overflow:hidden;align-items:center;border:1px solid #dcdfe6;border-bottom:none}.box .formulaList .formulaItem[data-v-3171f35e]:last-of-type{border-bottom:1px solid #dcdfe6}.box .formulaList .formulaItem .overview[data-v-3171f35e],.box .formulaList .formulaItem .text[data-v-3171f35e]{width:50%;overflow:hidden;display:flex;justify-content:center;align-items:center;flex-shrink:0}.box .formulaList .formulaItem .overview[data-v-3171f35e]{padding:10px 0;border-right:none}.box .formulaList .formulaItem .text[data-v-3171f35e]{cursor:pointer;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:100%;position:absolute;right:0;top:0;border-left:1px solid #dcdfe6;background-color:#fafafa}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative;z-index:0}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.sourceCodeEditContainer[data-v-261f5f85]{position:fixed;left:0;top:0;width:100%;height:100%;z-index:1999;background-color:#f5f5f5;overflow:hidden}.sourceCodeEditContainer.isDark[data-v-261f5f85]{background-color:#262a2e}.sourceCodeEditContainer.isDark .closeBtn .icon[data-v-261f5f85]{color:#fff}.sourceCodeEditContainer .closeBtn[data-v-261f5f85]{position:absolute;right:40px;top:20px;cursor:pointer;display:flex;align-items:center}.sourceCodeEditContainer .closeBtn .icon[data-v-261f5f85]{font-size:28px;margin-left:10px}.sourceCodeEditContainer .sourceCodeEditBox[data-v-261f5f85]{width:100%;height:100%;overflow:hidden;padding:50px 0}.sourceCodeEditContainer .sourceCodeEditBox .outlineEdit[data-v-261f5f85]{width:1000px;margin:0 auto;font-size:17px;background-color:#fff;padding:12px;border-radius:5px}.sourceCodeEditContainer .sourceCodeEditBox .outlineEdit[data-v-261f5f85],.sourceCodeEditContainer .sourceCodeEditBox .outlineEdit[data-v-261f5f85] .CodeMirror{height:100%;font-family:Menlo,Monaco,Consolas,Andale Mono,Ubuntu Mono,Courier New,monospace}.editContainer[data-v-84d17fb6]{position:fixed;left:0;right:0;top:0;bottom:0}.editContainer .mindMapContainer[data-v-84d17fb6]{position:absolute;left:0;top:0;width:100%;height:100%}body.isDark .el-button,body.isDark .el-input__inner{background-color:#363b3f;color:hsla(0,0%,100%,.9);border-color:hsla(0,0%,100%,.1)}body.isDark .el-input.is-disabled .el-input__inner{color:hsla(0,0%,100%,.3)}body.isDark .el-input-group__append,body.isDark .el-input-group__prepend,body.isDark .el-input.is-disabled .el-input__inner{background-color:#363b3f;border-color:hsla(0,0%,100%,.1)}body.isDark .el-input-group__append button.el-button{color:hsla(0,0%,100%,.9)}body.isDark .el-select-dropdown{background-color:#36393d;border-color:hsla(0,0%,100%,.1)}body.isDark .el-select-dropdown .el-select-dropdown__item{color:hsla(0,0%,100%,.6)}body.isDark .el-select-dropdown .el-select-dropdown__item.selected{color:#409eff}body.isDark .el-select-dropdown .el-select-dropdown__item.hover,body.isDark .el-select-dropdown .el-select-dropdown__item:hover{background-color:hsla(0,0%,100%,.05)}body.isDark .el-popper,body.isDark .el-select .el-input.is-disabled .el-input__inner:hover{border-color:hsla(0,0%,100%,.1)}body.isDark .el-popper,body.isDark .el-popper[x-placement^=bottom] .popper__arrow{background-color:#36393d}body.isDark .el-popper[x-placement^=bottom] .popper__arrow:after{border-bottom-color:#36393d}body.isDark .el-popper[x-placement^=top] .popper__arrow{background-color:#36393d}body.isDark .el-popper[x-placement^=top] .popper__arrow:after{border-top-color:#36393d}body.isDark .el-tabs__item{color:hsla(0,0%,100%,.6)}body.isDark .el-tabs__item.is-active,body.isDark .el-tabs__item:hover{color:#409eff}body.isDark .el-slider__runway,body.isDark .el-tabs__nav-wrap:after{background-color:hsla(0,0%,100%,.6)}body.isDark .el-radio-group .el-radio-button__inner{background-color:#36393d;color:hsla(0,0%,100%,.6)}body.isDark .el-radio-group .el-radio-button__orig-radio:checked+.el-radio-button__inner{color:#fff;background-color:#409eff}body.isDark .el-dialog{background-color:#262a2e}body.isDark .el-dialog .el-dialog__header{border-bottom:1px solid hsla(0,0%,100%,.1)}body.isDark .el-dialog .el-dialog__title{color:hsla(0,0%,100%,.9)}body.isDark .el-dialog .el-dialog__body{background-color:#262a2e}body.isDark .el-dialog .el-dialog__footer{border-top:1px solid hsla(0,0%,100%,.1)}body.isDark .el-upload__tip{color:#999}body.isDark .toastui-editor-main-container{background-color:#fff} \ No newline at end of file diff --git a/dist/js/app.js b/dist/js/app.js index 7b1be457..05f0ddc0 100644 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -1 +1 @@ -(function(e){function t(t){for(var i,o,l=t[0],c=t[1],d=t[2],s=0,u=[];s>>0,this.mti=1;this.mti>>30,this.mt[this.mti]=(1812433253*((4294901760&e)>>>16)<<16)+1812433253*(65535&e)+this.mti,this.mt[this.mti]>>>=0},a.prototype.genrand_int32=function(){var e,t=new Array(0,this.MATRIX_A);if(this.mti>=this.N){var n;for(this.mti==this.N+1&&this.init_genrand(5489),n=0;n>>1^t[1&e];for(;n>>1^t[1&e];e=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^e>>>1^t[1&e],this.mti=0}return e=this.mt[this.mti++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,e^=e>>>18,e>>>0};var r=n("8a19");const l=(e,t,n,i,o,a=0,r=0)=>{let c=!1;if(n&&(c=n(e,t,o,a,r)),!c&&e.children&&e.children.length>0){let t=a+1;e.children.forEach((o,a)=>{l(o,e,n,i,!1,t,a)})}i&&i(e,t,o,a,r)},c=(e,t)=>{let n=[e],i=!1;"stop"===t(e,null)&&(i=!0);while(n.length){if(i)break;let e=n.shift();e.children&&e.children.length&&e.children.forEach(o=>{i||(n.push(o),"stop"===t(o,e)&&(i=!0))})}},d=(e,t,n,i)=>{let o=[],a=e/t,r=n/i;return o=a>r?[a*i,i]:[n,n/a],o},s=(e,t,n,i)=>{let o=e/t,a=[];if(n&&i)if(e<=n&&t<=i)a=[e,t];else{let e=n/i;a=o>e?[o*i,i]:[n,n/o]}else n?a=e<=n?[e,t]:[n,n/o]:i&&(a=t<=i?[e,t]:[o*i,i]);return a},u=e=>{e=e.replace(/
/gim,"\n");let t=document.createElement("div");return t.innerHTML=e,e=t.textContent,e},h=e=>{try{return JSON.parse(JSON.stringify(e))}catch(t){return null}},p=(e,t,n=!1)=>(e.data=h(t.data),n&&(e.data.isActive=!1,e.data.generalization&&(e.data.generalization.isActive=!1)),e.children=[],t.children&&t.children.length>0&&t.children.forEach((t,i)=>{e.children[i]=p({},t,n)}),e),m=(e,t,n=!1,i=!0)=>(e.data=h(t.nodeData?t.nodeData.data:t.data),i?delete e.data.uid:e.data.uid||(e.data.uid=I()),n&&(e.data.isActive=!1),e.children=[],t.children&&t.children.length>0?t.children.forEach((t,o)=>{e.children[o]=m({},t,n,i)}):t.nodeData&&t.nodeData.children&&t.nodeData.children.length>0&&t.nodeData.children.forEach((t,o)=>{e.children[o]=m({},t,n,i)}),e),f=e=>new Promise((t,n)=>{const i=new Image;i.setAttribute("crossOrigin","anonymous"),i.onload=()=>{try{let e=document.createElement("canvas");e.width=i.width,e.height=i.height;let n=e.getContext("2d");n.drawImage(i,0,0,i.width,i.height),t(e.toDataURL())}catch(e){n(e)}},i.onerror=e=>{n(e)},i.src=e}),g=e=>{if(!/^data:/.test(e))return e;let[t,n]=e.split(","),i=/^data:[^/]+\/([^;]+);/.exec(t),o=i[1];return{type:o,base64:n}},v=(e,t)=>{let n=document.createElement("a");n.href=e,n.download=t,n.click()},T=(e,t=300,n)=>{let i=null;return(...o)=>{i||(i=setTimeout(()=>{e.call(n,...o),i=null},t))}},x=(e,t=(()=>{}))=>{let n=0,i=e.length;if(i<=0)return t();let o=()=>{n>=i?t():(e[n](),setTimeout(()=>{n++,o()},0))};o()},k=e=>e*(Math.PI/180),b=e=>e.replace(/([a-z])([A-Z])/g,(...e)=>e[1]+"-"+e[2].toLowerCase());let y=null;const w=(e,{italic:t,bold:n,fontSize:i,fontFamily:o})=>{const a=A({italic:t,bold:n,fontSize:i,fontFamily:o});if(!y){const e=document.createElement("canvas");y=e.getContext("2d")}y.save(),y.font=a;const{width:r,actualBoundingBoxAscent:l,actualBoundingBoxDescent:c}=y.measureText(e);y.restore();const d=l+c;return{width:r,height:d}},A=({italic:e,bold:t,fontSize:n,fontFamily:i})=>`${e?"italic ":""} ${t?"bold ":""} ${n}px ${i} `,C=function(e,t){let n=!1,i=null,o=()=>{n=!1,t?e.call(t):e()};if("undefined"!==typeof MutationObserver){let e=1,t=new MutationObserver(o),n=document.createTextNode(e);t.observe(n,{characterData:!0}),i=function(){e=(e+1)%2,n.data=e}}else i=setTimeout;return function(){n||(n=!0,i(o,0))}},E=(e,t)=>{let n=e.elRect,{scaleX:i,scaleY:o,translateX:a,translateY:r}=e.draw.transform(),{left:l,top:c,width:d,height:s}=t,u=(l+d)*i+a,h=(c+s)*o+r;l=l*i+a,c=c*o+r;let p=0,m=0;return l<0&&(p=-l),u>n.width&&(p=-(u-n.width)),c<0&&(m=-c),h>n.height&&(m=-(h-n.height)),{isOuter:0!==p||0!==m,offsetLeft:p,offsetTop:m}};let N=null;const O=e=>(N||(N=document.createElement("div")),N.innerHTML=e,N.textContent),L=e=>new Promise((t,n)=>{let i=new FileReader;i.onload=e=>{t(e.target.result)},i.onerror=e=>{n(e)},i.readAsDataURL(e)});const S=e=>new Promise(t=>{let n=new Image;n.src=e,n.onload=()=>{t({width:n.width,height:n.height})},n.onerror=()=>{t({width:0,height:0})}}),I=()=>Object(i["a"])(),R=e=>new Promise((t,n)=>{let i=new FileReader;i.readAsDataURL(e),i.onload=async e=>{let n=e.target.result,i=await S(n);t({url:n,size:i})},i.onerror=e=>{n(e)}}),M=e=>([[" "," "]].forEach(t=>{e=e.replaceAll(t[0],t[1])}),e),_=e=>Object.prototype.toString.call(e).slice(8,-1),z=e=>null===e||void 0===e||""===e,D=e=>e.replaceAll(/(<[^\s]+)\s+style=["'][^'"]+["']\s*(>)/g,"$1$2");let F=null;const P=(e,t,n)=>{F||(F=document.createElement("div")),F.innerHTML=e;let i=e=>{let o=e.childNodes;o.forEach(e=>{1===e.nodeType&&(e.tagName.toLowerCase()===t?e.style.cssText=n:i(e))})};return i(F),F.innerHTML};let B=null;const U=e=>{B||(B=document.createElement("div")),B.innerHTML=e;for(let t=B.childNodes,n=t.length;n--;)if(1==t[n].nodeType)return!0;return!1};let H=null;const j=(e,t,n)=>{H||(H=document.createElement("div")),H.innerHTML=e;let i=e=>{let o=e.childNodes;o.forEach(o=>{1===o.nodeType?i(o):3===o.nodeType&&e.replaceChild(document.createTextNode(o.nodeValue.replaceAll(t,n)),o)})};return i(H),H.innerHTML};let G=null;const Y=(e,t)=>{G||(G=document.createElement("div")),G.innerHTML=e;const n=G.querySelector(t);return n&&n.parentNode.removeChild(n),G.innerHTML},$=e=>(e=String(e).replaceAll(/\s+/g,""),["#fff","#ffffff","#FFF","#FFFFFF","rgb(255,255,255)"].includes(e)||/rgba\(255,255,255,[^)]+\)/.test(e)),W=e=>(e=String(e).replaceAll(/\s+/g,""),["","transparent"].includes(e)||/rgba\(\d+,\d+,\d+,0\)/.test(e)),Z=e=>{let{lineColor:t,root:n,second:i,node:o}=e,a=[t,n.fillColor,n.color,i.fillColor,i.color,o.fillColor,o.color,n.borderColor,i.borderColor,o.borderColor];for(let r=0;r{const t=e=>{const n=e.childNodes;n.forEach(e=>{1===e.nodeType&&(e.classList.contains("ql-formula")?e.parentNode.removeChild(e):t(e))})};t(e)};let Q=null;const J=e=>{Q||(Q=document.createElement("div")),Q.innerHTML=e;const t=Q.childNodes;let n="";for(let i=0;i{q||(q=document.createElement("div")),q.innerHTML=e;const t=q.childNodes;let n=[],i="";for(let o=0;o`

${ge(e)}

`).join("")};let X=null;const ee=e=>{X||(X=document.createElement("div")),X.innerHTML=e;const t=X.querySelectorAll(".ql-formula");Array.from(t).forEach(e=>{const t=document.createTextNode("$smmformula$");e.parentNode.replaceChild(t,e)});const n=X.childNodes;let i=[];for(let o=0;o`

${ge(e)}

`).join(""),t.length>0){e=e.replace(/\$smmformula\$/g,''),X.innerHTML=e;const n=X.querySelectorAll(".smmformula");Array.from(n).forEach((e,n)=>{e.parentNode.replaceChild(t[n],e)}),e=X.innerHTML}return e},te=()=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),ne=(e,t)=>{const n={};return Object.keys(t).forEach(i=>{const o=e[i],a=t[i];if(_(o)===_(a)){if("Object"===_(o)){if(JSON.stringify(o)!==JSON.stringify(a))return void(n[i]=a)}else if(o!==a)return void(n[i]=a)}else n[i]=a}),n},ie=e=>!/^_/.test(e)&&!o["h"].includes(e),oe=e=>e.reduce((e,t)=>{const n=e.find(e=>e.type===t.type);return n?t.list.forEach(e=>{const t=n.list.find(t=>t.name===e.name);t?t.icon=e.icon:n.list.push(e)}):e.push({...t}),e},[]),ae=e=>{let t=[];return e.forEach(n=>{e.find(e=>e.uid!==n.uid&&e.isAncestor(n))||t.push(n)}),t},re=e=>{const t={},n={};e.forEach(e=>{const i=e.parent;if(i){const o=i.uid;n[o]=i;const a=e.getIndexInBrothers(),r={node:e,index:a};t[o]?t[o].find(e=>e.index===r.index)||t[o].push(r):t[o]=[r]}});const i=[];return Object.keys(t).forEach(e=>{if(t[e].length>1){const o=t[e].map(e=>e.index).sort((e,t)=>e-t);i.push({node:n[e],range:[o[0],o[o.length-1]]})}else i.push({node:t[e][0].node})}),i},le=(e,t,n,i,o,a,r,l)=>t>o&&a>e&&i>r&&l>n,ce=e=>{let t=window.getSelection(),n=document.createRange();n.selectNodeContents(e),n.collapse(),t.removeAllRanges(),t.addRange(n)},de=e=>{let t=window.getSelection(),n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n)},se=(e,t={})=>{const n=e=>{e.forEach(e=>{e.data={...e.data,...t},e.children&&e.children.length>0&&n(e.children)})};return n(e),e},ue=(e,t=!1)=>{const n=e=>{e.forEach(e=>{e.data||(e.data={}),(t||z(e.data.uid))&&(e.data.uid=I()),e.children&&e.children.length>0&&n(e.children)})};return n(e),e},he=e=>e?Array.isArray(e)?e:[e]:[],pe=e=>e.parent?e.parent.nodeData.children.findIndex(t=>t.data.uid===e.uid):0,me=(e,t)=>t.findIndex(t=>t.uid===e.uid),fe=e=>{let t=0;for(let o=0;o([["&","&"],["<","<"],[">",">"]].forEach(t=>{e=e.replace(new RegExp(t[0],"g"),t[1])}),e),ve=(e,t)=>{const n=_(e);if(n!==_(t))return!1;if("Object"===n){const n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(let o=0;o{navigator.clipboard&&navigator.clipboard.writeText(JSON.stringify(e))},xe=async()=>{let e=null,t=null;if(navigator.clipboard){e=await navigator.clipboard.readText();const n=await navigator.clipboard.read();if(n&&n.length>0)for(const e of n)for(const n of e.types)if(/^image\//.test(n)){t=await e.getType(n);break}}return{text:e,img:t}},ke=e=>{if(!e||!e.parent)return;const t=pe(e);-1!==t&&e.parent.nodeData.children.splice(t,1)},be=e=>(o["i"].forEach(t=>{e=e.replaceAll(new RegExp(`<${t}([^>]*)>`,"g"),`<${t} $1 />`)}),e),ye=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;nt.uid===e[n].uid))return!1;return!0},we=()=>{const e=navigator.userAgent.match(/\s+Chrome\/(.*)\s+/);return e&&e[1]?Number.parseFloat(e[1]):""},Ae=e=>({simpleMindMap:!0,data:e}),Ce=e=>{let t=null;if("string"===typeof e)try{const n=JSON.parse(e);"object"===typeof n&&n.simpleMindMap&&(t=n.data)}catch(i){}else"object"===typeof e&&e.simpleMindMap&&(t=e.data);const n=!!t;return{isSmm:n,data:n?t:String(e)}},Ee=(e,t)=>{e.preventDefault();const n=window.getSelection();if(!n.rangeCount)return;n.deleteFromDocument(),t=t||e.clipboardData.getData("text"),t=O(t),t=t.replaceAll(/\n/g,"");const i=document.createTextNode(t);n.getRangeAt(0).insertNode(i),n.collapseToEnd()},Ne=e=>{const t={},n=(e,i)=>{const o=e.data.uid;i&&i.children.push(o),t[o]={isRoot:!i,data:{...e.data},children:[]},e.children&&e.children.length>0&&e.children.forEach(e=>{n(e,t[o])})};return n(e,null),t},Oe=(e,t)=>{const n=e.x+e.width/2,i=e.y+e.height/2,o=t.x+t.width/2,a=t.y+t.height/2;return no&&io&&i>a?"right-bottom":na?"left-bottom":no&&i===a?"right":n===o&&ia?"bottom":"overlap"},Le=({addContentToHeader:e,addContentToFooter:t})=>{const n=[];let i=null,o=0,a=null,l=0;const c=(e,t)=>{if("function"===typeof e){const i=e();if(!i)return;const{el:o,cssText:a,height:l}=i;if(o instanceof HTMLElement){o.setAttribute("xmlns","http://www.w3.org/1999/xhtml");const e=new r["c"];e.height(l),e.add(o),t(e,l)}a&&n.push(a)}};return c(e,(e,t)=>{i=e,o=t}),c(t,(e,t)=>{a=e,l=t}),{cssTextList:n,header:i,headerHeight:o,footer:a,footerHeight:l}}},"2f42":function(e,t,n){"use strict";n("37e6")},3650:function(e,t,n){"use strict";n("59d2")},"365c":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"b",(function(){return f})),n.d(t,"g",(function(){return g})),n.d(t,"c",(function(){return v}));var i=n("5848"),o=n("1e42"),a=n("2b0e");const r="SIMPLE_MIND_MAP_DATA",l="SIMPLE_MIND_MAP_LANG",c="SIMPLE_MIND_MAP_LOCAL_CONFIG";let d=null;const s=(e,t)=>t?(e.data=Object(o["jb"])(t.data),e.children=[],t.children&&t.children.length>0&&t.children.forEach((t,n)=>{e.children[n]=s({},t)}),e):null,u=()=>{if(window.takeOverApp)return d=window.takeOverAppMethods.getMindMapData(),d;let e=localStorage.getItem(r);if(null===e)return Object(o["jb"])(i["a"]);try{return JSON.parse(e)}catch(t){return Object(o["jb"])(i["a"])}},h=e=>{try{let t=null;if(t=window.takeOverApp?d:u(),t.root=s({},e),window.takeOverApp)return d=t,void window.takeOverAppMethods.saveMindMapData(t);a["default"].prototype.$bus.$emit("write_local_file",t);let n=JSON.stringify(t);localStorage.setItem(r,n)}catch(t){console.log(t)}},p=e=>{try{let t=null;if(t=window.takeOverApp?d:u(),t={...t,...e},window.takeOverApp)return d=t,void window.takeOverAppMethods.saveMindMapData(t);a["default"].prototype.$bus.$emit("write_local_file",t);let n=JSON.stringify(t);localStorage.setItem(r,n)}catch(t){console.log(t)}},m=e=>{window.takeOverApp?window.takeOverAppMethods.saveLanguage(e):localStorage.setItem(l,e)},f=()=>{if(window.takeOverApp)return window.takeOverAppMethods.getLanguage()||"zh";let e=localStorage.getItem(l);return e||(m("zh"),"zh")},g=e=>{if(window.takeOverApp)return window.takeOverAppMethods.saveLocalConfig(e);localStorage.setItem(c,JSON.stringify(e))},v=()=>{if(window.takeOverApp)return window.takeOverAppMethods.getLocalConfig();let e=localStorage.getItem(c);return e?JSON.parse(e):null}},"36f1":function(e,t,n){"use strict";n("d82e")},"37e6":function(e,t,n){},4013:function(e,t,n){"use strict";n.d(t,"j",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return r})),n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"i",(function(){return h}));const i=[{name:"默认",value:"default",dark:!1},{name:"暗色2",value:"dark2",dark:!0},{name:"天清绿",value:"skyGreen",dark:!1},{name:"脑图经典2",value:"classic2",dark:!1},{name:"脑图经典3",value:"classic3",dark:!1},{name:"经典绿",value:"classicGreen",dark:!1},{name:"经典蓝",value:"classicBlue",dark:!1},{name:"天空蓝",value:"blueSky",dark:!1},{name:"脑残粉",value:"brainImpairedPink",dark:!1},{name:"暗色",value:"dark",dark:!0},{name:"泥土黄",value:"earthYellow",dark:!1},{name:"清新绿",value:"freshGreen",dark:!1},{name:"清新红",value:"freshRed",dark:!1},{name:"浪漫紫",value:"romanticPurple",dark:!1},{name:"粉红葡萄",value:"pinkGrape",dark:!1},{name:"薄荷",value:"mint",dark:!1},{name:"金色vip",value:"gold",dark:!1},{name:"活力橙",value:"vitalityOrange",dark:!1},{name:"绿叶",value:"greenLeaf",dark:!1},{name:"脑图经典",value:"classic",dark:!0},{name:"脑图经典4",value:"classic4",dark:!1},{name:"小黄人",value:"minions",dark:!1},{name:"简约黑",value:"simpleBlack",dark:!1},{name:"课程绿",value:"courseGreen",dark:!1},{name:"咖啡",value:"coffee",dark:!1},{name:"红色精神",value:"redSpirit",dark:!1},{name:"黑色幽默",value:"blackHumour",dark:!0},{name:"深夜办公室",value:"lateNightOffice",dark:!0},{name:"黑金",value:"blackGold",dark:!0},{name:"牛油果",value:"avocado",dark:!1},{name:"秋天",value:"autumn",dark:!1},{name:"橙汁",value:"orangeJuice",dark:!0}],o={CHANGE_THEME:"changeTheme",CHANGE_LAYOUT:"changeLayout",SET_DATA:"setData",TRANSFORM_TO_NORMAL_NODE:"transformAllNodesToNormalNode",MODE:{READONLY:"readonly",EDIT:"edit"},LAYOUT:{LOGICAL_STRUCTURE:"logicalStructure",MIND_MAP:"mindMap",ORGANIZATION_STRUCTURE:"organizationStructure",CATALOG_ORGANIZATION:"catalogOrganization",TIMELINE:"timeline",TIMELINE2:"timeline2",FISHBONE:"fishbone",VERTICAL_TIMELINE:"verticalTimeline"},DIR:{UP:"up",LEFT:"left",DOWN:"down",RIGHT:"right"},KEY_DIR:{LEFT:"Left",UP:"Up",RIGHT:"Right",DOWN:"Down"},SHAPE:{RECTANGLE:"rectangle",DIAMOND:"diamond",PARALLELOGRAM:"parallelogram",ROUNDED_RECTANGLE:"roundedRectangle",OCTAGONAL_RECTANGLE:"octagonalRectangle",OUTER_TRIANGULAR_RECTANGLE:"outerTriangularRectangle",INNER_TRIANGULAR_RECTANGLE:"innerTriangularRectangle",ELLIPSE:"ellipse",CIRCLE:"circle"},MOUSE_WHEEL_ACTION:{ZOOM:"zoom",MOVE:"move"},INIT_ROOT_NODE_POSITION:{LEFT:"left",TOP:"top",RIGHT:"right",BOTTOM:"bottom",CENTER:"center"},LAYOUT_GROW_DIR:{LEFT:"left",TOP:"top",RIGHT:"right",BOTTOM:"bottom"},PASTE_TYPE:{CLIP_BOARD:"clipBoard",CANVAS:"canvas"},SCROLL_BAR_DIR:{VERTICAL:"vertical",HORIZONTAL:"horizontal"},CREATE_NEW_NODE_BEHAVIOR:{DEFAULT:"default",NOT_ACTIVE:"notActive",ACTIVE_ONLY:"activeOnly"}},a={[o.INIT_ROOT_NODE_POSITION.LEFT]:0,[o.INIT_ROOT_NODE_POSITION.TOP]:0,[o.INIT_ROOT_NODE_POSITION.RIGHT]:1,[o.INIT_ROOT_NODE_POSITION.BOTTOM]:1,[o.INIT_ROOT_NODE_POSITION.CENTER]:.5},r=[{name:"逻辑结构图",value:o.LAYOUT.LOGICAL_STRUCTURE},{name:"思维导图",value:o.LAYOUT.MIND_MAP},{name:"组织结构图",value:o.LAYOUT.ORGANIZATION_STRUCTURE},{name:"目录组织图",value:o.LAYOUT.CATALOG_ORGANIZATION},{name:"时间轴",value:o.LAYOUT.TIMELINE},{name:"时间轴2",value:o.LAYOUT.TIMELINE2},{name:"竖向时间轴",value:o.LAYOUT.VERTICAL_TIMELINE},{name:"鱼骨图",value:o.LAYOUT.FISHBONE}],l=[o.LAYOUT.LOGICAL_STRUCTURE,o.LAYOUT.MIND_MAP,o.LAYOUT.CATALOG_ORGANIZATION,o.LAYOUT.ORGANIZATION_STRUCTURE,o.LAYOUT.TIMELINE,o.LAYOUT.TIMELINE2,o.LAYOUT.VERTICAL_TIMELINE,o.LAYOUT.FISHBONE],c=["text","image","imageTitle","imageSize","icon","tag","hyperlink","hyperlinkTitle","note","expand","isActive","generalization","richText","resetRichText","uid","activeStyle","associativeLineTargets","associativeLineTargetControlOffsets","associativeLinePoint","associativeLineText"],d={measureCustomNodeContentSizeEl:null,measureRichtextNodeTextSizeEl:null},s={READ_CLIPBOARD_ERROR:"read_clipboard_error",PARSE_PASTE_DATA_ERROR:"parse_paste_data_error",CUSTOM_HANDLE_CLIPBOARD_TEXT_ERROR:"custom_handle_clipboard_text_error",LOAD_CLIPBOARD_IMAGE_ERROR:"load_clipboard_image_error",BEFORE_TEXT_EDIT_ERROR:"before_text_edit_error",EXPORT_ERROR:"export_error",EXPORT_LOAD_IMAGE_ERROR:"export_load_image_error",DATA_CHANGE_DETAIL_EVENT_ERROR:"data_change_detail_event_error"},u="\n /* 鼠标hover和激活时渲染的矩形 */\n .smm-hover-node{\n display: none;\n opacity: 0.6;\n stroke-width: 1;\n }\n\n .smm-node:not(.smm-node-dragging):hover .smm-hover-node{\n display: block;\n }\n\n .smm-node.active .smm-hover-node, .smm-node-highlight .smm-hover-node{\n display: block;\n opacity: 1;\n stroke-width: 2;\n }\n",h=["img","br","hr","input","link","meta","area"]},"41cb":function(e,t,n){"use strict";n("14d9");var i=n("2b0e"),o=n("8c4f"),a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"docContainer"},[t("Header"),t("div",{staticClass:"content"},[t("Sidebar"),t("div",{ref:"doc",staticClass:"doc",attrs:{id:"doc"},on:{scroll:e.onScroll}},[t("router-view")],1),t("CatalogBar",{attrs:{scrollTop:e.scrollTop},on:{scroll:e.doScroll}})],1)],1)},r=[],l=function(){var e=this,t=e._self._c;return t("div",{staticClass:"headerContainer"},[t("div",{staticClass:"left"},[t("div",{staticClass:"title",on:{click:e.toIndex}},[t("img",{attrs:{src:n("440d"),alt:""}}),e._v(" SimpleMindMap ")])]),t("div",{staticClass:"center"},[t("div",{staticClass:"btn",on:{click:e.toIndex}},[e._v(e._s(e.index))]),t("div",{staticClass:"btn",on:{click:e.toDemo}},[e._v(e._s(e.demoName))]),t("div",{staticClass:"btn",class:{active:"help"===e.docType},on:{click:e.toHelp}},[e._v(" "+e._s(e.helpDoc)+" ")]),t("div",{staticClass:"btn",class:{active:"doc"===e.docType},on:{click:e.toDev}},[e._v(" "+e._s(e.devDoc)+" ")]),"doc"===e.docType?t("el-dropdown",{attrs:{trigger:"click",placement:"bottom-start"},on:{command:e.handleCommand}},[t("span",{staticClass:"translateBtn"},[e._v(" "+e._s(e.currentLangName)),t("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.otherLangList,(function(n){return t("el-dropdown-item",{key:n.path,attrs:{command:n.path}},[e._v(e._s(n.name))])})),1)],1):e._e(),e._m(0)],1),t("div",{staticClass:"right"})])},c=[function(){var e=this,t=e._self._c;return t("a",{attrs:{href:"https://github.com/wanglin2/mind-map",target:"_blank"}},[t("span",{staticClass:"iconfont icongithub"})])}],d=[{lang:"zh",children:[{path:"associativeLine",title:"AssociativeLine 插件"},{path:"batchExecution",title:"BatchExecution实例"},{path:"changelog",title:"Changelog"},{path:"command",title:"Command实例"},{path:"constructor",title:"构造函数"},{path:"course1",title:"基本使用"},{path:"course2",title:"操作节点内容"},{path:"course3",title:"插入/删除节点、前进回退"},{path:"course4",title:"设置节点样式"},{path:"course5",title:"设置基础样式"},{path:"course6",title:"显示水印"},{path:"course7",title:"开启节点自由拖拽"},{path:"course8",title:"开启节点富文本编辑"},{path:"course9",title:"修改鼠标滚轮的行为"},{path:"course10",title:"主题"},{path:"course11",title:"结构"},{path:"course12",title:"如何渲染一个大纲"},{path:"course13",title:"快捷键"},{path:"course14",title:"如何渲染一个小地图"},{path:"course15",title:"如何渲染一个右键菜单"},{path:"course16",title:"如何渲染富文本的悬浮工具栏"},{path:"course17",title:"导入和导出"},{path:"course18",title:"如何持久化数据"},{path:"course19",title:"插入和扩展节点图标"},{path:"course20",title:"如何自定义节点内容"},{path:"course21",title:"如何复制、剪切、粘贴"},{path:"course22",title:"如何实现搜索、替换"},{path:"course23",title:"如何渲染滚动条"},{path:"course24",title:"如何开发一个插件"},{path:"course25",title:"关于概要"},{path:"course26",title:"如何实现AI生成节点内容"},{path:"doExport",title:"Export 插件"},{path:"drag",title:"Drag插件"},{path:"introduction",title:"简介"},{path:"keyCommand",title:"KeyCommand实例"},{path:"keyboardNavigation",title:"KeyboardNavigation插件"},{path:"markdown",title:"Markdown解析"},{path:"miniMap",title:"MiniMap插件"},{path:"node",title:"Node实例"},{path:"render",title:"Render实例"},{path:"textEdit",title:"TextEdit实例"},{path:"richText",title:"RichText插件"},{path:"select",title:"Select 插件 "},{path:"start",title:"开始"},{path:"translate",title:"贡献"},{path:"utils",title:"内置工具方法"},{path:"view",title:"View实例"},{path:"watermark",title:"Watermark插件"},{path:"xmind",title:"XMind解析"},{path:"deploy",title:"部署"},{path:"client",title:"客户端"},{path:"touchEvent",title:"TouchEvent插件"},{path:"nodeImgAdjust",title:"NodeImgAdjust插件"},{path:"search",title:"Search插件"},{path:"painter",title:"Painter插件"},{path:"painter",title:"Painter插件"},{path:"scrollbar",title:"Scrollbar插件"},{path:"formula",title:"Formula插件"},{path:"cooperate",title:"Cooperate插件"},{path:"rainbowLines",title:"RainbowLines插件"},{path:"handDrawnLikeStyle",title:"HandDrawnLikeStyle收费插件"},{path:"help1",title:"概要/关联线"},{path:"help2",title:"客户端"},{path:"help3",title:"打开预览在线文件"},{path:"help4",title:"复制粘贴"},{path:"help5",title:"导出"}]},{lang:"en",children:[{path:"associativeLine",title:"AssociativeLine plugin"},{path:"batchExecution",title:"batchExecution instance"},{path:"changelog",title:"Changelog"},{path:"command",title:"command instance"},{path:"constructor",title:"Constructor"},{path:"doExport",title:"Export plugin"},{path:"drag",title:"Drag plugin"},{path:"introduction",title:"Introduction"},{path:"keyCommand",title:"KeyCommand instance"},{path:"keyboardNavigation",title:"KeyboardNavigation plugin"},{path:"markdown",title:"Markdown parse"},{path:"miniMap",title:"MiniMap plugin"},{path:"node",title:"Node instance"},{path:"render",title:"Render instance"},{path:"textEdit",title:"TextEdit instance"},{path:"richText",title:"RichText plugin"},{path:"select",title:"Select plugin"},{path:"start",title:"Start"},{path:"translate",title:"Contribute"},{path:"utils",title:"Utility Methods"},{path:"view",title:"View instance"},{path:"watermark",title:"Watermark plugin"},{path:"xmind",title:"XMind parse"},{path:"deploy",title:"Deploy"},{path:"touchEvent",title:"TouchEvent plugin"},{path:"nodeImgAdjust",title:"NodeImgAdjust plugin"},{path:"search",title:"Search plugin"},{path:"painter",title:"Painter plugin"},{path:"scrollbar",title:"Scrollbar plugin"},{path:"formula",title:"Formula plugin"},{path:"cooperate",title:"Cooperate plugin"},{path:"rainbowLines",title:"RainbowLines plugin"},{path:"handDrawnLikeStyle",title:"HandDrawnLikeStyle chargeable plugin"},{path:"client",title:"Client"}]}];let s=[{name:"中文",path:"zh"},{name:"English",path:"en"}],u=["introduction","start","deploy","client","translate","changelog"],h=new Array(26).fill(0).map((e,t)=>"course"+(t+1)),p=["constructor","node","render","textEdit","view","keyCommand","command","batchExecution","richText","select","drag","keyboardNavigation","doExport","miniMap","watermark","associativeLine","touchEvent","nodeImgAdjust","search","painter","scrollbar","formula","cooperate","rainbowLines","handDrawnLikeStyle","xmind","markdown","utils"],m=new Array(5).fill(0).map((e,t)=>"help"+(t+1));const f=(e,t)=>{let n=d.find(t=>t.lang===e),i=n.children;return t.filter(e=>i.find(t=>t.path===e)).map(e=>({path:e,name:i.find(t=>t.path===e).title}))};var g={zh:[{groupName:"开始",type:"doc",list:f("zh",u)},{groupName:"教程",type:"doc",list:f("zh",h)},{groupName:"API",type:"doc",list:f("zh",p)},{groupName:"使用帮助",type:"help",list:f("zh",m)}],en:[{groupName:"Start",type:"doc",list:f("en",u)},{groupName:"Course",type:"doc",list:f("zh",h)},{groupName:"API",type:"doc",list:f("en",p)}]};const v={pageCatalog:{zh:"本页目录",en:"Page catalog"},demo:{zh:"在线示例",en:"Online Demo"},help:{zh:"帮助文档",en:"Help doc"},dev:{zh:"开发文档",en:"Dev doc"},index:{zh:"首页",en:"Home"}},T=(e,t)=>v[e]?v[e][t]||v[e].zh:"";var x=T,k={data(){return{docType:"",lang:"",currentLangName:"",otherLangList:[]}},computed:{demoName(){return x("demo",this.lang)},helpDoc(){return x("help",this.lang)},devDoc(){return x("dev",this.lang)},index(){return x("index",this.lang)}},watch:{$route(){this.init()}},created(){this.init()},methods:{init(){let e=/^\/([^\/]+)\//.exec(this.$route.path);e&&e[1]&&(this.docType=e[1]);let t=/^\/doc\/([^\/]+)\//.exec(this.$route.path);if(t&&t[1]){this.lang=t[1];let e=s.find(e=>e.path===this.lang);this.currentLangName=e.name,this.otherLangList=s.filter(e=>e.path!==this.lang)}},toIndex(){this.$router.push("/index")},toDemo(){this.$router.push("/")},handleCommand(e){let t=this.$route.path.replace(/^\/doc\/([^\/]+)\//,(...t)=>`/doc/${e}/`);this.$router.push(t)},toHelp(){this.lang="zh",this.$router.replace("/help/zh/")},toDev(){this.$router.replace("/doc/zh/")}}},b=k,y=(n("eca6"),n("2877")),w=Object(y["a"])(b,l,c,!1,null,"1c36e28e",null),A=w.exports,C=function(){var e=this,t=e._self._c;return t("div",{staticClass:"sideBarContainer"},[t("div",{staticClass:"catalogGroupList"},e._l(e.groupList,(function(n,i){return t("div",{key:i,staticClass:"catalogGroup"},[t("div",{staticClass:"catalogGroupName"},[e._v(e._s(n.groupName))]),t("div",{staticClass:"catalogList"},e._l(n.list,(function(n){return t("div",{key:i+n.path,staticClass:"catalogItem",class:{active:n.path===e.currentPath},on:{click:function(t){return e.jump(n)}}},[e._v(" "+e._s(n.name)+" ")])})),0)])})),0)])},E=[],N={data(){return{groupList:[],lang:"",currentPath:"",type:""}},created(){this.initCatalog()},watch:{$route(){this.initCatalog()}},methods:{jump(e){e.path!==this.currentPath&&this.$router.push(`/${this.type}/${this.lang}/${e.path}`)},initCatalog(){let e=/^\/(doc|help)\/([^\/]+)\//.exec(this.$route.path);e&&e[2]&&(this.type=e[1],this.lang=e[2],this.groupList=g[this.lang].filter(e=>e.type===this.type));let t=/^\/(doc|help)\/[^\/]+\/([^\/]+)(\/|$)/.exec(this.$route.path);t&&t[2]&&(this.currentPath=t[2])}}},O=N,L=(n("2f42"),Object(y["a"])(O,C,E,!1,null,"73f8f4b5",null)),S=L.exports,I=function(){var e=this,t=e._self._c;return t("div",{staticClass:"catalogBarContainer"},[t("div",{staticClass:"catalogBarTitle"},[e._v(e._s(e.pageCatalogTitle))]),t("div",{staticClass:"catalogList"},[e._l(e.list,(function(n,i){return t("div",{key:n.title+i,staticClass:"catalogItem",class:{active:n.title===e.activeCatalog},on:{click:function(t){return e.scrollTo(n,i)}}},[e._v(" "+e._s(n.title)+" ")])})),-1!==e.activeCatalogIndex?t("div",{staticClass:"activeBar",style:{top:4+28*e.activeCatalogIndex+"px"}}):e._e()],2)])},R=[],M={props:{scrollTop:{type:Number}},data(){return{lang:"",list:[],activeCatalog:"",activeCatalogIndex:-1,appointCatalog:!0}},computed:{pageCatalogTitle(){return x("pageCatalog",this.lang)}},watch:{$route(e,t){this.initLang(),this.initCatalogList(e.path,t.path)},scrollTop(){this.onScroll()},lang(e,t){t&&this.initCatalogList()}},mounted(){this.initLang(),this.initCatalogList(),this.scrollToCatalog()},methods:{initLang(){let e=/^\/(doc|help)\/([^\/]+)\//.exec(this.$route.path);e&&e[2]&&(this.lang=e[2])},initCatalogList(e,t){let n=/^\/(doc|help)\/[^\/]+\/([^\/]+)/.exec(e),i=/^\/(doc|help)\/[^\/]+\/([^\/]+)/.exec(t);if(!e&&!t||n[2]!==i[2]){this.$emit("scroll",0),this.resetActive();let e=document.getElementById("doc"),t=document.querySelectorAll("#doc h2");this.list=Array.from(t).map(t=>({title:t.textContent,top:t.offsetTop-e.offsetTop}))}},scrollToCatalog(){let e=/^\/(doc|help)\/[^\/]+\/[^\/]+\/([^\/]+)($|\/)/.exec(this.$route.path);if(e&&e[2]){let t=decodeURIComponent(e[2]),n=this.list.find(e=>e.title===t),i=this.list.findIndex(e=>e.title===t);n&&(this.activeCatalog=n.title,this.activeCatalogIndex=i,this.$emit("scroll",n.top))}},scrollTo(e,t){this.appointCatalog=!0,this.routeToNewCatalog(e.title),this.$nextTick(()=>{this.activeCatalog=e.title,this.activeCatalogIndex=t,this.scrollToCatalog()})},routeToNewCatalog(e){let t=this.$route.path,n="";n=e?/^\/(doc|help)\/[^\/]+\/[^\/]+($|\/)$/.test(t)?t.replace(/^(\/(doc|help)\/[^\/]+\/[^\/]+)($|\/)$/,"$1/"+encodeURIComponent(e)):t.replace(/^(\/(doc|help)\/[^\/]+\/[^\/]+\/)([^\/]+)($|\/)/,(...t)=>t[1]+encodeURIComponent(e)):t.replace(/^(\/(doc|help)\/[^\/]+\/[^\/]+)($|\/|.*)$/,"$1"),t!==n&&this.$router.push(n)},onScroll(){if(this.appointCatalog)return void(this.appointCatalog=!1);let e=!1;for(let t=0;t=n.top&&(!i||this.scrollTop{try{this.$refs.doc.scrollTop=e}catch(t){console.log(t)}})},onScroll(){this.scrollTop=this.$refs.doc.scrollTop}}}),P=F,B=(n("3650"),Object(y["a"])(P,a,r,!1,null,null,null)),U=B.exports;const H=()=>{let e=d[0].children;for(let t=1;t{n.find(t=>t.path===e.path)||n.push({...e,lang:"zh"})})}};H();const j=(e,t)=>[...d.map(n=>({path:`/${e}/${n.lang}/`,redirect:`/${e}/${n.lang}/${t}/`})),...d.map(t=>({path:`/${e}/${t.lang}/`,component:U,children:t.children.map(e=>({path:e.path+"/:h?",component:()=>n("b834")(`./${e.lang||t.lang}/${e.path}/index.vue`)}))}))];i["default"].use(o["a"]);const G=[{path:"/index",name:"Index",component:()=>n.e("chunk-66b27c16").then(n.bind(null,"9684"))},{path:"/",name:"Edit",component:()=>n.e("chunk-cae1ba8a").then(n.bind(null,"5fca"))},...j("doc","introduction"),...j("help","help1")],Y=new o["a"]({routes:G});t["a"]=Y},"440d":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABhVJREFUeF7tW2uME1UU/s4suwjyMBpw1e0UAkYCiWIkasJLScwaoySIrtiZRQJ0CiIRDfEVEuGHkUg0ogHZWdiV3c6ugUA0avCBkaiQSCAmGl8RIp1FBDWCBMGw3TmmsNNOZ2e6nWm3LbT917n33HvOd87cc+537xDK/Edlbj8qAFQi4BJBYHw0OuI8nZsHwnQwpgMcdFH9MBifsmDsr7li6IeHH5z/RyYTL4lXIKCp9QS8CmCSN3/RMRDW6aHw625yJQ+AqKkfAaj3Znh6bwLejUnKHKcxShoAsb1pNQR6sY/iRMcZ/JOjQQbfCKIb7G0EY25MWrKz7/NcoB1A2WDn5lvZML4CMDQ1Db0PZlWXlQ8yTR3oVGeTgWcATLX0O2XE4zOPPvb4t1bZko0AUVMbAbSZymYKYzcwAh3q58S4KzkGY1FMVlpKGoBgW/NYFngSCE8BmJVUloVpurx4r5egEzuapoHpy9QY/IouR54tWQBETW0FsMDJyDjxqGOhyF9eAKjd1jKqpjueTIMM3tklReaWHACBt5vGUTXtBjDGzcAqotpfQ+ETXgAItjddxwIds8js0CXloZICYGxH87U9zMf7M8xtFc9iMXwvuQYQvRQLhVeVFACi1vw1wLenGWLwGhaEagK/YHl/f9PlSF1/QFnbRU3lNGNZkGLy4o6SASCoqSsZWGdViJnru+TIJxdL33/3A3STpT1R5q4g5oOxxsjvTmBcjChjBkDb0sYl7OFBZ+472vD0uZIAYEzrhlqjptpmBE3RpfBBU8HeEjhRCeb8M+LxW+w1QGLQotUBde2b7hUEYVfKMlZ1KRKxW+paDXqBxOA1emNktZNI0QAQo03Pgehli1LzdUlpd1KybuvGm6l60HprUZOd/fwzg57skpSP3foXDYCgpnYyMM9UTBB6xh55dOkRN0Xrtr02pOr8iDkQeCIzT2DCNY4eZT7BhO9g8KHBGLbrkCyfzgRW0QCwl6m6pBRFl6JMmvBIBQDbRqUSAaX2CgQ6t0yhnp5FLGBCdituei+B6UcwH7BvP81eoqYeAHBb7//TuqSMzDRPQRfBvORe0xqHHHyxyjv7j8Xg3bqk3OOaAQqZBoNRdSETtvjxursMN+hSZLvZHoyqc5iQoqeY1+py5Hkn+bw4w0shFNSaNzJ4aT4BYEJLV0hZZAn/QwDGmf8JkGOSotnnLEopbE9P4EGTdHnhD14AEaMtE0Hx700ZJuzpCil3J/47ePQXo1q482jD4r+tcxRtM5Sv/Gzbiu4FYy0JWMWMO6yGuno/uukRIuGdZF/mwmyHBwgA5wBinCKC7tTIzKNBVJt6TZxp7UyR2csOeyNECgqAh/eqYJRYqQKQD1IUQP+cYIEB+A/AWZdAuDrteR5occqGExwgABLb051Ox1xkYGqsUdnXJwXaFsH8HIxkwQnaAehvn+7kPTsdbabB3vSY4OpSp7yEfedOdtf/uWzZmf7ToP+jsYQOWXGC9kIoIehhrUp2tbI3fQuhJh2ggCXFLdDlyNasCyEfh6NZc4IDUQoTsxSTI0k6OtCuziYByfQEYL0uKStKohROKBHQmjUCh/x4vq8MbdelcIP1+ZjW1quMmu6TqWf0hS6FZ7rNVxROUIyq94NoPsAP+wOCtjNxogTe6OhZTf0GwOTetjO6pAzPNE9iOyx0D2/0ckVmsDFsR4UT7Md7FU7QX3jnLpWveiNXTSoRkCuCfuVFTY0CkJK7PYOvdzvwTPQpKCfo1ygvcmKHuhyMN1LFEB5wu/xUlDToxRg/fYNtzbO4ij+z1AKrdSm8xj5WwTlBP8b4kRnX9tbo7qqqtCsv5t0Ac7yicIJ+jPErE9DUNwl4Ik2+l4MsGifo1xi/cqKmngKQfihy4YoMXUnAytQaUSBO0K8hfuX6nBG4DHTZXpJK2HvhQiNoNxiD3YAsGCfo15O5yo3asGHYkJHV60BY4jRWPjjBkr0oaTW4rn3zeIF4MpOxnEAzUmtAGVyVtQJRtpelTRDK/rr8hcWxnD+YMCOhrD+ZsZXE5fnRlAlCWX82l2uNkUm+aIzQQBrlZewKAF7Quhz7/g9P4cNulJCaPwAAAABJRU5ErkJggg=="},5439:function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);var i=n("2b0e"),o=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},a=[],r={name:"App",components:{}},l=r,c=(n("36f1"),n("2877")),d=Object(c["a"])(l,o,a,!1,null,null,null),s=d.exports,u=n("41cb"),h=n("c0d6"),p=n("5c96"),m=n.n(p),f=(n("0fae"),n("9c65"),n("0808"),n("c71c")),g=n("9225"),v=n("365c");i["default"].config.productionTip=!1;const T=new i["default"];i["default"].prototype.$bus=T,i["default"].use(m.a),i["default"].use(f["a"]);const x=()=>{g["a"].locale=Object(v["b"])(),new i["default"]({render:e=>e(s),router:u["a"],store:h["a"],i18n:g["a"]}).$mount("#app")};window.takeOverApp?(window.initApp=x,window.$bus=T):x()},5848:function(e,t,n){"use strict";const i=()=>({image:"/enJFNMHnedQTYTESGfDkctCp2.jpeg",imageTitle:"图片名称",imageSize:{width:1e3,height:563},icon:["priority_1"],tag:["标签1","标签2"],hyperlink:"http://lxqnsys.com/",hyperlinkTitle:"理想青年实验室",note:"理想青年实验室\n一个有意思的角落"}),o=(i(),i(),{root:{data:{text:"根节点"},children:[{data:{text:"二级节点",generalization:{text:"概要"}},children:[{data:{text:"分支主题"},children:[]},{data:{text:"分支主题"},children:[]}]}]}});t["a"]={...o,theme:{template:"classic4",config:{}},layout:"logicalStructure",config:{}}},"59d2":function(e,t,n){},"716d":function(e,t,n){},9225:function(e,t,n){"use strict";var i=n("2b0e"),o=n("a925"),a={baseStyle:{title:"BaseStyle",background:"Background",color:"Color",image:"Image",imageRepeat:"Image repeat",imagePosition:"Image position",imageSize:"Image size",line:"Line",width:"Width",style:"Style",lineRadius:"Radius",lineOfOutline:"Line of outline",showArrow:"Is show arrow",nodePadding:"Node padding",nodeMargin:"Node margin",horizontal:"Horizontal",vertical:"Vertical",maximumWidth:"Max width",maximumHeight:"Max height",icon:"Icon",size:"Size",level2Node:"Level2 node",belowLevel2Node:"Below level2 node",nodeBorderType:"Node border style",nodeUseLineStyle:"Use only has bottom border style",otherConfig:"Other config",enableFreeDrag:"Enable node free drag",watermark:"Watermark",showWatermark:"Is show watermark",onlyExport:"Only export",watermarkDefaultText:"Watermark text",watermarkText:"Watermark text",watermarkTextColor:"Text color",watermarkLineSpacing:"Line spacing",watermarkTextSpacing:"Text spacing",watermarkAngle:"Angle",watermarkTextOpacity:"Text opacity",watermarkTextFontSize:"Font size",isEnableNodeRichText:"Enable node rich text editing",mousewheelAction:"Mouse wheel behavior",zoomView:"Zoom view",moveViewUpDown:"Move view up and down",associativeLine:"Associative line",associativeLineWidth:"Width",associativeLineColor:"Color",associativeLineActiveWidth:"Active width",associativeLineActiveColor:"Active color",mousewheelZoomActionReverse:"Mouse Wheel Zoom",mousewheelZoomActionReverse1:"Zoom out forward and zoom in back",mousewheelZoomActionReverse2:"Zoom in forward and zoom out back",createNewNodeBehavior:"Behavior of creating new node",default:"Active new node and editing",notActive:"Not active new node",activeOnly:"Only active new node but not editing",rootStyle:"Root Node",associativeLineText:"Associative line text",fontFamily:"Font family",fontSize:"Font size",isShowScrollbar:"Is show scrollbar",isUseHandDrawnLikeStyle:"Is use hand drawn like style",rootLineStartPos:"Root line start pos",center:"Center",right:"Right",rainbowLines:"Rainbow lines",notUseRainbowLines:"Not use rainbow lines"},color:{moreColor:"More color"},contextmenu:{insertSiblingNode:"Insert sibling node",insertChildNode:"Insert child node",insertParentNode:"Insert parent node",insertSummary:"Insert summary",moveUpNode:"Move up node",moveDownNode:"Move down node",deleteNode:"Delete node",deleteCurrentNode:"Only del cur node",copyNode:"Copy node",cutNode:"Cut node",pasteNode:"Paste node",backCenter:"Back root node",expandAll:"Expand all",unExpandAll:"Un expand all",expandTo:"Expand to",arrangeLayout:"Arrange layout",level1:"Level1",level2:"Level2",level3:"Level3",level4:"Level4",level5:"Level5",level6:"Level6",zenMode:"Zen mode",fitCanvas:"Fit canvas",removeImage:"Remove image",removeHyperlink:"Remove hyperlink",removeNote:"Remove note",removeCustomStyles:"Remove custom styles",removeAllNodeCustomStyles:"Remove all node custom styles"},count:{words:"Words",nodes:"Nodes"},dialog:{cancel:"Cancel",confirm:"Confirm"},export:{title:"Export",filename:"Filename",include:"Is include config like theme and structure",dedicatedFile:"Dedicated file",jsonFile:"json file",imageFile:"Image file",svgFile:"svg file",pdfFile:"pdf file",markdownFile:"markdown file",tips:"tips: .smm and .json file can be import",isTransparent:"Background is transparent",pngTips:"tips: Exporting pictures in rich text mode is time-consuming. It is recommended to export to svg format",svgTips:"tips: Exporting pictures in rich text mode is time-consuming",transformingDomToImages:"Converting nodes: ",notifyTitle:"Info",notifyMessage:"If the download is not triggered, check whether it is blocked by the browser",paddingX:"Padding x",paddingY:"Padding y",useMultiPageExport:"Export multi page",defaultFileName:"Mind map",addFooterTextPlaceholder:"For example: From simple-mind-map",addFooterText:"Add text at the footer"},fullscreen:{fullscreenShow:"Full screen show",fullscreenEdit:"Full screen edit"},import:{title:"Import",selectFile:"Select file",supportFile:"Support .smm、.json、.xmind、.xlsx、.md file",enableFileTip:"Please select .smm、.json、.xmind、.xlsx、.md file",maxFileNum:"At most one file can be selected",notSelectTip:"Please select the file to import",fileContentError:"The file content is incorrect",importSuccess:"Import success",fileParsingFailed:"File parsing failed"},navigatorToolbar:{openMiniMap:"Open mini map",closeMiniMap:"Close mini map",readonly:"Change to eadonly",edit:"Change to edit",backToRoot:"Back to root node",changeSourceCodeEdit:"Switch to source code editing mode"},nodeHyperlink:{title:"Link",link:"Href",name:"Name"},nodeIcon:{title:"Icon"},nodeImage:{title:"Image",imgTitle:"Title"},nodeNote:{title:"Note"},nodeTag:{title:"Tag",addTip:"Press Enter to add"},outline:{title:"Outline",nodeDefaultText:"Branch node"},scale:{zoomIn:"Zoom in",zoomOut:"Zoom out"},shortcutKey:{title:"Shortcut key"},strusture:{title:"Strusture"},style:{title:"Node style",normal:"Normal",active:"Active",text:"Text",fontFamily:"Font family",fontSize:"Font size",lineHeight:"Line height",color:"color",addFontWeight:"add font weight",italic:"Italic",textDecoration:"Text decoration",underline:"Underline",none:"None",lineThrough:"Line through",overline:"Overline",border:"Border",style:"Style",width:"Width",borderRadius:"Border radius",background:"Background",shape:"Shape",line:"Line",nodePadding:"Node padding",horizontal:"Horizontal",vertical:"Vertical",gradientStyle:"Gradient",startColor:"Start",endColor:"End",arrowDir:"Arrow dir",arrowDirStart:"Start",arrowDirEnd:"End"},theme:{title:"Theme",classics:"Classics",dark:"Darkness",simple:"Simple",coverTip:"You have currently customized the basic style, do you want to overwrite it?",tip:"Tip",cover:"Cover",reserve:"Reserve"},toolbar:{undo:"Undo",redo:"Redo",insertSiblingNode:"Sibling node",insertChildNode:"Child node",deleteNode:"Delete node",image:"Image",icon:"Icon",link:"Link",note:"Note",tag:"Tag",summary:"Summary",displayOutline:"Display outline",baseStyle:"Base style",theme:"Theme",strusture:"Strusture",newFile:"New file",openFile:"Open file",saveAs:"Save as",import:"Import",export:"Export",shortcutKey:"Shortcut key",associativeLine:"Associative line",painter:"Painter",formula:"Formula",more:"More",selectFileTip:"Please select a file",notSupportTip:"Your browser does not support this feature, or the current page is not using the HTTPS protocol",tip:"Tip",editingLocalFileTipFront:"Currently editing your local【",editingLocalFileTipEnd:"】file",fileContentError:"File content error",fileOpenFailed:"File open failed",defaultFileName:"Mind map",creatingTip:"Creating file",directory:"Directory"},edit:{newFeatureNoticeTitle:"New feature reminder",newFeatureNoticeMessage:"This update supports node rich text editing, But there are some defects, The most important impact is that the time to export the image is proportional to the number of nodes, Therefore, if you are more dependent on export requirements, you can use【Base style】-【Other config】-【Enable node rich text editing】Set to turn off rich text editing mode.",root:"Root node",splitByWrap:"Is automatically split nodes based on line breaks?",tip:"Tip",yes:"Yes",no:"No",exportError:"Export failed"},mouseAction:{tip1:"Current: Left click to drag the canvas, right click to box select nodes",tip2:"Current: Left click to box select nodes, right click to drag the canvas"},search:{searchPlaceholder:"Please enter the search content",replacePlaceholder:"Please enter replacement content",replace:"Replace",replaceAll:"Replace all",cancel:"Cancel"},nodeIconSidebar:{title:"Icon/Sticker",icon:"Icon",sticker:"Sticker"},formulaSidebar:{title:"Formula",placeholder:"Please enter LaTeX syntax",confirm:"Confirm",common:"Common formulas",tip:"Inserting formulas is not supported in non rich text mode"},richTextToolbar:{bold:"Bold",italic:"Italic",underline:"Underline",strike:"Strike",fontFamily:"Font family",fontSize:"Font size",color:"Color",backgroundColor:"Background color",removeFormat:"Clear Style"},other:{loading:"Loading, please wait..."},sourceCodeEdit:{sourceCodeTip:"It is not recommended to modify the style in rich text mode because it requires synchronous modification of data and HTML structure.",format:"Format",copy:"Copy",confirm:"Complete",close:"Close",formatErrorTip:"The JSON format is incorrect. Please check and try again",copyTip:"Copied to clipboard",formatTip:"Format complete"}},r={baseStyle:{title:"基础样式",background:"背景",color:"颜色",image:"图片",imageRepeat:"图片重复",imagePosition:"图片位置",imageSize:"图片大小",line:"连线",width:"粗细",style:"风格",lineRadius:"圆角大小",lineOfOutline:"概要的连线",showArrow:"是否显示箭头",nodePadding:"节点内边距",nodeMargin:"节点外边距",horizontal:"水平",vertical:"垂直",maximumWidth:"显示的最大宽度",maximumHeight:"显示的最大高度",icon:"图标",size:"大小",level2Node:"二级节点",belowLevel2Node:"三级及以下节点",nodeBorderType:"节点边框风格",nodeUseLineStyle:"是否使用只有底边框的风格",otherConfig:"其他配置",enableFreeDrag:"是否开启节点自由拖拽",watermark:"水印",showWatermark:"是否显示水印",watermarkDefaultText:"水印文字",onlyExport:"是否仅在导出时显示",watermarkText:"水印文字",watermarkTextColor:"文字颜色",watermarkLineSpacing:"水印行间距",watermarkTextSpacing:"水印文字间距",watermarkAngle:"旋转角度",watermarkTextOpacity:"文字透明度",watermarkTextFontSize:"文字字号",isEnableNodeRichText:"是否开启节点富文本编辑",mousewheelAction:"鼠标滚轮行为",zoomView:"缩放视图",moveViewUpDown:"上下移动视图",associativeLine:"关联线",associativeLineWidth:"粗细",associativeLineColor:"颜色",associativeLineActiveWidth:"激活粗细",associativeLineActiveColor:"激活颜色",mousewheelZoomActionReverse:"鼠标滚轮缩放",mousewheelZoomActionReverse1:"向前缩小向后放大",mousewheelZoomActionReverse2:"向前放大向后缩小",createNewNodeBehavior:"创建新节点的行为",default:"激活新节点及进入编辑",notActive:"不激活新节点",activeOnly:"只激活新节点,不进入编辑",rootStyle:"根节点",associativeLineText:"关联线文字",fontFamily:"字体",fontSize:"字号",isShowScrollbar:"是否显示滚动条",isUseHandDrawnLikeStyle:"是否开启手绘风格",rootLineStartPos:"根节点连线起始位置",center:"中心",right:"右侧",rainbowLines:"彩虹线条",notUseRainbowLines:"不使用彩虹线条"},color:{moreColor:"更多颜色"},contextmenu:{insertSiblingNode:"插入同级节点",insertChildNode:"插入子级节点",insertParentNode:"插入父节点",insertSummary:"插入概要",moveUpNode:"上移节点",moveDownNode:"下移节点",deleteNode:"删除节点",deleteCurrentNode:"仅删除当前节点",copyNode:"复制节点",cutNode:"剪切节点",pasteNode:"粘贴节点",backCenter:"回到根节点",expandAll:"展开所有",unExpandAll:"收起所有",expandTo:"展开到",arrangeLayout:"一键整理布局",level1:"一级主题",level2:"二级主题",level3:"三级主题",level4:"四级主题",level5:"五级主题",level6:"六级主题",zenMode:"禅模式",fitCanvas:"适应画布",removeImage:"移除图片",removeHyperlink:"移除超链接",removeNote:"移除备注",removeCustomStyles:"一键去除自定义样式",removeAllNodeCustomStyles:"一键去除所有节点自定义样式"},count:{words:"字数",nodes:"节点"},dialog:{cancel:"取 消",confirm:"确 定"},export:{title:"导出",filename:"导出文件名称",include:"是否包含主题、结构等配置数据",dedicatedFile:"专有文件",jsonFile:"json文件",imageFile:"图片文件",svgFile:"svg文件",pdfFile:"pdf文件",markdownFile:"markdown文件",tips:"tips:.smm和.json文件可用于导入",isTransparent:"背景是否透明",pngTips:"tips:富文本模式导出图片非常耗时,建议导出为svg格式",svgTips:"tips:富文本模式导出图片非常耗时",transformingDomToImages:"正在转换节点:",notifyTitle:"消息",notifyMessage:"如果没有触发下载,请检查是否被浏览器拦截了",paddingX:"水平内边距",paddingY:"垂直内边距",useMultiPageExport:"是否多页导出",defaultFileName:"思维导图",addFooterText:"底部添加文字",addFooterTextPlaceholder:"比如:来自simple-mind-map"},fullscreen:{fullscreenShow:"全屏查看",fullscreenEdit:"全屏编辑"},import:{title:"导入",selectFile:"选取文件",supportFile:"支持.smm、.json、.xmind、.xlsx、.md文件",enableFileTip:"请选择.smm、.json、.xmind、.xlsx、.md文件",maxFileNum:"最多只能选择一个文件",notSelectTip:"请选择要导入的文件",fileContentError:"文件内容有误",importSuccess:"导入成功",fileParsingFailed:"文件解析失败"},navigatorToolbar:{openMiniMap:"开启小地图",closeMiniMap:"关闭小地图",readonly:"切换为只读模式",edit:"切换为编辑模式",backToRoot:"回到根节点",changeSourceCodeEdit:"切换为源码编辑模式"},nodeHyperlink:{title:"超链接",link:"链接",name:"名称"},nodeIcon:{title:"图标"},nodeImage:{title:"图片",imgTitle:"图片标题"},nodeNote:{title:"备注"},nodeTag:{title:"标签",addTip:"请按回车键添加"},outline:{title:"大纲",nodeDefaultText:"分支节点"},scale:{zoomIn:"放大",zoomOut:"缩小"},shortcutKey:{title:"快捷键"},strusture:{title:"结构"},style:{title:"节点样式",normal:"常态",active:"选中状态",text:"文字",fontFamily:"字体",fontSize:"字号",lineHeight:"行高",color:"颜色",addFontWeight:"加粗",italic:"斜体",textDecoration:"划线",none:"无",underline:"下划线",lineThrough:"中划线",overline:"上划线",border:"边框",style:"样式",width:"宽度",borderRadius:"圆角",background:"背景",shape:"形状",line:"线条",nodePadding:"节点内边距",horizontal:"水平",vertical:"垂直",gradientStyle:"渐变",startColor:"起始",endColor:"结束",arrowDir:"箭头位置",arrowDirStart:"头部",arrowDirEnd:"尾部"},theme:{title:"主题",classics:"经典",dark:"深色",simple:"朴素",coverTip:"你当前自定义过基础样式,是否覆盖?",tip:"提示",cover:"覆盖",reserve:"保留"},toolbar:{undo:"回退",redo:"前进",insertSiblingNode:"同级节点",insertChildNode:"子节点",deleteNode:"删除节点",image:"图片",icon:"图标",link:"超链接",note:"备注",tag:"标签",summary:"概要",displayOutline:"显示大纲",baseStyle:"基础样式",theme:"主题",strusture:"结构",newFile:"新建",openFile:"打开",saveAs:"另存为",import:"导入",export:"导出",shortcutKey:"快捷键",associativeLine:"关联线",painter:"格式刷",formula:"公式",more:"更多",selectFileTip:"请选择文件",notSupportTip:"你的浏览器不支持该功能,或者当前页面非https协议",tip:"提示",editingLocalFileTipFront:"当前正在编辑你本机的【",editingLocalFileTipEnd:"】文件",fileContentError:"文件内容有误",fileOpenFailed:"文件打开失败",defaultFileName:"思维导图",creatingTip:"正在创建文件",directory:"目录"},edit:{newFeatureNoticeTitle:"新特性提醒",newFeatureNoticeMessage:"本次更新支持了节点富文本编辑,但是存在一定缺陷,最主要的影响是导出为图片的时间和节点数量成正比,所以对导出需求比较依赖的话可以通过【基础样式】-【其他配置】-【是否开启节点富文本编辑】设置关掉富文本编辑模式。",root:"根节点",splitByWrap:"是否按换行自动分割节点?",tip:"提示",yes:"是",no:"否",exportError:"导出失败"},mouseAction:{tip1:"当前:左键拖动画布,右键框选节点",tip2:"当前:左键框选节点,右键拖动画布"},search:{searchPlaceholder:"请输入查找内容",replacePlaceholder:"请输入替换内容",replace:"替换",replaceAll:"全部替换",cancel:"取消"},nodeIconSidebar:{title:"图标/贴纸",icon:"图标",sticker:"贴纸"},formulaSidebar:{title:"公式",placeholder:"请输入 LaTeX 语法",confirm:"完成",common:"常用公式",tip:"非富文本模式下不支持插入公式"},richTextToolbar:{bold:"加粗",italic:"斜体",underline:"下划线",strike:"删除线",fontFamily:"字体",fontSize:"字号",color:"字体颜色",backgroundColor:"背景颜色",removeFormat:"清除样式"},other:{loading:"正在加载,请稍后..."},sourceCodeEdit:{sourceCodeTip:"富文本模式下不建议修改样式,因为需要同步修改数据及html结构。",format:"格式化",copy:"复制",confirm:"完成",close:"关闭",formatErrorTip:"JSON格式有误,请检查后再试",copyTip:"已复制到剪贴板",formatTip:"格式化完成"}},l={zh:r,en:a};i["default"].use(o["a"]);const c=new o["a"]({messages:l});t["a"]=c},"9c65":function(e,t,n){},b1fa:function(e,t,n){"use strict";n("5439")},b834:function(e,t,n){var i={"./en/associativeLine/index.vue":["708b","chunk-2d0d5cb9"],"./en/batchExecution/index.vue":["ed72","chunk-2d2308b0"],"./en/changelog/index.vue":["a6d3","chunk-2d208ffa"],"./en/client/index.vue":["0247","chunk-2d0a34fb"],"./en/command/index.vue":["9381","chunk-2d0e5089"],"./en/constructor/index.vue":["6a50","chunk-2d0d9fbc"],"./en/cooperate/index.vue":["f2be","chunk-2d22c6c5"],"./en/deploy/index.vue":["b1a3","chunk-2d20f137"],"./en/doExport/index.vue":["c6ec","chunk-2d217907"],"./en/drag/index.vue":["ff2d","chunk-2d238428"],"./en/formula/index.vue":["dec3","chunk-2d229d67"],"./en/handDrawnLikeStyle/index.vue":["d763","chunk-9d289278"],"./en/introduction/index.vue":["7f29","chunk-4c82605f"],"./en/keyCommand/index.vue":["2f7a","chunk-2d0be174"],"./en/keyboardNavigation/index.vue":["328f","chunk-2d0b92c3"],"./en/markdown/index.vue":["8102","chunk-2d0dd3b1"],"./en/miniMap/index.vue":["b98e","chunk-2d210a7a"],"./en/node/index.vue":["c133","chunk-2d216004"],"./en/nodeImgAdjust/index.vue":["48a3","chunk-2d0c226c"],"./en/painter/index.vue":["76a5","chunk-2d0d7809"],"./en/rainbowLines/index.vue":["8235","chunk-2d0dd7d2"],"./en/render/index.vue":["8e32","chunk-2d0e9742"],"./en/richText/index.vue":["4947","chunk-2d0c20be"],"./en/scrollbar/index.vue":["a950","chunk-2d209589"],"./en/search/index.vue":["bf42","chunk-2d21b2b8"],"./en/select/index.vue":["ddd1","chunk-2d2299c3"],"./en/start/index.vue":["b407","chunk-2d20f68f"],"./en/textEdit/index.vue":["9d03","chunk-2d0f0784"],"./en/touchEvent/index.vue":["a1cd","chunk-2d207d47"],"./en/translate/index.vue":["479a","chunk-2d0c1a01"],"./en/utils/index.vue":["144f","chunk-2d0ab10b"],"./en/view/index.vue":["16c7","chunk-2d0abe0f"],"./en/watermark/index.vue":["27ad","chunk-2d0b361e"],"./en/xmind/index.vue":["f127","chunk-2d22bd06"],"./zh/associativeLine/index.vue":["20fa","chunk-2d0b1c6f"],"./zh/batchExecution/index.vue":["e9ee","chunk-2d226d0a"],"./zh/changelog/index.vue":["9ac1","chunk-2d0f026c"],"./zh/client/index.vue":["92da","chunk-2d0e524c"],"./zh/command/index.vue":["6df4","chunk-2d0db0f2"],"./zh/constructor/index.vue":["6cfb","chunk-2d0dad5f"],"./zh/cooperate/index.vue":["a1ae","chunk-2d207d0a"],"./zh/course1/index.vue":["8e98","chunk-2d0e9802"],"./zh/course10/index.vue":["3f2a","chunk-2d0c5538"],"./zh/course11/index.vue":["33b0","chunk-2d0b9b64"],"./zh/course12/index.vue":["eb27","chunk-2d230098"],"./zh/course13/index.vue":["c1ec","chunk-2d216642"],"./zh/course14/index.vue":["e487","chunk-2d2254a4"],"./zh/course15/index.vue":["fb9a","chunk-2d2375fa"],"./zh/course16/index.vue":["18dc","chunk-2d0ac5dc"],"./zh/course17/index.vue":["4323","chunk-2d0c09f6"],"./zh/course18/index.vue":["91b3","chunk-2d0e4e1f"],"./zh/course19/index.vue":["ae22","chunk-77915045"],"./zh/course2/index.vue":["c187","chunk-2d2160a3"],"./zh/course20/index.vue":["158d","chunk-2d0ab546"],"./zh/course21/index.vue":["e410","chunk-2d2253c4"],"./zh/course22/index.vue":["d013","chunk-2d21d064"],"./zh/course23/index.vue":["a0a8","chunk-2d20791c"],"./zh/course24/index.vue":["2ad8","chunk-2d0bd3f9"],"./zh/course25/index.vue":["e6dd","chunk-2d2261a7"],"./zh/course26/index.vue":["20c6","chunk-2d0b1be7"],"./zh/course3/index.vue":["0fcd","chunk-2d0afe0d"],"./zh/course4/index.vue":["32a6","chunk-2d0b978a"],"./zh/course5/index.vue":["3c76","chunk-2d0c4a65"],"./zh/course6/index.vue":["8e25","chunk-2d0e9726"],"./zh/course7/index.vue":["c13f","chunk-2d216037"],"./zh/course8/index.vue":["cc99","chunk-2d221c76"],"./zh/course9/index.vue":["b69b","chunk-2d20ff53"],"./zh/deploy/index.vue":["71bb","chunk-2d0d6590"],"./zh/doExport/index.vue":["1256","chunk-2d0aa978"],"./zh/drag/index.vue":["4604","chunk-2d0c14fc"],"./zh/formula/index.vue":["d53e","chunk-2d21e399"],"./zh/handDrawnLikeStyle/index.vue":["d2d5","chunk-1c3bec15"],"./zh/help1/index.vue":["05ec","chunk-2d0a4659"],"./zh/help2/index.vue":["83fa","chunk-2d0de1ec"],"./zh/help3/index.vue":["3de7","chunk-2d0c53b9"],"./zh/help4/index.vue":["f08f","chunk-2d22ba2e"],"./zh/help5/index.vue":["2c65","chunk-2d0bd5e6"],"./zh/introduction/index.vue":["4710","chunk-5ecd9693"],"./zh/keyCommand/index.vue":["a43c","chunk-2d2082b9"],"./zh/keyboardNavigation/index.vue":["2c18","chunk-2d0bd54e"],"./zh/markdown/index.vue":["08d0","chunk-2d0a514a"],"./zh/miniMap/index.vue":["0168","chunk-2d0a3179"],"./zh/node/index.vue":["433b","chunk-2d0c0a44"],"./zh/nodeImgAdjust/index.vue":["1f8f","chunk-2d0b6d39"],"./zh/painter/index.vue":["5b22","chunk-2d0d2ec3"],"./zh/rainbowLines/index.vue":["4987","chunk-2d0c213a"],"./zh/render/index.vue":["6c31","chunk-2d0da701"],"./zh/richText/index.vue":["35c4","chunk-2d0ba309"],"./zh/scrollbar/index.vue":["3def","chunk-2d0c53e8"],"./zh/search/index.vue":["0503","chunk-2d0a3fbe"],"./zh/select/index.vue":["321a","chunk-2d0b91e5"],"./zh/start/index.vue":["7e57","chunk-2d0e2326"],"./zh/textEdit/index.vue":["c576","chunk-2d216f87"],"./zh/touchEvent/index.vue":["e021","chunk-2d2244e0"],"./zh/translate/index.vue":["1136","chunk-2d0aa579"],"./zh/utils/index.vue":["4738","chunk-2d0c191e"],"./zh/view/index.vue":["82ca","chunk-2d0dddce"],"./zh/watermark/index.vue":["848a","chunk-2d0de01b"],"./zh/xmind/index.vue":["8427","chunk-2d0ddf37"]};function o(e){if(!n.o(i,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],o=t[0];return n.e(t[1]).then((function(){return n(o)}))}o.keys=function(){return Object.keys(i)},o.id="b834",e.exports=o},c0d6:function(e,t,n){"use strict";var i=n("2b0e"),o=n("2f62"),a=n("5848"),r=n("365c");i["default"].use(o["a"]);const l=new o["a"].Store({state:{mindMapData:null,isHandleLocalFile:!1,localConfig:{isZenMode:!1,openNodeRichText:!0,useLeftKeySelectionRightKeyDrag:!1,isShowScrollbar:!1,isUseHandDrawnLikeStyle:!1,isDark:!1},activeSidebar:"",isOutlineEdit:!1,isReadonly:!1,isSourceCodeEdit:!1,extraTextOnExport:""},mutations:{setMindMapData(e,t){e.mindMapData=t},setIsHandleLocalFile(e,t){e.isHandleLocalFile=t},setLocalConfig(e,t){e.localConfig={...e.localConfig,...t},Object(r["g"])(e.localConfig)},setActiveSidebar(e,t){e.activeSidebar=t},setIsOutlineEdit(e,t){e.isOutlineEdit=t},setIsReadonly(e,t){e.isReadonly=t},setIsOutlineEdit(e,t){e.isSourceCodeEdit=t},setExtraTextOnExport(e,t){e.extraTextOnExport=t}},actions:{getUserMindMapData(e){try{let{data:t}={data:{data:{mindMapData:a["a"]}}};e.commit("setMindMapData",t.data)}catch(t){console.log(t)}}}});t["a"]=l},d82e:function(e,t,n){},eca6:function(e,t,n){"use strict";n("716d")}}); \ No newline at end of file +(function(e){function t(t){for(var i,o,l=t[0],c=t[1],d=t[2],s=0,u=[];s>>0,this.mti=1;this.mti>>30,this.mt[this.mti]=(1812433253*((4294901760&e)>>>16)<<16)+1812433253*(65535&e)+this.mti,this.mt[this.mti]>>>=0},a.prototype.genrand_int32=function(){var e,t=new Array(0,this.MATRIX_A);if(this.mti>=this.N){var n;for(this.mti==this.N+1&&this.init_genrand(5489),n=0;n>>1^t[1&e];for(;n>>1^t[1&e];e=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^e>>>1^t[1&e],this.mti=0}return e=this.mt[this.mti++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,e^=e>>>18,e>>>0};var r=n("8a19");const l=(e,t,n,i,o,a=0,r=0)=>{let c=!1;if(n&&(c=n(e,t,o,a,r)),!c&&e.children&&e.children.length>0){let t=a+1;e.children.forEach((o,a)=>{l(o,e,n,i,!1,t,a)})}i&&i(e,t,o,a,r)},c=(e,t)=>{let n=[e],i=!1;"stop"===t(e,null)&&(i=!0);while(n.length){if(i)break;let e=n.shift();e.children&&e.children.length&&e.children.forEach(o=>{i||(n.push(o),"stop"===t(o,e)&&(i=!0))})}},d=(e,t,n,i)=>{let o=[],a=e/t,r=n/i;return o=a>r?[a*i,i]:[n,n/a],o},s=(e,t,n,i)=>{let o=e/t,a=[];if(n&&i)if(e<=n&&t<=i)a=[e,t];else{let e=n/i;a=o>e?[o*i,i]:[n,n/o]}else n?a=e<=n?[e,t]:[n,n/o]:i&&(a=t<=i?[e,t]:[o*i,i]);return a},u=e=>{e=e.replace(/
/gim,"\n");let t=document.createElement("div");return t.innerHTML=e,e=t.textContent,e},h=e=>{try{return JSON.parse(JSON.stringify(e))}catch(t){return null}},p=(e,t,n=!1)=>(e.data=h(t.data),n&&(e.data.isActive=!1,e.data.generalization&&(e.data.generalization.isActive=!1)),e.children=[],t.children&&t.children.length>0&&t.children.forEach((t,i)=>{e.children[i]=p({},t,n)}),e),m=(e,t,n=!1,i=!0)=>(e.data=h(t.nodeData?t.nodeData.data:t.data),i?delete e.data.uid:e.data.uid||(e.data.uid=I()),n&&(e.data.isActive=!1),e.children=[],t.children&&t.children.length>0?t.children.forEach((t,o)=>{e.children[o]=m({},t,n,i)}):t.nodeData&&t.nodeData.children&&t.nodeData.children.length>0&&t.nodeData.children.forEach((t,o)=>{e.children[o]=m({},t,n,i)}),e),f=e=>new Promise((t,n)=>{const i=new Image;i.setAttribute("crossOrigin","anonymous"),i.onload=()=>{try{let e=document.createElement("canvas");e.width=i.width,e.height=i.height;let n=e.getContext("2d");n.drawImage(i,0,0,i.width,i.height),t(e.toDataURL())}catch(e){n(e)}},i.onerror=e=>{n(e)},i.src=e}),g=e=>{if(!/^data:/.test(e))return e;let[t,n]=e.split(","),i=/^data:[^/]+\/([^;]+);/.exec(t),o=i[1];return{type:o,base64:n}},v=(e,t)=>{let n=document.createElement("a");n.href=e,n.download=t,n.click()},T=(e,t=300,n)=>{let i=null;return(...o)=>{i||(i=setTimeout(()=>{e.call(n,...o),i=null},t))}},x=(e,t=(()=>{}))=>{let n=0,i=e.length;if(i<=0)return t();let o=()=>{n>=i?t():(e[n](),setTimeout(()=>{n++,o()},0))};o()},k=e=>e*(Math.PI/180),b=e=>e.replace(/([a-z])([A-Z])/g,(...e)=>e[1]+"-"+e[2].toLowerCase());let y=null;const w=(e,{italic:t,bold:n,fontSize:i,fontFamily:o})=>{const a=A({italic:t,bold:n,fontSize:i,fontFamily:o});if(!y){const e=document.createElement("canvas");y=e.getContext("2d")}y.save(),y.font=a;const{width:r,actualBoundingBoxAscent:l,actualBoundingBoxDescent:c}=y.measureText(e);y.restore();const d=l+c;return{width:r,height:d}},A=({italic:e,bold:t,fontSize:n,fontFamily:i})=>`${e?"italic ":""} ${t?"bold ":""} ${n}px ${i} `,C=function(e,t){let n=!1,i=null,o=()=>{n=!1,t?e.call(t):e()};if("undefined"!==typeof MutationObserver){let e=1,t=new MutationObserver(o),n=document.createTextNode(e);t.observe(n,{characterData:!0}),i=function(){e=(e+1)%2,n.data=e}}else i=setTimeout;return function(){n||(n=!0,i(o,0))}},E=(e,t)=>{let n=e.elRect,{scaleX:i,scaleY:o,translateX:a,translateY:r}=e.draw.transform(),{left:l,top:c,width:d,height:s}=t,u=(l+d)*i+a,h=(c+s)*o+r;l=l*i+a,c=c*o+r;let p=0,m=0;return l<0&&(p=-l),u>n.width&&(p=-(u-n.width)),c<0&&(m=-c),h>n.height&&(m=-(h-n.height)),{isOuter:0!==p||0!==m,offsetLeft:p,offsetTop:m}};let N=null;const O=e=>(N||(N=document.createElement("div")),N.innerHTML=e,N.textContent),L=e=>new Promise((t,n)=>{let i=new FileReader;i.onload=e=>{t(e.target.result)},i.onerror=e=>{n(e)},i.readAsDataURL(e)});const S=e=>new Promise(t=>{let n=new Image;n.src=e,n.onload=()=>{t({width:n.width,height:n.height})},n.onerror=()=>{t({width:0,height:0})}}),I=()=>Object(i["a"])(),R=e=>new Promise((t,n)=>{let i=new FileReader;i.readAsDataURL(e),i.onload=async e=>{let n=e.target.result,i=await S(n);t({url:n,size:i})},i.onerror=e=>{n(e)}}),M=e=>([[" "," "]].forEach(t=>{e=e.replaceAll(t[0],t[1])}),e),_=e=>Object.prototype.toString.call(e).slice(8,-1),z=e=>null===e||void 0===e||""===e,D=e=>e.replaceAll(/(<[^\s]+)\s+style=["'][^'"]+["']\s*(>)/g,"$1$2");let F=null;const P=(e,t,n)=>{F||(F=document.createElement("div")),F.innerHTML=e;let i=e=>{let o=e.childNodes;o.forEach(e=>{1===e.nodeType&&(e.tagName.toLowerCase()===t?e.style.cssText=n:i(e))})};return i(F),F.innerHTML};let B=null;const U=e=>{B||(B=document.createElement("div")),B.innerHTML=e;for(let t=B.childNodes,n=t.length;n--;)if(1==t[n].nodeType)return!0;return!1};let H=null;const j=(e,t,n)=>{H||(H=document.createElement("div")),H.innerHTML=e;let i=e=>{let o=e.childNodes;o.forEach(o=>{1===o.nodeType?i(o):3===o.nodeType&&e.replaceChild(document.createTextNode(o.nodeValue.replaceAll(t,n)),o)})};return i(H),H.innerHTML};let G=null;const Y=(e,t)=>{G||(G=document.createElement("div")),G.innerHTML=e;const n=G.querySelector(t);return n&&n.parentNode.removeChild(n),G.innerHTML},$=e=>(e=String(e).replaceAll(/\s+/g,""),["#fff","#ffffff","#FFF","#FFFFFF","rgb(255,255,255)"].includes(e)||/rgba\(255,255,255,[^)]+\)/.test(e)),W=e=>(e=String(e).replaceAll(/\s+/g,""),["","transparent"].includes(e)||/rgba\(\d+,\d+,\d+,0\)/.test(e)),Z=e=>{let{lineColor:t,root:n,second:i,node:o}=e,a=[t,n.fillColor,n.color,i.fillColor,i.color,o.fillColor,o.color,n.borderColor,i.borderColor,o.borderColor];for(let r=0;r{const t=e=>{const n=e.childNodes;n.forEach(e=>{1===e.nodeType&&(e.classList.contains("ql-formula")?e.parentNode.removeChild(e):t(e))})};t(e)};let Q=null;const J=e=>{Q||(Q=document.createElement("div")),Q.innerHTML=e;const t=Q.childNodes;let n="";for(let i=0;i{q||(q=document.createElement("div")),q.innerHTML=e;const t=q.childNodes;let n=[],i="";for(let o=0;o`

${ge(e)}

`).join("")};let X=null;const ee=e=>{X||(X=document.createElement("div")),X.innerHTML=e;const t=X.querySelectorAll(".ql-formula");Array.from(t).forEach(e=>{const t=document.createTextNode("$smmformula$");e.parentNode.replaceChild(t,e)});const n=X.childNodes;let i=[];for(let o=0;o`

${ge(e)}

`).join(""),t.length>0){e=e.replace(/\$smmformula\$/g,''),X.innerHTML=e;const n=X.querySelectorAll(".smmformula");Array.from(n).forEach((e,n)=>{e.parentNode.replaceChild(t[n],e)}),e=X.innerHTML}return e},te=()=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),ne=(e,t)=>{const n={};return Object.keys(t).forEach(i=>{const o=e[i],a=t[i];if(_(o)===_(a)){if("Object"===_(o)){if(JSON.stringify(o)!==JSON.stringify(a))return void(n[i]=a)}else if(o!==a)return void(n[i]=a)}else n[i]=a}),n},ie=e=>!/^_/.test(e)&&!o["h"].includes(e),oe=e=>e.reduce((e,t)=>{const n=e.find(e=>e.type===t.type);return n?t.list.forEach(e=>{const t=n.list.find(t=>t.name===e.name);t?t.icon=e.icon:n.list.push(e)}):e.push({...t}),e},[]),ae=e=>{let t=[];return e.forEach(n=>{e.find(e=>e.uid!==n.uid&&e.isAncestor(n))||t.push(n)}),t},re=e=>{const t={},n={};e.forEach(e=>{const i=e.parent;if(i){const o=i.uid;n[o]=i;const a=e.getIndexInBrothers(),r={node:e,index:a};t[o]?t[o].find(e=>e.index===r.index)||t[o].push(r):t[o]=[r]}});const i=[];return Object.keys(t).forEach(e=>{if(t[e].length>1){const o=t[e].map(e=>e.index).sort((e,t)=>e-t);i.push({node:n[e],range:[o[0],o[o.length-1]]})}else i.push({node:t[e][0].node})}),i},le=(e,t,n,i,o,a,r,l)=>t>o&&a>e&&i>r&&l>n,ce=e=>{let t=window.getSelection(),n=document.createRange();n.selectNodeContents(e),n.collapse(),t.removeAllRanges(),t.addRange(n)},de=e=>{let t=window.getSelection(),n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n)},se=(e,t={})=>{const n=e=>{e.forEach(e=>{e.data={...e.data,...t},e.children&&e.children.length>0&&n(e.children)})};return n(e),e},ue=(e,t=!1)=>{const n=e=>{e.forEach(e=>{e.data||(e.data={}),(t||z(e.data.uid))&&(e.data.uid=I()),e.children&&e.children.length>0&&n(e.children)})};return n(e),e},he=e=>e?Array.isArray(e)?e:[e]:[],pe=e=>e.parent?e.parent.nodeData.children.findIndex(t=>t.data.uid===e.uid):0,me=(e,t)=>t.findIndex(t=>t.uid===e.uid),fe=e=>{let t=0;for(let o=0;o([["&","&"],["<","<"],[">",">"]].forEach(t=>{e=e.replace(new RegExp(t[0],"g"),t[1])}),e),ve=(e,t)=>{const n=_(e);if(n!==_(t))return!1;if("Object"===n){const n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(let o=0;o{navigator.clipboard&&navigator.clipboard.writeText(JSON.stringify(e))},xe=async()=>{let e=null,t=null;if(navigator.clipboard){e=await navigator.clipboard.readText();const n=await navigator.clipboard.read();if(n&&n.length>0)for(const e of n)for(const n of e.types)if(/^image\//.test(n)){t=await e.getType(n);break}}return{text:e,img:t}},ke=e=>{if(!e||!e.parent)return;const t=pe(e);-1!==t&&e.parent.nodeData.children.splice(t,1)},be=e=>(o["i"].forEach(t=>{e=e.replaceAll(new RegExp(`<${t}([^>]*)>`,"g"),`<${t} $1 />`)}),e),ye=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;nt.uid===e[n].uid))return!1;return!0},we=()=>{const e=navigator.userAgent.match(/\s+Chrome\/(.*)\s+/);return e&&e[1]?Number.parseFloat(e[1]):""},Ae=e=>({simpleMindMap:!0,data:e}),Ce=e=>{let t=null;if("string"===typeof e)try{const n=JSON.parse(e);"object"===typeof n&&n.simpleMindMap&&(t=n.data)}catch(i){}else"object"===typeof e&&e.simpleMindMap&&(t=e.data);const n=!!t;return{isSmm:n,data:n?t:String(e)}},Ee=(e,t)=>{e.preventDefault();const n=window.getSelection();if(!n.rangeCount)return;n.deleteFromDocument(),t=t||e.clipboardData.getData("text"),t=O(t),t=t.replaceAll(/\n/g,"");const i=document.createTextNode(t);n.getRangeAt(0).insertNode(i),n.collapseToEnd()},Ne=e=>{const t={},n=(e,i)=>{const o=e.data.uid;i&&i.children.push(o),t[o]={isRoot:!i,data:{...e.data},children:[]},e.children&&e.children.length>0&&e.children.forEach(e=>{n(e,t[o])})};return n(e,null),t},Oe=(e,t)=>{const n=e.x+e.width/2,i=e.y+e.height/2,o=t.x+t.width/2,a=t.y+t.height/2;return no&&io&&i>a?"right-bottom":na?"left-bottom":no&&i===a?"right":n===o&&ia?"bottom":"overlap"},Le=({addContentToHeader:e,addContentToFooter:t})=>{const n=[];let i=null,o=0,a=null,l=0;const c=(e,t)=>{if("function"===typeof e){const i=e();if(!i)return;const{el:o,cssText:a,height:l}=i;if(o instanceof HTMLElement){o.setAttribute("xmlns","http://www.w3.org/1999/xhtml");const e=new r["c"];e.height(l),e.add(o),t(e,l)}a&&n.push(a)}};return c(e,(e,t)=>{i=e,o=t}),c(t,(e,t)=>{a=e,l=t}),{cssTextList:n,header:i,headerHeight:o,footer:a,footerHeight:l}}},"2f42":function(e,t,n){"use strict";n("37e6")},3650:function(e,t,n){"use strict";n("59d2")},"365c":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"b",(function(){return f})),n.d(t,"g",(function(){return g})),n.d(t,"c",(function(){return v}));var i=n("5848"),o=n("1e42"),a=n("2b0e");const r="SIMPLE_MIND_MAP_DATA",l="SIMPLE_MIND_MAP_LANG",c="SIMPLE_MIND_MAP_LOCAL_CONFIG";let d=null;const s=(e,t)=>t?(e.data=Object(o["jb"])(t.data),e.children=[],t.children&&t.children.length>0&&t.children.forEach((t,n)=>{e.children[n]=s({},t)}),e):null,u=()=>{if(window.takeOverApp)return d=window.takeOverAppMethods.getMindMapData(),d;let e=localStorage.getItem(r);if(null===e)return Object(o["jb"])(i["a"]);try{return JSON.parse(e)}catch(t){return Object(o["jb"])(i["a"])}},h=e=>{try{let t=null;if(t=window.takeOverApp?d:u(),t.root=s({},e),window.takeOverApp)return d=t,void window.takeOverAppMethods.saveMindMapData(t);a["default"].prototype.$bus.$emit("write_local_file",t);let n=JSON.stringify(t);localStorage.setItem(r,n)}catch(t){console.log(t)}},p=e=>{try{let t=null;if(t=window.takeOverApp?d:u(),t={...t,...e},window.takeOverApp)return d=t,void window.takeOverAppMethods.saveMindMapData(t);a["default"].prototype.$bus.$emit("write_local_file",t);let n=JSON.stringify(t);localStorage.setItem(r,n)}catch(t){console.log(t)}},m=e=>{window.takeOverApp?window.takeOverAppMethods.saveLanguage(e):localStorage.setItem(l,e)},f=()=>{if(window.takeOverApp)return window.takeOverAppMethods.getLanguage()||"zh";let e=localStorage.getItem(l);return e||(m("zh"),"zh")},g=e=>{if(window.takeOverApp)return window.takeOverAppMethods.saveLocalConfig(e);localStorage.setItem(c,JSON.stringify(e))},v=()=>{if(window.takeOverApp)return window.takeOverAppMethods.getLocalConfig();let e=localStorage.getItem(c);return e?JSON.parse(e):null}},"36f1":function(e,t,n){"use strict";n("d82e")},"37e6":function(e,t,n){},4013:function(e,t,n){"use strict";n.d(t,"j",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return r})),n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"i",(function(){return h}));const i=[{name:"默认",value:"default",dark:!1},{name:"暗色2",value:"dark2",dark:!0},{name:"天清绿",value:"skyGreen",dark:!1},{name:"脑图经典2",value:"classic2",dark:!1},{name:"脑图经典3",value:"classic3",dark:!1},{name:"经典绿",value:"classicGreen",dark:!1},{name:"经典蓝",value:"classicBlue",dark:!1},{name:"天空蓝",value:"blueSky",dark:!1},{name:"脑残粉",value:"brainImpairedPink",dark:!1},{name:"暗色",value:"dark",dark:!0},{name:"泥土黄",value:"earthYellow",dark:!1},{name:"清新绿",value:"freshGreen",dark:!1},{name:"清新红",value:"freshRed",dark:!1},{name:"浪漫紫",value:"romanticPurple",dark:!1},{name:"粉红葡萄",value:"pinkGrape",dark:!1},{name:"薄荷",value:"mint",dark:!1},{name:"金色vip",value:"gold",dark:!1},{name:"活力橙",value:"vitalityOrange",dark:!1},{name:"绿叶",value:"greenLeaf",dark:!1},{name:"脑图经典",value:"classic",dark:!0},{name:"脑图经典4",value:"classic4",dark:!1},{name:"小黄人",value:"minions",dark:!1},{name:"简约黑",value:"simpleBlack",dark:!1},{name:"课程绿",value:"courseGreen",dark:!1},{name:"咖啡",value:"coffee",dark:!1},{name:"红色精神",value:"redSpirit",dark:!1},{name:"黑色幽默",value:"blackHumour",dark:!0},{name:"深夜办公室",value:"lateNightOffice",dark:!0},{name:"黑金",value:"blackGold",dark:!0},{name:"牛油果",value:"avocado",dark:!1},{name:"秋天",value:"autumn",dark:!1},{name:"橙汁",value:"orangeJuice",dark:!0}],o={CHANGE_THEME:"changeTheme",CHANGE_LAYOUT:"changeLayout",SET_DATA:"setData",TRANSFORM_TO_NORMAL_NODE:"transformAllNodesToNormalNode",MODE:{READONLY:"readonly",EDIT:"edit"},LAYOUT:{LOGICAL_STRUCTURE:"logicalStructure",MIND_MAP:"mindMap",ORGANIZATION_STRUCTURE:"organizationStructure",CATALOG_ORGANIZATION:"catalogOrganization",TIMELINE:"timeline",TIMELINE2:"timeline2",FISHBONE:"fishbone",VERTICAL_TIMELINE:"verticalTimeline"},DIR:{UP:"up",LEFT:"left",DOWN:"down",RIGHT:"right"},KEY_DIR:{LEFT:"Left",UP:"Up",RIGHT:"Right",DOWN:"Down"},SHAPE:{RECTANGLE:"rectangle",DIAMOND:"diamond",PARALLELOGRAM:"parallelogram",ROUNDED_RECTANGLE:"roundedRectangle",OCTAGONAL_RECTANGLE:"octagonalRectangle",OUTER_TRIANGULAR_RECTANGLE:"outerTriangularRectangle",INNER_TRIANGULAR_RECTANGLE:"innerTriangularRectangle",ELLIPSE:"ellipse",CIRCLE:"circle"},MOUSE_WHEEL_ACTION:{ZOOM:"zoom",MOVE:"move"},INIT_ROOT_NODE_POSITION:{LEFT:"left",TOP:"top",RIGHT:"right",BOTTOM:"bottom",CENTER:"center"},LAYOUT_GROW_DIR:{LEFT:"left",TOP:"top",RIGHT:"right",BOTTOM:"bottom"},PASTE_TYPE:{CLIP_BOARD:"clipBoard",CANVAS:"canvas"},SCROLL_BAR_DIR:{VERTICAL:"vertical",HORIZONTAL:"horizontal"},CREATE_NEW_NODE_BEHAVIOR:{DEFAULT:"default",NOT_ACTIVE:"notActive",ACTIVE_ONLY:"activeOnly"}},a={[o.INIT_ROOT_NODE_POSITION.LEFT]:0,[o.INIT_ROOT_NODE_POSITION.TOP]:0,[o.INIT_ROOT_NODE_POSITION.RIGHT]:1,[o.INIT_ROOT_NODE_POSITION.BOTTOM]:1,[o.INIT_ROOT_NODE_POSITION.CENTER]:.5},r=[{name:"逻辑结构图",value:o.LAYOUT.LOGICAL_STRUCTURE},{name:"思维导图",value:o.LAYOUT.MIND_MAP},{name:"组织结构图",value:o.LAYOUT.ORGANIZATION_STRUCTURE},{name:"目录组织图",value:o.LAYOUT.CATALOG_ORGANIZATION},{name:"时间轴",value:o.LAYOUT.TIMELINE},{name:"时间轴2",value:o.LAYOUT.TIMELINE2},{name:"竖向时间轴",value:o.LAYOUT.VERTICAL_TIMELINE},{name:"鱼骨图",value:o.LAYOUT.FISHBONE}],l=[o.LAYOUT.LOGICAL_STRUCTURE,o.LAYOUT.MIND_MAP,o.LAYOUT.CATALOG_ORGANIZATION,o.LAYOUT.ORGANIZATION_STRUCTURE,o.LAYOUT.TIMELINE,o.LAYOUT.TIMELINE2,o.LAYOUT.VERTICAL_TIMELINE,o.LAYOUT.FISHBONE],c=["text","image","imageTitle","imageSize","icon","tag","hyperlink","hyperlinkTitle","note","expand","isActive","generalization","richText","resetRichText","uid","activeStyle","associativeLineTargets","associativeLineTargetControlOffsets","associativeLinePoint","associativeLineText"],d={measureCustomNodeContentSizeEl:null,measureRichtextNodeTextSizeEl:null},s={READ_CLIPBOARD_ERROR:"read_clipboard_error",PARSE_PASTE_DATA_ERROR:"parse_paste_data_error",CUSTOM_HANDLE_CLIPBOARD_TEXT_ERROR:"custom_handle_clipboard_text_error",LOAD_CLIPBOARD_IMAGE_ERROR:"load_clipboard_image_error",BEFORE_TEXT_EDIT_ERROR:"before_text_edit_error",EXPORT_ERROR:"export_error",EXPORT_LOAD_IMAGE_ERROR:"export_load_image_error",DATA_CHANGE_DETAIL_EVENT_ERROR:"data_change_detail_event_error"},u="\n /* 鼠标hover和激活时渲染的矩形 */\n .smm-hover-node{\n display: none;\n opacity: 0.6;\n stroke-width: 1;\n }\n\n .smm-node:not(.smm-node-dragging):hover .smm-hover-node{\n display: block;\n }\n\n .smm-node.active .smm-hover-node, .smm-node-highlight .smm-hover-node{\n display: block;\n opacity: 1;\n stroke-width: 2;\n }\n",h=["img","br","hr","input","link","meta","area"]},"41cb":function(e,t,n){"use strict";n("14d9");var i=n("2b0e"),o=n("8c4f"),a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"docContainer"},[t("Header"),t("div",{staticClass:"content"},[t("Sidebar"),t("div",{ref:"doc",staticClass:"doc",attrs:{id:"doc"},on:{scroll:e.onScroll}},[t("router-view")],1),t("CatalogBar",{attrs:{scrollTop:e.scrollTop},on:{scroll:e.doScroll}})],1)],1)},r=[],l=function(){var e=this,t=e._self._c;return t("div",{staticClass:"headerContainer"},[t("div",{staticClass:"left"},[t("div",{staticClass:"title",on:{click:e.toIndex}},[t("img",{attrs:{src:n("440d"),alt:""}}),e._v(" SimpleMindMap ")])]),t("div",{staticClass:"center"},[t("div",{staticClass:"btn",on:{click:e.toIndex}},[e._v(e._s(e.index))]),t("div",{staticClass:"btn",on:{click:e.toDemo}},[e._v(e._s(e.demoName))]),t("div",{staticClass:"btn",class:{active:"help"===e.docType},on:{click:e.toHelp}},[e._v(" "+e._s(e.helpDoc)+" ")]),t("div",{staticClass:"btn",class:{active:"doc"===e.docType},on:{click:e.toDev}},[e._v(" "+e._s(e.devDoc)+" ")]),"doc"===e.docType?t("el-dropdown",{attrs:{trigger:"click",placement:"bottom-start"},on:{command:e.handleCommand}},[t("span",{staticClass:"translateBtn"},[e._v(" "+e._s(e.currentLangName)),t("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.otherLangList,(function(n){return t("el-dropdown-item",{key:n.path,attrs:{command:n.path}},[e._v(e._s(n.name))])})),1)],1):e._e(),e._m(0)],1),t("div",{staticClass:"right"})])},c=[function(){var e=this,t=e._self._c;return t("a",{attrs:{href:"https://github.com/wanglin2/mind-map",target:"_blank"}},[t("span",{staticClass:"iconfont icongithub"})])}],d=[{lang:"zh",children:[{path:"associativeLine",title:"AssociativeLine 插件"},{path:"batchExecution",title:"BatchExecution实例"},{path:"changelog",title:"Changelog"},{path:"command",title:"Command实例"},{path:"constructor",title:"构造函数"},{path:"course1",title:"基本使用"},{path:"course2",title:"操作节点内容"},{path:"course3",title:"插入/删除节点、前进回退"},{path:"course4",title:"设置节点样式"},{path:"course5",title:"设置基础样式"},{path:"course6",title:"显示水印"},{path:"course7",title:"开启节点自由拖拽"},{path:"course8",title:"开启节点富文本编辑"},{path:"course9",title:"修改鼠标滚轮的行为"},{path:"course10",title:"主题"},{path:"course11",title:"结构"},{path:"course12",title:"如何渲染一个大纲"},{path:"course13",title:"快捷键"},{path:"course14",title:"如何渲染一个小地图"},{path:"course15",title:"如何渲染一个右键菜单"},{path:"course16",title:"如何渲染富文本的悬浮工具栏"},{path:"course17",title:"导入和导出"},{path:"course18",title:"如何持久化数据"},{path:"course19",title:"插入和扩展节点图标"},{path:"course20",title:"如何自定义节点内容"},{path:"course21",title:"如何复制、剪切、粘贴"},{path:"course22",title:"如何实现搜索、替换"},{path:"course23",title:"如何渲染滚动条"},{path:"course24",title:"如何开发一个插件"},{path:"course25",title:"关于概要"},{path:"course26",title:"如何实现AI生成节点内容"},{path:"doExport",title:"Export 插件"},{path:"drag",title:"Drag插件"},{path:"introduction",title:"简介"},{path:"keyCommand",title:"KeyCommand实例"},{path:"keyboardNavigation",title:"KeyboardNavigation插件"},{path:"markdown",title:"Markdown解析"},{path:"miniMap",title:"MiniMap插件"},{path:"node",title:"Node实例"},{path:"render",title:"Render实例"},{path:"textEdit",title:"TextEdit实例"},{path:"richText",title:"RichText插件"},{path:"select",title:"Select 插件 "},{path:"start",title:"开始"},{path:"translate",title:"贡献"},{path:"utils",title:"内置工具方法"},{path:"view",title:"View实例"},{path:"watermark",title:"Watermark插件"},{path:"xmind",title:"XMind解析"},{path:"deploy",title:"部署"},{path:"client",title:"客户端"},{path:"touchEvent",title:"TouchEvent插件"},{path:"nodeImgAdjust",title:"NodeImgAdjust插件"},{path:"search",title:"Search插件"},{path:"painter",title:"Painter插件"},{path:"painter",title:"Painter插件"},{path:"scrollbar",title:"Scrollbar插件"},{path:"formula",title:"Formula插件"},{path:"cooperate",title:"Cooperate插件"},{path:"rainbowLines",title:"RainbowLines插件"},{path:"handDrawnLikeStyle",title:"HandDrawnLikeStyle收费插件"},{path:"help1",title:"概要/关联线"},{path:"help2",title:"客户端"},{path:"help3",title:"打开预览在线文件"},{path:"help4",title:"复制粘贴"},{path:"help5",title:"导出"}]},{lang:"en",children:[{path:"associativeLine",title:"AssociativeLine plugin"},{path:"batchExecution",title:"batchExecution instance"},{path:"changelog",title:"Changelog"},{path:"command",title:"command instance"},{path:"constructor",title:"Constructor"},{path:"doExport",title:"Export plugin"},{path:"drag",title:"Drag plugin"},{path:"introduction",title:"Introduction"},{path:"keyCommand",title:"KeyCommand instance"},{path:"keyboardNavigation",title:"KeyboardNavigation plugin"},{path:"markdown",title:"Markdown parse"},{path:"miniMap",title:"MiniMap plugin"},{path:"node",title:"Node instance"},{path:"render",title:"Render instance"},{path:"textEdit",title:"TextEdit instance"},{path:"richText",title:"RichText plugin"},{path:"select",title:"Select plugin"},{path:"start",title:"Start"},{path:"translate",title:"Contribute"},{path:"utils",title:"Utility Methods"},{path:"view",title:"View instance"},{path:"watermark",title:"Watermark plugin"},{path:"xmind",title:"XMind parse"},{path:"deploy",title:"Deploy"},{path:"touchEvent",title:"TouchEvent plugin"},{path:"nodeImgAdjust",title:"NodeImgAdjust plugin"},{path:"search",title:"Search plugin"},{path:"painter",title:"Painter plugin"},{path:"scrollbar",title:"Scrollbar plugin"},{path:"formula",title:"Formula plugin"},{path:"cooperate",title:"Cooperate plugin"},{path:"rainbowLines",title:"RainbowLines plugin"},{path:"handDrawnLikeStyle",title:"HandDrawnLikeStyle chargeable plugin"},{path:"client",title:"Client"}]}];let s=[{name:"中文",path:"zh"},{name:"English",path:"en"}],u=["introduction","start","deploy","client","translate","changelog"],h=new Array(26).fill(0).map((e,t)=>"course"+(t+1)),p=["constructor","node","render","textEdit","view","keyCommand","command","batchExecution","richText","select","drag","keyboardNavigation","doExport","miniMap","watermark","associativeLine","touchEvent","nodeImgAdjust","search","painter","scrollbar","formula","cooperate","rainbowLines","handDrawnLikeStyle","xmind","markdown","utils"],m=new Array(5).fill(0).map((e,t)=>"help"+(t+1));const f=(e,t)=>{let n=d.find(t=>t.lang===e),i=n.children;return t.filter(e=>i.find(t=>t.path===e)).map(e=>({path:e,name:i.find(t=>t.path===e).title}))};var g={zh:[{groupName:"开始",type:"doc",list:f("zh",u)},{groupName:"教程",type:"doc",list:f("zh",h)},{groupName:"API",type:"doc",list:f("zh",p)},{groupName:"使用帮助",type:"help",list:f("zh",m)}],en:[{groupName:"Start",type:"doc",list:f("en",u)},{groupName:"Course",type:"doc",list:f("zh",h)},{groupName:"API",type:"doc",list:f("en",p)}]};const v={pageCatalog:{zh:"本页目录",en:"Page catalog"},demo:{zh:"在线示例",en:"Online Demo"},help:{zh:"帮助文档",en:"Help doc"},dev:{zh:"开发文档",en:"Dev doc"},index:{zh:"首页",en:"Home"}},T=(e,t)=>v[e]?v[e][t]||v[e].zh:"";var x=T,k={data(){return{docType:"",lang:"",currentLangName:"",otherLangList:[]}},computed:{demoName(){return x("demo",this.lang)},helpDoc(){return x("help",this.lang)},devDoc(){return x("dev",this.lang)},index(){return x("index",this.lang)}},watch:{$route(){this.init()}},created(){this.init()},methods:{init(){let e=/^\/([^\/]+)\//.exec(this.$route.path);e&&e[1]&&(this.docType=e[1]);let t=/^\/doc\/([^\/]+)\//.exec(this.$route.path);if(t&&t[1]){this.lang=t[1];let e=s.find(e=>e.path===this.lang);this.currentLangName=e.name,this.otherLangList=s.filter(e=>e.path!==this.lang)}},toIndex(){this.$router.push("/index")},toDemo(){this.$router.push("/")},handleCommand(e){let t=this.$route.path.replace(/^\/doc\/([^\/]+)\//,(...t)=>`/doc/${e}/`);this.$router.push(t)},toHelp(){this.lang="zh",this.$router.replace("/help/zh/")},toDev(){this.$router.replace("/doc/zh/")}}},b=k,y=(n("eca6"),n("2877")),w=Object(y["a"])(b,l,c,!1,null,"1c36e28e",null),A=w.exports,C=function(){var e=this,t=e._self._c;return t("div",{staticClass:"sideBarContainer"},[t("div",{staticClass:"catalogGroupList"},e._l(e.groupList,(function(n,i){return t("div",{key:i,staticClass:"catalogGroup"},[t("div",{staticClass:"catalogGroupName"},[e._v(e._s(n.groupName))]),t("div",{staticClass:"catalogList"},e._l(n.list,(function(n){return t("div",{key:i+n.path,staticClass:"catalogItem",class:{active:n.path===e.currentPath},on:{click:function(t){return e.jump(n)}}},[e._v(" "+e._s(n.name)+" ")])})),0)])})),0)])},E=[],N={data(){return{groupList:[],lang:"",currentPath:"",type:""}},created(){this.initCatalog()},watch:{$route(){this.initCatalog()}},methods:{jump(e){e.path!==this.currentPath&&this.$router.push(`/${this.type}/${this.lang}/${e.path}`)},initCatalog(){let e=/^\/(doc|help)\/([^\/]+)\//.exec(this.$route.path);e&&e[2]&&(this.type=e[1],this.lang=e[2],this.groupList=g[this.lang].filter(e=>e.type===this.type));let t=/^\/(doc|help)\/[^\/]+\/([^\/]+)(\/|$)/.exec(this.$route.path);t&&t[2]&&(this.currentPath=t[2])}}},O=N,L=(n("2f42"),Object(y["a"])(O,C,E,!1,null,"73f8f4b5",null)),S=L.exports,I=function(){var e=this,t=e._self._c;return t("div",{staticClass:"catalogBarContainer"},[t("div",{staticClass:"catalogBarTitle"},[e._v(e._s(e.pageCatalogTitle))]),t("div",{staticClass:"catalogList"},[e._l(e.list,(function(n,i){return t("div",{key:n.title+i,staticClass:"catalogItem",class:{active:n.title===e.activeCatalog},on:{click:function(t){return e.scrollTo(n,i)}}},[e._v(" "+e._s(n.title)+" ")])})),-1!==e.activeCatalogIndex?t("div",{staticClass:"activeBar",style:{top:4+28*e.activeCatalogIndex+"px"}}):e._e()],2)])},R=[],M={props:{scrollTop:{type:Number}},data(){return{lang:"",list:[],activeCatalog:"",activeCatalogIndex:-1,appointCatalog:!0}},computed:{pageCatalogTitle(){return x("pageCatalog",this.lang)}},watch:{$route(e,t){this.initLang(),this.initCatalogList(e.path,t.path)},scrollTop(){this.onScroll()},lang(e,t){t&&this.initCatalogList()}},mounted(){this.initLang(),this.initCatalogList(),this.scrollToCatalog()},methods:{initLang(){let e=/^\/(doc|help)\/([^\/]+)\//.exec(this.$route.path);e&&e[2]&&(this.lang=e[2])},initCatalogList(e,t){let n=/^\/(doc|help)\/[^\/]+\/([^\/]+)/.exec(e),i=/^\/(doc|help)\/[^\/]+\/([^\/]+)/.exec(t);if(!e&&!t||n[2]!==i[2]){this.$emit("scroll",0),this.resetActive();let e=document.getElementById("doc"),t=document.querySelectorAll("#doc h2");this.list=Array.from(t).map(t=>({title:t.textContent,top:t.offsetTop-e.offsetTop}))}},scrollToCatalog(){let e=/^\/(doc|help)\/[^\/]+\/[^\/]+\/([^\/]+)($|\/)/.exec(this.$route.path);if(e&&e[2]){let t=decodeURIComponent(e[2]),n=this.list.find(e=>e.title===t),i=this.list.findIndex(e=>e.title===t);n&&(this.activeCatalog=n.title,this.activeCatalogIndex=i,this.$emit("scroll",n.top))}},scrollTo(e,t){this.appointCatalog=!0,this.routeToNewCatalog(e.title),this.$nextTick(()=>{this.activeCatalog=e.title,this.activeCatalogIndex=t,this.scrollToCatalog()})},routeToNewCatalog(e){let t=this.$route.path,n="";n=e?/^\/(doc|help)\/[^\/]+\/[^\/]+($|\/)$/.test(t)?t.replace(/^(\/(doc|help)\/[^\/]+\/[^\/]+)($|\/)$/,"$1/"+encodeURIComponent(e)):t.replace(/^(\/(doc|help)\/[^\/]+\/[^\/]+\/)([^\/]+)($|\/)/,(...t)=>t[1]+encodeURIComponent(e)):t.replace(/^(\/(doc|help)\/[^\/]+\/[^\/]+)($|\/|.*)$/,"$1"),t!==n&&this.$router.push(n)},onScroll(){if(this.appointCatalog)return void(this.appointCatalog=!1);let e=!1;for(let t=0;t=n.top&&(!i||this.scrollTop{try{this.$refs.doc.scrollTop=e}catch(t){console.log(t)}})},onScroll(){this.scrollTop=this.$refs.doc.scrollTop}}}),P=F,B=(n("3650"),Object(y["a"])(P,a,r,!1,null,null,null)),U=B.exports;const H=()=>{let e=d[0].children;for(let t=1;t{n.find(t=>t.path===e.path)||n.push({...e,lang:"zh"})})}};H();const j=(e,t)=>[...d.map(n=>({path:`/${e}/${n.lang}/`,redirect:`/${e}/${n.lang}/${t}/`})),...d.map(t=>({path:`/${e}/${t.lang}/`,component:U,children:t.children.map(e=>({path:e.path+"/:h?",component:()=>n("b834")(`./${e.lang||t.lang}/${e.path}/index.vue`)}))}))];i["default"].use(o["a"]);const G=[{path:"/index",name:"Index",component:()=>n.e("chunk-66b27c16").then(n.bind(null,"9684"))},{path:"/",name:"Edit",component:()=>n.e("chunk-bac9f554").then(n.bind(null,"5fca"))},...j("doc","introduction"),...j("help","help1")],Y=new o["a"]({routes:G});t["a"]=Y},"440d":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABhVJREFUeF7tW2uME1UU/s4suwjyMBpw1e0UAkYCiWIkasJLScwaoySIrtiZRQJ0CiIRDfEVEuGHkUg0ogHZWdiV3c6ugUA0avCBkaiQSCAmGl8RIp1FBDWCBMGw3TmmsNNOZ2e6nWm3LbT917n33HvOd87cc+537xDK/Edlbj8qAFQi4BJBYHw0OuI8nZsHwnQwpgMcdFH9MBifsmDsr7li6IeHH5z/RyYTL4lXIKCp9QS8CmCSN3/RMRDW6aHw625yJQ+AqKkfAaj3Znh6bwLejUnKHKcxShoAsb1pNQR6sY/iRMcZ/JOjQQbfCKIb7G0EY25MWrKz7/NcoB1A2WDn5lvZML4CMDQ1Db0PZlWXlQ8yTR3oVGeTgWcATLX0O2XE4zOPPvb4t1bZko0AUVMbAbSZymYKYzcwAh3q58S4KzkGY1FMVlpKGoBgW/NYFngSCE8BmJVUloVpurx4r5egEzuapoHpy9QY/IouR54tWQBETW0FsMDJyDjxqGOhyF9eAKjd1jKqpjueTIMM3tklReaWHACBt5vGUTXtBjDGzcAqotpfQ+ETXgAItjddxwIds8js0CXloZICYGxH87U9zMf7M8xtFc9iMXwvuQYQvRQLhVeVFACi1vw1wLenGWLwGhaEagK/YHl/f9PlSF1/QFnbRU3lNGNZkGLy4o6SASCoqSsZWGdViJnru+TIJxdL33/3A3STpT1R5q4g5oOxxsjvTmBcjChjBkDb0sYl7OFBZ+472vD0uZIAYEzrhlqjptpmBE3RpfBBU8HeEjhRCeb8M+LxW+w1QGLQotUBde2b7hUEYVfKMlZ1KRKxW+paDXqBxOA1emNktZNI0QAQo03Pgehli1LzdUlpd1KybuvGm6l60HprUZOd/fwzg57skpSP3foXDYCgpnYyMM9UTBB6xh55dOkRN0Xrtr02pOr8iDkQeCIzT2DCNY4eZT7BhO9g8KHBGLbrkCyfzgRW0QCwl6m6pBRFl6JMmvBIBQDbRqUSAaX2CgQ6t0yhnp5FLGBCdituei+B6UcwH7BvP81eoqYeAHBb7//TuqSMzDRPQRfBvORe0xqHHHyxyjv7j8Xg3bqk3OOaAQqZBoNRdSETtvjxursMN+hSZLvZHoyqc5iQoqeY1+py5Hkn+bw4w0shFNSaNzJ4aT4BYEJLV0hZZAn/QwDGmf8JkGOSotnnLEopbE9P4EGTdHnhD14AEaMtE0Hx700ZJuzpCil3J/47ePQXo1q482jD4r+tcxRtM5Sv/Gzbiu4FYy0JWMWMO6yGuno/uukRIuGdZF/mwmyHBwgA5wBinCKC7tTIzKNBVJt6TZxp7UyR2csOeyNECgqAh/eqYJRYqQKQD1IUQP+cYIEB+A/AWZdAuDrteR5occqGExwgABLb051Ox1xkYGqsUdnXJwXaFsH8HIxkwQnaAehvn+7kPTsdbabB3vSY4OpSp7yEfedOdtf/uWzZmf7ToP+jsYQOWXGC9kIoIehhrUp2tbI3fQuhJh2ggCXFLdDlyNasCyEfh6NZc4IDUQoTsxSTI0k6OtCuziYByfQEYL0uKStKohROKBHQmjUCh/x4vq8MbdelcIP1+ZjW1quMmu6TqWf0hS6FZ7rNVxROUIyq94NoPsAP+wOCtjNxogTe6OhZTf0GwOTetjO6pAzPNE9iOyx0D2/0ckVmsDFsR4UT7Md7FU7QX3jnLpWveiNXTSoRkCuCfuVFTY0CkJK7PYOvdzvwTPQpKCfo1ygvcmKHuhyMN1LFEB5wu/xUlDToxRg/fYNtzbO4ij+z1AKrdSm8xj5WwTlBP8b4kRnX9tbo7qqqtCsv5t0Ac7yicIJ+jPErE9DUNwl4Ik2+l4MsGifo1xi/cqKmngKQfihy4YoMXUnAytQaUSBO0K8hfuX6nBG4DHTZXpJK2HvhQiNoNxiD3YAsGCfo15O5yo3asGHYkJHV60BY4jRWPjjBkr0oaTW4rn3zeIF4MpOxnEAzUmtAGVyVtQJRtpelTRDK/rr8hcWxnD+YMCOhrD+ZsZXE5fnRlAlCWX82l2uNkUm+aIzQQBrlZewKAF7Quhz7/g9P4cNulJCaPwAAAABJRU5ErkJggg=="},5439:function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);var i=n("2b0e"),o=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},a=[],r={name:"App",components:{}},l=r,c=(n("36f1"),n("2877")),d=Object(c["a"])(l,o,a,!1,null,null,null),s=d.exports,u=n("41cb"),h=n("c0d6"),p=n("5c96"),m=n.n(p),f=(n("0fae"),n("9c65"),n("0808"),n("c71c")),g=n("9225"),v=n("365c");i["default"].config.productionTip=!1;const T=new i["default"];i["default"].prototype.$bus=T,i["default"].use(m.a),i["default"].use(f["a"]);const x=()=>{g["a"].locale=Object(v["b"])(),new i["default"]({render:e=>e(s),router:u["a"],store:h["a"],i18n:g["a"]}).$mount("#app")};window.takeOverApp?(window.initApp=x,window.$bus=T):x()},5848:function(e,t,n){"use strict";const i=()=>({image:"/enJFNMHnedQTYTESGfDkctCp2.jpeg",imageTitle:"图片名称",imageSize:{width:1e3,height:563},icon:["priority_1"],tag:["标签1","标签2"],hyperlink:"http://lxqnsys.com/",hyperlinkTitle:"理想青年实验室",note:"理想青年实验室\n一个有意思的角落"}),o=(i(),i(),{root:{data:{text:"根节点"},children:[{data:{text:"二级节点",generalization:{text:"概要"}},children:[{data:{text:"分支主题"},children:[]},{data:{text:"分支主题"},children:[]}]}]}});t["a"]={...o,theme:{template:"classic4",config:{}},layout:"logicalStructure",config:{}}},"59d2":function(e,t,n){},"716d":function(e,t,n){},9225:function(e,t,n){"use strict";var i=n("2b0e"),o=n("a925"),a={baseStyle:{title:"BaseStyle",background:"Background",color:"Color",image:"Image",imageRepeat:"Image repeat",imagePosition:"Image position",imageSize:"Image size",line:"Line",width:"Width",style:"Style",lineRadius:"Radius",lineOfOutline:"Line of outline",showArrow:"Is show arrow",nodePadding:"Node padding",nodeMargin:"Node margin",horizontal:"Horizontal",vertical:"Vertical",maximumWidth:"Max width",maximumHeight:"Max height",icon:"Icon",size:"Size",level2Node:"Level2 node",belowLevel2Node:"Below level2 node",nodeBorderType:"Node border style",nodeUseLineStyle:"Use only has bottom border style",otherConfig:"Other config",enableFreeDrag:"Enable node free drag",watermark:"Watermark",showWatermark:"Is show watermark",onlyExport:"Only export",watermarkDefaultText:"Watermark text",watermarkText:"Watermark text",watermarkTextColor:"Text color",watermarkLineSpacing:"Line spacing",watermarkTextSpacing:"Text spacing",watermarkAngle:"Angle",watermarkTextOpacity:"Text opacity",watermarkTextFontSize:"Font size",isEnableNodeRichText:"Enable node rich text editing",mousewheelAction:"Mouse wheel behavior",zoomView:"Zoom view",moveViewUpDown:"Move view up and down",associativeLine:"Associative line",associativeLineWidth:"Width",associativeLineColor:"Color",associativeLineActiveWidth:"Active width",associativeLineActiveColor:"Active color",mousewheelZoomActionReverse:"Mouse Wheel Zoom",mousewheelZoomActionReverse1:"Zoom out forward and zoom in back",mousewheelZoomActionReverse2:"Zoom in forward and zoom out back",createNewNodeBehavior:"Behavior of creating new node",default:"Active new node and editing",notActive:"Not active new node",activeOnly:"Only active new node but not editing",rootStyle:"Root Node",associativeLineText:"Associative line text",fontFamily:"Font family",fontSize:"Font size",isShowScrollbar:"Is show scrollbar",isUseHandDrawnLikeStyle:"Is use hand drawn like style",rootLineStartPos:"Root line start pos",center:"Center",right:"Right",rainbowLines:"Rainbow lines",notUseRainbowLines:"Not use rainbow lines"},color:{moreColor:"More color"},contextmenu:{insertSiblingNode:"Insert sibling node",insertChildNode:"Insert child node",insertParentNode:"Insert parent node",insertSummary:"Insert summary",moveUpNode:"Move up node",moveDownNode:"Move down node",deleteNode:"Delete node",deleteCurrentNode:"Only del cur node",copyNode:"Copy node",cutNode:"Cut node",pasteNode:"Paste node",backCenter:"Back root node",expandAll:"Expand all",unExpandAll:"Un expand all",expandTo:"Expand to",arrangeLayout:"Arrange layout",level1:"Level1",level2:"Level2",level3:"Level3",level4:"Level4",level5:"Level5",level6:"Level6",zenMode:"Zen mode",fitCanvas:"Fit canvas",removeImage:"Remove image",removeHyperlink:"Remove hyperlink",removeNote:"Remove note",removeCustomStyles:"Remove custom styles",removeAllNodeCustomStyles:"Remove all node custom styles"},count:{words:"Words",nodes:"Nodes"},dialog:{cancel:"Cancel",confirm:"Confirm"},export:{title:"Export",filename:"Filename",include:"Is include config like theme and structure",dedicatedFile:"Dedicated file",jsonFile:"json file",imageFile:"Image file",svgFile:"svg file",pdfFile:"pdf file",markdownFile:"markdown file",tips:"tips: .smm and .json file can be import",isTransparent:"Background is transparent",pngTips:"tips: Exporting pictures in rich text mode is time-consuming. It is recommended to export to svg format",svgTips:"tips: Exporting pictures in rich text mode is time-consuming",transformingDomToImages:"Converting nodes: ",notifyTitle:"Info",notifyMessage:"If the download is not triggered, check whether it is blocked by the browser",paddingX:"Padding x",paddingY:"Padding y",useMultiPageExport:"Export multi page",defaultFileName:"Mind map",addFooterTextPlaceholder:"For example: From simple-mind-map",addFooterText:"Add text at the footer"},fullscreen:{fullscreenShow:"Full screen show",fullscreenEdit:"Full screen edit"},import:{title:"Import",selectFile:"Select file",supportFile:"Support .smm、.json、.xmind、.xlsx、.md file",enableFileTip:"Please select .smm、.json、.xmind、.xlsx、.md file",maxFileNum:"At most one file can be selected",notSelectTip:"Please select the file to import",fileContentError:"The file content is incorrect",importSuccess:"Import success",fileParsingFailed:"File parsing failed"},navigatorToolbar:{openMiniMap:"Open mini map",closeMiniMap:"Close mini map",readonly:"Change to eadonly",edit:"Change to edit",backToRoot:"Back to root node",changeSourceCodeEdit:"Switch to source code editing mode"},nodeHyperlink:{title:"Link",link:"Href",name:"Name"},nodeIcon:{title:"Icon"},nodeImage:{title:"Image",imgTitle:"Title"},nodeNote:{title:"Note"},nodeTag:{title:"Tag",addTip:"Press Enter to add"},outline:{title:"Outline",nodeDefaultText:"Branch node"},scale:{zoomIn:"Zoom in",zoomOut:"Zoom out"},shortcutKey:{title:"Shortcut key"},strusture:{title:"Strusture"},style:{title:"Node style",normal:"Normal",active:"Active",text:"Text",fontFamily:"Font family",fontSize:"Font size",lineHeight:"Line height",color:"color",addFontWeight:"add font weight",italic:"Italic",textDecoration:"Text decoration",underline:"Underline",none:"None",lineThrough:"Line through",overline:"Overline",border:"Border",style:"Style",width:"Width",borderRadius:"Border radius",background:"Background",shape:"Shape",line:"Line",nodePadding:"Node padding",horizontal:"Horizontal",vertical:"Vertical",gradientStyle:"Gradient",startColor:"Start",endColor:"End",arrowDir:"Arrow dir",arrowDirStart:"Start",arrowDirEnd:"End"},theme:{title:"Theme",classics:"Classics",dark:"Darkness",simple:"Simple",coverTip:"You have currently customized the basic style, do you want to overwrite it?",tip:"Tip",cover:"Cover",reserve:"Reserve"},toolbar:{undo:"Undo",redo:"Redo",insertSiblingNode:"Sibling node",insertChildNode:"Child node",deleteNode:"Delete node",image:"Image",icon:"Icon",link:"Link",note:"Note",tag:"Tag",summary:"Summary",displayOutline:"Display outline",baseStyle:"Base style",theme:"Theme",strusture:"Strusture",newFile:"New file",openFile:"Open file",saveAs:"Save as",import:"Import",export:"Export",shortcutKey:"Shortcut key",associativeLine:"Associative line",painter:"Painter",formula:"Formula",more:"More",selectFileTip:"Please select a file",notSupportTip:"Your browser does not support this feature, or the current page is not using the HTTPS protocol",tip:"Tip",editingLocalFileTipFront:"Currently editing your local【",editingLocalFileTipEnd:"】file",fileContentError:"File content error",fileOpenFailed:"File open failed",defaultFileName:"Mind map",creatingTip:"Creating file",directory:"Directory"},edit:{newFeatureNoticeTitle:"New feature reminder",newFeatureNoticeMessage:"This update supports node rich text editing, But there are some defects, The most important impact is that the time to export the image is proportional to the number of nodes, Therefore, if you are more dependent on export requirements, you can use【Base style】-【Other config】-【Enable node rich text editing】Set to turn off rich text editing mode.",root:"Root node",splitByWrap:"Is automatically split nodes based on line breaks?",tip:"Tip",yes:"Yes",no:"No",exportError:"Export failed"},mouseAction:{tip1:"Current: Left click to drag the canvas, right click to box select nodes",tip2:"Current: Left click to box select nodes, right click to drag the canvas"},search:{searchPlaceholder:"Please enter the search content",replacePlaceholder:"Please enter replacement content",replace:"Replace",replaceAll:"Replace all",cancel:"Cancel"},nodeIconSidebar:{title:"Icon/Sticker",icon:"Icon",sticker:"Sticker"},formulaSidebar:{title:"Formula",placeholder:"Please enter LaTeX syntax",confirm:"Confirm",common:"Common formulas",tip:"Inserting formulas is not supported in non rich text mode"},richTextToolbar:{bold:"Bold",italic:"Italic",underline:"Underline",strike:"Strike",fontFamily:"Font family",fontSize:"Font size",color:"Color",backgroundColor:"Background color",removeFormat:"Clear Style"},other:{loading:"Loading, please wait..."},sourceCodeEdit:{sourceCodeTip:"It is not recommended to modify the style in rich text mode because it requires synchronous modification of data and HTML structure.",format:"Format",copy:"Copy",confirm:"Complete",close:"Close",formatErrorTip:"The JSON format is incorrect. Please check and try again",copyTip:"Copied to clipboard",formatTip:"Format complete"}},r={baseStyle:{title:"基础样式",background:"背景",color:"颜色",image:"图片",imageRepeat:"图片重复",imagePosition:"图片位置",imageSize:"图片大小",line:"连线",width:"粗细",style:"风格",lineRadius:"圆角大小",lineOfOutline:"概要的连线",showArrow:"是否显示箭头",nodePadding:"节点内边距",nodeMargin:"节点外边距",horizontal:"水平",vertical:"垂直",maximumWidth:"显示的最大宽度",maximumHeight:"显示的最大高度",icon:"图标",size:"大小",level2Node:"二级节点",belowLevel2Node:"三级及以下节点",nodeBorderType:"节点边框风格",nodeUseLineStyle:"是否使用只有底边框的风格",otherConfig:"其他配置",enableFreeDrag:"是否开启节点自由拖拽",watermark:"水印",showWatermark:"是否显示水印",watermarkDefaultText:"水印文字",onlyExport:"是否仅在导出时显示",watermarkText:"水印文字",watermarkTextColor:"文字颜色",watermarkLineSpacing:"水印行间距",watermarkTextSpacing:"水印文字间距",watermarkAngle:"旋转角度",watermarkTextOpacity:"文字透明度",watermarkTextFontSize:"文字字号",isEnableNodeRichText:"是否开启节点富文本编辑",mousewheelAction:"鼠标滚轮行为",zoomView:"缩放视图",moveViewUpDown:"上下移动视图",associativeLine:"关联线",associativeLineWidth:"粗细",associativeLineColor:"颜色",associativeLineActiveWidth:"激活粗细",associativeLineActiveColor:"激活颜色",mousewheelZoomActionReverse:"鼠标滚轮缩放",mousewheelZoomActionReverse1:"向前缩小向后放大",mousewheelZoomActionReverse2:"向前放大向后缩小",createNewNodeBehavior:"创建新节点的行为",default:"激活新节点及进入编辑",notActive:"不激活新节点",activeOnly:"只激活新节点,不进入编辑",rootStyle:"根节点",associativeLineText:"关联线文字",fontFamily:"字体",fontSize:"字号",isShowScrollbar:"是否显示滚动条",isUseHandDrawnLikeStyle:"是否开启手绘风格",rootLineStartPos:"根节点连线起始位置",center:"中心",right:"右侧",rainbowLines:"彩虹线条",notUseRainbowLines:"不使用彩虹线条"},color:{moreColor:"更多颜色"},contextmenu:{insertSiblingNode:"插入同级节点",insertChildNode:"插入子级节点",insertParentNode:"插入父节点",insertSummary:"插入概要",moveUpNode:"上移节点",moveDownNode:"下移节点",deleteNode:"删除节点",deleteCurrentNode:"仅删除当前节点",copyNode:"复制节点",cutNode:"剪切节点",pasteNode:"粘贴节点",backCenter:"回到根节点",expandAll:"展开所有",unExpandAll:"收起所有",expandTo:"展开到",arrangeLayout:"一键整理布局",level1:"一级主题",level2:"二级主题",level3:"三级主题",level4:"四级主题",level5:"五级主题",level6:"六级主题",zenMode:"禅模式",fitCanvas:"适应画布",removeImage:"移除图片",removeHyperlink:"移除超链接",removeNote:"移除备注",removeCustomStyles:"一键去除自定义样式",removeAllNodeCustomStyles:"一键去除所有节点自定义样式"},count:{words:"字数",nodes:"节点"},dialog:{cancel:"取 消",confirm:"确 定"},export:{title:"导出",filename:"导出文件名称",include:"是否包含主题、结构等配置数据",dedicatedFile:"专有文件",jsonFile:"json文件",imageFile:"图片文件",svgFile:"svg文件",pdfFile:"pdf文件",markdownFile:"markdown文件",tips:"tips:.smm和.json文件可用于导入",isTransparent:"背景是否透明",pngTips:"tips:富文本模式导出图片非常耗时,建议导出为svg格式",svgTips:"tips:富文本模式导出图片非常耗时",transformingDomToImages:"正在转换节点:",notifyTitle:"消息",notifyMessage:"如果没有触发下载,请检查是否被浏览器拦截了",paddingX:"水平内边距",paddingY:"垂直内边距",useMultiPageExport:"是否多页导出",defaultFileName:"思维导图",addFooterText:"底部添加文字",addFooterTextPlaceholder:"比如:来自simple-mind-map"},fullscreen:{fullscreenShow:"全屏查看",fullscreenEdit:"全屏编辑"},import:{title:"导入",selectFile:"选取文件",supportFile:"支持.smm、.json、.xmind、.xlsx、.md文件",enableFileTip:"请选择.smm、.json、.xmind、.xlsx、.md文件",maxFileNum:"最多只能选择一个文件",notSelectTip:"请选择要导入的文件",fileContentError:"文件内容有误",importSuccess:"导入成功",fileParsingFailed:"文件解析失败"},navigatorToolbar:{openMiniMap:"开启小地图",closeMiniMap:"关闭小地图",readonly:"切换为只读模式",edit:"切换为编辑模式",backToRoot:"回到根节点",changeSourceCodeEdit:"切换为源码编辑模式"},nodeHyperlink:{title:"超链接",link:"链接",name:"名称"},nodeIcon:{title:"图标"},nodeImage:{title:"图片",imgTitle:"图片标题"},nodeNote:{title:"备注"},nodeTag:{title:"标签",addTip:"请按回车键添加"},outline:{title:"大纲",nodeDefaultText:"分支节点"},scale:{zoomIn:"放大",zoomOut:"缩小"},shortcutKey:{title:"快捷键"},strusture:{title:"结构"},style:{title:"节点样式",normal:"常态",active:"选中状态",text:"文字",fontFamily:"字体",fontSize:"字号",lineHeight:"行高",color:"颜色",addFontWeight:"加粗",italic:"斜体",textDecoration:"划线",none:"无",underline:"下划线",lineThrough:"中划线",overline:"上划线",border:"边框",style:"样式",width:"宽度",borderRadius:"圆角",background:"背景",shape:"形状",line:"线条",nodePadding:"节点内边距",horizontal:"水平",vertical:"垂直",gradientStyle:"渐变",startColor:"起始",endColor:"结束",arrowDir:"箭头位置",arrowDirStart:"头部",arrowDirEnd:"尾部"},theme:{title:"主题",classics:"经典",dark:"深色",simple:"朴素",coverTip:"你当前自定义过基础样式,是否覆盖?",tip:"提示",cover:"覆盖",reserve:"保留"},toolbar:{undo:"回退",redo:"前进",insertSiblingNode:"同级节点",insertChildNode:"子节点",deleteNode:"删除节点",image:"图片",icon:"图标",link:"超链接",note:"备注",tag:"标签",summary:"概要",displayOutline:"显示大纲",baseStyle:"基础样式",theme:"主题",strusture:"结构",newFile:"新建",openFile:"打开",saveAs:"另存为",import:"导入",export:"导出",shortcutKey:"快捷键",associativeLine:"关联线",painter:"格式刷",formula:"公式",more:"更多",selectFileTip:"请选择文件",notSupportTip:"你的浏览器不支持该功能,或者当前页面非https协议",tip:"提示",editingLocalFileTipFront:"当前正在编辑你本机的【",editingLocalFileTipEnd:"】文件",fileContentError:"文件内容有误",fileOpenFailed:"文件打开失败",defaultFileName:"思维导图",creatingTip:"正在创建文件",directory:"目录"},edit:{newFeatureNoticeTitle:"新特性提醒",newFeatureNoticeMessage:"本次更新支持了节点富文本编辑,但是存在一定缺陷,最主要的影响是导出为图片的时间和节点数量成正比,所以对导出需求比较依赖的话可以通过【基础样式】-【其他配置】-【是否开启节点富文本编辑】设置关掉富文本编辑模式。",root:"根节点",splitByWrap:"是否按换行自动分割节点?",tip:"提示",yes:"是",no:"否",exportError:"导出失败"},mouseAction:{tip1:"当前:左键拖动画布,右键框选节点",tip2:"当前:左键框选节点,右键拖动画布"},search:{searchPlaceholder:"请输入查找内容",replacePlaceholder:"请输入替换内容",replace:"替换",replaceAll:"全部替换",cancel:"取消"},nodeIconSidebar:{title:"图标/贴纸",icon:"图标",sticker:"贴纸"},formulaSidebar:{title:"公式",placeholder:"请输入 LaTeX 语法",confirm:"完成",common:"常用公式",tip:"非富文本模式下不支持插入公式"},richTextToolbar:{bold:"加粗",italic:"斜体",underline:"下划线",strike:"删除线",fontFamily:"字体",fontSize:"字号",color:"字体颜色",backgroundColor:"背景颜色",removeFormat:"清除样式"},other:{loading:"正在加载,请稍后..."},sourceCodeEdit:{sourceCodeTip:"富文本模式下不建议修改样式,因为需要同步修改数据及html结构。",format:"格式化",copy:"复制",confirm:"完成",close:"关闭",formatErrorTip:"JSON格式有误,请检查后再试",copyTip:"已复制到剪贴板",formatTip:"格式化完成"}},l={zh:r,en:a};i["default"].use(o["a"]);const c=new o["a"]({messages:l});t["a"]=c},"9c65":function(e,t,n){},b1fa:function(e,t,n){"use strict";n("5439")},b834:function(e,t,n){var i={"./en/associativeLine/index.vue":["708b","chunk-2d0d5cb9"],"./en/batchExecution/index.vue":["ed72","chunk-2d2308b0"],"./en/changelog/index.vue":["a6d3","chunk-2d208ffa"],"./en/client/index.vue":["0247","chunk-2d0a34fb"],"./en/command/index.vue":["9381","chunk-2d0e5089"],"./en/constructor/index.vue":["6a50","chunk-2d0d9fbc"],"./en/cooperate/index.vue":["f2be","chunk-2d22c6c5"],"./en/deploy/index.vue":["b1a3","chunk-2d20f137"],"./en/doExport/index.vue":["c6ec","chunk-2d217907"],"./en/drag/index.vue":["ff2d","chunk-2d238428"],"./en/formula/index.vue":["dec3","chunk-2d229d67"],"./en/handDrawnLikeStyle/index.vue":["d763","chunk-9d289278"],"./en/introduction/index.vue":["7f29","chunk-4c82605f"],"./en/keyCommand/index.vue":["2f7a","chunk-2d0be174"],"./en/keyboardNavigation/index.vue":["328f","chunk-2d0b92c3"],"./en/markdown/index.vue":["8102","chunk-2d0dd3b1"],"./en/miniMap/index.vue":["b98e","chunk-2d210a7a"],"./en/node/index.vue":["c133","chunk-2d216004"],"./en/nodeImgAdjust/index.vue":["48a3","chunk-2d0c226c"],"./en/painter/index.vue":["76a5","chunk-2d0d7809"],"./en/rainbowLines/index.vue":["8235","chunk-2d0dd7d2"],"./en/render/index.vue":["8e32","chunk-2d0e9742"],"./en/richText/index.vue":["4947","chunk-2d0c20be"],"./en/scrollbar/index.vue":["a950","chunk-2d209589"],"./en/search/index.vue":["bf42","chunk-2d21b2b8"],"./en/select/index.vue":["ddd1","chunk-2d2299c3"],"./en/start/index.vue":["b407","chunk-2d20f68f"],"./en/textEdit/index.vue":["9d03","chunk-2d0f0784"],"./en/touchEvent/index.vue":["a1cd","chunk-2d207d47"],"./en/translate/index.vue":["479a","chunk-2d0c1a01"],"./en/utils/index.vue":["144f","chunk-2d0ab10b"],"./en/view/index.vue":["16c7","chunk-2d0abe0f"],"./en/watermark/index.vue":["27ad","chunk-2d0b361e"],"./en/xmind/index.vue":["f127","chunk-2d22bd06"],"./zh/associativeLine/index.vue":["20fa","chunk-2d0b1c6f"],"./zh/batchExecution/index.vue":["e9ee","chunk-2d226d0a"],"./zh/changelog/index.vue":["9ac1","chunk-2d0f026c"],"./zh/client/index.vue":["92da","chunk-2d0e524c"],"./zh/command/index.vue":["6df4","chunk-2d0db0f2"],"./zh/constructor/index.vue":["6cfb","chunk-2d0dad5f"],"./zh/cooperate/index.vue":["a1ae","chunk-2d207d0a"],"./zh/course1/index.vue":["8e98","chunk-2d0e9802"],"./zh/course10/index.vue":["3f2a","chunk-2d0c5538"],"./zh/course11/index.vue":["33b0","chunk-2d0b9b64"],"./zh/course12/index.vue":["eb27","chunk-2d230098"],"./zh/course13/index.vue":["c1ec","chunk-2d216642"],"./zh/course14/index.vue":["e487","chunk-2d2254a4"],"./zh/course15/index.vue":["fb9a","chunk-2d2375fa"],"./zh/course16/index.vue":["18dc","chunk-2d0ac5dc"],"./zh/course17/index.vue":["4323","chunk-2d0c09f6"],"./zh/course18/index.vue":["91b3","chunk-2d0e4e1f"],"./zh/course19/index.vue":["ae22","chunk-77915045"],"./zh/course2/index.vue":["c187","chunk-2d2160a3"],"./zh/course20/index.vue":["158d","chunk-2d0ab546"],"./zh/course21/index.vue":["e410","chunk-2d2253c4"],"./zh/course22/index.vue":["d013","chunk-2d21d064"],"./zh/course23/index.vue":["a0a8","chunk-2d20791c"],"./zh/course24/index.vue":["2ad8","chunk-2d0bd3f9"],"./zh/course25/index.vue":["e6dd","chunk-2d2261a7"],"./zh/course26/index.vue":["20c6","chunk-2d0b1be7"],"./zh/course3/index.vue":["0fcd","chunk-2d0afe0d"],"./zh/course4/index.vue":["32a6","chunk-2d0b978a"],"./zh/course5/index.vue":["3c76","chunk-2d0c4a65"],"./zh/course6/index.vue":["8e25","chunk-2d0e9726"],"./zh/course7/index.vue":["c13f","chunk-2d216037"],"./zh/course8/index.vue":["cc99","chunk-2d221c76"],"./zh/course9/index.vue":["b69b","chunk-2d20ff53"],"./zh/deploy/index.vue":["71bb","chunk-2d0d6590"],"./zh/doExport/index.vue":["1256","chunk-2d0aa978"],"./zh/drag/index.vue":["4604","chunk-2d0c14fc"],"./zh/formula/index.vue":["d53e","chunk-2d21e399"],"./zh/handDrawnLikeStyle/index.vue":["d2d5","chunk-1c3bec15"],"./zh/help1/index.vue":["05ec","chunk-2d0a4659"],"./zh/help2/index.vue":["83fa","chunk-2d0de1ec"],"./zh/help3/index.vue":["3de7","chunk-2d0c53b9"],"./zh/help4/index.vue":["f08f","chunk-2d22ba2e"],"./zh/help5/index.vue":["2c65","chunk-2d0bd5e6"],"./zh/introduction/index.vue":["4710","chunk-5ecd9693"],"./zh/keyCommand/index.vue":["a43c","chunk-2d2082b9"],"./zh/keyboardNavigation/index.vue":["2c18","chunk-2d0bd54e"],"./zh/markdown/index.vue":["08d0","chunk-2d0a514a"],"./zh/miniMap/index.vue":["0168","chunk-2d0a3179"],"./zh/node/index.vue":["433b","chunk-2d0c0a44"],"./zh/nodeImgAdjust/index.vue":["1f8f","chunk-2d0b6d39"],"./zh/painter/index.vue":["5b22","chunk-2d0d2ec3"],"./zh/rainbowLines/index.vue":["4987","chunk-2d0c213a"],"./zh/render/index.vue":["6c31","chunk-2d0da701"],"./zh/richText/index.vue":["35c4","chunk-2d0ba309"],"./zh/scrollbar/index.vue":["3def","chunk-2d0c53e8"],"./zh/search/index.vue":["0503","chunk-2d0a3fbe"],"./zh/select/index.vue":["321a","chunk-2d0b91e5"],"./zh/start/index.vue":["7e57","chunk-2d0e2326"],"./zh/textEdit/index.vue":["c576","chunk-2d216f87"],"./zh/touchEvent/index.vue":["e021","chunk-2d2244e0"],"./zh/translate/index.vue":["1136","chunk-2d0aa579"],"./zh/utils/index.vue":["4738","chunk-2d0c191e"],"./zh/view/index.vue":["82ca","chunk-2d0dddce"],"./zh/watermark/index.vue":["848a","chunk-2d0de01b"],"./zh/xmind/index.vue":["8427","chunk-2d0ddf37"]};function o(e){if(!n.o(i,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],o=t[0];return n.e(t[1]).then((function(){return n(o)}))}o.keys=function(){return Object.keys(i)},o.id="b834",e.exports=o},c0d6:function(e,t,n){"use strict";var i=n("2b0e"),o=n("2f62"),a=n("5848"),r=n("365c");i["default"].use(o["a"]);const l=new o["a"].Store({state:{mindMapData:null,isHandleLocalFile:!1,localConfig:{isZenMode:!1,openNodeRichText:!0,useLeftKeySelectionRightKeyDrag:!1,isShowScrollbar:!1,isUseHandDrawnLikeStyle:!1,isDark:!1},activeSidebar:"",isOutlineEdit:!1,isReadonly:!1,isSourceCodeEdit:!1,extraTextOnExport:""},mutations:{setMindMapData(e,t){e.mindMapData=t},setIsHandleLocalFile(e,t){e.isHandleLocalFile=t},setLocalConfig(e,t){e.localConfig={...e.localConfig,...t},Object(r["g"])(e.localConfig)},setActiveSidebar(e,t){e.activeSidebar=t},setIsOutlineEdit(e,t){e.isOutlineEdit=t},setIsReadonly(e,t){e.isReadonly=t},setIsSourceCodeEdit(e,t){e.isSourceCodeEdit=t},setExtraTextOnExport(e,t){e.extraTextOnExport=t}},actions:{getUserMindMapData(e){try{let{data:t}={data:{data:{mindMapData:a["a"]}}};e.commit("setMindMapData",t.data)}catch(t){console.log(t)}}}});t["a"]=l},d82e:function(e,t,n){},eca6:function(e,t,n){"use strict";n("716d")}}); \ No newline at end of file diff --git a/dist/js/chunk-2d0f026c.js b/dist/js/chunk-2d0f026c.js index 091ec6d3..44d8ce12 100644 --- a/dist/js/chunk-2d0f026c.js +++ b/dist/js/chunk-2d0f026c.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0f026c"],{"9ac1":function(_,v,p){"use strict";p.r(v);var o=function(){var _=this;_._self._c;return _._m(0)},e=[function(){var _=this,v=_._self._c;return v("div",[v("h1",[_._v("Changelog")]),v("h2",[_._v("0.9.9-fix.1")]),v("p",[_._v("修复上个版本的改动造成搜索插件无法搜索的问题。")]),v("h2",[_._v("0.9.9")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复第一次创建关联线时,箭头颜色不正确的问题;")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.支持insert键插入下级节点;")]),v("p",[_._v("2.增加beforeShortcutRun实例化选项用于拦截快捷键操作;")]),v("p",[_._v("3.根实例增加增量更新画布数据的方法updateData;")]),v("p",[_._v("4.新增彩虹线条插件;")]),v("p",[_._v("5.节点中的图标添加鼠标移入和移出事件;")]),v("p",[_._v("6.节点实例新增getAncestorNodes方法用于获取祖先节点列表;")]),v("p",[_._v("7.协同编辑时的人员头像增加鼠标事件;")]),v("p",[_._v("8.实例化及setData方法支持传入空的data;")]),v("p",[_._v("9.新增导出图片时添加自定义内容的实例化选项;")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.支持配置彩虹线条;")]),v("p",[_._v("2.新增源码编辑模式;")]),v("p",[_._v("3.导出png、pdf、svg支持设置底部自定义文字;")])]),v("p",[_._v("客户端:")]),v("blockquote",[v("p",[_._v("1.双击文件打开应用时不打开工作台页面;")]),v("p",[_._v("2.修复重复打开同一个文件会打开多个编辑窗口的问题;")]),v("p",[_._v("3.修改删除正在编辑的文件的提示;")])]),v("h2",[_._v("0.9.8")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复当画布大小改变后,限制思维导图在画布内和滚动条位置计算功能不正确的问题;")]),v("p",[_._v("2.修复导入某些旧版xmind文件时报错的问题;")]),v("p",[_._v("3.修复只读模式搜索高亮节点时收起节点高亮框未消失的问题;")]),v("p",[_._v("4.修复某些情况下搜索时数据改变,搜索结果没有更新的问题;")]),v("p",[_._v("5.修复删除正在编辑中的节点时实际上删除的是相邻节点的问题;")]),v("p",[_._v("6.修复节点数据中根节点设置了expand:false时只渲染根节点的问题;")]),v("p",[_._v("7.修复协同编辑插件:当选中一个节点时,再将该节点收起,该节点激活状态已消失,但其他客户端该节点的选中状态依旧存在的问题;")]),v("p",[_._v("8.优化markdown的导出,修复概要丢失的问题;")]),v("p",[_._v("9.修复自由拖拽时,前进后退操作对节点位置不生效的问题;")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.INSERT_NODE等命令不会覆盖自定义的uid;")]),v("p",[_._v("2.节点实例新增高亮和取消高亮的方法;调整只读模式搜索高亮节点的方式;")]),v("p",[_._v("3.新增搜索所有节点(包含被收起的节点)的配置;搜索默认改为搜索所有节点;")]),v("p",[_._v("4.增加协同编辑时同一节点不能多人选中的配置选项;")]),v("p",[_._v("5.增加协同编辑节点操作同步前的生命周期函数配置选项;")]),v("p",[_._v("6.概要节点增加uid字段;")]),v("p",[_._v("7.新增支持txt文件的导出;")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.修复打开标签弹窗、备注弹窗后点击遮罩关闭弹窗后快捷键会失效的问题;")]),v("p",[_._v("2.修改主题和暗色的关联逻辑;")]),v("p",[_._v("3.支持读取本地目录;")]),v("p",[_._v("4.修复导入弹窗选择了一个文件后再把它删除实际上并没有删掉的问题;")]),v("p",[_._v("5.新增txt文件的导出;")])]),v("h2",[_._v("0.9.7")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复二级以下节点拖拽到根节点变成二级节点时样式没有更新的问题;修复上移一个层级命令移动节点时样式没有更新的问题;")]),v("p",[_._v("2.修复激活概要节点,然后给其设置文本样式时概要节点会失去焦点的问题;")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.新增两个去除节点自定义样式的命令;")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.新增去除节点自定义样式的右键菜单按钮。")])]),v("h2",[_._v("0.9.6")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复切换主题时,被收起的节点样式没有改变的问题;")]),v("p",[_._v("2.修复切换主题后进行文本换行时,新换行的文本样式会丢失的问题;")]),v("p",[_._v("3.修复切换主题时,换行的文本样式没有改变的问题;")]),v("p",[_._v("4.修复添加了数学公式的节点,切换主题时文本样式没有改变的问题;")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.主题新增字段,用于设置节点连线箭头的显示位置,头部或者尾部;")]),v("p",[_._v("2.主题新增字段,用于设置曲线连接时,根节点连线的起始位置;")]),v("p",[_._v("3.Mac 双指触摸事件移动画布增加一点灵敏度;")]),v("p",[_._v("4.新增 MOVE_UP_ONE_LEVEL 命令,用于将节点上移一个层级;")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.大纲支持按 Shift+Tab 键将节点上移一个层级;")]),v("p",[_._v("2.支持设置节点箭头显示的位置;")]),v("p",[_._v("3.支持设置根节点连线的起始位置;")]),v("p",[_._v("4.新增两个主题;")]),v("p",[_._v("5.修复大纲中文本换行不生效,显示br标签的问题;")])]),v("h2",[_._v("0.9.5")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复展开收起节点时区间概要会丢失的问题。")]),v("p",[_._v("2.修复新创建的关联线位置始终在节点的右侧没有根据相对位置变化的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.增加设置关联线创建时两个端点初始位置的配置。")]),v("p",[_._v("2.增加禁止调整关联线端点位置的配置。")]),v("p",[_._v("3.新增手绘风格插件。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.优化界面在移动端的适配。")]),v("p",[_._v("2.支持开启手绘风格。")])]),v("h2",[_._v("0.9.4")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复一些情况下,节点显示时的文本区域宽度和编辑时的宽度不一致导致的文本换行不一致的问题。")]),v("p",[_._v("2.修复存在渐变色背景的节点富文本编辑时编辑框没有应用渐变的问题。")]),v("p",[_._v("3.修复被主题定义了加粗的节点切换主题后文本样式丢失的问题。")]),v("p",[_._v("4.修复 mac 上 useLeftKeySelectionRightKeyDrag 选项设为 true 时无法按住 ctrl 键多选节点的问题。")]),v("p",[_._v("5.修复节点富文本编辑时清除样式后文字样式丢失并且切换主题也不会恢复的问题。")]),v("p",[_._v("6.修复删除含有子节点的节点时,data_change_detail 事件报错的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.主题配置增加 lineRadius 属性设置直线连接时的圆角大小。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.大纲里去掉公式的显示。")]),v("p",[_._v("2.基础样式中一些仅支持部分结构的配置根据当前结构进行显示和隐藏。")]),v("p",[_._v("3.新增连线圆角的配置。")]),v("p",[_._v("4.导入文件时自动隐藏侧边栏。")])]),v("h2",[_._v("0.9.3")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复 Safari 浏览器上节点存在图标时文字位置错位的问题。")]),v("p",[_._v("2.修复 Chrome 内核版本比较低的浏览器中公式无法渲染的问题。")]),v("p",[_._v("3.修复在微前端框架子应用中使用时,new MouseEvent 代码执行报错的问题。")]),v("p",[_._v("4.修复导出图片时节点连线的箭头、关联线的箭头、渐变背景丢失的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.导出 pdf 从 jspdf 库改为 pdf-lib 库。")]),v("p",[_._v("2.设置节点文本命令(SET_NODE_TEXT)的第二个参数如果没有传递,会使用之前的值。")]),v("p",[_._v("3.优化节点存在超链接、备注时在 Firefox 浏览器中导出图片的宽高不正确的问题。")]),v("p",[_._v("4.节点文本编辑中,如果粘贴的是 smm 格式的粘贴数据,那么会取出第一个节点的纯文本进行粘贴。")]),v("p",[_._v("5.增加对节点非富文本编辑时的粘贴的拦截操作。")]),v("p",[_._v("6.新增节点数据更新的明细事件(data_change_detail),可以获取新创建、更新、被删除的节点数据。")]),v("p",[_._v("7.主题配置支持设置节点渐变背景色。")])]),v("p",[_._v("Demo:")]),v("p",[_._v("1.支持设置节点渐变色的背景。")]),v("h2",[_._v("0.9.2")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复节点文本含有连续的数字或字母时没有换行的问题。")]),v("p",[_._v("2.修复导入含有和当前画布已有节点 uid 相同的文件时会重复绘制节点的问题。")]),v("p",[_._v("3.修复当节点数量超出了缓存池的最大数量时,前进回退会导致节点重复渲染的问题。")]),v("p",[_._v("4.修复鼠标或触控板水平滚动时画布移动方向相反的问题。")]),v("p",[_._v("5.修复节点被销毁时鼠标移入标志没有复位的问题。")]),v("p",[_._v("6.修复滚动条插件在 initRootNodePosition 配置不为默认的[center,center]时位置计算错误的问题。")]),v("p",[_._v("7.修复拖拽画布时鼠标在节点上面松开时拖拽无法停止的问题。")]),v("p",[_._v("8.修复当画布容器距浏览器窗口左上角不为 0 时,view.fit 方法计算出来的位置有误差的问题。")]),v("p",[_._v("9.修复当节点数量比较多时,导出的图片中水印没有完全覆盖整个图片的问题。")]),v("p",[_._v("10.修复插入公式报错的问题。")]),v("p",[_._v("11.修复节点文本编辑状态中鼠标选择文本时移出编辑框,文字选中状态会丢失的问题。")]),v("p",[_._v("12.修复节点富文本编辑时,文本选中范围为 null 时没有触发 rich_text_selection_change 事件的问题。")]),v("p",[_._v("13.修复 node_dragging 事件回参里没有 node 实例的问题。")]),v("p",[_._v("14.修复节点数量过多,画布尺寸过大无法导出 png 的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.修改 mousewheel 事件,dir 标志修改为 dirs,支持存储多个方向,优化触控板的双指移动操作。")]),v("p",[_._v("2.TextEdit 类增加 isShowTextEdit 方法判断当前是否处在节点编辑状态。")]),v("p",[_._v("3.Render 类的 paste 方法改为支持粘贴剪贴板的数据。")]),v("p",[_._v("4.新增将思维导图图形限制在画布内的配置选项。")]),v("p",[_._v("5.注册了滚动条插件的情况下,支持配置是否将思维导图限制在画布内。")]),v("p",[_._v("6.收起所有节点操作会将思维导图根节点移至画布中心。")]),v("p",[_._v("7.支持仅在导出时显示水印的配置选项。")]),v("p",[_._v("8.在节点粘贴剪贴板中的图片时,支持自定义处理函数,可以将图片上传到你的服务器。")]),v("p",[_._v("9.重构 pdf 的导出逻辑,导出的 pdf 尺寸不再是固定的 a4,而是思维导图的尺寸,同时删除分页导出的配置。")]),v("p",[_._v("10.节点连线支持显示箭头,作为主题的一个字段。")]),v("p",[_._v("11.最大历史记录数量默认调整为 500。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.支持配置仅在导出时显示水印。")]),v("p",[_._v("2.基础样式配置连线支持显示箭头。")])]),v("h2",[_._v("0.9.1-fix.2")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复当节点文本为空时部分浏览器会显示默认文本的问题。")]),v("p",[_._v("2.修复当节点文本内容为空时再次输入文本时文本样式丢失的问题。")]),v("p",[_._v("3.修复节点图片加载失败时导出图片也会失败的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.支持配置节点图片加载失败时显示的默认图片。")])]),v("h2",[_._v("0.9.1-fix.1")]),v("p",[_._v("修复:")]),v("p",[_._v("1.修复自定义节点方法返回 null 时报错的问题。")]),v("p",[_._v("2.修复导出 pdf 文件体积很大的问题。")]),v("h2",[_._v("0.9.1")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复自定义节点内容时导出图片、svg、pdf 报错的问题。")]),v("p",[_._v("2.优化节点激活事件的派发,激活节点未改变时不派发事件,短时间派发多次事件时跳过中间事件。")]),v("p",[_._v("3.修复节点处于编辑状态时,通过鼠标滚动移动画布后编辑框和节点脱离的问题。")]),v("p",[_._v("4.修复在节点编辑状态中通过鼠标滚轮缩放画布再退出节点编辑后快捷键失效的问题。")]),v("p",[_._v("5.修复点击节点也会触发 node_dragend 事件的问题。")]),v("p",[_._v("6.修复不在格式刷时点击画布和节点也会触发 painter_end 事件的问题。")]),v("p",[_._v("7.修复在节点文本编辑中和关联线文本编辑中时销毁思维导图文本编辑框未被销毁的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.按住 Ctrl 键时禁用节点双击事件。")]),v("p",[_._v("2.支持配置创建新节点时的行为:聚焦且进入编辑、不聚焦、只聚焦。")]),v("p",[_._v("3.只读模式下搜索时给当前匹配到的节点增加高亮效果。")]),v("p",[_._v("4.鼠标滚轮行为默认改为上下移动画布;默认改为向前滚动放大画布,向后缩小。")]),v("p",[_._v("5.在鼠标滚轮行为为上下移动画布时,支持按住 Ctrl 键进行放大缩小画布。")])]),v("p",[_._v("Demo:支持配置创建新节点时的行为。")]),v("h2",[_._v("0.9.0")]),v("p",[_._v("新增:")]),v("p",[_._v("1.支持对同一个节点的部分子节点添加概要。")]),v("p",[_._v("2.鼠标移入概要会高亮其所属节点。")]),v("p",[_._v("3.导入和导出 xmind 文件支持处理概要。")]),v("h2",[_._v("0.8.1")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复历史记录数据中概要节点的激活状态未被删除的问题,会导致点击概要节点时触发 data_change 事件。")]),v("p",[_._v("2.修复在 safari 浏览器中运行时,页面空白且控制台抛出异常的问题。")]),v("p",[_._v("3.修复缩放画布时图标浮层和备注浮层和节点脱离的问题。")]),v("p",[_._v("4.修复只读模式下可以全选节点的问题。")]),v("p",[_._v("5.修复富文本模式下节点内容存在 时导出为图片出错的问题。")]),v("p",[_._v("6.修复先给自身添加概要,再给下级添加概要会出现概要重叠的问题;修复同时给存在上下级关系的节点添加概要时概要重叠的问题。")]),v("p",[_._v("7.修复节点数量很多的情况下导出 pdf 报错的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.新增禁止拖动画布的配置选项。")]),v("p",[_._v("2.新增禁止双指缩放画布的配置选项。")]),v("p",[_._v("3.导出 png 的方法新增压缩参数;优化大数据量节点导出 pdf 时体积过大的问题。")]),v("p",[_._v("4.将节点实例的 isParent 方法改名为 isAncestor,同时新增 isParent 方法。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.修复只读模式下仍旧可以搜索替换和编辑大纲的问题。")]),v("p",[_._v("2.修复节点内容为 html 标签时大纲无法显示和编辑的问题。")]),v("p",[_._v("3.修复同时选中多个节点添加图标时,所有节点图标都会统一为第一个节点的图标的问题。")]),v("p",[_._v("4.导出操作增加 loading。")])]),v("h2",[_._v("0.8.0-fix.1")]),v("p",[_._v("修复:修复直接粘贴的方式创建新节点时如果粘贴的内容带有<>等 html 标签符号时新创建的节点内容为空的问题。")]),v("h2",[_._v("0.8.0")]),v("p",[_._v("破坏性更新:大幅优化部分代码,小幅提升性能,主要是"),v("code",[_._v("render")]),_._v("类,删除无用逻辑、调整不合理的实现、提取重复代码;修改函数名称、函数功能等。")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复导出图片和 svg 时关联线的箭头消失的问题。")]),v("p",[_._v("2.修复调整容器大小后回到根节点的操作异常的问题。")]),v("p",[_._v("3.修复插入概要、上移、下移、一键整理布局的快捷键操作没有触发 data_change 事件的问题。")]),v("p",[_._v("4.修复存在水印时导出图片、svg、pdf 时每个节点都会显示边框的问题。")]),v("p",[_._v("5.修复容器尺寸改变后没有水印没有重新绘制的问题。")]),v("p",[_._v("6.修复存在水印时小地图渲染非常慢的问题。")]),v("p",[_._v("7.修复协同插件当创建新节点时新节点未显示创建人头像的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.优化画布 DOM 结构,将节点、连线、关联线分层渲染。")]),v("p",[_._v("2.优化水印插件。")]),v("p",[_._v("3.setTheme、setThemeConfig、setLayout 函数增加不触发重新渲染的参数。")]),v("p",[_._v("4.新增插入父节点的命令。")]),v("p",[_._v("5.新增仅删除当前节点的命令。")]),v("p",[_._v("6.插入概要时自动展开子节点。")]),v("p",[_._v("7.鼠标右键单击画布时清除当前激活节点。")]),v("p",[_._v("8.被收起的激活节点同步从激活节点列表里删除。")]),v("p",[_._v("9.粘贴带换行的文本支持控制是否按换行分割节点。")]),v("p",[_._v("10.小地图插件支持返回图片类型的小地图。")]),v("p",[_._v("11.指定时间内只允许添加一次历史记录,避免添加没有必要的中间状态。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.修改回到根节点的方法及文案。")]),v("p",[_._v("2.修复覆盖方式切换主题时第一次切换不生效的问题。")]),v("p",[_._v("3.右键菜单新增插入父节点和仅删除当前节点的功能。")]),v("p",[_._v("4.顶部工具栏支持根据窗口宽度自动收起到更多中。")]),v("p",[_._v("5.支持手动输入缩放倍数。")]),v("p",[_._v("6.完善界面英文翻译。")]),v("p",[_._v("7.小地图改为通过图片渲染。")])]),v("h2",[_._v("0.7.3-fix.2")]),v("p",[_._v("修复协同编辑的一些问题:")]),v("p",[_._v("1.插入同级节点时新节点位置不正确;")]),v("p",[_._v("2.在同级节点中移动位置没有触发更新;")]),v("p",[_._v("3.移动节点作为兄弟节点插入时位置不正确;")]),v("h2",[_._v("0.7.3-fix.1")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复一些情况下多选节点时的框选区域没有消失的问题。")]),v("p",[_._v("2.修复多选节点时在节点上松开鼠标时框选区域不会消失的问题。")]),v("p",[_._v("3.修复多次粘贴节点时由于节点 uid 重复造成的渲染异常问题。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.超链接输入框增加协议选择功能。")])]),v("h2",[_._v("0.7.3")]),v("p",[_._v("新增:1.新增协同编辑插件。")]),v("p",[_._v("Demo:1.修复公式侧边栏组件导致的侧边栏自动关闭问题。")]),v("h2",[_._v("0.7.2")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复多选节点时选区未包含节点边界时节点不会被选中的问题。")]),v("p",[_._v("2.修复节点文本不为字符串时报错的问题。")]),v("p",[_._v("3.修复非富文本模式下文本中存在<>&字符时再次编辑时部分文本会消失的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.支持插入数学公式。")]),v("p",[_._v("2.支持同时拖拽移动多个节点。")]),v("p",[_._v("3.支持同时复制、剪切多个节点。")]),v("p",[_._v("4.节点标签颜色改为根据标签内容生成,即同样的标签内容会生成相同的颜色。")]),v("p",[_._v("5.优化子节点的插入:1.同时对多个节点插入子节点时,不进入编辑状态;2.新插入的子节点自动进入激活状态。")]),v("p",[_._v("6.优化兄弟节点的插入:1.支持同时对多个节点插入兄弟节点;2.对根节点调用插入兄弟节点的命令时不再创建子节点。")]),v("p",[_._v("7.新增同时插入多个同级节点、多个子节点的命令。")]),v("p",[_._v("8.将节点唯一标识由 id 全部改为 uid,主要影响关联线,之前版本的关联线可能无法正常显示。")]),v("p",[_._v("9.优化图标合并逻辑,支持扩展库内部分类下的图标。")]),v("p",[_._v("10.关联线:1.双击关联线进入关联线文本编辑模式;2.关联线文本为默认文本的话不保存;3.存在激活节点时点击关联线可直接激活关联线。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.修复复制知犀思维导图多个节点时无法粘贴的问题。")]),v("p",[_._v("2.新增公式编辑的侧边栏。")])]),v("h2",[_._v("0.7.1-fix.2")]),v("p",[_._v("修复:1.修复插件注册方法链式调用报错的问题。")]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.新增思维导图初次加载时适应画布大小的配置选项。")]),v("p",[_._v("2.新增自动生成 dts 声明文件的命令。")])]),v("h2",[_._v("0.7.1-fix.1")]),v("p",[_._v("修复:修复拖拽节点时没有排除被拖拽节点的下级节点的问题。")]),v("h2",[_._v("0.7.1")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复关联线端点改变后未保存的问题。")]),v("p",[_._v("2.修复画布左上角距浏览器窗口不为 0 时多选节点鼠标移动到边缘时画布滚动异常的问题。")]),v("p",[_._v("3.修复导入存在为标题为空的节点的 xmind 文件报错的问题。")]),v("p",[_._v("4.修复导出的 xmind 文件在最新版 xmind 软件上打开时提示已损坏的问题。")]),v("p",[_._v("5.修复导出带有贴纸的数据为 xmind 格式时贴纸无法显示的问题。")]),v("p",[_._v("6.修复没有注册 select 插件时节点右键事件报错的问题。")]),v("p",[_._v("7.修复注册插件的方法没有去重的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.重构节点拖拽逻辑:优化一些情况下的拖拽难问题、适配各种结构、拖拽时鼠标移动到画布边缘时画布自动移动。")]),v("p",[_._v("2.重构滚动条插件,优化使用体验。")]),v("p",[_._v("3.不完美的解决逻辑结构图、思维导图、目录组织图、组织结构图概要和节点的冲突问题(概要后面应该会重写或删除)。")]),v("p",[_._v("4.删除节点后激活相邻节点。")]),v("p",[_._v("5.节点数据 data 中以_开头的字段被认为是自定义字段。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.页面增加显示当前核心库版本号。")])]),v("h2",[_._v("0.7.0")]),v("p",[_._v("破坏性更新:删除了主题文件中节点激活样式的部分,不再支持设置节点的激活样式,激活效果改为统一的节点外边框样式,同时支持鼠标 hover 效果。")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复节点边框尺寸比较大的情况下的的渲染异常问题。")]),v("p",[_._v("2.修复切换主题时存在关联线的节点样式不会更新的问题。")]),v("p",[_._v("3.修复全选没有触发 node_active 事件的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.收起节点时,显示折叠的节点数量。")]),v("p",[_._v("2.支持关联线端点的位置跟随鼠标拖拽变化。")]),v("p",[_._v("3.新增滚动条插件。")]),v("p",[_._v("4.支持在 url 中通过 fileURL 查询参数打开指定的在线文件。")]),v("p",[_._v("5.鱼骨图支持设置节点 margin。")]),v("p",[_._v("6.默认关闭双击复位画布。")]),v("p",[_._v("7.修改导出图片方法的参数,导出 pdf 时如果思维导图尺寸小于 a4 纸那么不旋转方向。")]),v("p",[_._v("8.提升导出的图片和 pdf 在高清屏的清晰度。")]),v("p",[_._v("9.插件新增销毁前生命周期函数,解决销毁思维导图时插件的一些副作用没有清除的问题。")]),v("p",[_._v("10.优化基础样式的设置,修改不影响大小的主题属性时不触发全量渲染。")]),v("p",[_._v("11.右键多选节点结束时禁止触发节点右键菜单事件,避免触发右键菜单显示。")]),v("p",[_._v("12.优化 Select 插件,如果多选节点没有变化,那么不触发激活激活事件。")]),v("p",[_._v("13.node_active 事件抛出的激活节点列表不再直接引用内部激活列表。")]),v("p",[_._v("14.优化鼠标按下节点事件逻辑,在右键拖拽画布模式下支持右键按住根节点拖拽画布。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.不直接引用内部激活节点列表,优化性能。")]),v("p",[_._v("2.支持配置是否显示滚动条。")]),v("p",[_._v("3.删除侧边栏节点样式配置部分的激活节点配置。")])]),v("h2",[_._v("0.6.17")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复导入百度脑图导出的 xmind 文件报错的问题。")]),v("p",[_._v("2.修复 mindMap.export 方法代码错误。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.新增 index.d.ts。")]),v("p",[_._v("2.支持配置是否开启双击复位思维导图。")]),v("p",[_._v("3.拦截富文本编辑时的粘贴操作,去掉格式,只允许粘贴纯文本。")])]),v("h2",[_._v("0.6.16")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.优化富文本测量元素的逻辑,删除样式的重复设置和节点的重复添加。")]),v("p",[_._v("2.优化导出图片逻辑,遍历节点转换图片的 url 时,如果已经是 data:URL 形式不重复处理。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.去除导出 svg 方法的第二个参数,改为通过实例化配置。")]),v("p",[_._v("2.导出图片不再使用外部库。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.修复单独编辑大纲时能给根节点添加兄弟节点的 bug。")])]),v("h2",[_._v("0.6.15-fix.2")]),v("p",[_._v("修复:修复在 Firefox 浏览器中富文本节点无法显示的问题。")]),v("h2",[_._v("0.6.15-fix.1")]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.导出 pdf 支持根据图片大小分页导出。")]),v("p",[_._v("2.导出 pdf 支持根据长宽比自动调整方向。")]),v("p",[_._v("3.优化展开收起按钮的占位元素:1.没有子节点的节点不渲染该元素;2.根据是否存在子节点动态更新该元素。")]),v("p",[_._v("4.新增禁止鼠标滚轮缩放的配置。")]),v("p",[_._v("5.支持传递错误处理函数。")])]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复节点文本为空时显示异常问题。")]),v("p",[_._v("2.导出 svg 的图形的 paddingX 和 paddingY 改为单侧 padding。")]),v("p",[_._v("3.修复画布距浏览器窗口左上角不为 0 时鼠标缩放时不以鼠标为中心的问题。")]),v("p",[_._v("4.修复节点边框会重合的问题。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.右下角支持跳转相关链接。")]),v("p",[_._v("2.调整小地图位置,解决被侧边按钮遮挡的问题。")]),v("p",[_._v("3.修复打开本地文件右上角的提示无法关闭的问题。")]),v("p",[_._v("4.单独编辑大纲不再和画布联动,优化大数据量下的编辑体验。")]),v("p",[_._v("5.侧边栏涉及图形的选项增加可视化效果。")])]),v("h2",[_._v("0.6.14")]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.去除创建隐藏输入框,通过 navigator.clipboard 实现复制粘贴;支持跨浏览器粘贴思维导图节点数据;支持自定义处理剪贴板中的文本数据。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.修复开启输入自动进入文本编辑模式和其他输入框冲突的问题。")]),v("p",[_._v("2.修复无法在节点图片弹窗里删除节点图片的问题。")]),v("p",[_._v("3.修复在节点样式侧边栏里无法去除节点的文本修饰线样式的问题。")]),v("p",[_._v("4.颜色选择器支持选择透明颜色。")]),v("p",[_._v("5.修复基础样式侧边栏打开状态下,导入思维导图数据后侧边栏数据未更新的问题。")]),v("p",[_._v("6.修复大纲修改一个节点的文本后再点击其他节点时不聚焦的问题。")]),v("p",[_._v("7.修复退出禅模式后左下角的节点和字数统计未更新的问题。")]),v("p",[_._v("8.支持从右键菜单删除节点的超链接、备注。")]),v("p",[_._v("9.支持粘贴知犀思维导图的节点数据。")])]),v("h2",[_._v("0.6.13")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复只读模式下鼠标中键按住节点无法拖动画布的问题。")]),v("p",[_._v("2.修复快速拖动节点几次后会概率性报错的问题。")]),v("p",[_._v("3.修复在移动端激活节点、展开收起时等操作时会拉起输入法的问题。")]),v("p",[_._v("4.修复主题配置中背景图片为 none 时会发起一个异常请求的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.移动端手势缩放优化: 按线性关系进行缩放、双指位移可以调整画布位置。")]),v("p",[_._v("2.去掉异步渲染节点的逻辑,提升创建新节点的速度。")]),v("p",[_._v("3.导出图片由 html2canvas 库改为使用 dom-to-image-more 库,解决导出富文本节点文字样式丢失的问题。")]),v("p",[_._v("4.非富文本输入框进入编辑状态时取消默认全选。")]),v("p",[_._v("5.存在一个激活节点时,支持按下中文、数字、英文按键时自动进入文本编辑模式。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.保存视图数据时增加防抖操作,优化性能。")]),v("p",[_._v("2.一些耗时的操作添加 loading 效果。")]),v("p",[_._v("3.完善右键菜单和富文本工具条的暗黑模式。")])]),v("h2",[_._v("0.6.12")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复当思维导图全部移出可视区域后小地图中的指示器也会移出小地图区域的问题。")]),v("p",[_._v("2.修复移动端双指缩放过于灵敏的问题。")]),v("p",[_._v("3.修复只读模式下按住节点无法拖动画布的问题。")]),v("p",[_._v("4.修复当思维导图距浏览器窗口左上角不为 0 时,小地图渲染不正确的问题。")]),v("p",[_._v("5.修复移动节点时新位置的提示块过大的问题。")]),v("p",[_._v("6.修复搜索不能替换为空字符的问题。")]),v("p",[_._v("7.修复富文本模式下,搜索替换后换行会丢失的问题。")]),v("p",[_._v("8.修复大纲里点击文字编辑时输入框焦点丢失的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.节点移动结束事件(node_dragend)增加回调参数,可以获取到移动到节点的 uid。")]),v("p",[_._v("2.支持通过配置指定内部一些元素添加到的位置。")]),v("p",[_._v("3.支持格式刷功能。")]),v("p",[_._v("4.曲线风格下,根节点的连接线样式支持和其他节点保持一致。")]),v("p",[_._v("5.搜索支持连续替换。")]),v("p",[_._v("6.节点图片新增删除按钮。")]),v("p",[_._v("7.支持按住鼠标中键拖动画布。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.提供应用接管模式,方便对接自己的存储服务;支持运行时设置静态资源路径。")]),v("p",[_._v("2.重构大纲:1.不再使用节点自带的文本样式;2.支持全屏编辑大纲;3.大纲支持拖拽移动节点;4.大纲支持删除节点。")]),v("p",[_._v("3.修复导入数据场景下界面暗黑模式没有更新的问题。")])]),v("h2",[_._v("0.6.11-fix.1")]),v("p",[_._v("修复:1.修复节点文字为白色时编辑的时候看不见的问题。")]),v("h2",[_._v("0.6.11")]),v("p",[_._v("新增:1.优化小地图,去除小地图内的节点内容,优化性能。")]),v("p",[_._v("Demo:1.新增主题、主题列表新增 tab 区分。 2.节点图片上传支持输入网络图片地址。 3.节点图片上传支持输入网络图片。")]),v("h2",[_._v("0.6.10")]),v("p",[_._v("修复:1.修复搜索定位到某个节点后删除该节点,再次搜索时搜索结果未更新的问题。 2.修复调整图片大小的按钮在节点操作后没有更新的问题。 3.修复内部数据深拷贝位置不正确的问题。 4.修复富文本节点换行不生效的问题。 5.修复切换主题等场景时节点换行会丢失的问题。")]),v("p",[_._v("新增:1.搜索支持搜索空白字符和替换为空白字符。")]),v("p",[_._v("Demo:1.支持通过图标按钮调出搜索。 2.支持通过图标按钮切换暗黑模式。 3.优化搜索:鼠标不在搜索区域内不聚焦,解决鼠标不在搜索区域内无法删除输入的文字的问题。 4.调整添加节点图标的界面 UI,新增系列节点图标。 5.新增贴纸列表。 6.修复在搜索框回车后输入框焦点丢失的问题。 7.支持点击节点内的图标显示一个图标快捷替换和删除悬浮面板。")]),v("h2",[_._v("0.6.9-fix.1")]),v("p",[_._v("修复:1.修复搜索进行一次单个替换后再全部替换不正确的问题。")]),v("p",[_._v("新增:1.不会再直接修改传入的 data 对象,内部会深拷贝一份。")]),v("h2",[_._v("0.6.9")]),v("p",[_._v("修复:1.修复给概要节点设置样式概要节点会消失的问题。2.修复自定义节点内容时,二次创建根实例时节点内容不渲染的问题。3.修复节点处于编辑中时添加新节点时新节点的焦点丢失问题。 2.修复连续按 tab 键无法连续创建子节点的问题。")]),v("p",[_._v("新增:1.导出 svg 时替换 svg 中存在的"),v("code",[_._v(" ")]),_._v("字符,避免导出的 svg 报错。 2.支持搜索和替换。")]),v("p",[_._v("Demo:1.切换主题时支持选择是否覆盖设置过的基础样式。")]),v("h2",[_._v("0.6.8")]),v("p",[_._v("修复:1.修改插入概要的快捷键为 Ctrl+G,避免和保存快捷键冲突。 2.修复节点正在编辑时切换富文本编辑配置输入框出现异常的问题。")]),v("p",[_._v("新增:1.修改复制、剪切、粘贴逻辑,支持粘贴剪切板中的数据。")]),v("p",[_._v("Demo:1.修复基础样式-设置节点外边距未保存的问题。 2.支持根据主题自动切换为暗黑模式。")]),v("h2",[_._v("0.6.7")]),v("p",[_._v("修复:1.修复节点收起再展开后展开收起按钮占位元素丢失的问题。 2.修复只读模式下可以缩放图片的问题。")]),v("p",[_._v("新增:1.支持根据节点实例或节点 uid 定位到某个节点。 2.修改节点 uid 的创建方式,导出数据添加节点的 uid。")]),v("p",[_._v("移除:1.移除节点过渡效果。")]),v("p",[_._v("Demo:1.添加网站首页。 2.修复大纲里创建新节点时节点样式丢失的问题。 3.修复大纲里编辑节点后按回车或 Tab 键后编辑文本丢失的问题。 4.优化大纲的节点定位,被收起的节点会自动展开。 5.侧边栏按钮支持收起。 6.优化小屏适配。")]),v("h2",[_._v("0.6.6")]),v("p",[_._v("新增:1.支持导出为 Xmind 新版文件。2.导入 Xmind 新版文件支持导入节点中的图片。 3.新增竖向时间轴结构。")]),v("p",[_._v("修复:1.TouchEvent 插件不再派发 click 事件,解决移动端点击超链接会打开两个窗口的问题。 2.修复拖拽移动一个节点成为另一个节点的子节点时该节点的父节点指向未更新的问题。 3.修复二级节点拖拽成三级节点时节点边框样式未更新的问题。 4.修复向右生长的结构外其他结构鼠标移入展开收起按钮位置时不会触发按钮显示的问题。")]),v("p",[_._v("优化:1.优化触控板缩放画布时幅度过大的问题。2.刚创建的节点默认全选方便删除默认文本。")]),v("h2",[_._v("0.6.5-fix.1")]),v("p",[_._v("修复:1.修复在缩放情况下调整图片大小不正确的问题。")]),v("h2",[_._v("0.6.5")]),v("p",[_._v("修复:1.修复 xmind 文件导入报错的问题。 2.修复极少数情况下当节点文本的宽度为小数时显示发生换行的问题。")]),v("p",[_._v("新增:1.打包后的库支持获取内置常量、主题等数据。 2.支持配置鼠标滚轮方向对应的缩放行为。 3.节点图片支持拖拽调整大小。")]),v("h2",[_._v("0.6.4-fix.1")]),v("p",[_._v("新增:1.鼠标滚轮缩放时默认以鼠标当前位置为中心进行缩放,可以通过配置关闭该特性。")]),v("p",[_._v("修复:1.修复改变了画布大小后缩放中心点默认值不随之更新的问题。")]),v("h2",[_._v("0.6.4")]),v("p",[_._v("新增:1.默认以画布中心点进行缩放。 2.优化移动端双指缩放,以双指中心位置为中心点进行缩放。")]),v("h2",[_._v("0.6.3")]),v("p",[_._v("修复:1.修复概要节点会响应插入节点快捷键的问题。")]),v("p",[_._v("新增:1.支持自定义节点内容。")]),v("h2",[_._v("0.6.2")]),v("p",[_._v("修复:1.修复富文本模式下,新建节点不随主题变化而变化的问题。")]),v("h2",[_._v("0.6.1")]),v("p",[_._v("修复:1.修复将鼠标滚动改为移动画布行为后,使用触控板操作时移动灵敏度过高的问题。")]),v("h2",[_._v("0.6.0-fix.1")]),v("p",[_._v("修复:1.修复没有设置过背景样式的情况下销毁思维导图报错的问题。")]),v("h2",[_._v("0.6.0")]),v("p",[_._v("破坏性更新:调整了 simple-mind-map 源码的目录结构,主要影响:1.插件的引入路径需要修改。2.constant 文件路径需要修改。")]),v("p",[_._v("新增:1.支持一键缩放至适应画布功能。 2.按住 Ctrl 键多选功能可通过配置按需开启。 3.支持设置为左键多选节点,右键拖动画布。 4.支持控制节点是否允许编辑。 5.新增销毁思维导图的方法。 6.新增触摸事件支持插件。")]),v("p",[_._v("修复:1.修复按住 ctrl 键多选节点时不会触发节点的 click 事件的问题。 2.修复清空一个节点后再输入文字时节点样式丢失的问题。")]),v("h2",[_._v("0.5.11")]),v("p",[_._v("新增:支持关联性文本编辑。")]),v("p",[_._v("优化:优化主题配置更新,改变不涉及节点大小的配置不触发节点重新计算。")]),v("h2",[_._v("0.5.10")]),v("p",[_._v("新增:使用 LRU 缓存算法优化节点复用逻辑。")]),v("h2",[_._v("0.5.10-fix.1")]),v("p",[_._v("修复:修复导入出错的问题。")]),v("h2",[_._v("0.5.10-fix.2")]),v("p",[_._v("修复:修复富文本模式下,切换主题、导入数据后没有触发数据改变的问题。")]),v("p",[_._v("新增:新增三种主题。")]),v("h2",[_._v("0.5.9")]),v("p",[_._v("修改:统一导出方法的格式,使用"),v("code",[_._v("FileReader")]),_._v("代替"),v("code",[_._v("URL.createObjectURL")]),_._v("转换"),v("code",[_._v("blob")]),_._v("数据。")]),v("h2",[_._v("0.5.8")]),v("p",[_._v("优化:1.节点位置没有变化不触发位置设置。 2.展开收起状态没有变化不触发按钮更新。")]),v("p",[_._v("新增:1.默认改为鼠标移上节点才显示展开收起按钮。 2.支持扩展节点可插入的图标列表。")]),v("h2",[_._v("0.5.7")]),v("p",[_._v("破坏性更新:富文本模式下导出 png 改为使用 html2canvas 转换整个 svg,大幅提高导出速度,不过 html2canvas 存在一个 bug,foreignObject 元素中的 dom 节点内联的文字颜色无法识别,所以导出节点的文字颜色是固定的,不过相对于之前的导出基本不可用状态,目前至少能快速顺利的导出。")]),v("p",[_._v("优化:优化富文本节点编辑体验。")]),v("p",[_._v("新增:富文本模式下,导入数据、初始化数据、切换主题场景节点样式支持跟随主题变化。")]),v("h2",[_._v("0.5.6")]),v("p",[_._v("修复:1.修复短时间快速多次渲染时节点位置错乱的问题。 2.修复节点正在编辑中时拖动画布导致编辑框和节点分离的问题。")]),v("p",[_._v("新增:1.添加最大历史记录数限制。")]),v("h2",[_._v("0.5.5")]),v("p",[_._v("新增:1.支持配置导出为 png、svg、pdf 时的内边距。 2.支持配置节点文本编辑框、节点备注浮层元素的 z-index。 3.支持点击画布外的区域结束节点编辑状态。")]),v("h2",[_._v("0.5.5-fix.1")]),v("p",[_._v("修复:1.修复节点在画布外编辑时编辑框也在画布外的问题。 2.修改结构后复位变换,防止存在缩放时切换结构后第一次拖动时会发生位置突变的问题。")]),v("p",[_._v("优化:1.节点多选时只要节点和选区存在交叉即认为被选中。")]),v("h2",[_._v("0.5.5-fix.2")]),v("p",[_._v("修复:1.修复小地图报错。")]),v("h2",[_._v("0.5.4")]),v("p",[_._v("新增:1.添加新主题。 2.新增时间轴和鱼骨结构。")]),v("p",[_._v("修复:1.修复节点右键和画布右键的冲突问题。 2.修复组织结构图、目录组织图等节点拖拽时存在线段未隐藏的 bug。")]),v("p",[_._v("优化:1.优化组织结构图布局。2.优化目录组织图布局。")]),v("h2",[_._v("0.5.4-fix.1")]),v("p",[_._v("优化:1.优化鱼骨图布局。")]),v("h2",[_._v("0.5.3")]),v("p",[_._v("修复:1.修复富文本模式下,如果选择了多个节点时设置文本样式,会将所有多选节点的文本改成最后一个多选节点的文本的问题。")]),v("p",[_._v("新增:1.支持设置初始中心节点的位置。")]),v("h3",[_._v("0.5.3-fix.1")]),v("p",[_._v("修复:1.修复设置初始中心节点的位置不生效的问题。")]),v("h3",[_._v("0.5.3-fix.2")]),v("p",[_._v("修复:1.修复导出为图片时,节点中的图片显示不出来的问题。")]),v("h2",[_._v("0.5.2")]),v("p",[_._v("修复:1.导出的"),v("code",[_._v("json")]),_._v("数据中去除"),v("code",[_._v("uid")]),_._v(";2.重新渲染时清空节点缓存池。")]),v("h2",[_._v("0.5.1")]),v("p",[_._v("优化:1.只有当鼠标在画布内才响应快捷键事件。")]),v("p",[_._v("修复:1.修复快速操作时节点位置不正确的问题。")]),v("h2",[_._v("0.5.0")]),v("p",[_._v("这个版本主要是代码层面的改动和优化,核心是为了提升渲染性能,减少卡顿问题。")]),v("p",[_._v("新增:1.支持自定义展开收起节点图标和颜色;")]),v("p",[_._v("优化:1.优化渲染逻辑,设置主题、前进回退等操作不再全量渲染;")]),v("pre",[v("code",[_._v(" 2.优化节点拖拽逻辑,修复无法拖动到两个节点之间的问题;\n\n 3.收起全部节点操作增加回到中心点的逻辑;\n\n 4.修复短时间多次触发渲染造成节点乱飞和错乱的问题;\n\n 5.优化节点编辑的体验;\n")])]),v("p",[_._v("修复:1.修复 setData 方法不触发历史记录的问题;")]),v("p",[_._v("修改:从 0.5.0 版本开始,考虑性能问题,节点激活状态只能修改形状相关的样式:")]),v("pre",{staticClass:"hljs"},[v("code",[_._v(";["),v("span",{staticClass:"hljs-string"},[_._v("'fillColor'")]),_._v(", "),v("span",{staticClass:"hljs-string"},[_._v("'borderColor'")]),_._v(", "),v("span",{staticClass:"hljs-string"},[_._v("'borderWidth'")]),_._v(", "),v("span",{staticClass:"hljs-string"},[_._v("'borderDasharray'")]),_._v(", "),v("span",{staticClass:"hljs-string"},[_._v("'borderRadius'")]),_._v("]\n")])]),v("h2",[_._v("0.4.7")]),v("p",[_._v("优化:1.富文本编辑时初始聚焦时不再默认全选;2.富文本编辑时使用节点填充色作为背景色,避免节点颜色为白色时看不见。 3.节点激活状态切换不再触发历史记录。 4.短时间多次触发历史记录,只会添加最后一次的数据。 5.优化历史记录添加,当有回退时,再次添加新记录时删除当前指针后面的历史数据。")]),v("p",[_._v("新增:1.支持导入和导出 Markdown 格式文件。 2.支持配置插入节点时的初始文字。 3.扩展插入节点和删除节点的命令,支持指定节点。")]),v("h2",[_._v("0.4.6")]),v("p",[_._v("新增:1.关联线支持调整控制点。")]),v("p",[_._v("优化:1.添加历史数据时过滤和上一次相比没有改变的数据。")]),v("p",[_._v("修复:1.修复节点编辑时方向键和方向键导航功能的冲突问题。 2.修复拖拽移动节点时节点 id 的丢失问题,这会导致关联线丢失。")]),v("h2",[_._v("0.4.5")]),v("p",[_._v("新增:1.支持关联线。 2.按住根节点也可以拖动画布。3.按住 ctrl 键可以调整多选节点。")]),v("h2",[_._v("0.4.4")]),v("p",[_._v("新增:支持响应鼠标的横向滚动。")]),v("h2",[_._v("0.4.3")]),v("p",[_._v("修复:前进回退后没有触发"),v("code",[_._v("data_change")]),_._v("事件的问题。")]),v("p",[_._v("新增:支持自定义鼠标滚轮事件;鼠标滚轮调整为支持缩放视图和上下移动视图。")]),v("h2",[_._v("0.4.2")]),v("p",[_._v("新增:"),v("code",[_._v("Node")]),_._v("类的"),v("code",[_._v("setText")]),_._v("方法增加第二个参数,以支持设置富文本内容。")]),v("h2",[_._v("0.4.1")]),v("p",[_._v("新增:1.新增抛出节点鼠标移入和移除事件;2.节点富文本支持设置背景颜色;3.节点富文本支持清除样式。")]),v("p",[_._v("修复:1.Mac 系统触控板缩放相反的问题;2.设备 window.devicePixelRatio 不为 1 时,当存在富文本节点时导出的图片中富文本节点尺寸会变大的问题。")]),v("h2",[_._v("0.4.0")]),v("p",[_._v("新增:节点支持富文本编辑。")]),v("h2",[_._v("0.3.4")]),v("p",[_._v("新增:节点文本增加自动换行功能。")]),v("p",[_._v("修复:1.修复批量删除的节点中如果存在根节点会出现删除异常的问题。2.修复底边风格的情况下,节点高度过高会和其他节点重叠的问题。")]),v("h2",[_._v("0.3.3")]),v("p",[_._v("修复:根节点文字无法换行的问题。")]),v("h2",[_._v("0.3.2")]),v("p",[_._v("修复:1.修复二级节点拖拽到其他节点或其他节点拖拽到二级节点时节点样式没有更新的问题;2.修复当思维导图实际内容大于屏幕宽高时,导出的时候超出的部分没有绘制水印的问题。")]),v("h2",[_._v("0.3.1")]),v("p",[_._v("修复:1.删除背景图片不生效的问题;2.节点拖拽到根节点时连接线跑到根节点上方的问题。")]),v("p",[_._v("新增:背景图片展示增加位置和大小设置。导出的图片也同步支持该设置。")]),v("h2",[_._v("0.3.0")]),v("p",[_._v("升级为插件化架构,将一些非核心功能抽离出来作为插件,按需注册,减小整体体积。")]),v("h2",[_._v("0.2.24")]),v("p",[_._v("新增:节点自由拖拽改为可配置,默认为"),v("code",[_._v("false")]),_._v("不开启;支持添加水印。")]),v("h2",[_._v("0.2.23")]),v("p",[_._v("新增:支持注册新主题。")]),v("h2",[_._v("0.2.22")]),v("p",[_._v("优化:取消内置"),v("code",[_._v("simple-mind-map")]),_._v("包的主题和结构图片,改为由使用者自行维护,原有图片可在"),v("code",[_._v("web/assets/img/")]),_._v("目录找到。")]),v("h2",[_._v("0.2.21")]),v("p",[_._v("新增:支持节点横线风格。")]),v("h2",[_._v("0.2.20")]),v("p",[_._v("修复:画布距窗口左上角不为 0 时节点拖拽出现偏移的问题。")]),v("h2",[_._v("0.2.19")]),v("p",[_._v("修复:没有激活节点时随便按什么键都会触发自动聚焦的问题。")]),v("h2",[_._v("0.2.18")]),v("p",[_._v("优化:键盘导航寻找焦点的算法,支持简单算法、区域算法、阴影算法。")]),v("h2",[_._v("0.2.17")]),v("p",[_._v("新增:键盘导航,即通过方向键来切换激活的节点;支持在大纲直接编辑节点文本内容。")]),v("h2",[_._v("0.2.16")]),v("p",[_._v("优化:小地图、拖拽性能。")]),v("h2",[_._v("0.2.15")]),v("p",[_._v("优化:本地文件编辑。")]),v("p",[_._v("新增:支持双击节点内图片进行大图预览。")]),v("h2",[_._v("0.2.14")]),v("p",[_._v("优化:插入子节点时自动展开。")]),v("p",[_._v("修复:小地图关闭时报错的问题。")]),v("h2",[_._v("0.2.13")]),v("p",[_._v("修复:子节点收起状态复制时丢失的问题。")]),v("h2",[_._v("0.2.11")]),v("p",[_._v("修复:修复子节点收起状态复制时丢失的问题。")]),v("p",[_._v("新增:支持小地图。")]),v("h2",[_._v("0.2.10")]),v("p",[_._v("优化:手动创建节点时立即聚焦。")]),v("p",[_._v("修复:连线样式深度更新问题。")]),v("p",[_._v("新增:逻辑结构图、思维导图新增直线连接风格、直连风格。")]),v("h2",[_._v("0.2.9")]),v("p",[_._v("新增:支持新建、打开、保存到电脑本地文件。")]),v("h2",[_._v("0.2.8")]),v("p",[_._v("修复:xmind8 版本文件导入失败的问题。")]),v("p",[_._v("新增:支持展开到指定层级。")]),v("h2",[_._v("0.2.7")]),v("p",[_._v("修复:根节点添加多个节点爆栈的问题。")]),v("p",[_._v("新增:支持导入.xmind 文件。")]),v("h2",[_._v("0.2.6")]),v("p",[_._v("新增:导出 svg 增加 title 标签。")]),v("h2",[_._v("0.2.5")]),v("p",[_._v("修复:节点展开收起的 bug。")]),v("p",[_._v("新增:节点支持自定义线条样式。")]),v("h2",[_._v("0.2.4")]),v("p",[_._v("新增:节点支持多种形状。")]),v("h2",[_._v("0.2.3")]),v("p",[_._v("修复:编辑节点文本时快捷键冲突的问题;右键菜单快捷键提示错误;右键菜单快捷键提示。")]),v("h2",[_._v("0.2.2")]),v("p",[_._v("修复:输入字符串'/'和快捷键'/'冲突问题。")]),v("h2",[_._v("0.2.1")]),v("p",[_._v("新增:支持导出为 pdf。")]),v("h2",[_._v("0.2.0")]),v("p",[_._v("新增:经典 4 主题;支持添加概要;支持自由拖拽;上移节点、下移节点、复制节点、剪切节点、粘贴节点、一键整理布快捷键;库打包;Ctrl+左键多选。")]),v("h2",[_._v("0.1.18")]),v("p",[_._v("修复:节点图标不能删除的问题;工具按钮置灰仍然可以点击的问题。")]),v("h2",[_._v("0.1.17")]),v("p",[_._v("新增:增加只读模式。")]),v("h2",[_._v("0.1.16")]),v("p",[_._v("新增:节点备注支持 markdown 及富文本。")]),v("p",[_._v("修复:不能选中文字的问题;节点标注在节点激活后无法隐藏问题;超链接、备注、标签等文字编辑时返回键和回车键与思维导图快捷键冲突的问题。")]),v("h2",[_._v("0.1.15")]),v("p",[_._v("新增:状态数据支持保存激活状态、视图状态(拖动位置、缩放值);支持节点拖拽。")]),v("h2",[_._v("0.1.14")]),v("p",[_._v("修复:存在激活节点时设置主题存在的问题。")]),v("h2",[_._v("0.1.13")]),v("p",[_._v("新增:快捷键功能;新增导出为 json。")]),v("p",[_._v("优化:一些细节。")]),v("h2",[_._v("0.1.12")]),v("p",[_._v("新增:本地存储;右键菜单功能等。")]),v("h2",[_._v("0.1.0")]),v("p",[_._v("完成基本功能。")])])}],t={},h=t,c=p("2877"),i=Object(c["a"])(h,o,e,!1,null,null,null);v["default"]=i.exports}}]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0f026c"],{"9ac1":function(_,v,p){"use strict";p.r(v);var o=function(){var _=this;_._self._c;return _._m(0)},e=[function(){var _=this,v=_._self._c;return v("div",[v("h1",[_._v("Changelog")]),v("h2",[_._v("0.9.9-fix.2")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复插入父节点操作时原节点样式未更新的问题;")]),v("p",[_._v("2.修复开启彩虹线条时切换结构会报错的问题;")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.修复侧边栏大纲点击全屏编辑时打开的是源码编辑模式的问题;")])]),v("h2",[_._v("0.9.9-fix.1")]),v("p",[_._v("修复上个版本的改动造成搜索插件无法搜索的问题。")]),v("h2",[_._v("0.9.9")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复第一次创建关联线时,箭头颜色不正确的问题;")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.支持insert键插入下级节点;")]),v("p",[_._v("2.增加beforeShortcutRun实例化选项用于拦截快捷键操作;")]),v("p",[_._v("3.根实例增加增量更新画布数据的方法updateData;")]),v("p",[_._v("4.新增彩虹线条插件;")]),v("p",[_._v("5.节点中的图标添加鼠标移入和移出事件;")]),v("p",[_._v("6.节点实例新增getAncestorNodes方法用于获取祖先节点列表;")]),v("p",[_._v("7.协同编辑时的人员头像增加鼠标事件;")]),v("p",[_._v("8.实例化及setData方法支持传入空的data;")]),v("p",[_._v("9.新增导出图片时添加自定义内容的实例化选项;")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.支持配置彩虹线条;")]),v("p",[_._v("2.新增源码编辑模式;")]),v("p",[_._v("3.导出png、pdf、svg支持设置底部自定义文字;")])]),v("p",[_._v("客户端:")]),v("blockquote",[v("p",[_._v("1.双击文件打开应用时不打开工作台页面;")]),v("p",[_._v("2.修复重复打开同一个文件会打开多个编辑窗口的问题;")]),v("p",[_._v("3.修改删除正在编辑的文件的提示;")])]),v("h2",[_._v("0.9.8")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复当画布大小改变后,限制思维导图在画布内和滚动条位置计算功能不正确的问题;")]),v("p",[_._v("2.修复导入某些旧版xmind文件时报错的问题;")]),v("p",[_._v("3.修复只读模式搜索高亮节点时收起节点高亮框未消失的问题;")]),v("p",[_._v("4.修复某些情况下搜索时数据改变,搜索结果没有更新的问题;")]),v("p",[_._v("5.修复删除正在编辑中的节点时实际上删除的是相邻节点的问题;")]),v("p",[_._v("6.修复节点数据中根节点设置了expand:false时只渲染根节点的问题;")]),v("p",[_._v("7.修复协同编辑插件:当选中一个节点时,再将该节点收起,该节点激活状态已消失,但其他客户端该节点的选中状态依旧存在的问题;")]),v("p",[_._v("8.优化markdown的导出,修复概要丢失的问题;")]),v("p",[_._v("9.修复自由拖拽时,前进后退操作对节点位置不生效的问题;")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.INSERT_NODE等命令不会覆盖自定义的uid;")]),v("p",[_._v("2.节点实例新增高亮和取消高亮的方法;调整只读模式搜索高亮节点的方式;")]),v("p",[_._v("3.新增搜索所有节点(包含被收起的节点)的配置;搜索默认改为搜索所有节点;")]),v("p",[_._v("4.增加协同编辑时同一节点不能多人选中的配置选项;")]),v("p",[_._v("5.增加协同编辑节点操作同步前的生命周期函数配置选项;")]),v("p",[_._v("6.概要节点增加uid字段;")]),v("p",[_._v("7.新增支持txt文件的导出;")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.修复打开标签弹窗、备注弹窗后点击遮罩关闭弹窗后快捷键会失效的问题;")]),v("p",[_._v("2.修改主题和暗色的关联逻辑;")]),v("p",[_._v("3.支持读取本地目录;")]),v("p",[_._v("4.修复导入弹窗选择了一个文件后再把它删除实际上并没有删掉的问题;")]),v("p",[_._v("5.新增txt文件的导出;")])]),v("h2",[_._v("0.9.7")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复二级以下节点拖拽到根节点变成二级节点时样式没有更新的问题;修复上移一个层级命令移动节点时样式没有更新的问题;")]),v("p",[_._v("2.修复激活概要节点,然后给其设置文本样式时概要节点会失去焦点的问题;")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.新增两个去除节点自定义样式的命令;")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.新增去除节点自定义样式的右键菜单按钮。")])]),v("h2",[_._v("0.9.6")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复切换主题时,被收起的节点样式没有改变的问题;")]),v("p",[_._v("2.修复切换主题后进行文本换行时,新换行的文本样式会丢失的问题;")]),v("p",[_._v("3.修复切换主题时,换行的文本样式没有改变的问题;")]),v("p",[_._v("4.修复添加了数学公式的节点,切换主题时文本样式没有改变的问题;")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.主题新增字段,用于设置节点连线箭头的显示位置,头部或者尾部;")]),v("p",[_._v("2.主题新增字段,用于设置曲线连接时,根节点连线的起始位置;")]),v("p",[_._v("3.Mac 双指触摸事件移动画布增加一点灵敏度;")]),v("p",[_._v("4.新增 MOVE_UP_ONE_LEVEL 命令,用于将节点上移一个层级;")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.大纲支持按 Shift+Tab 键将节点上移一个层级;")]),v("p",[_._v("2.支持设置节点箭头显示的位置;")]),v("p",[_._v("3.支持设置根节点连线的起始位置;")]),v("p",[_._v("4.新增两个主题;")]),v("p",[_._v("5.修复大纲中文本换行不生效,显示br标签的问题;")])]),v("h2",[_._v("0.9.5")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复展开收起节点时区间概要会丢失的问题。")]),v("p",[_._v("2.修复新创建的关联线位置始终在节点的右侧没有根据相对位置变化的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.增加设置关联线创建时两个端点初始位置的配置。")]),v("p",[_._v("2.增加禁止调整关联线端点位置的配置。")]),v("p",[_._v("3.新增手绘风格插件。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.优化界面在移动端的适配。")]),v("p",[_._v("2.支持开启手绘风格。")])]),v("h2",[_._v("0.9.4")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复一些情况下,节点显示时的文本区域宽度和编辑时的宽度不一致导致的文本换行不一致的问题。")]),v("p",[_._v("2.修复存在渐变色背景的节点富文本编辑时编辑框没有应用渐变的问题。")]),v("p",[_._v("3.修复被主题定义了加粗的节点切换主题后文本样式丢失的问题。")]),v("p",[_._v("4.修复 mac 上 useLeftKeySelectionRightKeyDrag 选项设为 true 时无法按住 ctrl 键多选节点的问题。")]),v("p",[_._v("5.修复节点富文本编辑时清除样式后文字样式丢失并且切换主题也不会恢复的问题。")]),v("p",[_._v("6.修复删除含有子节点的节点时,data_change_detail 事件报错的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.主题配置增加 lineRadius 属性设置直线连接时的圆角大小。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.大纲里去掉公式的显示。")]),v("p",[_._v("2.基础样式中一些仅支持部分结构的配置根据当前结构进行显示和隐藏。")]),v("p",[_._v("3.新增连线圆角的配置。")]),v("p",[_._v("4.导入文件时自动隐藏侧边栏。")])]),v("h2",[_._v("0.9.3")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复 Safari 浏览器上节点存在图标时文字位置错位的问题。")]),v("p",[_._v("2.修复 Chrome 内核版本比较低的浏览器中公式无法渲染的问题。")]),v("p",[_._v("3.修复在微前端框架子应用中使用时,new MouseEvent 代码执行报错的问题。")]),v("p",[_._v("4.修复导出图片时节点连线的箭头、关联线的箭头、渐变背景丢失的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.导出 pdf 从 jspdf 库改为 pdf-lib 库。")]),v("p",[_._v("2.设置节点文本命令(SET_NODE_TEXT)的第二个参数如果没有传递,会使用之前的值。")]),v("p",[_._v("3.优化节点存在超链接、备注时在 Firefox 浏览器中导出图片的宽高不正确的问题。")]),v("p",[_._v("4.节点文本编辑中,如果粘贴的是 smm 格式的粘贴数据,那么会取出第一个节点的纯文本进行粘贴。")]),v("p",[_._v("5.增加对节点非富文本编辑时的粘贴的拦截操作。")]),v("p",[_._v("6.新增节点数据更新的明细事件(data_change_detail),可以获取新创建、更新、被删除的节点数据。")]),v("p",[_._v("7.主题配置支持设置节点渐变背景色。")])]),v("p",[_._v("Demo:")]),v("p",[_._v("1.支持设置节点渐变色的背景。")]),v("h2",[_._v("0.9.2")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复节点文本含有连续的数字或字母时没有换行的问题。")]),v("p",[_._v("2.修复导入含有和当前画布已有节点 uid 相同的文件时会重复绘制节点的问题。")]),v("p",[_._v("3.修复当节点数量超出了缓存池的最大数量时,前进回退会导致节点重复渲染的问题。")]),v("p",[_._v("4.修复鼠标或触控板水平滚动时画布移动方向相反的问题。")]),v("p",[_._v("5.修复节点被销毁时鼠标移入标志没有复位的问题。")]),v("p",[_._v("6.修复滚动条插件在 initRootNodePosition 配置不为默认的[center,center]时位置计算错误的问题。")]),v("p",[_._v("7.修复拖拽画布时鼠标在节点上面松开时拖拽无法停止的问题。")]),v("p",[_._v("8.修复当画布容器距浏览器窗口左上角不为 0 时,view.fit 方法计算出来的位置有误差的问题。")]),v("p",[_._v("9.修复当节点数量比较多时,导出的图片中水印没有完全覆盖整个图片的问题。")]),v("p",[_._v("10.修复插入公式报错的问题。")]),v("p",[_._v("11.修复节点文本编辑状态中鼠标选择文本时移出编辑框,文字选中状态会丢失的问题。")]),v("p",[_._v("12.修复节点富文本编辑时,文本选中范围为 null 时没有触发 rich_text_selection_change 事件的问题。")]),v("p",[_._v("13.修复 node_dragging 事件回参里没有 node 实例的问题。")]),v("p",[_._v("14.修复节点数量过多,画布尺寸过大无法导出 png 的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.修改 mousewheel 事件,dir 标志修改为 dirs,支持存储多个方向,优化触控板的双指移动操作。")]),v("p",[_._v("2.TextEdit 类增加 isShowTextEdit 方法判断当前是否处在节点编辑状态。")]),v("p",[_._v("3.Render 类的 paste 方法改为支持粘贴剪贴板的数据。")]),v("p",[_._v("4.新增将思维导图图形限制在画布内的配置选项。")]),v("p",[_._v("5.注册了滚动条插件的情况下,支持配置是否将思维导图限制在画布内。")]),v("p",[_._v("6.收起所有节点操作会将思维导图根节点移至画布中心。")]),v("p",[_._v("7.支持仅在导出时显示水印的配置选项。")]),v("p",[_._v("8.在节点粘贴剪贴板中的图片时,支持自定义处理函数,可以将图片上传到你的服务器。")]),v("p",[_._v("9.重构 pdf 的导出逻辑,导出的 pdf 尺寸不再是固定的 a4,而是思维导图的尺寸,同时删除分页导出的配置。")]),v("p",[_._v("10.节点连线支持显示箭头,作为主题的一个字段。")]),v("p",[_._v("11.最大历史记录数量默认调整为 500。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.支持配置仅在导出时显示水印。")]),v("p",[_._v("2.基础样式配置连线支持显示箭头。")])]),v("h2",[_._v("0.9.1-fix.2")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复当节点文本为空时部分浏览器会显示默认文本的问题。")]),v("p",[_._v("2.修复当节点文本内容为空时再次输入文本时文本样式丢失的问题。")]),v("p",[_._v("3.修复节点图片加载失败时导出图片也会失败的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.支持配置节点图片加载失败时显示的默认图片。")])]),v("h2",[_._v("0.9.1-fix.1")]),v("p",[_._v("修复:")]),v("p",[_._v("1.修复自定义节点方法返回 null 时报错的问题。")]),v("p",[_._v("2.修复导出 pdf 文件体积很大的问题。")]),v("h2",[_._v("0.9.1")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复自定义节点内容时导出图片、svg、pdf 报错的问题。")]),v("p",[_._v("2.优化节点激活事件的派发,激活节点未改变时不派发事件,短时间派发多次事件时跳过中间事件。")]),v("p",[_._v("3.修复节点处于编辑状态时,通过鼠标滚动移动画布后编辑框和节点脱离的问题。")]),v("p",[_._v("4.修复在节点编辑状态中通过鼠标滚轮缩放画布再退出节点编辑后快捷键失效的问题。")]),v("p",[_._v("5.修复点击节点也会触发 node_dragend 事件的问题。")]),v("p",[_._v("6.修复不在格式刷时点击画布和节点也会触发 painter_end 事件的问题。")]),v("p",[_._v("7.修复在节点文本编辑中和关联线文本编辑中时销毁思维导图文本编辑框未被销毁的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.按住 Ctrl 键时禁用节点双击事件。")]),v("p",[_._v("2.支持配置创建新节点时的行为:聚焦且进入编辑、不聚焦、只聚焦。")]),v("p",[_._v("3.只读模式下搜索时给当前匹配到的节点增加高亮效果。")]),v("p",[_._v("4.鼠标滚轮行为默认改为上下移动画布;默认改为向前滚动放大画布,向后缩小。")]),v("p",[_._v("5.在鼠标滚轮行为为上下移动画布时,支持按住 Ctrl 键进行放大缩小画布。")])]),v("p",[_._v("Demo:支持配置创建新节点时的行为。")]),v("h2",[_._v("0.9.0")]),v("p",[_._v("新增:")]),v("p",[_._v("1.支持对同一个节点的部分子节点添加概要。")]),v("p",[_._v("2.鼠标移入概要会高亮其所属节点。")]),v("p",[_._v("3.导入和导出 xmind 文件支持处理概要。")]),v("h2",[_._v("0.8.1")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复历史记录数据中概要节点的激活状态未被删除的问题,会导致点击概要节点时触发 data_change 事件。")]),v("p",[_._v("2.修复在 safari 浏览器中运行时,页面空白且控制台抛出异常的问题。")]),v("p",[_._v("3.修复缩放画布时图标浮层和备注浮层和节点脱离的问题。")]),v("p",[_._v("4.修复只读模式下可以全选节点的问题。")]),v("p",[_._v("5.修复富文本模式下节点内容存在 时导出为图片出错的问题。")]),v("p",[_._v("6.修复先给自身添加概要,再给下级添加概要会出现概要重叠的问题;修复同时给存在上下级关系的节点添加概要时概要重叠的问题。")]),v("p",[_._v("7.修复节点数量很多的情况下导出 pdf 报错的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.新增禁止拖动画布的配置选项。")]),v("p",[_._v("2.新增禁止双指缩放画布的配置选项。")]),v("p",[_._v("3.导出 png 的方法新增压缩参数;优化大数据量节点导出 pdf 时体积过大的问题。")]),v("p",[_._v("4.将节点实例的 isParent 方法改名为 isAncestor,同时新增 isParent 方法。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.修复只读模式下仍旧可以搜索替换和编辑大纲的问题。")]),v("p",[_._v("2.修复节点内容为 html 标签时大纲无法显示和编辑的问题。")]),v("p",[_._v("3.修复同时选中多个节点添加图标时,所有节点图标都会统一为第一个节点的图标的问题。")]),v("p",[_._v("4.导出操作增加 loading。")])]),v("h2",[_._v("0.8.0-fix.1")]),v("p",[_._v("修复:修复直接粘贴的方式创建新节点时如果粘贴的内容带有<>等 html 标签符号时新创建的节点内容为空的问题。")]),v("h2",[_._v("0.8.0")]),v("p",[_._v("破坏性更新:大幅优化部分代码,小幅提升性能,主要是"),v("code",[_._v("render")]),_._v("类,删除无用逻辑、调整不合理的实现、提取重复代码;修改函数名称、函数功能等。")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复导出图片和 svg 时关联线的箭头消失的问题。")]),v("p",[_._v("2.修复调整容器大小后回到根节点的操作异常的问题。")]),v("p",[_._v("3.修复插入概要、上移、下移、一键整理布局的快捷键操作没有触发 data_change 事件的问题。")]),v("p",[_._v("4.修复存在水印时导出图片、svg、pdf 时每个节点都会显示边框的问题。")]),v("p",[_._v("5.修复容器尺寸改变后没有水印没有重新绘制的问题。")]),v("p",[_._v("6.修复存在水印时小地图渲染非常慢的问题。")]),v("p",[_._v("7.修复协同插件当创建新节点时新节点未显示创建人头像的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.优化画布 DOM 结构,将节点、连线、关联线分层渲染。")]),v("p",[_._v("2.优化水印插件。")]),v("p",[_._v("3.setTheme、setThemeConfig、setLayout 函数增加不触发重新渲染的参数。")]),v("p",[_._v("4.新增插入父节点的命令。")]),v("p",[_._v("5.新增仅删除当前节点的命令。")]),v("p",[_._v("6.插入概要时自动展开子节点。")]),v("p",[_._v("7.鼠标右键单击画布时清除当前激活节点。")]),v("p",[_._v("8.被收起的激活节点同步从激活节点列表里删除。")]),v("p",[_._v("9.粘贴带换行的文本支持控制是否按换行分割节点。")]),v("p",[_._v("10.小地图插件支持返回图片类型的小地图。")]),v("p",[_._v("11.指定时间内只允许添加一次历史记录,避免添加没有必要的中间状态。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.修改回到根节点的方法及文案。")]),v("p",[_._v("2.修复覆盖方式切换主题时第一次切换不生效的问题。")]),v("p",[_._v("3.右键菜单新增插入父节点和仅删除当前节点的功能。")]),v("p",[_._v("4.顶部工具栏支持根据窗口宽度自动收起到更多中。")]),v("p",[_._v("5.支持手动输入缩放倍数。")]),v("p",[_._v("6.完善界面英文翻译。")]),v("p",[_._v("7.小地图改为通过图片渲染。")])]),v("h2",[_._v("0.7.3-fix.2")]),v("p",[_._v("修复协同编辑的一些问题:")]),v("p",[_._v("1.插入同级节点时新节点位置不正确;")]),v("p",[_._v("2.在同级节点中移动位置没有触发更新;")]),v("p",[_._v("3.移动节点作为兄弟节点插入时位置不正确;")]),v("h2",[_._v("0.7.3-fix.1")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复一些情况下多选节点时的框选区域没有消失的问题。")]),v("p",[_._v("2.修复多选节点时在节点上松开鼠标时框选区域不会消失的问题。")]),v("p",[_._v("3.修复多次粘贴节点时由于节点 uid 重复造成的渲染异常问题。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.超链接输入框增加协议选择功能。")])]),v("h2",[_._v("0.7.3")]),v("p",[_._v("新增:1.新增协同编辑插件。")]),v("p",[_._v("Demo:1.修复公式侧边栏组件导致的侧边栏自动关闭问题。")]),v("h2",[_._v("0.7.2")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复多选节点时选区未包含节点边界时节点不会被选中的问题。")]),v("p",[_._v("2.修复节点文本不为字符串时报错的问题。")]),v("p",[_._v("3.修复非富文本模式下文本中存在<>&字符时再次编辑时部分文本会消失的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.支持插入数学公式。")]),v("p",[_._v("2.支持同时拖拽移动多个节点。")]),v("p",[_._v("3.支持同时复制、剪切多个节点。")]),v("p",[_._v("4.节点标签颜色改为根据标签内容生成,即同样的标签内容会生成相同的颜色。")]),v("p",[_._v("5.优化子节点的插入:1.同时对多个节点插入子节点时,不进入编辑状态;2.新插入的子节点自动进入激活状态。")]),v("p",[_._v("6.优化兄弟节点的插入:1.支持同时对多个节点插入兄弟节点;2.对根节点调用插入兄弟节点的命令时不再创建子节点。")]),v("p",[_._v("7.新增同时插入多个同级节点、多个子节点的命令。")]),v("p",[_._v("8.将节点唯一标识由 id 全部改为 uid,主要影响关联线,之前版本的关联线可能无法正常显示。")]),v("p",[_._v("9.优化图标合并逻辑,支持扩展库内部分类下的图标。")]),v("p",[_._v("10.关联线:1.双击关联线进入关联线文本编辑模式;2.关联线文本为默认文本的话不保存;3.存在激活节点时点击关联线可直接激活关联线。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.修复复制知犀思维导图多个节点时无法粘贴的问题。")]),v("p",[_._v("2.新增公式编辑的侧边栏。")])]),v("h2",[_._v("0.7.1-fix.2")]),v("p",[_._v("修复:1.修复插件注册方法链式调用报错的问题。")]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.新增思维导图初次加载时适应画布大小的配置选项。")]),v("p",[_._v("2.新增自动生成 dts 声明文件的命令。")])]),v("h2",[_._v("0.7.1-fix.1")]),v("p",[_._v("修复:修复拖拽节点时没有排除被拖拽节点的下级节点的问题。")]),v("h2",[_._v("0.7.1")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复关联线端点改变后未保存的问题。")]),v("p",[_._v("2.修复画布左上角距浏览器窗口不为 0 时多选节点鼠标移动到边缘时画布滚动异常的问题。")]),v("p",[_._v("3.修复导入存在为标题为空的节点的 xmind 文件报错的问题。")]),v("p",[_._v("4.修复导出的 xmind 文件在最新版 xmind 软件上打开时提示已损坏的问题。")]),v("p",[_._v("5.修复导出带有贴纸的数据为 xmind 格式时贴纸无法显示的问题。")]),v("p",[_._v("6.修复没有注册 select 插件时节点右键事件报错的问题。")]),v("p",[_._v("7.修复注册插件的方法没有去重的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.重构节点拖拽逻辑:优化一些情况下的拖拽难问题、适配各种结构、拖拽时鼠标移动到画布边缘时画布自动移动。")]),v("p",[_._v("2.重构滚动条插件,优化使用体验。")]),v("p",[_._v("3.不完美的解决逻辑结构图、思维导图、目录组织图、组织结构图概要和节点的冲突问题(概要后面应该会重写或删除)。")]),v("p",[_._v("4.删除节点后激活相邻节点。")]),v("p",[_._v("5.节点数据 data 中以_开头的字段被认为是自定义字段。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.页面增加显示当前核心库版本号。")])]),v("h2",[_._v("0.7.0")]),v("p",[_._v("破坏性更新:删除了主题文件中节点激活样式的部分,不再支持设置节点的激活样式,激活效果改为统一的节点外边框样式,同时支持鼠标 hover 效果。")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复节点边框尺寸比较大的情况下的的渲染异常问题。")]),v("p",[_._v("2.修复切换主题时存在关联线的节点样式不会更新的问题。")]),v("p",[_._v("3.修复全选没有触发 node_active 事件的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.收起节点时,显示折叠的节点数量。")]),v("p",[_._v("2.支持关联线端点的位置跟随鼠标拖拽变化。")]),v("p",[_._v("3.新增滚动条插件。")]),v("p",[_._v("4.支持在 url 中通过 fileURL 查询参数打开指定的在线文件。")]),v("p",[_._v("5.鱼骨图支持设置节点 margin。")]),v("p",[_._v("6.默认关闭双击复位画布。")]),v("p",[_._v("7.修改导出图片方法的参数,导出 pdf 时如果思维导图尺寸小于 a4 纸那么不旋转方向。")]),v("p",[_._v("8.提升导出的图片和 pdf 在高清屏的清晰度。")]),v("p",[_._v("9.插件新增销毁前生命周期函数,解决销毁思维导图时插件的一些副作用没有清除的问题。")]),v("p",[_._v("10.优化基础样式的设置,修改不影响大小的主题属性时不触发全量渲染。")]),v("p",[_._v("11.右键多选节点结束时禁止触发节点右键菜单事件,避免触发右键菜单显示。")]),v("p",[_._v("12.优化 Select 插件,如果多选节点没有变化,那么不触发激活激活事件。")]),v("p",[_._v("13.node_active 事件抛出的激活节点列表不再直接引用内部激活列表。")]),v("p",[_._v("14.优化鼠标按下节点事件逻辑,在右键拖拽画布模式下支持右键按住根节点拖拽画布。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.不直接引用内部激活节点列表,优化性能。")]),v("p",[_._v("2.支持配置是否显示滚动条。")]),v("p",[_._v("3.删除侧边栏节点样式配置部分的激活节点配置。")])]),v("h2",[_._v("0.6.17")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复导入百度脑图导出的 xmind 文件报错的问题。")]),v("p",[_._v("2.修复 mindMap.export 方法代码错误。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.新增 index.d.ts。")]),v("p",[_._v("2.支持配置是否开启双击复位思维导图。")]),v("p",[_._v("3.拦截富文本编辑时的粘贴操作,去掉格式,只允许粘贴纯文本。")])]),v("h2",[_._v("0.6.16")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.优化富文本测量元素的逻辑,删除样式的重复设置和节点的重复添加。")]),v("p",[_._v("2.优化导出图片逻辑,遍历节点转换图片的 url 时,如果已经是 data:URL 形式不重复处理。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.去除导出 svg 方法的第二个参数,改为通过实例化配置。")]),v("p",[_._v("2.导出图片不再使用外部库。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.修复单独编辑大纲时能给根节点添加兄弟节点的 bug。")])]),v("h2",[_._v("0.6.15-fix.2")]),v("p",[_._v("修复:修复在 Firefox 浏览器中富文本节点无法显示的问题。")]),v("h2",[_._v("0.6.15-fix.1")]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.导出 pdf 支持根据图片大小分页导出。")]),v("p",[_._v("2.导出 pdf 支持根据长宽比自动调整方向。")]),v("p",[_._v("3.优化展开收起按钮的占位元素:1.没有子节点的节点不渲染该元素;2.根据是否存在子节点动态更新该元素。")]),v("p",[_._v("4.新增禁止鼠标滚轮缩放的配置。")]),v("p",[_._v("5.支持传递错误处理函数。")])]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复节点文本为空时显示异常问题。")]),v("p",[_._v("2.导出 svg 的图形的 paddingX 和 paddingY 改为单侧 padding。")]),v("p",[_._v("3.修复画布距浏览器窗口左上角不为 0 时鼠标缩放时不以鼠标为中心的问题。")]),v("p",[_._v("4.修复节点边框会重合的问题。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.右下角支持跳转相关链接。")]),v("p",[_._v("2.调整小地图位置,解决被侧边按钮遮挡的问题。")]),v("p",[_._v("3.修复打开本地文件右上角的提示无法关闭的问题。")]),v("p",[_._v("4.单独编辑大纲不再和画布联动,优化大数据量下的编辑体验。")]),v("p",[_._v("5.侧边栏涉及图形的选项增加可视化效果。")])]),v("h2",[_._v("0.6.14")]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.去除创建隐藏输入框,通过 navigator.clipboard 实现复制粘贴;支持跨浏览器粘贴思维导图节点数据;支持自定义处理剪贴板中的文本数据。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.修复开启输入自动进入文本编辑模式和其他输入框冲突的问题。")]),v("p",[_._v("2.修复无法在节点图片弹窗里删除节点图片的问题。")]),v("p",[_._v("3.修复在节点样式侧边栏里无法去除节点的文本修饰线样式的问题。")]),v("p",[_._v("4.颜色选择器支持选择透明颜色。")]),v("p",[_._v("5.修复基础样式侧边栏打开状态下,导入思维导图数据后侧边栏数据未更新的问题。")]),v("p",[_._v("6.修复大纲修改一个节点的文本后再点击其他节点时不聚焦的问题。")]),v("p",[_._v("7.修复退出禅模式后左下角的节点和字数统计未更新的问题。")]),v("p",[_._v("8.支持从右键菜单删除节点的超链接、备注。")]),v("p",[_._v("9.支持粘贴知犀思维导图的节点数据。")])]),v("h2",[_._v("0.6.13")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复只读模式下鼠标中键按住节点无法拖动画布的问题。")]),v("p",[_._v("2.修复快速拖动节点几次后会概率性报错的问题。")]),v("p",[_._v("3.修复在移动端激活节点、展开收起时等操作时会拉起输入法的问题。")]),v("p",[_._v("4.修复主题配置中背景图片为 none 时会发起一个异常请求的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.移动端手势缩放优化: 按线性关系进行缩放、双指位移可以调整画布位置。")]),v("p",[_._v("2.去掉异步渲染节点的逻辑,提升创建新节点的速度。")]),v("p",[_._v("3.导出图片由 html2canvas 库改为使用 dom-to-image-more 库,解决导出富文本节点文字样式丢失的问题。")]),v("p",[_._v("4.非富文本输入框进入编辑状态时取消默认全选。")]),v("p",[_._v("5.存在一个激活节点时,支持按下中文、数字、英文按键时自动进入文本编辑模式。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.保存视图数据时增加防抖操作,优化性能。")]),v("p",[_._v("2.一些耗时的操作添加 loading 效果。")]),v("p",[_._v("3.完善右键菜单和富文本工具条的暗黑模式。")])]),v("h2",[_._v("0.6.12")]),v("p",[_._v("修复:")]),v("blockquote",[v("p",[_._v("1.修复当思维导图全部移出可视区域后小地图中的指示器也会移出小地图区域的问题。")]),v("p",[_._v("2.修复移动端双指缩放过于灵敏的问题。")]),v("p",[_._v("3.修复只读模式下按住节点无法拖动画布的问题。")]),v("p",[_._v("4.修复当思维导图距浏览器窗口左上角不为 0 时,小地图渲染不正确的问题。")]),v("p",[_._v("5.修复移动节点时新位置的提示块过大的问题。")]),v("p",[_._v("6.修复搜索不能替换为空字符的问题。")]),v("p",[_._v("7.修复富文本模式下,搜索替换后换行会丢失的问题。")]),v("p",[_._v("8.修复大纲里点击文字编辑时输入框焦点丢失的问题。")])]),v("p",[_._v("新增:")]),v("blockquote",[v("p",[_._v("1.节点移动结束事件(node_dragend)增加回调参数,可以获取到移动到节点的 uid。")]),v("p",[_._v("2.支持通过配置指定内部一些元素添加到的位置。")]),v("p",[_._v("3.支持格式刷功能。")]),v("p",[_._v("4.曲线风格下,根节点的连接线样式支持和其他节点保持一致。")]),v("p",[_._v("5.搜索支持连续替换。")]),v("p",[_._v("6.节点图片新增删除按钮。")]),v("p",[_._v("7.支持按住鼠标中键拖动画布。")])]),v("p",[_._v("Demo:")]),v("blockquote",[v("p",[_._v("1.提供应用接管模式,方便对接自己的存储服务;支持运行时设置静态资源路径。")]),v("p",[_._v("2.重构大纲:1.不再使用节点自带的文本样式;2.支持全屏编辑大纲;3.大纲支持拖拽移动节点;4.大纲支持删除节点。")]),v("p",[_._v("3.修复导入数据场景下界面暗黑模式没有更新的问题。")])]),v("h2",[_._v("0.6.11-fix.1")]),v("p",[_._v("修复:1.修复节点文字为白色时编辑的时候看不见的问题。")]),v("h2",[_._v("0.6.11")]),v("p",[_._v("新增:1.优化小地图,去除小地图内的节点内容,优化性能。")]),v("p",[_._v("Demo:1.新增主题、主题列表新增 tab 区分。 2.节点图片上传支持输入网络图片地址。 3.节点图片上传支持输入网络图片。")]),v("h2",[_._v("0.6.10")]),v("p",[_._v("修复:1.修复搜索定位到某个节点后删除该节点,再次搜索时搜索结果未更新的问题。 2.修复调整图片大小的按钮在节点操作后没有更新的问题。 3.修复内部数据深拷贝位置不正确的问题。 4.修复富文本节点换行不生效的问题。 5.修复切换主题等场景时节点换行会丢失的问题。")]),v("p",[_._v("新增:1.搜索支持搜索空白字符和替换为空白字符。")]),v("p",[_._v("Demo:1.支持通过图标按钮调出搜索。 2.支持通过图标按钮切换暗黑模式。 3.优化搜索:鼠标不在搜索区域内不聚焦,解决鼠标不在搜索区域内无法删除输入的文字的问题。 4.调整添加节点图标的界面 UI,新增系列节点图标。 5.新增贴纸列表。 6.修复在搜索框回车后输入框焦点丢失的问题。 7.支持点击节点内的图标显示一个图标快捷替换和删除悬浮面板。")]),v("h2",[_._v("0.6.9-fix.1")]),v("p",[_._v("修复:1.修复搜索进行一次单个替换后再全部替换不正确的问题。")]),v("p",[_._v("新增:1.不会再直接修改传入的 data 对象,内部会深拷贝一份。")]),v("h2",[_._v("0.6.9")]),v("p",[_._v("修复:1.修复给概要节点设置样式概要节点会消失的问题。2.修复自定义节点内容时,二次创建根实例时节点内容不渲染的问题。3.修复节点处于编辑中时添加新节点时新节点的焦点丢失问题。 2.修复连续按 tab 键无法连续创建子节点的问题。")]),v("p",[_._v("新增:1.导出 svg 时替换 svg 中存在的"),v("code",[_._v(" ")]),_._v("字符,避免导出的 svg 报错。 2.支持搜索和替换。")]),v("p",[_._v("Demo:1.切换主题时支持选择是否覆盖设置过的基础样式。")]),v("h2",[_._v("0.6.8")]),v("p",[_._v("修复:1.修改插入概要的快捷键为 Ctrl+G,避免和保存快捷键冲突。 2.修复节点正在编辑时切换富文本编辑配置输入框出现异常的问题。")]),v("p",[_._v("新增:1.修改复制、剪切、粘贴逻辑,支持粘贴剪切板中的数据。")]),v("p",[_._v("Demo:1.修复基础样式-设置节点外边距未保存的问题。 2.支持根据主题自动切换为暗黑模式。")]),v("h2",[_._v("0.6.7")]),v("p",[_._v("修复:1.修复节点收起再展开后展开收起按钮占位元素丢失的问题。 2.修复只读模式下可以缩放图片的问题。")]),v("p",[_._v("新增:1.支持根据节点实例或节点 uid 定位到某个节点。 2.修改节点 uid 的创建方式,导出数据添加节点的 uid。")]),v("p",[_._v("移除:1.移除节点过渡效果。")]),v("p",[_._v("Demo:1.添加网站首页。 2.修复大纲里创建新节点时节点样式丢失的问题。 3.修复大纲里编辑节点后按回车或 Tab 键后编辑文本丢失的问题。 4.优化大纲的节点定位,被收起的节点会自动展开。 5.侧边栏按钮支持收起。 6.优化小屏适配。")]),v("h2",[_._v("0.6.6")]),v("p",[_._v("新增:1.支持导出为 Xmind 新版文件。2.导入 Xmind 新版文件支持导入节点中的图片。 3.新增竖向时间轴结构。")]),v("p",[_._v("修复:1.TouchEvent 插件不再派发 click 事件,解决移动端点击超链接会打开两个窗口的问题。 2.修复拖拽移动一个节点成为另一个节点的子节点时该节点的父节点指向未更新的问题。 3.修复二级节点拖拽成三级节点时节点边框样式未更新的问题。 4.修复向右生长的结构外其他结构鼠标移入展开收起按钮位置时不会触发按钮显示的问题。")]),v("p",[_._v("优化:1.优化触控板缩放画布时幅度过大的问题。2.刚创建的节点默认全选方便删除默认文本。")]),v("h2",[_._v("0.6.5-fix.1")]),v("p",[_._v("修复:1.修复在缩放情况下调整图片大小不正确的问题。")]),v("h2",[_._v("0.6.5")]),v("p",[_._v("修复:1.修复 xmind 文件导入报错的问题。 2.修复极少数情况下当节点文本的宽度为小数时显示发生换行的问题。")]),v("p",[_._v("新增:1.打包后的库支持获取内置常量、主题等数据。 2.支持配置鼠标滚轮方向对应的缩放行为。 3.节点图片支持拖拽调整大小。")]),v("h2",[_._v("0.6.4-fix.1")]),v("p",[_._v("新增:1.鼠标滚轮缩放时默认以鼠标当前位置为中心进行缩放,可以通过配置关闭该特性。")]),v("p",[_._v("修复:1.修复改变了画布大小后缩放中心点默认值不随之更新的问题。")]),v("h2",[_._v("0.6.4")]),v("p",[_._v("新增:1.默认以画布中心点进行缩放。 2.优化移动端双指缩放,以双指中心位置为中心点进行缩放。")]),v("h2",[_._v("0.6.3")]),v("p",[_._v("修复:1.修复概要节点会响应插入节点快捷键的问题。")]),v("p",[_._v("新增:1.支持自定义节点内容。")]),v("h2",[_._v("0.6.2")]),v("p",[_._v("修复:1.修复富文本模式下,新建节点不随主题变化而变化的问题。")]),v("h2",[_._v("0.6.1")]),v("p",[_._v("修复:1.修复将鼠标滚动改为移动画布行为后,使用触控板操作时移动灵敏度过高的问题。")]),v("h2",[_._v("0.6.0-fix.1")]),v("p",[_._v("修复:1.修复没有设置过背景样式的情况下销毁思维导图报错的问题。")]),v("h2",[_._v("0.6.0")]),v("p",[_._v("破坏性更新:调整了 simple-mind-map 源码的目录结构,主要影响:1.插件的引入路径需要修改。2.constant 文件路径需要修改。")]),v("p",[_._v("新增:1.支持一键缩放至适应画布功能。 2.按住 Ctrl 键多选功能可通过配置按需开启。 3.支持设置为左键多选节点,右键拖动画布。 4.支持控制节点是否允许编辑。 5.新增销毁思维导图的方法。 6.新增触摸事件支持插件。")]),v("p",[_._v("修复:1.修复按住 ctrl 键多选节点时不会触发节点的 click 事件的问题。 2.修复清空一个节点后再输入文字时节点样式丢失的问题。")]),v("h2",[_._v("0.5.11")]),v("p",[_._v("新增:支持关联性文本编辑。")]),v("p",[_._v("优化:优化主题配置更新,改变不涉及节点大小的配置不触发节点重新计算。")]),v("h2",[_._v("0.5.10")]),v("p",[_._v("新增:使用 LRU 缓存算法优化节点复用逻辑。")]),v("h2",[_._v("0.5.10-fix.1")]),v("p",[_._v("修复:修复导入出错的问题。")]),v("h2",[_._v("0.5.10-fix.2")]),v("p",[_._v("修复:修复富文本模式下,切换主题、导入数据后没有触发数据改变的问题。")]),v("p",[_._v("新增:新增三种主题。")]),v("h2",[_._v("0.5.9")]),v("p",[_._v("修改:统一导出方法的格式,使用"),v("code",[_._v("FileReader")]),_._v("代替"),v("code",[_._v("URL.createObjectURL")]),_._v("转换"),v("code",[_._v("blob")]),_._v("数据。")]),v("h2",[_._v("0.5.8")]),v("p",[_._v("优化:1.节点位置没有变化不触发位置设置。 2.展开收起状态没有变化不触发按钮更新。")]),v("p",[_._v("新增:1.默认改为鼠标移上节点才显示展开收起按钮。 2.支持扩展节点可插入的图标列表。")]),v("h2",[_._v("0.5.7")]),v("p",[_._v("破坏性更新:富文本模式下导出 png 改为使用 html2canvas 转换整个 svg,大幅提高导出速度,不过 html2canvas 存在一个 bug,foreignObject 元素中的 dom 节点内联的文字颜色无法识别,所以导出节点的文字颜色是固定的,不过相对于之前的导出基本不可用状态,目前至少能快速顺利的导出。")]),v("p",[_._v("优化:优化富文本节点编辑体验。")]),v("p",[_._v("新增:富文本模式下,导入数据、初始化数据、切换主题场景节点样式支持跟随主题变化。")]),v("h2",[_._v("0.5.6")]),v("p",[_._v("修复:1.修复短时间快速多次渲染时节点位置错乱的问题。 2.修复节点正在编辑中时拖动画布导致编辑框和节点分离的问题。")]),v("p",[_._v("新增:1.添加最大历史记录数限制。")]),v("h2",[_._v("0.5.5")]),v("p",[_._v("新增:1.支持配置导出为 png、svg、pdf 时的内边距。 2.支持配置节点文本编辑框、节点备注浮层元素的 z-index。 3.支持点击画布外的区域结束节点编辑状态。")]),v("h2",[_._v("0.5.5-fix.1")]),v("p",[_._v("修复:1.修复节点在画布外编辑时编辑框也在画布外的问题。 2.修改结构后复位变换,防止存在缩放时切换结构后第一次拖动时会发生位置突变的问题。")]),v("p",[_._v("优化:1.节点多选时只要节点和选区存在交叉即认为被选中。")]),v("h2",[_._v("0.5.5-fix.2")]),v("p",[_._v("修复:1.修复小地图报错。")]),v("h2",[_._v("0.5.4")]),v("p",[_._v("新增:1.添加新主题。 2.新增时间轴和鱼骨结构。")]),v("p",[_._v("修复:1.修复节点右键和画布右键的冲突问题。 2.修复组织结构图、目录组织图等节点拖拽时存在线段未隐藏的 bug。")]),v("p",[_._v("优化:1.优化组织结构图布局。2.优化目录组织图布局。")]),v("h2",[_._v("0.5.4-fix.1")]),v("p",[_._v("优化:1.优化鱼骨图布局。")]),v("h2",[_._v("0.5.3")]),v("p",[_._v("修复:1.修复富文本模式下,如果选择了多个节点时设置文本样式,会将所有多选节点的文本改成最后一个多选节点的文本的问题。")]),v("p",[_._v("新增:1.支持设置初始中心节点的位置。")]),v("h3",[_._v("0.5.3-fix.1")]),v("p",[_._v("修复:1.修复设置初始中心节点的位置不生效的问题。")]),v("h3",[_._v("0.5.3-fix.2")]),v("p",[_._v("修复:1.修复导出为图片时,节点中的图片显示不出来的问题。")]),v("h2",[_._v("0.5.2")]),v("p",[_._v("修复:1.导出的"),v("code",[_._v("json")]),_._v("数据中去除"),v("code",[_._v("uid")]),_._v(";2.重新渲染时清空节点缓存池。")]),v("h2",[_._v("0.5.1")]),v("p",[_._v("优化:1.只有当鼠标在画布内才响应快捷键事件。")]),v("p",[_._v("修复:1.修复快速操作时节点位置不正确的问题。")]),v("h2",[_._v("0.5.0")]),v("p",[_._v("这个版本主要是代码层面的改动和优化,核心是为了提升渲染性能,减少卡顿问题。")]),v("p",[_._v("新增:1.支持自定义展开收起节点图标和颜色;")]),v("p",[_._v("优化:1.优化渲染逻辑,设置主题、前进回退等操作不再全量渲染;")]),v("pre",[v("code",[_._v(" 2.优化节点拖拽逻辑,修复无法拖动到两个节点之间的问题;\n\n 3.收起全部节点操作增加回到中心点的逻辑;\n\n 4.修复短时间多次触发渲染造成节点乱飞和错乱的问题;\n\n 5.优化节点编辑的体验;\n")])]),v("p",[_._v("修复:1.修复 setData 方法不触发历史记录的问题;")]),v("p",[_._v("修改:从 0.5.0 版本开始,考虑性能问题,节点激活状态只能修改形状相关的样式:")]),v("pre",{staticClass:"hljs"},[v("code",[_._v(";["),v("span",{staticClass:"hljs-string"},[_._v("'fillColor'")]),_._v(", "),v("span",{staticClass:"hljs-string"},[_._v("'borderColor'")]),_._v(", "),v("span",{staticClass:"hljs-string"},[_._v("'borderWidth'")]),_._v(", "),v("span",{staticClass:"hljs-string"},[_._v("'borderDasharray'")]),_._v(", "),v("span",{staticClass:"hljs-string"},[_._v("'borderRadius'")]),_._v("]\n")])]),v("h2",[_._v("0.4.7")]),v("p",[_._v("优化:1.富文本编辑时初始聚焦时不再默认全选;2.富文本编辑时使用节点填充色作为背景色,避免节点颜色为白色时看不见。 3.节点激活状态切换不再触发历史记录。 4.短时间多次触发历史记录,只会添加最后一次的数据。 5.优化历史记录添加,当有回退时,再次添加新记录时删除当前指针后面的历史数据。")]),v("p",[_._v("新增:1.支持导入和导出 Markdown 格式文件。 2.支持配置插入节点时的初始文字。 3.扩展插入节点和删除节点的命令,支持指定节点。")]),v("h2",[_._v("0.4.6")]),v("p",[_._v("新增:1.关联线支持调整控制点。")]),v("p",[_._v("优化:1.添加历史数据时过滤和上一次相比没有改变的数据。")]),v("p",[_._v("修复:1.修复节点编辑时方向键和方向键导航功能的冲突问题。 2.修复拖拽移动节点时节点 id 的丢失问题,这会导致关联线丢失。")]),v("h2",[_._v("0.4.5")]),v("p",[_._v("新增:1.支持关联线。 2.按住根节点也可以拖动画布。3.按住 ctrl 键可以调整多选节点。")]),v("h2",[_._v("0.4.4")]),v("p",[_._v("新增:支持响应鼠标的横向滚动。")]),v("h2",[_._v("0.4.3")]),v("p",[_._v("修复:前进回退后没有触发"),v("code",[_._v("data_change")]),_._v("事件的问题。")]),v("p",[_._v("新增:支持自定义鼠标滚轮事件;鼠标滚轮调整为支持缩放视图和上下移动视图。")]),v("h2",[_._v("0.4.2")]),v("p",[_._v("新增:"),v("code",[_._v("Node")]),_._v("类的"),v("code",[_._v("setText")]),_._v("方法增加第二个参数,以支持设置富文本内容。")]),v("h2",[_._v("0.4.1")]),v("p",[_._v("新增:1.新增抛出节点鼠标移入和移除事件;2.节点富文本支持设置背景颜色;3.节点富文本支持清除样式。")]),v("p",[_._v("修复:1.Mac 系统触控板缩放相反的问题;2.设备 window.devicePixelRatio 不为 1 时,当存在富文本节点时导出的图片中富文本节点尺寸会变大的问题。")]),v("h2",[_._v("0.4.0")]),v("p",[_._v("新增:节点支持富文本编辑。")]),v("h2",[_._v("0.3.4")]),v("p",[_._v("新增:节点文本增加自动换行功能。")]),v("p",[_._v("修复:1.修复批量删除的节点中如果存在根节点会出现删除异常的问题。2.修复底边风格的情况下,节点高度过高会和其他节点重叠的问题。")]),v("h2",[_._v("0.3.3")]),v("p",[_._v("修复:根节点文字无法换行的问题。")]),v("h2",[_._v("0.3.2")]),v("p",[_._v("修复:1.修复二级节点拖拽到其他节点或其他节点拖拽到二级节点时节点样式没有更新的问题;2.修复当思维导图实际内容大于屏幕宽高时,导出的时候超出的部分没有绘制水印的问题。")]),v("h2",[_._v("0.3.1")]),v("p",[_._v("修复:1.删除背景图片不生效的问题;2.节点拖拽到根节点时连接线跑到根节点上方的问题。")]),v("p",[_._v("新增:背景图片展示增加位置和大小设置。导出的图片也同步支持该设置。")]),v("h2",[_._v("0.3.0")]),v("p",[_._v("升级为插件化架构,将一些非核心功能抽离出来作为插件,按需注册,减小整体体积。")]),v("h2",[_._v("0.2.24")]),v("p",[_._v("新增:节点自由拖拽改为可配置,默认为"),v("code",[_._v("false")]),_._v("不开启;支持添加水印。")]),v("h2",[_._v("0.2.23")]),v("p",[_._v("新增:支持注册新主题。")]),v("h2",[_._v("0.2.22")]),v("p",[_._v("优化:取消内置"),v("code",[_._v("simple-mind-map")]),_._v("包的主题和结构图片,改为由使用者自行维护,原有图片可在"),v("code",[_._v("web/assets/img/")]),_._v("目录找到。")]),v("h2",[_._v("0.2.21")]),v("p",[_._v("新增:支持节点横线风格。")]),v("h2",[_._v("0.2.20")]),v("p",[_._v("修复:画布距窗口左上角不为 0 时节点拖拽出现偏移的问题。")]),v("h2",[_._v("0.2.19")]),v("p",[_._v("修复:没有激活节点时随便按什么键都会触发自动聚焦的问题。")]),v("h2",[_._v("0.2.18")]),v("p",[_._v("优化:键盘导航寻找焦点的算法,支持简单算法、区域算法、阴影算法。")]),v("h2",[_._v("0.2.17")]),v("p",[_._v("新增:键盘导航,即通过方向键来切换激活的节点;支持在大纲直接编辑节点文本内容。")]),v("h2",[_._v("0.2.16")]),v("p",[_._v("优化:小地图、拖拽性能。")]),v("h2",[_._v("0.2.15")]),v("p",[_._v("优化:本地文件编辑。")]),v("p",[_._v("新增:支持双击节点内图片进行大图预览。")]),v("h2",[_._v("0.2.14")]),v("p",[_._v("优化:插入子节点时自动展开。")]),v("p",[_._v("修复:小地图关闭时报错的问题。")]),v("h2",[_._v("0.2.13")]),v("p",[_._v("修复:子节点收起状态复制时丢失的问题。")]),v("h2",[_._v("0.2.11")]),v("p",[_._v("修复:修复子节点收起状态复制时丢失的问题。")]),v("p",[_._v("新增:支持小地图。")]),v("h2",[_._v("0.2.10")]),v("p",[_._v("优化:手动创建节点时立即聚焦。")]),v("p",[_._v("修复:连线样式深度更新问题。")]),v("p",[_._v("新增:逻辑结构图、思维导图新增直线连接风格、直连风格。")]),v("h2",[_._v("0.2.9")]),v("p",[_._v("新增:支持新建、打开、保存到电脑本地文件。")]),v("h2",[_._v("0.2.8")]),v("p",[_._v("修复:xmind8 版本文件导入失败的问题。")]),v("p",[_._v("新增:支持展开到指定层级。")]),v("h2",[_._v("0.2.7")]),v("p",[_._v("修复:根节点添加多个节点爆栈的问题。")]),v("p",[_._v("新增:支持导入.xmind 文件。")]),v("h2",[_._v("0.2.6")]),v("p",[_._v("新增:导出 svg 增加 title 标签。")]),v("h2",[_._v("0.2.5")]),v("p",[_._v("修复:节点展开收起的 bug。")]),v("p",[_._v("新增:节点支持自定义线条样式。")]),v("h2",[_._v("0.2.4")]),v("p",[_._v("新增:节点支持多种形状。")]),v("h2",[_._v("0.2.3")]),v("p",[_._v("修复:编辑节点文本时快捷键冲突的问题;右键菜单快捷键提示错误;右键菜单快捷键提示。")]),v("h2",[_._v("0.2.2")]),v("p",[_._v("修复:输入字符串'/'和快捷键'/'冲突问题。")]),v("h2",[_._v("0.2.1")]),v("p",[_._v("新增:支持导出为 pdf。")]),v("h2",[_._v("0.2.0")]),v("p",[_._v("新增:经典 4 主题;支持添加概要;支持自由拖拽;上移节点、下移节点、复制节点、剪切节点、粘贴节点、一键整理布快捷键;库打包;Ctrl+左键多选。")]),v("h2",[_._v("0.1.18")]),v("p",[_._v("修复:节点图标不能删除的问题;工具按钮置灰仍然可以点击的问题。")]),v("h2",[_._v("0.1.17")]),v("p",[_._v("新增:增加只读模式。")]),v("h2",[_._v("0.1.16")]),v("p",[_._v("新增:节点备注支持 markdown 及富文本。")]),v("p",[_._v("修复:不能选中文字的问题;节点标注在节点激活后无法隐藏问题;超链接、备注、标签等文字编辑时返回键和回车键与思维导图快捷键冲突的问题。")]),v("h2",[_._v("0.1.15")]),v("p",[_._v("新增:状态数据支持保存激活状态、视图状态(拖动位置、缩放值);支持节点拖拽。")]),v("h2",[_._v("0.1.14")]),v("p",[_._v("修复:存在激活节点时设置主题存在的问题。")]),v("h2",[_._v("0.1.13")]),v("p",[_._v("新增:快捷键功能;新增导出为 json。")]),v("p",[_._v("优化:一些细节。")]),v("h2",[_._v("0.1.12")]),v("p",[_._v("新增:本地存储;右键菜单功能等。")]),v("h2",[_._v("0.1.0")]),v("p",[_._v("完成基本功能。")])])}],t={},h=t,c=p("2877"),l=Object(c["a"])(h,o,e,!1,null,null,null);v["default"]=l.exports}}]); \ No newline at end of file diff --git a/dist/js/chunk-2d208ffa.js b/dist/js/chunk-2d208ffa.js index ac706310..29c96767 100644 --- a/dist/js/chunk-2d208ffa.js +++ b/dist/js/chunk-2d208ffa.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d208ffa"],{a6d3:function(e,t,i){"use strict";i.r(t);var o=function(){var e=this;e._self._c;return e._m(0)},n=[function(){var e=this,t=e._self._c;return t("div",[t("h1",[e._v("Changelog")]),t("h2",[e._v("0.9.9-fix.1")]),t("p",[e._v("Fix the issue where the search plugin was unable to search due to changes in the previous version.")]),t("h2",[e._v("0.9.9")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of incorrect arrow color when creating association lines for the first time;")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Support inserting child nodes with the insert key;")]),t("p",[e._v("2.Add the beforeShortcutRun instantiation option to intercept shortcut key operations;")]),t("p",[e._v("3.The method of incrementally updating canvas data by adding root instances, updateData;")]),t("p",[e._v("4.Add a rainbow line plugin;")]),t("p",[e._v("5.Add mouse in and out events to icons in nodes;")]),t("p",[e._v("6.Add the getAncestorNodes method to the node instance to obtain the list of ancestor nodes;")]),t("p",[e._v("7.Adding mouse events to personnel avatars during collaborative editing;")]),t("p",[e._v("8.Instantiation and setData methods support passing in empty data;")]),t("p",[e._v("9.Add an instantiation option for adding custom content when exporting images;")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Support configuration of rainbow lines;")]),t("p",[e._v("2.Add source code editing mode;")]),t("p",[e._v("3.Exporting PNG, PDF, and SVG supports setting custom text at the bottom;")])]),t("p",[e._v("Client:")]),t("blockquote",[t("p",[e._v("1.Double click the file to open the application without opening the workbench page;")]),t("p",[e._v("2.Fix the issue of multiple editing windows opening when repeatedly opening the same file;")]),t("p",[e._v("3.Prompt for modifying and deleting files being edited;")])]),t("h2",[e._v("0.9.8")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of incorrect calculation function of mind maps within the canvas and scroll bar positions when the canvas size changes;")]),t("p",[e._v("2.Fix the issue of errors when importing some old version xmind files;")]),t("p",[e._v("3.Fix the issue where the highlight box of the collapsed node does not disappear when searching for highlighted nodes in read-only mode;")]),t("p",[e._v("4.Fix the issue where data changes during search and search results are not updated in certain situations;")]),t("p",[e._v("5.Fix the issue of deleting adjacent nodes when deleting nodes that are currently being edited;")]),t("p",[e._v("6.Fix the issue of rendering only the root node when expand: false is set to the root node in the node data;")]),t("p",[e._v("7.Fix the collaborative editing plugin: When a node is selected and then folded, the activation status of the node disappears, but the selected status of the node still exists in other clients;")]),t("p",[e._v("8.Optimize the export of markdowns and fix the issue of missing summaries;")]),t("p",[e._v("9.Fix the issue of ineffective forward and backward operations on node positions during free drag and drop;")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.The commands such as INSERTNODE will not overwrite custom UIDs;")]),t("p",[e._v("2.Methods for adding and removing highlighting for node instances; Adjust the way read-only mode searches for highlighted nodes;")]),t("p",[e._v("3.Add configuration for searching all nodes (including those that have been folded); Search defaults to searching all nodes;")]),t("p",[e._v("4.Add configuration options that cannot be selected by multiple people on the same node during collaborative editing;")]),t("p",[e._v("5.Add lifecycle function configuration options before synchronizing collaborative editing node operations;")]),t("p",[e._v("6.Add UID field to the summary node;")]),t("p",[e._v("7.Added support for exporting txt files;")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Fix the issue where shortcut keys become invalid after opening label pop ups and note pop ups and clicking on the mask to close them;")]),t("p",[e._v("2.Modify the association logic between themes and dark colors;")]),t("p",[e._v("3.Support reading local directories;")]),t("p",[e._v("4.Fix the issue of selecting a file in the import pop-up window and then deleting it without actually deleting it;")]),t("p",[e._v("5.Export new txt files;")])]),t("h2",[e._v("0.9.7")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue where the style is not updated when dragging nodes below level 2 to the root node to become level 2 nodes; Fix the issue where the style is not updated when moving nodes with the command to move up one level;")]),t("p",[e._v("2.Fix the issue of losing focus when activating summary nodes and then setting text styles for them;")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Add two commands to remove custom styles from nodes;")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Add a right-click menu button to remove custom styles from nodes.")])]),t("h2",[e._v("0.9.6")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue where the style of the collapsed nodes remains unchanged when switching themes;")]),t("p",[e._v("2.Fix the issue of losing the new text style when switching themes for text wrapping;")]),t("p",[e._v("3.Fix the issue where the style of the newline text remains unchanged when switching themes;")]),t("p",[e._v("4.Fixed the issue of adding mathematical formulas to nodes and not changing the text style when switching themes;")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Add new fields to the theme, used to set the display position, head or tail, of node line arrows;")]),t("p",[e._v("2.New field added to the theme, used to set the starting position of the root node line when connecting curves;")]),t("p",[e._v("3.Mac dual finger touch event moves the canvas to increase sensitivity slightly;")]),t("p",[e._v("4.Add MOVE_ UP_ ONE_ The LEVEL command is used to move a node up one level;")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.The outline supports pressing Shift+Tab to move nodes up one level;")]),t("p",[e._v("2.Support setting the position of node arrow display;")]),t("p",[e._v("3.Support setting the starting position of root node connections;")]),t("p",[e._v("4.Add two new themes;")]),t("p",[e._v("5.Fix the issue of text wrapping not taking effect in the outline and displaying the br tag;")])]),t("h2",[e._v("0.9.5")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of missing inter zone summaries when expanding and folding nodes.")]),t("p",[e._v("2.Fix the issue where the position of the newly created associated line is always on the right side of the node without changing according to its relative position.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Add configuration for the initial positions of the two endpoints when creating associated lines.")]),t("p",[e._v("2.Add a configuration that prohibits adjusting the endpoint position of associated lines.")]),t("p",[e._v("3.Add a hand drawn style plugin.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Optimize interface adaptation on mobile devices.")]),t("p",[e._v("2.Supports enabling hand drawn styles.")])]),t("h2",[e._v("0.9.4")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of inconsistent text wrapping caused by inconsistent text area width during node display and editing in some cases.")]),t("p",[e._v("2.Fixed the issue where gradients were not applied to the edit box during rich text editing for nodes with gradient backgrounds.")]),t("p",[e._v("3.Fix the issue of text style loss after switching themes for nodes defined in bold by the theme.")]),t("p",[e._v("4.Fix the issue on Mac where the useLeftKeySelectionRightKeyDrag option is set to true and cannot hold down the Ctrl key to select multiple nodes.")]),t("p",[e._v("5.Fix the issue where text styles are lost after clearing styles during node rich text editing, and switching themes does not restore them.")]),t("p",[e._v("6.Fix data issue when deleting nodes with child nodes_ Change_ The issue of error reporting in detail events.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Add the lineRadius property to the theme configuration to set the size of the rounded corners when connecting straight lines.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Remove the display of formulas from the outline.")]),t("p",[e._v("2.Some configurations in the basic style that only support partial structures are displayed and hidden based on the current structure.")]),t("p",[e._v("3.Add configuration for connecting rounded corners.")]),t("p",[e._v("4.Automatically hide the sidebar when importing files.")])]),t("h2",[e._v("0.9.3")]),t("p",[e._v("Fix")]),t("blockquote",[t("p",[e._v("1.Fix the issue of text misalignment when nodes have icons in Safari browser.")]),t("p",[e._v("2.Fix the issue of formula rendering in browsers with lower versions of Chrome kernel.")]),t("p",[e._v("3.Fix the issue of new MouseEvent code execution errors when used in micro front-end framework applications.")]),t("p",[e._v("4.Fix the issue of missing arrows on node connections, arrows on associated lines, and gradient backgrounds when exporting images.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Export PDF from jspdf library to pdf-lib library.")]),t("p",[e._v("2.If the second parameter of the set node text command (SETNODE-TEXT) is not passed, the previous value will be used.")]),t("p",[e._v("3.There is an issue of incorrect width and height of exported images in Firefox browser when optimizing nodes with hyperlinks and comments.")]),t("p",[e._v("4.In node text editing, if the pasted data is in SMM format, the pure text of the first node will be taken out for pasting.")]),t("p",[e._v("5.Add interception operations for pasting when editing nodes without rich text.")]),t("p",[e._v("6.Add a detailed event (data_change_detail) for updating node data, which can retrieve newly created, updated, or deleted node data.")]),t("p",[e._v("7.Theme configuration supports setting node gradient background color.")])]),t("p",[e._v("Demo:")]),t("p",[e._v("1.Support setting the background of node gradients.")]),t("h2",[e._v("0.9.2")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of no line breaks when node text contains consecutive numbers or letters.")]),t("p",[e._v("2.Fix the issue of duplicate node drawing when importing files with the same UID as existing nodes on the current canvas.")]),t("p",[e._v("3.Fix the issue of duplicate rendering of nodes caused by forward and backward when the number of nodes exceeds the maximum number of cache pools.")]),t("p",[e._v("4.Fix the issue of the canvas moving in the opposite direction when scrolling horizontally with the mouse or touchpad.")]),t("p",[e._v("5.Fix the issue where the mouse in flag is not reset when a node is destroyed.")]),t("p",[e._v("6.Fix the issue of incorrect position calculation in the scrollbar plugin when the 'initRootNodePosition' configuration is not set to the default '[center, center]'.")]),t("p",[e._v("7.Fix the issue where dragging the canvas cannot stop when the mouse is released on the node.")]),t("p",[e._v("8.Fix the issue of errors in the position calculated by the view. fit method when the canvas container is not 0 from the top left corner of the browser window.")]),t("p",[e._v("9.Fix the issue where the watermark in the exported image does not fully cover the entire image when there are a large number of nodes.")]),t("p",[e._v("10.Fix the issue of inserting formula errors.")]),t("p",[e._v("11.Fix the issue of losing the selected text status when the mouse moves out of the editing box while selecting text in the node text editing state.")]),t("p",[e._v("12.When repairing node rich text editing, Fix the issue 'rich_text_selection_change' event is not triggered when the text selection range is 'null'.")]),t("p",[e._v("13.Fix the issue of no 'node' instance in the 'node_dragging' event callback.")]),t("p",[e._v("14.Fix the issue of too many nodes and the canvas size being too large to export PNG.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Modify the mousewheel event, change the dir flag to dirs, support storing multiple directions, and optimize the dual finger movement operation of the touchpad.")]),t("p",[e._v("2.The TextEdit class adds the isShowTextEdit method to determine whether the current node is in an editing state.")]),t("p",[e._v("3.Change the paste method of the render class to support pasting clipboard data.")]),t("p",[e._v("4.Add a configuration option to restrict mind map graphics within the canvas.")]),t("p",[e._v("5.When registering the scrollbar plugin, it supports configuring whether to restrict the mind map within the canvas.")]),t("p",[e._v("6.Folding all nodes will move the mind map root node to the center of the canvas.")]),t("p",[e._v("7.Support the configuration option of displaying watermarks only during export.")]),t("p",[e._v("8.When pasting images from the clipboard at a node, custom processing functions are supported to upload the images to your server.")]),t("p",[e._v("9.Refactoring the export logic of the PDF, the exported PDF size is no longer a fixed A4, but the size of the mind map, while deleting the configuration for pagination export.")]),t("p",[e._v("10.Node connections support displaying arrows as a field for the theme.")]),t("p",[e._v("11.The maximum number of historical records is adjusted to 500 by default.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Support configuration to display watermarks only during export.")]),t("p",[e._v("2.Basic style configuration line supports displaying arrows.")])]),t("h2",[e._v("0.9.1-fix.2")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue where some browsers display default text when node text is empty.")]),t("p",[e._v("2.Fix the issue of text style loss when inputting text again when the node text content is empty.")]),t("p",[e._v("3.Fix the issue where exporting images also fails when node image loading fails.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Support configuring the default image displayed when node image loading fails.")])]),t("h2",[e._v("0.9.1-fix.1")]),t("p",[e._v("Fix:")]),t("p",[e._v("1.Fix the issue of custom node methods reporting null errors.")]),t("p",[e._v("2.Fix the issue of large volume of exported PDF files.")]),t("h2",[e._v("0.9.1")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of exporting images, SVGs, and PDFs with errors when customizing node content.")]),t("p",[e._v("2.Optimize the distribution of node activation events, do not distribute events when the activation node has not changed, and skip intermediate events when distributing multiple events in a short period of time.")]),t("p",[e._v("3.Fix the issue where the edit box and node detach when scrolling the canvas with the mouse while the node is in editing mode.")]),t("p",[e._v("4.Fix the issue of shortcut keys becoming invalid when zooming the canvas with the mouse wheel and then exiting node editing while in node editing mode.")]),t("p",[e._v("5.Fix the issue where clicking on a node can also trigger node_dragend event.")]),t("p",[e._v("6.Fix that clicking on the canvas and nodes while not in the format brush will also trigger the painter_end event.")]),t("p",[e._v("7.Fixed the issue where the mind map text editing box was not destroyed during node text editing and associated line text editing.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.When holding down the Ctrl key, disable the node double-click event.")]),t("p",[e._v("2.Support configuring the behavior when creating new nodes: focusing and entering editing, not focusing, only focusing.")]),t("p",[e._v("3.When searching in read-only mode, add a highlight effect to the currently matched node.")]),t("p",[e._v("4.The default behavior of the mouse scroll wheel is to move the canvas up and down; The default is to scroll forward to enlarge the canvas and zoom back.")]),t("p",[e._v("5.When the mouse scroll wheel behavior is to move the canvas up and down, it supports holding down the Ctrl key to zoom in and out of the canvas.")])]),t("p",[e._v("Demo:支持配置创建新节点时的行为。")]),t("h2",[e._v("0.9.0")]),t("p",[e._v("New:")]),t("p",[e._v("1.Support adding summaries to some child nodes of the same node.")]),t("p",[e._v("2.Moving the mouse into the summary will highlight its node.")]),t("p",[e._v("3.Importing and exporting xmind files supports processing profiles.")]),t("h2",[e._v("0.8.1")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue where the activation status of the summary node in the history data has not been deleted, which can cause data to be triggered when clicking on the summary node_ Change event.")]),t("p",[e._v("2.Fix the issue of blank pages and exceptions thrown by the console when running in Safari browser.")]),t("p",[e._v("3.Fixed the issue of icon floating layer and note floating layer detached from nodes when scaling the canvas.")]),t("p",[e._v("4.Fixed the issue of selecting all nodes in read-only mode.")]),t("p",[e._v("5.Fix the presence of node content has   in rich text mode; Error exporting as image.")]),t("p",[e._v("6.Fixed the issue of overlapping profiles when adding profiles to oneself first and then to subordinates; Fix the issue of overlapping profiles when adding profiles to nodes with hierarchical relationships at the same time.")]),t("p",[e._v("7.Fix the issue of exporting PDF errors when there are many nodes.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Add a configuration option that prohibits dragging the canvas.")]),t("p",[e._v("2.Add a configuration option to prohibit double finger scaling of the canvas.")]),t("p",[e._v("3.Add compression parameters to the method of exporting PNG; Optimize the problem of excessive volume when exporting PDF from nodes with large amounts of data.")]),t("p",[e._v("4.Rename the isParent method of the node instance to isAncestor and add the isParent method at the same time.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Fixed the issue of being able to search for replacement and edit outlines in read-only mode.")]),t("p",[e._v("2.Fix the issue where the outline cannot be displayed and edited when the node content is an HTML tag.")]),t("p",[e._v("3.Fix the issue where when multiple nodes are selected and icons are added at the same time, all node icons will be unified as the icon of the first node.")]),t("p",[e._v("4.Adding loading to the export operation.")])]),t("h2",[e._v("0.8.0-fix.1")]),t("p",[e._v("Fix: Fixed the issue of creating a new node using direct paste if the pasted content contains HTML label symbols such as <> and the newly created node content is empty.")]),t("h2",[e._v("0.8.0")]),t("p",[e._v("Breaking change: Greatly optimize some of the code and slightly improve performance, mainly by using the 'render' class to remove useless logic, adjust unreasonable implementations, and extract duplicate code; Modify function names, functions, etc.")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of the arrow of the associated line disappearing when exporting images and SVGs.")]),t("p",[e._v("2.Fix the issue of abnormal operation returning to the root node after resizing the container.")]),t("p",[e._v("3.Fix that the shortcut key operations for inserting summary, moving up, down, and organizing layout with one click did not trigger data_ The issue with the change event.")]),t("p",[e._v("4.Fix the issue of each node displaying a border when exporting images, SVGs, and PDFs with watermarks.")]),t("p",[e._v("5.Fixed the issue of no watermarks and no redrawing after the container size was changed.")]),t("p",[e._v("6.Fix the issue of slow rendering of mini maps with watermarks.")]),t("p",[e._v("7.Fixed the issue where the collaboration plugin did not display the creator's avatar when creating a new node.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Optimize the canvas DOM structure and render nodes, lines, and associated lines in layers.")]),t("p",[e._v("2.Optimize the watermark plugin.")]),t("p",[e._v("3.The setTheme, setThemeConfig, and setLayout functions add parameters that do not trigger re rendering.")]),t("p",[e._v("4.Add a command to insert a parent node.")]),t("p",[e._v("5.Add a command to only delete the current node.")]),t("p",[e._v("6.Automatically expand child nodes when inserting a summary.")]),t("p",[e._v("7.Clear the current active node when right-clicking on the canvas.")]),t("p",[e._v("8.The folded active nodes are synchronously deleted from the list of active nodes.")]),t("p",[e._v("9.Pasting text with line breaks supports controlling whether nodes are split by line breaks.")]),t("p",[e._v("10.The mini map plugin supports returning mini maps of image types.")]),t("p",[e._v("11.Only one historical record can be added within a specified time period to avoid adding unnecessary intermediate states.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Modify the method and copy to return to the root node.")]),t("p",[e._v("2.Fix the issue of ineffective first switching when switching themes in overlay mode.")]),t("p",[e._v("3.The right-click menu adds the function of inserting parent nodes and deleting only the current node.")]),t("p",[e._v("4.The top toolbar supports automatic folding into more according to the window width.")]),t("p",[e._v("5.Support manual input of zoom factor.")]),t("p",[e._v("6.Improve the English translation of the interface.")]),t("p",[e._v("7.Change the mini map to render through images.")])]),t("h2",[e._v("0.7.3-fix.2")]),t("p",[e._v("Fix some issues with collaborative editing:")]),t("p",[e._v("1.The position of the new node is incorrect when inserting peer nodes;")]),t("p",[e._v("2.Moving a position within a peer node did not trigger an update;")]),t("p",[e._v("3.The position of the mobile node inserted as a sibling node is incorrect;")]),t("h2",[e._v("0.7.3-fix.1")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fixed some issues where the box selection area did not disappear when multiple nodes were selected.")]),t("p",[e._v("2.Fixed an issue where the box selection area does not disappear when releasing the mouse over multiple selected nodes.")]),t("p",[e._v("3.Fixed rendering anomalies caused by duplicate node uids when pasting nodes multiple times.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Add protocol selection function to the hyperlink input box.")])]),t("h2",[e._v("0.7.3")]),t("p",[e._v("New: 1.Add a Cooperate editing plugin.")]),t("p",[e._v("Demo: 1.Fix the automatic closing of the sidebar caused by the formula sidebar component.")]),t("h2",[e._v("0.7.2")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fixed the issue of nodes not being selected when the selection area does not include node boundaries when multiple nodes are selected.")]),t("p",[e._v("2.Fix the issue of errors when node text is not a string.")]),t("p",[e._v("3.Fix the issue of some text disappearing when edited again when there are<>&characters in the text in non rich text mode.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Supports inserting mathematical formulas.")]),t("p",[e._v("2.Supports dragging and moving multiple nodes simultaneously.")]),t("p",[e._v("3.Supports copying and cutting multiple nodes simultaneously.")]),t("p",[e._v("4.The node label color has been changed to be generated based on the label content, meaning that the same label content will generate the same color.")]),t("p",[e._v("5.Optimize the insertion of child nodes: 1. When inserting child nodes into multiple nodes simultaneously, do not enter the editing state; 2. The newly inserted child node automatically enters the active state.")]),t("p",[e._v("6.Optimize the insertion of sibling nodes: 1. Support the simultaneous insertion of sibling nodes into multiple nodes; 2. When calling the command to insert sibling nodes on the root node, no child nodes will be created.")]),t("p",[e._v("7.Add a command to simultaneously insert multiple peers and multiple child nodes.")]),t("p",[e._v("8.Changing the unique identifier of nodes from id to uid mainly affects the associated lines, which may not display properly in previous versions.")]),t("p",[e._v("9.Optimize the logic of icon merging and support the expansion of icons under the internal classification of the library.")]),t("p",[e._v("10.Associate line: 1. Double click the associate line to enter associate line text editing mode; If the associated line text is the default text, it will not be saved; 3. When there are active nodes, clicking on the associated line can directly activate the associated line.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Fixed an issue where multiple nodes in the Zhixi mind map cannot be pasted when copying.")]),t("p",[e._v("2.Add a sidebar for formula editing.")])]),t("h2",[e._v("0.7.1-fix.2")]),t("p",[e._v("Fix: 1.Fix the issue of plugin registration method chain call reporting errors.")]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Add a configuration option to adapt to the canvas size when the mind map is first loaded.")]),t("p",[e._v("2.Add a command to automatically generate dts declaration files.")])]),t("h2",[e._v("0.7.1-fix.1")]),t("p",[e._v("Fix: Fixed the issue of dragging nodes without excluding the child nodes of the dragged nodes.")]),t("h2",[e._v("0.7.1")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of unsaved associated line endpoints after changes.")]),t("p",[e._v("2.Fix the issue of abnormal canvas scrolling when moving the mouse to the edge of multiple selected nodes when the distance from the top left corner of the canvas to the browser window is not 0.")]),t("p",[e._v("3.Fix the issue of importing xmind file errors for nodes with empty titles.")]),t("p",[e._v("4.Fix the issue where the exported xmind file prompts for corruption when opened on the latest version of xmind software.")]),t("p",[e._v("5.Fix the issue where stickers cannot be displayed when exporting data with stickers in xmind format.")]),t("p",[e._v("6.Fix the issue of node right-click event reporting errors when the select plugin is not registered.")]),t("p",[e._v("7.There is no issue with removing duplicates in the method of registering plugins.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Reconstruct node drag and drop logic: optimize drag and drop difficulties in some situations, adapt to various structures, and automatically move the canvas when the mouse moves to the edge of the canvas during drag and drop.")]),t("p",[e._v("2.Reconstruct the scrollbar plugin to optimize the user experience.")]),t("p",[e._v("3.Imperfect resolution of conflicts between logical structure diagrams, mind maps, directory organization diagrams, organization chart summaries, and nodes (the summaries should be rewritten or deleted later).")]),t("p",[e._v("4.Activate adjacent nodes after deleting them.")]),t("p",[e._v("5.In node data_ The starting field is considered a custom field.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.The page will display the current core library version number.")])]),t("h2",[e._v("0.7.0")]),t("p",[e._v("Breaking change: Removed the section of node activation style in the theme file, Setting the activation style of nodes is no longer supported, and the activation effect has been changed to a unified node outer border style, while also supporting the mouse hover effect.")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix rendering anomalies when the node border size is relatively large.")]),t("p",[e._v("2.Fixed an issue where the node style of the associated line will not be updated when switching themes.")]),t("p",[e._v("3.Fix that selecting all did not trigger node_ The issue with active events.")])]),t("p",[e._v("新增:")]),t("blockquote",[t("p",[e._v("1.When folding nodes, displays the number of collapsed nodes.")]),t("p",[e._v("2.Support the position of the endpoint of the associated line to follow mouse drag changes.")]),t("p",[e._v("3.Add a scrollbar plugin.")]),t("p",[e._v("4.Support opening specified online files through fileURL query parameters in URLs.")]),t("p",[e._v("5.The fishbone diagram supports setting node margins.")]),t("p",[e._v("6.By default, double-click to reset the canvas.")]),t("p",[e._v("7.Modify the parameters of the export image method, and when exporting PDF, if the size of the mind map is smaller than A4 paper, do not rotate the direction.")]),t("p",[e._v("8.Improve the clarity of exported images and PDFs on high-definition screens.")]),t("p",[e._v("9.Add a pre destruction lifecycle function to the plugin to address the issue of some side effects that were not cleared during the destruction of the mind map.")]),t("p",[e._v("10.Optimize the settings of the basic style and do not trigger full rendering when modifying theme attributes that do not affect size.")]),t("p",[e._v("11.Prohibit triggering node right-click menu events when multiple node selections are completed, to avoid triggering the right-click menu display.")]),t("p",[e._v("12.Optimize the Select plugin so that if multiple selected nodes do not change, the activation event is not triggered.")]),t("p",[e._v("13.The activation node list thrown by event node_active no longer directly references the internal activation list.")]),t("p",[e._v("14.Optimize the logic of mouse button down node events, and support dragging the canvas by holding down the root node with the right mouse button in the right-click drag and drop canvas mode.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Do not directly reference the internal activation node list to optimize performance.")]),t("p",[e._v("2.Support configuring whether to display scrollbars.")]),t("p",[e._v("3.Delete the active node configuration in the sidebar node style configuration section.")])]),t("h2",[e._v("0.6.17")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of error reporting in the xmind file exported from Baidu Brain Map.")]),t("p",[e._v("2.Fix the mindMap. export method code error.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Create index.d.ts file。")]),t("p",[e._v("2.Support configuration to enable double click reset mind map.")]),t("p",[e._v("3.Intercept paste operations during rich text editing, remove formatting, and only allow pasting pure text.")])]),t("h2",[e._v("0.6.16")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Optimize the logic of rich text measurement elements, remove duplicate settings for styles, and add duplicate nodes")]),t("p",[e._v("2.Optimize the export image logic, and when traversing the node to convert the URL of the image, if it is already in the form of data: URL, do not handle it repeatedly.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Remove the second parameter of the exported SVG method and configure it through instantiation instead.")]),t("p",[e._v("2.Export images without using external libraries.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Fixed a bug where siblings can be added to the root node when editing the outline separately.")])]),t("h2",[e._v("0.6.15-fix.2")]),t("p",[e._v("Fix: Fixed an issue where rich text nodes cannot be displayed in Firefox browser.")]),t("h2",[e._v("0.6.15-fix.1")]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Export PDF supports pagination export based on image size.")]),t("p",[e._v("2.Exporting PDF supports automatic direction adjustment based on aspect ratio.")]),t("p",[e._v("3.Optimize the placeholder elements of the expand and collapse buttons: 1. Nodes without child nodes do not render this element; 2. Dynamically update the element based on the existence of child nodes.")]),t("p",[e._v("4.Add a configuration that prohibits mouse wheel scaling.")]),t("p",[e._v("5.Supports passing error handling functions.")])]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of displaying exceptions when node text is empty.")]),t("p",[e._v("2.Change the paddingX and paddingY of exported SVG graphics to single sided padding.")]),t("p",[e._v("3.Fixed an issue where the mouse is not centered when zooming when the canvas is not 0 from the top left corner of the browser window.")]),t("p",[e._v("4.Fix the issue of overlapping node borders.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.The bottom right corner supports jumping to related links.")]),t("p",[e._v("2.Adjust the position of the mini map to solve the problem of being blocked by side buttons.")]),t("p",[e._v("3.Fix the issue where the prompt in the upper right corner of the open local file cannot be closed.")]),t("p",[e._v("4.Editing the outline separately is no longer linked to the canvas, optimizing the editing experience under large data volume.")]),t("p",[e._v("5.The sidebar involves graphical options to increase visualization effects.")])]),t("h2",[e._v("0.6.14")]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Remove and create hidden input boxes, and copy and paste them through navigator. clipboard; Support cross browser pasting of mind map node data; Support custom processing of text data in the clipboard.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of enabling input to automatically enter text editing mode and conflicting with other input boxes.")]),t("p",[e._v("2.Fix the issue of not being able to delete node images in the node image pop-up window.")]),t("p",[e._v("3.Fixed an issue where the text decoration line style of nodes cannot be removed in the node style sidebar.")]),t("p",[e._v("4.The color selector supports selecting transparent colors.")]),t("p",[e._v("5.Fix the issue of importing mind map data without updating the sidebar data when the basic style sidebar is open.")]),t("p",[e._v("6.Fixed the issue of not focusing when modifying the text of one node in the outline and then clicking on other nodes.")]),t("p",[e._v("7.Fixed an issue where the node and word count statistics in the bottom left corner were not updated after exiting Zen mode.")]),t("p",[e._v("8.Support deleting hyperlinks and notes of nodes from the right-click menu.")]),t("p",[e._v("9.Support pasting node data of Zhixi Mind Map.")])]),t("h2",[e._v("0.6.13")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of the inability to drag the canvas while holding down the middle mouse button on a node in read-only mode.")]),t("p",[e._v("2.Fixed the issue of probabilistic error reporting after quickly dragging nodes several times.")]),t("p",[e._v("3.Fix the issue of pulling up the input method during operations such as activating nodes on the mobile end, expanding and collapsing.")]),t("p",[e._v("4.Fix the issue where an exception request is initiated when the background image in the theme configuration is none.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Mobile gesture scaling optimization: Scale according to a linear relationship, and adjust the canvas position with double finger displacement.")]),t("p",[e._v("2.Remove the logic of asynchronous rendering nodes and improve the speed of creating new nodes.")]),t("p",[e._v("3.The export of images has been changed from the html2canvas library to the dom to image more library to address the issue of missing text styles in exporting rich text nodes.")]),t("p",[e._v("4.When a non rich text input box enters the editing state, it is deselected by default.")]),t("p",[e._v("5.When there is an activation node, it supports automatically entering text editing mode when pressing the Chinese, numeric, or English buttons.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Add anti shake operations when saving view data to optimize performance.")]),t("p",[e._v("2.Some time-consuming operations add loading effects.")]),t("p",[e._v("3.Improve the dark mode of right-click menus and rich text toolbars.")])]),t("h2",[e._v("0.6.12")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue where the indicator in the mini map will also move out of the mini map area when the mind map is completely moved out of the visible area.")]),t("p",[e._v("2.Fix the issue of overly sensitive dual finger scaling on the mobile end.")]),t("p",[e._v("3.Fix the issue of holding down nodes while dragging the canvas in read-only mode.")]),t("p",[e._v("4.Fix the issue of incorrect rendering of the mini map when the distance between the mind map and the top left corner of the browser window is not 0.")]),t("p",[e._v("5.Fix the issue of the prompt block being too large for the new location when moving nodes.")]),t("p",[e._v("6.Fix the issue where search cannot be replaced with empty characters.")]),t("p",[e._v("7.Fixed the issue of missing line breaks after searching and replacing in rich text mode.")]),t("p",[e._v("8.Fixed the issue of missing focus in the input box when clicking on text editing in the outline.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Adding a callback parameter to the node move end event (node_drag) can obtain the uid of the move to the node.")]),t("p",[e._v("2.Support specifying the location to which internal elements are added through configuration.")]),t("p",[e._v("3.Support the format brush function.")]),t("p",[e._v("4.Under the curve style, the connection line style of the root node supports consistency with other nodes.")]),t("p",[e._v("5.Search supports continuous replacement.")]),t("p",[e._v("6.Add and delete button for node image.")]),t("p",[e._v("7.Support dragging the canvas while holding down the middle mouse button.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Provide an application takeover mode to facilitate docking with one's own storage services; Supports setting static resource paths at runtime.")]),t("p",[e._v("2.Refactoring outline: 1. No longer use the text style that comes with the node; 2. Support full screen editing of the outline; 3. The outline supports dragging and moving nodes; 4. The outline supports deleting nodes.")]),t("p",[e._v("3.Fix the issue of interface dark mode not updating in the scenario of importing data.")])]),t("h2",[e._v("0.6.11-fix.1")]),t("p",[e._v("Fix: 1.Fixed the issue of invisible editing when node text is white.")]),t("h2",[e._v("0.6.11")]),t("p",[e._v("New: 1.Optimize the mini map, remove node content within the mini map, and optimize performance.")]),t("p",[e._v("Demo: 1.Add a new topic and add tab differentiation to the topic list. 2.Node image upload supports inputting network image addresses. 3.Node image upload supports inputting network images.")]),t("h2",[e._v("0.6.10")]),t("p",[e._v("Fix: 1.Fix the issue of deleting a node after searching for it and not updating the search results when searching again. 2.Fixed an issue where the button for adjusting image size did not update after node operation. 3.Fix the issue of incorrect internal data deep copy location. 4.Fix the issue of ineffective line wrapping in rich text nodes. 5. Fix the issue of node swapping and loss when switching themes and other scenarios.")]),t("p",[e._v("New: 1.Search supports searching for white space characters and replacing them with white space characters.")]),t("p",[e._v("Demo: 1.Support calling up search through icon buttons. 2.Support for switching to dark mode through icon buttons. 3.Optimize search: The mouse is not in the search area and not focused, solving the problem of not being able to delete input text when the mouse is not in the search area. 4.Adjust the interface UI for adding node icons and add a series of node icons. 5.Add a sticker list. 6.Fixed the issue of missing focus in the input box after entering the search box. 7.Support clicking on the icon within the node to display an icon for quick replacement and deletion of the floating panel.")]),t("h2",[e._v("0.6.9-fix.1")]),t("p",[e._v("Fix: 1.Fix the issue of incorrect replacement after a single search.")]),t("p",[e._v("New: 1.We will no longer directly modify the incoming data object, but will make a deep copy internally.")]),t("h2",[e._v("0.6.9")]),t("p",[e._v("Fix: 1.Fixed an issue where setting styles to summary nodes would cause summary nodes to disappear. 2.Fixed the issue of node content not rendering when creating a root instance again when customizing node content. 3.Fix the issue of losing focus when adding a new node while the node is in editing. 2.Fix the issue of continuously pressing the tab key not being able to continuously create child nodes.")]),t("p",[e._v("New: 1.Replace existing "),t("code",[e._v(" ")]),e._v(" in SVG when exporting Characters to avoid exporting SVG errors. 2.Support for search and replace.")]),t("p",[e._v("Demo: 1.When switching themes, it is supported to choose whether to overwrite the set basic style.")]),t("h2",[e._v("0.6.8")]),t("p",[e._v("Fix: 1.Change the shortcut key for inserting a summary to Ctrl+G to avoid conflicts with the save shortcut key. 2.Fix the issue of abnormal switching between rich text editing configuration input boxes while nodes are being edited.")]),t("p",[e._v("New: 1.Modify the copy, cut, and paste logic, and support pasting data from the clipboard.")]),t("p",[e._v("Demo: 1.Fix the issue of not saving the outer margin of the basic style setting node. 2.Supports automatic switching to dark mode based on the theme.")]),t("h2",[e._v("0.6.7")]),t("p",[e._v("Fix: 1.Fixed the issue of missing placeholder elements for the expand and collapse button after node collapse and expansion. 2.Fixed the issue of being able to scale images in read-only mode.")]),t("p",[e._v("New: 1.Support locating to a node based on node instance or node uid. 2.Modify the creation method of node uids and export data to add node uids.")]),t("p",[e._v("Remove: 1.Remove the node transition effect.")]),t("p",[e._v("Demo: 1.Add website homepage. 2.Fixed the issue of missing node styles when creating new nodes in the outline. 3.Fixed the issue of missing edited text after pressing Enter or Tab after editing nodes in the outline. 4.Optimize the node positioning of the outline, and the collapsed nodes will automatically expand. 5.The sidebar button supports folding. 6.Optimize small screen adaptation.")]),t("h2",[e._v("0.6.6")]),t("p",[e._v("New: 1.Support exporting to Xmind new version files. 2.Importing the new version of Xmind file supports importing images from nodes. 3.Add a vertical timeline structure.")]),t("p",[e._v("Fix: 1.The TouchEvent plugin no longer sends click events, solving the problem of two windows opening when clicking on a hyperlink on the mobile end. 2.Fix the issue of dragging and moving a node to become a child node of another node, where the parent node of that node points to not being updated. 3.Fixed an issue where the node border style was not updated when dragging a second level node into a third level node. 4.Fix the issue where the mouse will not trigger the button display when moving into the unfolded or retracted button position, except for the structure growing to the right.")]),t("p",[e._v("optimization: 1.The issue of excessive amplitude when optimizing the touchpad to scale the canvas. 2.The newly created node defaults to selecting all for easy deletion of default text.")]),t("h2",[e._v("0.6.5-fix.1")]),t("p",[e._v("Fix: 1.Fix the issue of adjusting the image size incorrectly while zooming.")]),t("h2",[e._v("0.6.5")]),t("p",[e._v("Fix: 1.Fix the issue of xmind file import errors. 2.Fixed a rare issue where line breaks occur when the width of the node text is decimal.")]),t("p",[e._v("New: 1.The packaged library supports obtaining built-in constants, themes, and other data. 2.Supports configuring the zoom behavior corresponding to the direction of the mouse wheel. 3.Node images support dragging and resizing.")]),t("h2",[e._v("0.6.4-fix.1")]),t("p",[e._v("New: 1.When zooming with the mouse wheel, the default zoom is centered around the current position of the mouse, which can be turned off by configuring.")]),t("p",[e._v("Fix: 1.Fixed an issue where the default value of the zoom center point was not updated after changing the canvas size.")]),t("h2",[e._v("0.6.4")]),t("p",[e._v("New: 1.The default is to scale at the center point of the canvas. 2.Optimize the scaling of both fingers on the mobile end, with the center position of the two fingers as the center point for scaling.")]),t("h2",[e._v("0.6.3")]),t("p",[e._v("Fix: 1.Fix the issue where the summary node will respond to inserting node shortcuts.")]),t("p",[e._v("New: 1.Support custom node content.")]),t("h2",[e._v("0.6.2")]),t("p",[e._v("Fix: 1.Fixed the problem that the new node does not change with the theme in rich Text mode.")]),t("h2",[e._v("0.6.1")]),t("p",[e._v("Fix: 1.Fixed the issue of high movement sensitivity when using the touchpad when changing mouse scrolling to moving the canvas behavior.")]),t("h2",[e._v("0.6.0-fix.1")]),t("p",[e._v("Fix: 1.Fixed the issue of destroying mind maps without setting a background style and reporting errors.")]),t("h2",[e._v("0.6.0")]),t("p",[e._v("Breaking change: Adjusted the directory structure of the simple-mind-map source code, Main impact: 1. The introduction path of the plugin needs to be modified. The constant file path needs to be modified.")]),t("p",[e._v("New: 1.Supports one click zoom to fit the canvas function. 2.Press and hold the Ctrl key to activate the multi selection function on demand through configuration. 3.Support setting to left click to select multiple nodes and right click to drag the canvas. 4. Support controlling whether nodes are allowed to be edited. 5.Add a method for destroying mind maps. 6.Added touch event support plugin.")]),t("p",[e._v("Fix: 1.Fix the issue where holding down the Ctrl key to select multiple nodes does not trigger the click event for the node. 2.Fixed the issue of node style loss when clearing a node and then entering text.")]),t("h2",[e._v("0.5.11")]),t("p",[e._v("New: Supports associative text editing.")]),t("p",[e._v("optimization: Optimizing theme configuration updates, changing configurations that do not involve node size does not trigger node recalculation.")]),t("h2",[e._v("0.5.10")]),t("p",[e._v("New: Optimize node reuse logic using LRU caching algorithm.")]),t("h2",[e._v("0.5.10-fix.1")]),t("p",[e._v("Fix: Fix the issue of import errors.")]),t("h2",[e._v("0.5.10-fix.2")]),t("p",[e._v("Fix: Fixed the issue of switching themes and importing data without triggering data changes in rich text mode.")]),t("p",[e._v("New: Add three new themes.")]),t("h2",[e._v("0.5.9")]),t("p",[e._v("Change: Unified export method format, using "),t("code",[e._v("FileReader")]),e._v(" instead of "),t("code",[e._v("URL.createObjectURL")]),e._v(" to convert "),t("code",[e._v("blob")]),e._v(" data.")]),t("h2",[e._v("0.5.8")]),t("p",[e._v("optimization: 1.The position setting is not triggered when the node position does not change. 2.The unfolding and folding status does not change and does not trigger button updates.")]),t("p",[e._v("New: 1.The default setting is to move the mouse over the node to display the expand and collapse buttons. 2.Support the list of icons that can be inserted into extended nodes.")]),t("h2",[e._v("0.5.7")]),t("p",[e._v("Breaking change:In rich text mode, exporting png has been changed to using html2canvas to convert the entire svg, greatly improving the export speed. However, html2canvas has a bug where the text color inline with the dom node in the foreignObject element cannot be recognized. Therefore, the text color of the exported node is fixed. However, compared to the previously unavailable state of the export, it can at least be exported quickly and smoothly.")]),t("p",[e._v("optimization: Optimize the rich text node editing experience.")]),t("p",[e._v("New: In rich text mode, importing data, initializing data, and switching theme scene node styles support following theme changes.")]),t("h2",[e._v("0.5.6")]),t("p",[e._v("Fix: 1.Fix the issue of node position disorder during fast and multiple renderings in a short period of time. 2.Fix the issue of dragging the canvas while the node is being edited, causing the edit box and node to separate.")]),t("p",[e._v("New: 1.Add a maximum history limit.")]),t("h2",[e._v("0.5.5-fix.1")]),t("p",[e._v("Fix: 1.Fix the issue where the edit box is also outside the canvas when editing nodes outside the canvas. 2.After modifying the structure, reset the transformation to prevent the problem of sudden position changes during the first drag after switching the structure during scaling.")]),t("p",[e._v("optimization: 1.When multiple nodes are selected, as long as there is a cross between the node and the selection area, it is considered selected.")]),t("h2",[e._v("0.5.5-fix.2")]),t("p",[e._v("Fix: 1.Fix mini map error.")]),t("h2",[e._v("0.5.5")]),t("p",[e._v("New: 1.Supports configuring the padding when exporting to PNG, SVG, or PDF. 2.Support the configuration of z-index for node text editing boxes and node comment floating layer elements. 3.Support clicking on areas outside the canvas to end node editing status.")]),t("h2",[e._v("0.5.4")]),t("p",[e._v("New: 1.Add new themes. 2.Added timeline and fishbone structure.")]),t("p",[e._v("Fix: 1.Fix the conflict issue between node right-click and canvas right-click. 2.Fix the bug that the line segment is not hidden when dragging nodes such as organizational chart and directory organization chart.")]),t("p",[e._v("optimization: 1.Optimize the layout of organizational chart. 2.Optimize the layout of the directory organization chart.")]),t("h2",[e._v("0.5.4-fix.1")]),t("p",[e._v("optimization: 1.Optimize fishbone layout.")]),t("h2",[e._v("0.5.3")]),t("p",[e._v("Fix: 1.Fixed the issue of setting the text style when multiple nodes were selected in rich text mode, which would change the text of all selected nodes to the text of the last selected node.")]),t("p",[e._v("New: 1.Support setting the position of the initial central node.")]),t("h3",[e._v("0.5.3-fix.1")]),t("p",[e._v("Fix: 1.Fix the issue where setting the position of the initial central node does not take effect.")]),t("h3",[e._v("0.5.3-fix.2")]),t("p",[e._v("Fix: 1.Fix the issue of not displaying images in nodes when exporting as images.")]),t("h2",[e._v("0.5.2")]),t("p",[e._v("Fix: 1.Remove "),t("code",[e._v("uid")]),e._v(" from exported "),t("code",[e._v("JSON")]),e._v(" data; 2.Clear the node cache pool when re rendering.")]),t("h2",[e._v("0.5.1")]),t("p",[e._v("optimization: 1.Only respond to shortcut key events when the mouse is inside the canvas")]),t("p",[e._v("Fix: 1.Fix the issue of incorrect node position during fast operation")]),t("h2",[e._v("0.5.0")]),t("p",[e._v("This version is mainly about code level changes and optimization, with the core goal of improving rendering performance and reducing stuck issues.")]),t("p",[e._v("New: 1.Support custom expansion and collapse node icons and colors;")]),t("p",[e._v("optimization: 1.Optimize rendering logic, set the theme, move forward and backward, and other operations no longer require full rendering;")]),t("pre",[t("code",[e._v(" 2.Optimize node drag logic, and fix the problem of being unable to drag between two nodes;\n\n 3.Collapse all nodes adds logic to return to the center point;\n\n 4.Fix the problem of nodes flying and scrambling caused by triggering rendering multiple times in a short time;\n\n 5.Optimize the experience of node editing;\n")])]),t("p",[e._v("Fix: 1.Fix the issue where the setData method does not trigger history;")]),t("p",[e._v("modify: Starting from version 0.5.0, considering performance issues, the node activation state can only modify shape related styles:")]),t("pre",{staticClass:"hljs"},[t("code",[e._v("[\n "),t("span",{staticClass:"hljs-string"},[e._v("'fillColor'")]),e._v(",\n "),t("span",{staticClass:"hljs-string"},[e._v("'borderColor'")]),e._v(",\n "),t("span",{staticClass:"hljs-string"},[e._v("'borderWidth'")]),e._v(",\n "),t("span",{staticClass:"hljs-string"},[e._v("'borderDasharray'")]),e._v(",\n "),t("span",{staticClass:"hljs-string"},[e._v("'borderRadius'")]),e._v("\n]\n")])]),t("h2",[e._v("0.4.7")]),t("p",[e._v("optimization: 1.During rich text editing, when initially focusing, all are no longer selected by default; 2.When editing rich text, use the node fill color as the background color to avoid being invisible when the node color is white. 3.Node activation state switching no longer triggers history. 4.Triggering history multiple times in a short time will only add the last data. 5.Optimize the addition of historical records. When there is a rollback, delete the historical data after the current pointer when adding a new record again.")]),t("p",[e._v("New: 1.Support for importing and exporting Markdown format files. 2.Support for configuring initial text when inserting nodes. 3.Expand the commands for inserting and deleting nodes to support specifying nodes.")]),t("h2",[e._v("0.4.6")]),t("p",[e._v("New: 1.Associated lines support adjusting control points.")]),t("p",[e._v("optimization: 1.When adding historical data, filter data that has not changed compared to the previous time.")]),t("p",[e._v("Fix: 1.Fixed a conflict between the direction keys and the navigation function of the direction keys during node editing. 2.Fixed the issue of node id loss when dragging a mobile node, which can cause associated lines to be lost.")]),t("h2",[e._v("0.4.5")]),t("p",[e._v("New: 1.Supports associative lines. 2.You can also drag the canvas by holding down the root node. 3. Hold down the ctrl key to adjust multiple selected nodes.")]),t("h2",[e._v("0.4.4")]),t("p",[e._v("New: Support horizontal scrolling in response to the mouse.")]),t("h2",[e._v("0.4.3")]),t("p",[e._v("Fix: No trigger after forward and backward "),t("code",[e._v("data_ Change")]),e._v(" event.")]),t("p",[e._v("New: Support user-defined mouse wheel events; The mouse wheel is adjusted to support zooming and moving the view up and down.")]),t("h2",[e._v("0.4.2")]),t("p",[e._v("New: The "),t("code",[e._v("setText")]),e._v(" method of the Node class adds a second parameter to support setting rich text content.")]),t("h2",[e._v("0.4.1")]),t("p",[e._v("New: 1.Add and throw node mouseenter and mouseleave events; 2.Node rich text supports setting background color; 3.Node rich text supports clear style.")]),t("p",[e._v("Fix: 1.Mac system touchpad scaling is the opposite problem; 2.When the device window.devicePixelRatio is not 1, the size of the rich text node in the exported image will become larger when there are rich text nodes.")]),t("h2",[e._v("0.4.0")]),t("p",[e._v("New: The node supports rich text editing.")]),t("h2",[e._v("0.3.4")]),t("p",[e._v("New: Automatic line wrapping function is added to node text.")]),t("p",[e._v("Fix: 1.Fix the problem of deletion exceptions if there are root nodes in the batch deleted nodes. 2.Fix the problem that high node height will overlap with other nodes in the case of bottom edge style.")]),t("h2",[e._v("0.3.3")]),t("p",[e._v("Fix: The root node text cannot wrap.")]),t("h2",[e._v("0.3.2")]),t("p",[e._v("Fix: 1.Fix the problem that the node style is not updated when the secondary node is dragged to other nodes or other nodes are dragged to the secondary node; 2.Fix the problem that when the actual content of the mind map is larger than the screen width and height, the excess part is not watermarked when exporting.")]),t("h2",[e._v("0.3.1")]),t("p",[e._v("Fix: 1.The problem that deleting the background image does not take effect; 2.The problem that the connector runs above the root node when the node is dragged to the root node.")]),t("p",[e._v("New: Add position and size settings for background image display. This setting is also supported for exported pictures.")]),t("h2",[e._v("0.3.0")]),t("p",[e._v("Upgrade to plugin architecture, pull out some non-core functions as plugins, register as needed, and reduce the overall volume.")]),t("h2",[e._v("0.2.24")]),t("p",[e._v("New: Node free drag is changed to configurable, the default is "),t("code",[e._v("false")]),e._v(", not open; Support add watermark.")]),t("h2",[e._v("0.2.23")]),t("p",[e._v("New: Support register new theme.")]),t("h2",[e._v("0.2.22")]),t("p",[e._v("optimization:The theme and structure pictures of the built-in "),t("code",[e._v("simple-mind-map")]),e._v(" package are removed and replaced by user self-maintenance. The original pictures can be found in the "),t("code",[e._v("web/assets/img/")]),e._v(" directory.")]),t("h2",[e._v("0.2.21")]),t("p",[e._v("New: Support node horizontal line style.")]),t("h2",[e._v("0.2.20")]),t("p",[e._v("fix:When the distance from the canvas to the upper left corner of the window is not 0, the node dragging will have an offset problem.")]),t("h2",[e._v("0.2.19")]),t("p",[e._v("fix:When the node is not activated, pressing any key will trigger the problem of automatic focus.")]),t("h2",[e._v("0.2.18")]),t("p",[e._v("optimization:Keyboard navigation algorithm for finding focus, supporting simple algorithm, region algorithm and shadow algorithm.")]),t("h2",[e._v("0.2.17")]),t("p",[e._v("New:Keyboard navigation, that is, switch the active nodes through the direction keys; The node text content can be edited directly in the outline.")]),t("h2",[e._v("0.2.16")]),t("p",[e._v("optimization:Mini map; drag performance.")]),t("h2",[e._v("0.2.15")]),t("p",[e._v("optimization:Local file editing.")]),t("p",[e._v("New:Double-click the image in the node to preview the large image.")]),t("h2",[e._v("0.2.14")]),t("p",[e._v("optimization:Automatically expand when inserting child nodes.")]),t("p",[e._v("fix:The error occurred when the mini map was closed.")]),t("h2",[e._v("0.2.13")]),t("p",[e._v("fix:The child node is missing when collapsing state replication.")]),t("h2",[e._v("0.2.11")]),t("p",[e._v("fix:Fix the problem that is lost when the child node collapses state replication.")]),t("p",[e._v("New:Support mini map.")]),t("h2",[e._v("0.2.10")]),t("p",[e._v("optimization:Focus immediately when you manually create a node.")]),t("p",[e._v("fix:Connection style depth update problem.")]),t("p",[e._v("New:Logical structure diagram and mind map add linear connection style and direct connection style.")]),t("h2",[e._v("0.2.9")]),t("p",[e._v("New:Support the creation, opening and saving of local files on the computer.")]),t("h2",[e._v("0.2.8")]),t("p",[e._v("fix:Xmind8 version file import failed.")]),t("p",[e._v("New:Expanding to the specified level is supported.")]),t("h2",[e._v("0.2.7")]),t("p",[e._v("fix:The root node adds multiple nodes to burst the stack.")]),t("p",[e._v("New:Support import .xmind file.")]),t("h2",[e._v("0.2.6")]),t("p",[e._v("New:The title tag is added when exporting svg.")]),t("h2",[e._v("0.2.5")]),t("p",[e._v("fix:Bugs caused by node expansion and collapse.")]),t("p",[e._v("New:Node supports custom line styles.")]),t("h2",[e._v("0.2.4")]),t("p",[e._v("New:Nodes support multiple shapes.")]),t("h2",[e._v("0.2.3")]),t("p",[e._v("fix:Shortcut key conflicts when editing node text; Right-click menu shortcut prompt error; Right-click menu shortcut prompt.")]),t("h2",[e._v("0.2.2")]),t("p",[e._v("fix:The input string '/' conflicts with the shortcut key '/'.")]),t("h2",[e._v("0.2.1")]),t("p",[e._v("New:Support export as pdf.")]),t("h2",[e._v("0.2.0")]),t("p",[e._v("New:Classic4 theme;Support adding summary; Support free drag; Move Node Up, Move Node Down, Copy Node, Cut Node, Paste Node, One-click Organize Cloth Shortcut; Library packaging; Ctrl+left click to select multiple.")]),t("h2",[e._v("0.1.18")]),t("p",[e._v("fix:The problem that the node icon cannot be deleted; The tool button is grayed out and can still be clicked.")]),t("h2",[e._v("0.1.17")]),t("p",[e._v("New:Add read-only mode.")]),t("h2",[e._v("0.1.16")]),t("p",[e._v("New:Node notes support markdown and rich text.")]),t("p",[e._v("fix:Can't select text; Node annotations cannot hide problems after node activation; When editing text such as hyperlinks, notes, labels, etc., the return key and return key conflict with the shortcut key of mind map.")]),t("h2",[e._v("0.1.15")]),t("p",[e._v("New:The status data supports saving the active status and view status (drag position, zoom value);Support node drag.")]),t("h2",[e._v("0.1.14")]),t("p",[e._v("fix:There are problems with setting topics when activating nodes.")]),t("h2",[e._v("0.1.13")]),t("p",[e._v("New:Shortcut key function; Support export as json。")]),t("p",[e._v("optimization:Some details.")]),t("h2",[e._v("0.1.12")]),t("p",[e._v("New:Local storage;Right-click menu function, etc.")]),t("h2",[e._v("0.1.0")]),t("p",[e._v("Complete basic functions.")])])}],s={},a=s,r=i("2877"),d=Object(r["a"])(a,o,n,!1,null,null,null);t["default"]=d.exports}}]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d208ffa"],{a6d3:function(e,t,i){"use strict";i.r(t);var o=function(){var e=this;e._self._c;return e._m(0)},n=[function(){var e=this,t=e._self._c;return t("div",[t("h1",[e._v("Changelog")]),t("h2",[e._v("0.9.9-fix.2")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of the original node style not being updated during the insertion of the parent node operation;")]),t("p",[e._v("2.Fix the issue of errors when switching structures when opening rainbow lines;")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Fix the issue where the side bar outline opens in source code editing mode when clicking full screen editing;")])]),t("h2",[e._v("0.9.9-fix.1")]),t("p",[e._v("Fix the issue where the search plugin was unable to search due to changes in the previous version.")]),t("h2",[e._v("0.9.9")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of incorrect arrow color when creating association lines for the first time;")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Support inserting child nodes with the insert key;")]),t("p",[e._v("2.Add the beforeShortcutRun instantiation option to intercept shortcut key operations;")]),t("p",[e._v("3.The method of incrementally updating canvas data by adding root instances, updateData;")]),t("p",[e._v("4.Add a rainbow line plugin;")]),t("p",[e._v("5.Add mouse in and out events to icons in nodes;")]),t("p",[e._v("6.Add the getAncestorNodes method to the node instance to obtain the list of ancestor nodes;")]),t("p",[e._v("7.Adding mouse events to personnel avatars during collaborative editing;")]),t("p",[e._v("8.Instantiation and setData methods support passing in empty data;")]),t("p",[e._v("9.Add an instantiation option for adding custom content when exporting images;")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Support configuration of rainbow lines;")]),t("p",[e._v("2.Add source code editing mode;")]),t("p",[e._v("3.Exporting PNG, PDF, and SVG supports setting custom text at the bottom;")])]),t("p",[e._v("Client:")]),t("blockquote",[t("p",[e._v("1.Double click the file to open the application without opening the workbench page;")]),t("p",[e._v("2.Fix the issue of multiple editing windows opening when repeatedly opening the same file;")]),t("p",[e._v("3.Prompt for modifying and deleting files being edited;")])]),t("h2",[e._v("0.9.8")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of incorrect calculation function of mind maps within the canvas and scroll bar positions when the canvas size changes;")]),t("p",[e._v("2.Fix the issue of errors when importing some old version xmind files;")]),t("p",[e._v("3.Fix the issue where the highlight box of the collapsed node does not disappear when searching for highlighted nodes in read-only mode;")]),t("p",[e._v("4.Fix the issue where data changes during search and search results are not updated in certain situations;")]),t("p",[e._v("5.Fix the issue of deleting adjacent nodes when deleting nodes that are currently being edited;")]),t("p",[e._v("6.Fix the issue of rendering only the root node when expand: false is set to the root node in the node data;")]),t("p",[e._v("7.Fix the collaborative editing plugin: When a node is selected and then folded, the activation status of the node disappears, but the selected status of the node still exists in other clients;")]),t("p",[e._v("8.Optimize the export of markdowns and fix the issue of missing summaries;")]),t("p",[e._v("9.Fix the issue of ineffective forward and backward operations on node positions during free drag and drop;")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.The commands such as INSERTNODE will not overwrite custom UIDs;")]),t("p",[e._v("2.Methods for adding and removing highlighting for node instances; Adjust the way read-only mode searches for highlighted nodes;")]),t("p",[e._v("3.Add configuration for searching all nodes (including those that have been folded); Search defaults to searching all nodes;")]),t("p",[e._v("4.Add configuration options that cannot be selected by multiple people on the same node during collaborative editing;")]),t("p",[e._v("5.Add lifecycle function configuration options before synchronizing collaborative editing node operations;")]),t("p",[e._v("6.Add UID field to the summary node;")]),t("p",[e._v("7.Added support for exporting txt files;")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Fix the issue where shortcut keys become invalid after opening label pop ups and note pop ups and clicking on the mask to close them;")]),t("p",[e._v("2.Modify the association logic between themes and dark colors;")]),t("p",[e._v("3.Support reading local directories;")]),t("p",[e._v("4.Fix the issue of selecting a file in the import pop-up window and then deleting it without actually deleting it;")]),t("p",[e._v("5.Export new txt files;")])]),t("h2",[e._v("0.9.7")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue where the style is not updated when dragging nodes below level 2 to the root node to become level 2 nodes; Fix the issue where the style is not updated when moving nodes with the command to move up one level;")]),t("p",[e._v("2.Fix the issue of losing focus when activating summary nodes and then setting text styles for them;")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Add two commands to remove custom styles from nodes;")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Add a right-click menu button to remove custom styles from nodes.")])]),t("h2",[e._v("0.9.6")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue where the style of the collapsed nodes remains unchanged when switching themes;")]),t("p",[e._v("2.Fix the issue of losing the new text style when switching themes for text wrapping;")]),t("p",[e._v("3.Fix the issue where the style of the newline text remains unchanged when switching themes;")]),t("p",[e._v("4.Fixed the issue of adding mathematical formulas to nodes and not changing the text style when switching themes;")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Add new fields to the theme, used to set the display position, head or tail, of node line arrows;")]),t("p",[e._v("2.New field added to the theme, used to set the starting position of the root node line when connecting curves;")]),t("p",[e._v("3.Mac dual finger touch event moves the canvas to increase sensitivity slightly;")]),t("p",[e._v("4.Add MOVE_ UP_ ONE_ The LEVEL command is used to move a node up one level;")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.The outline supports pressing Shift+Tab to move nodes up one level;")]),t("p",[e._v("2.Support setting the position of node arrow display;")]),t("p",[e._v("3.Support setting the starting position of root node connections;")]),t("p",[e._v("4.Add two new themes;")]),t("p",[e._v("5.Fix the issue of text wrapping not taking effect in the outline and displaying the br tag;")])]),t("h2",[e._v("0.9.5")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of missing inter zone summaries when expanding and folding nodes.")]),t("p",[e._v("2.Fix the issue where the position of the newly created associated line is always on the right side of the node without changing according to its relative position.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Add configuration for the initial positions of the two endpoints when creating associated lines.")]),t("p",[e._v("2.Add a configuration that prohibits adjusting the endpoint position of associated lines.")]),t("p",[e._v("3.Add a hand drawn style plugin.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Optimize interface adaptation on mobile devices.")]),t("p",[e._v("2.Supports enabling hand drawn styles.")])]),t("h2",[e._v("0.9.4")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of inconsistent text wrapping caused by inconsistent text area width during node display and editing in some cases.")]),t("p",[e._v("2.Fixed the issue where gradients were not applied to the edit box during rich text editing for nodes with gradient backgrounds.")]),t("p",[e._v("3.Fix the issue of text style loss after switching themes for nodes defined in bold by the theme.")]),t("p",[e._v("4.Fix the issue on Mac where the useLeftKeySelectionRightKeyDrag option is set to true and cannot hold down the Ctrl key to select multiple nodes.")]),t("p",[e._v("5.Fix the issue where text styles are lost after clearing styles during node rich text editing, and switching themes does not restore them.")]),t("p",[e._v("6.Fix data issue when deleting nodes with child nodes_ Change_ The issue of error reporting in detail events.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Add the lineRadius property to the theme configuration to set the size of the rounded corners when connecting straight lines.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Remove the display of formulas from the outline.")]),t("p",[e._v("2.Some configurations in the basic style that only support partial structures are displayed and hidden based on the current structure.")]),t("p",[e._v("3.Add configuration for connecting rounded corners.")]),t("p",[e._v("4.Automatically hide the sidebar when importing files.")])]),t("h2",[e._v("0.9.3")]),t("p",[e._v("Fix")]),t("blockquote",[t("p",[e._v("1.Fix the issue of text misalignment when nodes have icons in Safari browser.")]),t("p",[e._v("2.Fix the issue of formula rendering in browsers with lower versions of Chrome kernel.")]),t("p",[e._v("3.Fix the issue of new MouseEvent code execution errors when used in micro front-end framework applications.")]),t("p",[e._v("4.Fix the issue of missing arrows on node connections, arrows on associated lines, and gradient backgrounds when exporting images.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Export PDF from jspdf library to pdf-lib library.")]),t("p",[e._v("2.If the second parameter of the set node text command (SETNODE-TEXT) is not passed, the previous value will be used.")]),t("p",[e._v("3.There is an issue of incorrect width and height of exported images in Firefox browser when optimizing nodes with hyperlinks and comments.")]),t("p",[e._v("4.In node text editing, if the pasted data is in SMM format, the pure text of the first node will be taken out for pasting.")]),t("p",[e._v("5.Add interception operations for pasting when editing nodes without rich text.")]),t("p",[e._v("6.Add a detailed event (data_change_detail) for updating node data, which can retrieve newly created, updated, or deleted node data.")]),t("p",[e._v("7.Theme configuration supports setting node gradient background color.")])]),t("p",[e._v("Demo:")]),t("p",[e._v("1.Support setting the background of node gradients.")]),t("h2",[e._v("0.9.2")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of no line breaks when node text contains consecutive numbers or letters.")]),t("p",[e._v("2.Fix the issue of duplicate node drawing when importing files with the same UID as existing nodes on the current canvas.")]),t("p",[e._v("3.Fix the issue of duplicate rendering of nodes caused by forward and backward when the number of nodes exceeds the maximum number of cache pools.")]),t("p",[e._v("4.Fix the issue of the canvas moving in the opposite direction when scrolling horizontally with the mouse or touchpad.")]),t("p",[e._v("5.Fix the issue where the mouse in flag is not reset when a node is destroyed.")]),t("p",[e._v("6.Fix the issue of incorrect position calculation in the scrollbar plugin when the 'initRootNodePosition' configuration is not set to the default '[center, center]'.")]),t("p",[e._v("7.Fix the issue where dragging the canvas cannot stop when the mouse is released on the node.")]),t("p",[e._v("8.Fix the issue of errors in the position calculated by the view. fit method when the canvas container is not 0 from the top left corner of the browser window.")]),t("p",[e._v("9.Fix the issue where the watermark in the exported image does not fully cover the entire image when there are a large number of nodes.")]),t("p",[e._v("10.Fix the issue of inserting formula errors.")]),t("p",[e._v("11.Fix the issue of losing the selected text status when the mouse moves out of the editing box while selecting text in the node text editing state.")]),t("p",[e._v("12.When repairing node rich text editing, Fix the issue 'rich_text_selection_change' event is not triggered when the text selection range is 'null'.")]),t("p",[e._v("13.Fix the issue of no 'node' instance in the 'node_dragging' event callback.")]),t("p",[e._v("14.Fix the issue of too many nodes and the canvas size being too large to export PNG.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Modify the mousewheel event, change the dir flag to dirs, support storing multiple directions, and optimize the dual finger movement operation of the touchpad.")]),t("p",[e._v("2.The TextEdit class adds the isShowTextEdit method to determine whether the current node is in an editing state.")]),t("p",[e._v("3.Change the paste method of the render class to support pasting clipboard data.")]),t("p",[e._v("4.Add a configuration option to restrict mind map graphics within the canvas.")]),t("p",[e._v("5.When registering the scrollbar plugin, it supports configuring whether to restrict the mind map within the canvas.")]),t("p",[e._v("6.Folding all nodes will move the mind map root node to the center of the canvas.")]),t("p",[e._v("7.Support the configuration option of displaying watermarks only during export.")]),t("p",[e._v("8.When pasting images from the clipboard at a node, custom processing functions are supported to upload the images to your server.")]),t("p",[e._v("9.Refactoring the export logic of the PDF, the exported PDF size is no longer a fixed A4, but the size of the mind map, while deleting the configuration for pagination export.")]),t("p",[e._v("10.Node connections support displaying arrows as a field for the theme.")]),t("p",[e._v("11.The maximum number of historical records is adjusted to 500 by default.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Support configuration to display watermarks only during export.")]),t("p",[e._v("2.Basic style configuration line supports displaying arrows.")])]),t("h2",[e._v("0.9.1-fix.2")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue where some browsers display default text when node text is empty.")]),t("p",[e._v("2.Fix the issue of text style loss when inputting text again when the node text content is empty.")]),t("p",[e._v("3.Fix the issue where exporting images also fails when node image loading fails.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Support configuring the default image displayed when node image loading fails.")])]),t("h2",[e._v("0.9.1-fix.1")]),t("p",[e._v("Fix:")]),t("p",[e._v("1.Fix the issue of custom node methods reporting null errors.")]),t("p",[e._v("2.Fix the issue of large volume of exported PDF files.")]),t("h2",[e._v("0.9.1")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of exporting images, SVGs, and PDFs with errors when customizing node content.")]),t("p",[e._v("2.Optimize the distribution of node activation events, do not distribute events when the activation node has not changed, and skip intermediate events when distributing multiple events in a short period of time.")]),t("p",[e._v("3.Fix the issue where the edit box and node detach when scrolling the canvas with the mouse while the node is in editing mode.")]),t("p",[e._v("4.Fix the issue of shortcut keys becoming invalid when zooming the canvas with the mouse wheel and then exiting node editing while in node editing mode.")]),t("p",[e._v("5.Fix the issue where clicking on a node can also trigger node_dragend event.")]),t("p",[e._v("6.Fix that clicking on the canvas and nodes while not in the format brush will also trigger the painter_end event.")]),t("p",[e._v("7.Fixed the issue where the mind map text editing box was not destroyed during node text editing and associated line text editing.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.When holding down the Ctrl key, disable the node double-click event.")]),t("p",[e._v("2.Support configuring the behavior when creating new nodes: focusing and entering editing, not focusing, only focusing.")]),t("p",[e._v("3.When searching in read-only mode, add a highlight effect to the currently matched node.")]),t("p",[e._v("4.The default behavior of the mouse scroll wheel is to move the canvas up and down; The default is to scroll forward to enlarge the canvas and zoom back.")]),t("p",[e._v("5.When the mouse scroll wheel behavior is to move the canvas up and down, it supports holding down the Ctrl key to zoom in and out of the canvas.")])]),t("p",[e._v("Demo:支持配置创建新节点时的行为。")]),t("h2",[e._v("0.9.0")]),t("p",[e._v("New:")]),t("p",[e._v("1.Support adding summaries to some child nodes of the same node.")]),t("p",[e._v("2.Moving the mouse into the summary will highlight its node.")]),t("p",[e._v("3.Importing and exporting xmind files supports processing profiles.")]),t("h2",[e._v("0.8.1")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue where the activation status of the summary node in the history data has not been deleted, which can cause data to be triggered when clicking on the summary node_ Change event.")]),t("p",[e._v("2.Fix the issue of blank pages and exceptions thrown by the console when running in Safari browser.")]),t("p",[e._v("3.Fixed the issue of icon floating layer and note floating layer detached from nodes when scaling the canvas.")]),t("p",[e._v("4.Fixed the issue of selecting all nodes in read-only mode.")]),t("p",[e._v("5.Fix the presence of node content has   in rich text mode; Error exporting as image.")]),t("p",[e._v("6.Fixed the issue of overlapping profiles when adding profiles to oneself first and then to subordinates; Fix the issue of overlapping profiles when adding profiles to nodes with hierarchical relationships at the same time.")]),t("p",[e._v("7.Fix the issue of exporting PDF errors when there are many nodes.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Add a configuration option that prohibits dragging the canvas.")]),t("p",[e._v("2.Add a configuration option to prohibit double finger scaling of the canvas.")]),t("p",[e._v("3.Add compression parameters to the method of exporting PNG; Optimize the problem of excessive volume when exporting PDF from nodes with large amounts of data.")]),t("p",[e._v("4.Rename the isParent method of the node instance to isAncestor and add the isParent method at the same time.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Fixed the issue of being able to search for replacement and edit outlines in read-only mode.")]),t("p",[e._v("2.Fix the issue where the outline cannot be displayed and edited when the node content is an HTML tag.")]),t("p",[e._v("3.Fix the issue where when multiple nodes are selected and icons are added at the same time, all node icons will be unified as the icon of the first node.")]),t("p",[e._v("4.Adding loading to the export operation.")])]),t("h2",[e._v("0.8.0-fix.1")]),t("p",[e._v("Fix: Fixed the issue of creating a new node using direct paste if the pasted content contains HTML label symbols such as <> and the newly created node content is empty.")]),t("h2",[e._v("0.8.0")]),t("p",[e._v("Breaking change: Greatly optimize some of the code and slightly improve performance, mainly by using the 'render' class to remove useless logic, adjust unreasonable implementations, and extract duplicate code; Modify function names, functions, etc.")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of the arrow of the associated line disappearing when exporting images and SVGs.")]),t("p",[e._v("2.Fix the issue of abnormal operation returning to the root node after resizing the container.")]),t("p",[e._v("3.Fix that the shortcut key operations for inserting summary, moving up, down, and organizing layout with one click did not trigger data_ The issue with the change event.")]),t("p",[e._v("4.Fix the issue of each node displaying a border when exporting images, SVGs, and PDFs with watermarks.")]),t("p",[e._v("5.Fixed the issue of no watermarks and no redrawing after the container size was changed.")]),t("p",[e._v("6.Fix the issue of slow rendering of mini maps with watermarks.")]),t("p",[e._v("7.Fixed the issue where the collaboration plugin did not display the creator's avatar when creating a new node.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Optimize the canvas DOM structure and render nodes, lines, and associated lines in layers.")]),t("p",[e._v("2.Optimize the watermark plugin.")]),t("p",[e._v("3.The setTheme, setThemeConfig, and setLayout functions add parameters that do not trigger re rendering.")]),t("p",[e._v("4.Add a command to insert a parent node.")]),t("p",[e._v("5.Add a command to only delete the current node.")]),t("p",[e._v("6.Automatically expand child nodes when inserting a summary.")]),t("p",[e._v("7.Clear the current active node when right-clicking on the canvas.")]),t("p",[e._v("8.The folded active nodes are synchronously deleted from the list of active nodes.")]),t("p",[e._v("9.Pasting text with line breaks supports controlling whether nodes are split by line breaks.")]),t("p",[e._v("10.The mini map plugin supports returning mini maps of image types.")]),t("p",[e._v("11.Only one historical record can be added within a specified time period to avoid adding unnecessary intermediate states.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Modify the method and copy to return to the root node.")]),t("p",[e._v("2.Fix the issue of ineffective first switching when switching themes in overlay mode.")]),t("p",[e._v("3.The right-click menu adds the function of inserting parent nodes and deleting only the current node.")]),t("p",[e._v("4.The top toolbar supports automatic folding into more according to the window width.")]),t("p",[e._v("5.Support manual input of zoom factor.")]),t("p",[e._v("6.Improve the English translation of the interface.")]),t("p",[e._v("7.Change the mini map to render through images.")])]),t("h2",[e._v("0.7.3-fix.2")]),t("p",[e._v("Fix some issues with collaborative editing:")]),t("p",[e._v("1.The position of the new node is incorrect when inserting peer nodes;")]),t("p",[e._v("2.Moving a position within a peer node did not trigger an update;")]),t("p",[e._v("3.The position of the mobile node inserted as a sibling node is incorrect;")]),t("h2",[e._v("0.7.3-fix.1")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fixed some issues where the box selection area did not disappear when multiple nodes were selected.")]),t("p",[e._v("2.Fixed an issue where the box selection area does not disappear when releasing the mouse over multiple selected nodes.")]),t("p",[e._v("3.Fixed rendering anomalies caused by duplicate node uids when pasting nodes multiple times.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Add protocol selection function to the hyperlink input box.")])]),t("h2",[e._v("0.7.3")]),t("p",[e._v("New: 1.Add a Cooperate editing plugin.")]),t("p",[e._v("Demo: 1.Fix the automatic closing of the sidebar caused by the formula sidebar component.")]),t("h2",[e._v("0.7.2")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fixed the issue of nodes not being selected when the selection area does not include node boundaries when multiple nodes are selected.")]),t("p",[e._v("2.Fix the issue of errors when node text is not a string.")]),t("p",[e._v("3.Fix the issue of some text disappearing when edited again when there are<>&characters in the text in non rich text mode.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Supports inserting mathematical formulas.")]),t("p",[e._v("2.Supports dragging and moving multiple nodes simultaneously.")]),t("p",[e._v("3.Supports copying and cutting multiple nodes simultaneously.")]),t("p",[e._v("4.The node label color has been changed to be generated based on the label content, meaning that the same label content will generate the same color.")]),t("p",[e._v("5.Optimize the insertion of child nodes: 1. When inserting child nodes into multiple nodes simultaneously, do not enter the editing state; 2. The newly inserted child node automatically enters the active state.")]),t("p",[e._v("6.Optimize the insertion of sibling nodes: 1. Support the simultaneous insertion of sibling nodes into multiple nodes; 2. When calling the command to insert sibling nodes on the root node, no child nodes will be created.")]),t("p",[e._v("7.Add a command to simultaneously insert multiple peers and multiple child nodes.")]),t("p",[e._v("8.Changing the unique identifier of nodes from id to uid mainly affects the associated lines, which may not display properly in previous versions.")]),t("p",[e._v("9.Optimize the logic of icon merging and support the expansion of icons under the internal classification of the library.")]),t("p",[e._v("10.Associate line: 1. Double click the associate line to enter associate line text editing mode; If the associated line text is the default text, it will not be saved; 3. When there are active nodes, clicking on the associated line can directly activate the associated line.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Fixed an issue where multiple nodes in the Zhixi mind map cannot be pasted when copying.")]),t("p",[e._v("2.Add a sidebar for formula editing.")])]),t("h2",[e._v("0.7.1-fix.2")]),t("p",[e._v("Fix: 1.Fix the issue of plugin registration method chain call reporting errors.")]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Add a configuration option to adapt to the canvas size when the mind map is first loaded.")]),t("p",[e._v("2.Add a command to automatically generate dts declaration files.")])]),t("h2",[e._v("0.7.1-fix.1")]),t("p",[e._v("Fix: Fixed the issue of dragging nodes without excluding the child nodes of the dragged nodes.")]),t("h2",[e._v("0.7.1")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of unsaved associated line endpoints after changes.")]),t("p",[e._v("2.Fix the issue of abnormal canvas scrolling when moving the mouse to the edge of multiple selected nodes when the distance from the top left corner of the canvas to the browser window is not 0.")]),t("p",[e._v("3.Fix the issue of importing xmind file errors for nodes with empty titles.")]),t("p",[e._v("4.Fix the issue where the exported xmind file prompts for corruption when opened on the latest version of xmind software.")]),t("p",[e._v("5.Fix the issue where stickers cannot be displayed when exporting data with stickers in xmind format.")]),t("p",[e._v("6.Fix the issue of node right-click event reporting errors when the select plugin is not registered.")]),t("p",[e._v("7.There is no issue with removing duplicates in the method of registering plugins.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Reconstruct node drag and drop logic: optimize drag and drop difficulties in some situations, adapt to various structures, and automatically move the canvas when the mouse moves to the edge of the canvas during drag and drop.")]),t("p",[e._v("2.Reconstruct the scrollbar plugin to optimize the user experience.")]),t("p",[e._v("3.Imperfect resolution of conflicts between logical structure diagrams, mind maps, directory organization diagrams, organization chart summaries, and nodes (the summaries should be rewritten or deleted later).")]),t("p",[e._v("4.Activate adjacent nodes after deleting them.")]),t("p",[e._v("5.In node data_ The starting field is considered a custom field.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.The page will display the current core library version number.")])]),t("h2",[e._v("0.7.0")]),t("p",[e._v("Breaking change: Removed the section of node activation style in the theme file, Setting the activation style of nodes is no longer supported, and the activation effect has been changed to a unified node outer border style, while also supporting the mouse hover effect.")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix rendering anomalies when the node border size is relatively large.")]),t("p",[e._v("2.Fixed an issue where the node style of the associated line will not be updated when switching themes.")]),t("p",[e._v("3.Fix that selecting all did not trigger node_ The issue with active events.")])]),t("p",[e._v("新增:")]),t("blockquote",[t("p",[e._v("1.When folding nodes, displays the number of collapsed nodes.")]),t("p",[e._v("2.Support the position of the endpoint of the associated line to follow mouse drag changes.")]),t("p",[e._v("3.Add a scrollbar plugin.")]),t("p",[e._v("4.Support opening specified online files through fileURL query parameters in URLs.")]),t("p",[e._v("5.The fishbone diagram supports setting node margins.")]),t("p",[e._v("6.By default, double-click to reset the canvas.")]),t("p",[e._v("7.Modify the parameters of the export image method, and when exporting PDF, if the size of the mind map is smaller than A4 paper, do not rotate the direction.")]),t("p",[e._v("8.Improve the clarity of exported images and PDFs on high-definition screens.")]),t("p",[e._v("9.Add a pre destruction lifecycle function to the plugin to address the issue of some side effects that were not cleared during the destruction of the mind map.")]),t("p",[e._v("10.Optimize the settings of the basic style and do not trigger full rendering when modifying theme attributes that do not affect size.")]),t("p",[e._v("11.Prohibit triggering node right-click menu events when multiple node selections are completed, to avoid triggering the right-click menu display.")]),t("p",[e._v("12.Optimize the Select plugin so that if multiple selected nodes do not change, the activation event is not triggered.")]),t("p",[e._v("13.The activation node list thrown by event node_active no longer directly references the internal activation list.")]),t("p",[e._v("14.Optimize the logic of mouse button down node events, and support dragging the canvas by holding down the root node with the right mouse button in the right-click drag and drop canvas mode.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Do not directly reference the internal activation node list to optimize performance.")]),t("p",[e._v("2.Support configuring whether to display scrollbars.")]),t("p",[e._v("3.Delete the active node configuration in the sidebar node style configuration section.")])]),t("h2",[e._v("0.6.17")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of error reporting in the xmind file exported from Baidu Brain Map.")]),t("p",[e._v("2.Fix the mindMap. export method code error.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Create index.d.ts file。")]),t("p",[e._v("2.Support configuration to enable double click reset mind map.")]),t("p",[e._v("3.Intercept paste operations during rich text editing, remove formatting, and only allow pasting pure text.")])]),t("h2",[e._v("0.6.16")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Optimize the logic of rich text measurement elements, remove duplicate settings for styles, and add duplicate nodes")]),t("p",[e._v("2.Optimize the export image logic, and when traversing the node to convert the URL of the image, if it is already in the form of data: URL, do not handle it repeatedly.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Remove the second parameter of the exported SVG method and configure it through instantiation instead.")]),t("p",[e._v("2.Export images without using external libraries.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Fixed a bug where siblings can be added to the root node when editing the outline separately.")])]),t("h2",[e._v("0.6.15-fix.2")]),t("p",[e._v("Fix: Fixed an issue where rich text nodes cannot be displayed in Firefox browser.")]),t("h2",[e._v("0.6.15-fix.1")]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Export PDF supports pagination export based on image size.")]),t("p",[e._v("2.Exporting PDF supports automatic direction adjustment based on aspect ratio.")]),t("p",[e._v("3.Optimize the placeholder elements of the expand and collapse buttons: 1. Nodes without child nodes do not render this element; 2. Dynamically update the element based on the existence of child nodes.")]),t("p",[e._v("4.Add a configuration that prohibits mouse wheel scaling.")]),t("p",[e._v("5.Supports passing error handling functions.")])]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of displaying exceptions when node text is empty.")]),t("p",[e._v("2.Change the paddingX and paddingY of exported SVG graphics to single sided padding.")]),t("p",[e._v("3.Fixed an issue where the mouse is not centered when zooming when the canvas is not 0 from the top left corner of the browser window.")]),t("p",[e._v("4.Fix the issue of overlapping node borders.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.The bottom right corner supports jumping to related links.")]),t("p",[e._v("2.Adjust the position of the mini map to solve the problem of being blocked by side buttons.")]),t("p",[e._v("3.Fix the issue where the prompt in the upper right corner of the open local file cannot be closed.")]),t("p",[e._v("4.Editing the outline separately is no longer linked to the canvas, optimizing the editing experience under large data volume.")]),t("p",[e._v("5.The sidebar involves graphical options to increase visualization effects.")])]),t("h2",[e._v("0.6.14")]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Remove and create hidden input boxes, and copy and paste them through navigator. clipboard; Support cross browser pasting of mind map node data; Support custom processing of text data in the clipboard.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of enabling input to automatically enter text editing mode and conflicting with other input boxes.")]),t("p",[e._v("2.Fix the issue of not being able to delete node images in the node image pop-up window.")]),t("p",[e._v("3.Fixed an issue where the text decoration line style of nodes cannot be removed in the node style sidebar.")]),t("p",[e._v("4.The color selector supports selecting transparent colors.")]),t("p",[e._v("5.Fix the issue of importing mind map data without updating the sidebar data when the basic style sidebar is open.")]),t("p",[e._v("6.Fixed the issue of not focusing when modifying the text of one node in the outline and then clicking on other nodes.")]),t("p",[e._v("7.Fixed an issue where the node and word count statistics in the bottom left corner were not updated after exiting Zen mode.")]),t("p",[e._v("8.Support deleting hyperlinks and notes of nodes from the right-click menu.")]),t("p",[e._v("9.Support pasting node data of Zhixi Mind Map.")])]),t("h2",[e._v("0.6.13")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue of the inability to drag the canvas while holding down the middle mouse button on a node in read-only mode.")]),t("p",[e._v("2.Fixed the issue of probabilistic error reporting after quickly dragging nodes several times.")]),t("p",[e._v("3.Fix the issue of pulling up the input method during operations such as activating nodes on the mobile end, expanding and collapsing.")]),t("p",[e._v("4.Fix the issue where an exception request is initiated when the background image in the theme configuration is none.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Mobile gesture scaling optimization: Scale according to a linear relationship, and adjust the canvas position with double finger displacement.")]),t("p",[e._v("2.Remove the logic of asynchronous rendering nodes and improve the speed of creating new nodes.")]),t("p",[e._v("3.The export of images has been changed from the html2canvas library to the dom to image more library to address the issue of missing text styles in exporting rich text nodes.")]),t("p",[e._v("4.When a non rich text input box enters the editing state, it is deselected by default.")]),t("p",[e._v("5.When there is an activation node, it supports automatically entering text editing mode when pressing the Chinese, numeric, or English buttons.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Add anti shake operations when saving view data to optimize performance.")]),t("p",[e._v("2.Some time-consuming operations add loading effects.")]),t("p",[e._v("3.Improve the dark mode of right-click menus and rich text toolbars.")])]),t("h2",[e._v("0.6.12")]),t("p",[e._v("Fix:")]),t("blockquote",[t("p",[e._v("1.Fix the issue where the indicator in the mini map will also move out of the mini map area when the mind map is completely moved out of the visible area.")]),t("p",[e._v("2.Fix the issue of overly sensitive dual finger scaling on the mobile end.")]),t("p",[e._v("3.Fix the issue of holding down nodes while dragging the canvas in read-only mode.")]),t("p",[e._v("4.Fix the issue of incorrect rendering of the mini map when the distance between the mind map and the top left corner of the browser window is not 0.")]),t("p",[e._v("5.Fix the issue of the prompt block being too large for the new location when moving nodes.")]),t("p",[e._v("6.Fix the issue where search cannot be replaced with empty characters.")]),t("p",[e._v("7.Fixed the issue of missing line breaks after searching and replacing in rich text mode.")]),t("p",[e._v("8.Fixed the issue of missing focus in the input box when clicking on text editing in the outline.")])]),t("p",[e._v("New:")]),t("blockquote",[t("p",[e._v("1.Adding a callback parameter to the node move end event (node_drag) can obtain the uid of the move to the node.")]),t("p",[e._v("2.Support specifying the location to which internal elements are added through configuration.")]),t("p",[e._v("3.Support the format brush function.")]),t("p",[e._v("4.Under the curve style, the connection line style of the root node supports consistency with other nodes.")]),t("p",[e._v("5.Search supports continuous replacement.")]),t("p",[e._v("6.Add and delete button for node image.")]),t("p",[e._v("7.Support dragging the canvas while holding down the middle mouse button.")])]),t("p",[e._v("Demo:")]),t("blockquote",[t("p",[e._v("1.Provide an application takeover mode to facilitate docking with one's own storage services; Supports setting static resource paths at runtime.")]),t("p",[e._v("2.Refactoring outline: 1. No longer use the text style that comes with the node; 2. Support full screen editing of the outline; 3. The outline supports dragging and moving nodes; 4. The outline supports deleting nodes.")]),t("p",[e._v("3.Fix the issue of interface dark mode not updating in the scenario of importing data.")])]),t("h2",[e._v("0.6.11-fix.1")]),t("p",[e._v("Fix: 1.Fixed the issue of invisible editing when node text is white.")]),t("h2",[e._v("0.6.11")]),t("p",[e._v("New: 1.Optimize the mini map, remove node content within the mini map, and optimize performance.")]),t("p",[e._v("Demo: 1.Add a new topic and add tab differentiation to the topic list. 2.Node image upload supports inputting network image addresses. 3.Node image upload supports inputting network images.")]),t("h2",[e._v("0.6.10")]),t("p",[e._v("Fix: 1.Fix the issue of deleting a node after searching for it and not updating the search results when searching again. 2.Fixed an issue where the button for adjusting image size did not update after node operation. 3.Fix the issue of incorrect internal data deep copy location. 4.Fix the issue of ineffective line wrapping in rich text nodes. 5. Fix the issue of node swapping and loss when switching themes and other scenarios.")]),t("p",[e._v("New: 1.Search supports searching for white space characters and replacing them with white space characters.")]),t("p",[e._v("Demo: 1.Support calling up search through icon buttons. 2.Support for switching to dark mode through icon buttons. 3.Optimize search: The mouse is not in the search area and not focused, solving the problem of not being able to delete input text when the mouse is not in the search area. 4.Adjust the interface UI for adding node icons and add a series of node icons. 5.Add a sticker list. 6.Fixed the issue of missing focus in the input box after entering the search box. 7.Support clicking on the icon within the node to display an icon for quick replacement and deletion of the floating panel.")]),t("h2",[e._v("0.6.9-fix.1")]),t("p",[e._v("Fix: 1.Fix the issue of incorrect replacement after a single search.")]),t("p",[e._v("New: 1.We will no longer directly modify the incoming data object, but will make a deep copy internally.")]),t("h2",[e._v("0.6.9")]),t("p",[e._v("Fix: 1.Fixed an issue where setting styles to summary nodes would cause summary nodes to disappear. 2.Fixed the issue of node content not rendering when creating a root instance again when customizing node content. 3.Fix the issue of losing focus when adding a new node while the node is in editing. 2.Fix the issue of continuously pressing the tab key not being able to continuously create child nodes.")]),t("p",[e._v("New: 1.Replace existing "),t("code",[e._v(" ")]),e._v(" in SVG when exporting Characters to avoid exporting SVG errors. 2.Support for search and replace.")]),t("p",[e._v("Demo: 1.When switching themes, it is supported to choose whether to overwrite the set basic style.")]),t("h2",[e._v("0.6.8")]),t("p",[e._v("Fix: 1.Change the shortcut key for inserting a summary to Ctrl+G to avoid conflicts with the save shortcut key. 2.Fix the issue of abnormal switching between rich text editing configuration input boxes while nodes are being edited.")]),t("p",[e._v("New: 1.Modify the copy, cut, and paste logic, and support pasting data from the clipboard.")]),t("p",[e._v("Demo: 1.Fix the issue of not saving the outer margin of the basic style setting node. 2.Supports automatic switching to dark mode based on the theme.")]),t("h2",[e._v("0.6.7")]),t("p",[e._v("Fix: 1.Fixed the issue of missing placeholder elements for the expand and collapse button after node collapse and expansion. 2.Fixed the issue of being able to scale images in read-only mode.")]),t("p",[e._v("New: 1.Support locating to a node based on node instance or node uid. 2.Modify the creation method of node uids and export data to add node uids.")]),t("p",[e._v("Remove: 1.Remove the node transition effect.")]),t("p",[e._v("Demo: 1.Add website homepage. 2.Fixed the issue of missing node styles when creating new nodes in the outline. 3.Fixed the issue of missing edited text after pressing Enter or Tab after editing nodes in the outline. 4.Optimize the node positioning of the outline, and the collapsed nodes will automatically expand. 5.The sidebar button supports folding. 6.Optimize small screen adaptation.")]),t("h2",[e._v("0.6.6")]),t("p",[e._v("New: 1.Support exporting to Xmind new version files. 2.Importing the new version of Xmind file supports importing images from nodes. 3.Add a vertical timeline structure.")]),t("p",[e._v("Fix: 1.The TouchEvent plugin no longer sends click events, solving the problem of two windows opening when clicking on a hyperlink on the mobile end. 2.Fix the issue of dragging and moving a node to become a child node of another node, where the parent node of that node points to not being updated. 3.Fixed an issue where the node border style was not updated when dragging a second level node into a third level node. 4.Fix the issue where the mouse will not trigger the button display when moving into the unfolded or retracted button position, except for the structure growing to the right.")]),t("p",[e._v("optimization: 1.The issue of excessive amplitude when optimizing the touchpad to scale the canvas. 2.The newly created node defaults to selecting all for easy deletion of default text.")]),t("h2",[e._v("0.6.5-fix.1")]),t("p",[e._v("Fix: 1.Fix the issue of adjusting the image size incorrectly while zooming.")]),t("h2",[e._v("0.6.5")]),t("p",[e._v("Fix: 1.Fix the issue of xmind file import errors. 2.Fixed a rare issue where line breaks occur when the width of the node text is decimal.")]),t("p",[e._v("New: 1.The packaged library supports obtaining built-in constants, themes, and other data. 2.Supports configuring the zoom behavior corresponding to the direction of the mouse wheel. 3.Node images support dragging and resizing.")]),t("h2",[e._v("0.6.4-fix.1")]),t("p",[e._v("New: 1.When zooming with the mouse wheel, the default zoom is centered around the current position of the mouse, which can be turned off by configuring.")]),t("p",[e._v("Fix: 1.Fixed an issue where the default value of the zoom center point was not updated after changing the canvas size.")]),t("h2",[e._v("0.6.4")]),t("p",[e._v("New: 1.The default is to scale at the center point of the canvas. 2.Optimize the scaling of both fingers on the mobile end, with the center position of the two fingers as the center point for scaling.")]),t("h2",[e._v("0.6.3")]),t("p",[e._v("Fix: 1.Fix the issue where the summary node will respond to inserting node shortcuts.")]),t("p",[e._v("New: 1.Support custom node content.")]),t("h2",[e._v("0.6.2")]),t("p",[e._v("Fix: 1.Fixed the problem that the new node does not change with the theme in rich Text mode.")]),t("h2",[e._v("0.6.1")]),t("p",[e._v("Fix: 1.Fixed the issue of high movement sensitivity when using the touchpad when changing mouse scrolling to moving the canvas behavior.")]),t("h2",[e._v("0.6.0-fix.1")]),t("p",[e._v("Fix: 1.Fixed the issue of destroying mind maps without setting a background style and reporting errors.")]),t("h2",[e._v("0.6.0")]),t("p",[e._v("Breaking change: Adjusted the directory structure of the simple-mind-map source code, Main impact: 1. The introduction path of the plugin needs to be modified. The constant file path needs to be modified.")]),t("p",[e._v("New: 1.Supports one click zoom to fit the canvas function. 2.Press and hold the Ctrl key to activate the multi selection function on demand through configuration. 3.Support setting to left click to select multiple nodes and right click to drag the canvas. 4. Support controlling whether nodes are allowed to be edited. 5.Add a method for destroying mind maps. 6.Added touch event support plugin.")]),t("p",[e._v("Fix: 1.Fix the issue where holding down the Ctrl key to select multiple nodes does not trigger the click event for the node. 2.Fixed the issue of node style loss when clearing a node and then entering text.")]),t("h2",[e._v("0.5.11")]),t("p",[e._v("New: Supports associative text editing.")]),t("p",[e._v("optimization: Optimizing theme configuration updates, changing configurations that do not involve node size does not trigger node recalculation.")]),t("h2",[e._v("0.5.10")]),t("p",[e._v("New: Optimize node reuse logic using LRU caching algorithm.")]),t("h2",[e._v("0.5.10-fix.1")]),t("p",[e._v("Fix: Fix the issue of import errors.")]),t("h2",[e._v("0.5.10-fix.2")]),t("p",[e._v("Fix: Fixed the issue of switching themes and importing data without triggering data changes in rich text mode.")]),t("p",[e._v("New: Add three new themes.")]),t("h2",[e._v("0.5.9")]),t("p",[e._v("Change: Unified export method format, using "),t("code",[e._v("FileReader")]),e._v(" instead of "),t("code",[e._v("URL.createObjectURL")]),e._v(" to convert "),t("code",[e._v("blob")]),e._v(" data.")]),t("h2",[e._v("0.5.8")]),t("p",[e._v("optimization: 1.The position setting is not triggered when the node position does not change. 2.The unfolding and folding status does not change and does not trigger button updates.")]),t("p",[e._v("New: 1.The default setting is to move the mouse over the node to display the expand and collapse buttons. 2.Support the list of icons that can be inserted into extended nodes.")]),t("h2",[e._v("0.5.7")]),t("p",[e._v("Breaking change:In rich text mode, exporting png has been changed to using html2canvas to convert the entire svg, greatly improving the export speed. However, html2canvas has a bug where the text color inline with the dom node in the foreignObject element cannot be recognized. Therefore, the text color of the exported node is fixed. However, compared to the previously unavailable state of the export, it can at least be exported quickly and smoothly.")]),t("p",[e._v("optimization: Optimize the rich text node editing experience.")]),t("p",[e._v("New: In rich text mode, importing data, initializing data, and switching theme scene node styles support following theme changes.")]),t("h2",[e._v("0.5.6")]),t("p",[e._v("Fix: 1.Fix the issue of node position disorder during fast and multiple renderings in a short period of time. 2.Fix the issue of dragging the canvas while the node is being edited, causing the edit box and node to separate.")]),t("p",[e._v("New: 1.Add a maximum history limit.")]),t("h2",[e._v("0.5.5-fix.1")]),t("p",[e._v("Fix: 1.Fix the issue where the edit box is also outside the canvas when editing nodes outside the canvas. 2.After modifying the structure, reset the transformation to prevent the problem of sudden position changes during the first drag after switching the structure during scaling.")]),t("p",[e._v("optimization: 1.When multiple nodes are selected, as long as there is a cross between the node and the selection area, it is considered selected.")]),t("h2",[e._v("0.5.5-fix.2")]),t("p",[e._v("Fix: 1.Fix mini map error.")]),t("h2",[e._v("0.5.5")]),t("p",[e._v("New: 1.Supports configuring the padding when exporting to PNG, SVG, or PDF. 2.Support the configuration of z-index for node text editing boxes and node comment floating layer elements. 3.Support clicking on areas outside the canvas to end node editing status.")]),t("h2",[e._v("0.5.4")]),t("p",[e._v("New: 1.Add new themes. 2.Added timeline and fishbone structure.")]),t("p",[e._v("Fix: 1.Fix the conflict issue between node right-click and canvas right-click. 2.Fix the bug that the line segment is not hidden when dragging nodes such as organizational chart and directory organization chart.")]),t("p",[e._v("optimization: 1.Optimize the layout of organizational chart. 2.Optimize the layout of the directory organization chart.")]),t("h2",[e._v("0.5.4-fix.1")]),t("p",[e._v("optimization: 1.Optimize fishbone layout.")]),t("h2",[e._v("0.5.3")]),t("p",[e._v("Fix: 1.Fixed the issue of setting the text style when multiple nodes were selected in rich text mode, which would change the text of all selected nodes to the text of the last selected node.")]),t("p",[e._v("New: 1.Support setting the position of the initial central node.")]),t("h3",[e._v("0.5.3-fix.1")]),t("p",[e._v("Fix: 1.Fix the issue where setting the position of the initial central node does not take effect.")]),t("h3",[e._v("0.5.3-fix.2")]),t("p",[e._v("Fix: 1.Fix the issue of not displaying images in nodes when exporting as images.")]),t("h2",[e._v("0.5.2")]),t("p",[e._v("Fix: 1.Remove "),t("code",[e._v("uid")]),e._v(" from exported "),t("code",[e._v("JSON")]),e._v(" data; 2.Clear the node cache pool when re rendering.")]),t("h2",[e._v("0.5.1")]),t("p",[e._v("optimization: 1.Only respond to shortcut key events when the mouse is inside the canvas")]),t("p",[e._v("Fix: 1.Fix the issue of incorrect node position during fast operation")]),t("h2",[e._v("0.5.0")]),t("p",[e._v("This version is mainly about code level changes and optimization, with the core goal of improving rendering performance and reducing stuck issues.")]),t("p",[e._v("New: 1.Support custom expansion and collapse node icons and colors;")]),t("p",[e._v("optimization: 1.Optimize rendering logic, set the theme, move forward and backward, and other operations no longer require full rendering;")]),t("pre",[t("code",[e._v(" 2.Optimize node drag logic, and fix the problem of being unable to drag between two nodes;\n\n 3.Collapse all nodes adds logic to return to the center point;\n\n 4.Fix the problem of nodes flying and scrambling caused by triggering rendering multiple times in a short time;\n\n 5.Optimize the experience of node editing;\n")])]),t("p",[e._v("Fix: 1.Fix the issue where the setData method does not trigger history;")]),t("p",[e._v("modify: Starting from version 0.5.0, considering performance issues, the node activation state can only modify shape related styles:")]),t("pre",{staticClass:"hljs"},[t("code",[e._v("[\n "),t("span",{staticClass:"hljs-string"},[e._v("'fillColor'")]),e._v(",\n "),t("span",{staticClass:"hljs-string"},[e._v("'borderColor'")]),e._v(",\n "),t("span",{staticClass:"hljs-string"},[e._v("'borderWidth'")]),e._v(",\n "),t("span",{staticClass:"hljs-string"},[e._v("'borderDasharray'")]),e._v(",\n "),t("span",{staticClass:"hljs-string"},[e._v("'borderRadius'")]),e._v("\n]\n")])]),t("h2",[e._v("0.4.7")]),t("p",[e._v("optimization: 1.During rich text editing, when initially focusing, all are no longer selected by default; 2.When editing rich text, use the node fill color as the background color to avoid being invisible when the node color is white. 3.Node activation state switching no longer triggers history. 4.Triggering history multiple times in a short time will only add the last data. 5.Optimize the addition of historical records. When there is a rollback, delete the historical data after the current pointer when adding a new record again.")]),t("p",[e._v("New: 1.Support for importing and exporting Markdown format files. 2.Support for configuring initial text when inserting nodes. 3.Expand the commands for inserting and deleting nodes to support specifying nodes.")]),t("h2",[e._v("0.4.6")]),t("p",[e._v("New: 1.Associated lines support adjusting control points.")]),t("p",[e._v("optimization: 1.When adding historical data, filter data that has not changed compared to the previous time.")]),t("p",[e._v("Fix: 1.Fixed a conflict between the direction keys and the navigation function of the direction keys during node editing. 2.Fixed the issue of node id loss when dragging a mobile node, which can cause associated lines to be lost.")]),t("h2",[e._v("0.4.5")]),t("p",[e._v("New: 1.Supports associative lines. 2.You can also drag the canvas by holding down the root node. 3. Hold down the ctrl key to adjust multiple selected nodes.")]),t("h2",[e._v("0.4.4")]),t("p",[e._v("New: Support horizontal scrolling in response to the mouse.")]),t("h2",[e._v("0.4.3")]),t("p",[e._v("Fix: No trigger after forward and backward "),t("code",[e._v("data_ Change")]),e._v(" event.")]),t("p",[e._v("New: Support user-defined mouse wheel events; The mouse wheel is adjusted to support zooming and moving the view up and down.")]),t("h2",[e._v("0.4.2")]),t("p",[e._v("New: The "),t("code",[e._v("setText")]),e._v(" method of the Node class adds a second parameter to support setting rich text content.")]),t("h2",[e._v("0.4.1")]),t("p",[e._v("New: 1.Add and throw node mouseenter and mouseleave events; 2.Node rich text supports setting background color; 3.Node rich text supports clear style.")]),t("p",[e._v("Fix: 1.Mac system touchpad scaling is the opposite problem; 2.When the device window.devicePixelRatio is not 1, the size of the rich text node in the exported image will become larger when there are rich text nodes.")]),t("h2",[e._v("0.4.0")]),t("p",[e._v("New: The node supports rich text editing.")]),t("h2",[e._v("0.3.4")]),t("p",[e._v("New: Automatic line wrapping function is added to node text.")]),t("p",[e._v("Fix: 1.Fix the problem of deletion exceptions if there are root nodes in the batch deleted nodes. 2.Fix the problem that high node height will overlap with other nodes in the case of bottom edge style.")]),t("h2",[e._v("0.3.3")]),t("p",[e._v("Fix: The root node text cannot wrap.")]),t("h2",[e._v("0.3.2")]),t("p",[e._v("Fix: 1.Fix the problem that the node style is not updated when the secondary node is dragged to other nodes or other nodes are dragged to the secondary node; 2.Fix the problem that when the actual content of the mind map is larger than the screen width and height, the excess part is not watermarked when exporting.")]),t("h2",[e._v("0.3.1")]),t("p",[e._v("Fix: 1.The problem that deleting the background image does not take effect; 2.The problem that the connector runs above the root node when the node is dragged to the root node.")]),t("p",[e._v("New: Add position and size settings for background image display. This setting is also supported for exported pictures.")]),t("h2",[e._v("0.3.0")]),t("p",[e._v("Upgrade to plugin architecture, pull out some non-core functions as plugins, register as needed, and reduce the overall volume.")]),t("h2",[e._v("0.2.24")]),t("p",[e._v("New: Node free drag is changed to configurable, the default is "),t("code",[e._v("false")]),e._v(", not open; Support add watermark.")]),t("h2",[e._v("0.2.23")]),t("p",[e._v("New: Support register new theme.")]),t("h2",[e._v("0.2.22")]),t("p",[e._v("optimization:The theme and structure pictures of the built-in "),t("code",[e._v("simple-mind-map")]),e._v(" package are removed and replaced by user self-maintenance. The original pictures can be found in the "),t("code",[e._v("web/assets/img/")]),e._v(" directory.")]),t("h2",[e._v("0.2.21")]),t("p",[e._v("New: Support node horizontal line style.")]),t("h2",[e._v("0.2.20")]),t("p",[e._v("fix:When the distance from the canvas to the upper left corner of the window is not 0, the node dragging will have an offset problem.")]),t("h2",[e._v("0.2.19")]),t("p",[e._v("fix:When the node is not activated, pressing any key will trigger the problem of automatic focus.")]),t("h2",[e._v("0.2.18")]),t("p",[e._v("optimization:Keyboard navigation algorithm for finding focus, supporting simple algorithm, region algorithm and shadow algorithm.")]),t("h2",[e._v("0.2.17")]),t("p",[e._v("New:Keyboard navigation, that is, switch the active nodes through the direction keys; The node text content can be edited directly in the outline.")]),t("h2",[e._v("0.2.16")]),t("p",[e._v("optimization:Mini map; drag performance.")]),t("h2",[e._v("0.2.15")]),t("p",[e._v("optimization:Local file editing.")]),t("p",[e._v("New:Double-click the image in the node to preview the large image.")]),t("h2",[e._v("0.2.14")]),t("p",[e._v("optimization:Automatically expand when inserting child nodes.")]),t("p",[e._v("fix:The error occurred when the mini map was closed.")]),t("h2",[e._v("0.2.13")]),t("p",[e._v("fix:The child node is missing when collapsing state replication.")]),t("h2",[e._v("0.2.11")]),t("p",[e._v("fix:Fix the problem that is lost when the child node collapses state replication.")]),t("p",[e._v("New:Support mini map.")]),t("h2",[e._v("0.2.10")]),t("p",[e._v("optimization:Focus immediately when you manually create a node.")]),t("p",[e._v("fix:Connection style depth update problem.")]),t("p",[e._v("New:Logical structure diagram and mind map add linear connection style and direct connection style.")]),t("h2",[e._v("0.2.9")]),t("p",[e._v("New:Support the creation, opening and saving of local files on the computer.")]),t("h2",[e._v("0.2.8")]),t("p",[e._v("fix:Xmind8 version file import failed.")]),t("p",[e._v("New:Expanding to the specified level is supported.")]),t("h2",[e._v("0.2.7")]),t("p",[e._v("fix:The root node adds multiple nodes to burst the stack.")]),t("p",[e._v("New:Support import .xmind file.")]),t("h2",[e._v("0.2.6")]),t("p",[e._v("New:The title tag is added when exporting svg.")]),t("h2",[e._v("0.2.5")]),t("p",[e._v("fix:Bugs caused by node expansion and collapse.")]),t("p",[e._v("New:Node supports custom line styles.")]),t("h2",[e._v("0.2.4")]),t("p",[e._v("New:Nodes support multiple shapes.")]),t("h2",[e._v("0.2.3")]),t("p",[e._v("fix:Shortcut key conflicts when editing node text; Right-click menu shortcut prompt error; Right-click menu shortcut prompt.")]),t("h2",[e._v("0.2.2")]),t("p",[e._v("fix:The input string '/' conflicts with the shortcut key '/'.")]),t("h2",[e._v("0.2.1")]),t("p",[e._v("New:Support export as pdf.")]),t("h2",[e._v("0.2.0")]),t("p",[e._v("New:Classic4 theme;Support adding summary; Support free drag; Move Node Up, Move Node Down, Copy Node, Cut Node, Paste Node, One-click Organize Cloth Shortcut; Library packaging; Ctrl+left click to select multiple.")]),t("h2",[e._v("0.1.18")]),t("p",[e._v("fix:The problem that the node icon cannot be deleted; The tool button is grayed out and can still be clicked.")]),t("h2",[e._v("0.1.17")]),t("p",[e._v("New:Add read-only mode.")]),t("h2",[e._v("0.1.16")]),t("p",[e._v("New:Node notes support markdown and rich text.")]),t("p",[e._v("fix:Can't select text; Node annotations cannot hide problems after node activation; When editing text such as hyperlinks, notes, labels, etc., the return key and return key conflict with the shortcut key of mind map.")]),t("h2",[e._v("0.1.15")]),t("p",[e._v("New:The status data supports saving the active status and view status (drag position, zoom value);Support node drag.")]),t("h2",[e._v("0.1.14")]),t("p",[e._v("fix:There are problems with setting topics when activating nodes.")]),t("h2",[e._v("0.1.13")]),t("p",[e._v("New:Shortcut key function; Support export as json。")]),t("p",[e._v("optimization:Some details.")]),t("h2",[e._v("0.1.12")]),t("p",[e._v("New:Local storage;Right-click menu function, etc.")]),t("h2",[e._v("0.1.0")]),t("p",[e._v("Complete basic functions.")])])}],s={},a=s,r=i("2877"),d=Object(r["a"])(a,o,n,!1,null,null,null);t["default"]=d.exports}}]); \ No newline at end of file diff --git a/dist/js/chunk-cae1ba8a.js b/dist/js/chunk-bac9f554.js similarity index 71% rename from dist/js/chunk-cae1ba8a.js rename to dist/js/chunk-bac9f554.js index c15767ac..b254d263 100644 --- a/dist/js/chunk-cae1ba8a.js +++ b/dist/js/chunk-bac9f554.js @@ -1,15 +1,15 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-cae1ba8a"],{"0082":function(e,t,n){e.exports=n.p+"img/ditu.svg"},"00ee":function(e,t,n){"use strict";var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},"013f":function(e,t,n){},"027d":function(e,t,n){e.exports=n.p+"img/zhongyangjie.svg"},"02a0":function(e,t,n){e.exports=n.p+"img/a-18-xiguan.svg"},"0455":function(e,t,n){e.exports=n.p+"img/zhongqiujie.svg"},"049e":function(e,t,n){e.exports=n.p+"img/shiyan.svg"},"04c4":function(e,t,n){},"0536":function(e,t,n){e.exports=n.p+"img/rose.jpg"},"0613":function(e,t,n){e.exports=n.p+"img/a-6-jiancebi.svg"},"06c3":function(e,t,n){"use strict";var r=n("1fa7");e.exports=Function.prototype.bind||r},"0735":function(e,t,n){"use strict";n("2827")},"0754":function(e,t,n){e.exports=n.p+"img/simpleBlack.jpg"},"07f3":function(e,t,n){e.exports=n.p+"img/duanwujie.svg"},"080b":function(e,t,n){},"08cf":function(e,t,n){"use strict";n("2acb")},"0914":function(e,t,n){e.exports=n.p+"img/tiyu.svg"},"0960":function(e,t,n){e.exports=n("b19a")},"0983e":function(e,t,n){},"09d9":function(e,t,n){var r=n("9a1c").isArray;e.exports={copyOptions:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},ensureFlagExists:function(e,t){e in t&&"boolean"===typeof t[e]||(t[e]=!1)},ensureSpacesExists:function(e){(!("spaces"in e)||"number"!==typeof e.spaces&&"string"!==typeof e.spaces)&&(e.spaces=0)},ensureAlwaysArrayExists:function(e){"alwaysArray"in e&&("boolean"===typeof e.alwaysArray||r(e.alwaysArray))||(e.alwaysArray=!1)},ensureKeyExists:function(e,t){e+"Key"in t&&"string"===typeof t[e+"Key"]||(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}}},"0a21":function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},l=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t,n=r.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!o)return!1;for(t in e);return"undefined"===typeof t||r.call(e,t)},c=function(e,t){o&&"__proto__"===t.name?o(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,t){if("__proto__"===t){if(!r.call(e,t))return;if(a)return a(e,t).value}return e[t]};e.exports=function e(){var t,n,r,i,o,a,h=arguments[0],d=1,f=arguments.length,p=!1;for("boolean"===typeof h&&(p=h,h=arguments[1]||{},d=2),(null==h||"object"!==typeof h&&"function"!==typeof h)&&(h={});d]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,h,d){var f=n+e.length,p=r.length,m=u;return void 0!==h&&(h=i(h),m=c),s(d,m,(function(i,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,f);case"<":c=h[l(s,1,-1)];break;default:var u=+s;if(0===u)return i;if(u>p){var d=o(u/10);return 0===d?i:d<=p?void 0===r[d-1]?a(s,1):r[d-1]+a(s,1):i}c=r[u-1]}return void 0===c?"":c}))}},"0cfe":function(e,t,n){e.exports=n.p+"img/timeline.png"},"0d26":function(e,t,n){"use strict";var r=n("e330"),i=Error,o=r("".replace),a=function(e){return String(new i(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)while(t--)e=o(e,s,"");return e}},"0d42":function(e,t,n){e.exports=n.p+"img/dark.jpg"},"0dc4":function(e,t,n){"use strict";var r=n("3f29"),i=r("%Object.defineProperty%",!0)||!1;if(i)try{i({},"a",{value:1})}catch(o){i=!1}e.exports=i},"0e25":function(e,t,n){e.exports=n.p+"img/a-13-xiguan.svg"},"0e50":function(e,t,n){e.exports=n.p+"img/ziyuan_2.svg"},"0e5f":function(e,t,n){e.exports=n.p+"img/a-9-tizhongcheng.svg"},"0ea4":function(e,t,n){"use strict";n("6a23")},"0fb2":function(e,t,n){"use strict";var r=Date.prototype.getDay,i=function(e){try{return r.call(e),!0}catch(t){return!1}},o=Object.prototype.toString,a="[object Date]",s=n("9803")();e.exports=function(e){return"object"===typeof e&&null!==e&&(s?i(e):o.call(e)===a)}},"0fb5":function(e,t,n){e.exports=n.p+"img/muqinjie.svg"},1:function(e,t){},"103a":function(e,t,n){e.exports=n.p+"img/paishe.svg"},"10ad":function(e,t,n){var r,i,o=n("a83d"),a={on:function(){},parse:function(){}},s=n("09d9"),l=n("9a1c").isArray,c=!0;function u(e){return r=s.copyOptions(e),s.ensureFlagExists("ignoreDeclaration",r),s.ensureFlagExists("ignoreInstruction",r),s.ensureFlagExists("ignoreAttributes",r),s.ensureFlagExists("ignoreText",r),s.ensureFlagExists("ignoreComment",r),s.ensureFlagExists("ignoreCdata",r),s.ensureFlagExists("ignoreDoctype",r),s.ensureFlagExists("compact",r),s.ensureFlagExists("alwaysChildren",r),s.ensureFlagExists("addParent",r),s.ensureFlagExists("trim",r),s.ensureFlagExists("nativeType",r),s.ensureFlagExists("nativeTypeAttributes",r),s.ensureFlagExists("sanitize",r),s.ensureFlagExists("instructionHasAttributes",r),s.ensureFlagExists("captureSpacesBetweenElements",r),s.ensureAlwaysArrayExists(r),s.ensureKeyExists("declaration",r),s.ensureKeyExists("instruction",r),s.ensureKeyExists("attributes",r),s.ensureKeyExists("text",r),s.ensureKeyExists("comment",r),s.ensureKeyExists("cdata",r),s.ensureKeyExists("doctype",r),s.ensureKeyExists("type",r),s.ensureKeyExists("name",r),s.ensureKeyExists("elements",r),s.ensureKeyExists("parent",r),s.checkFnExists("doctype",r),s.checkFnExists("instruction",r),s.checkFnExists("cdata",r),s.checkFnExists("comment",r),s.checkFnExists("text",r),s.checkFnExists("instructionName",r),s.checkFnExists("elementName",r),s.checkFnExists("attributeName",r),s.checkFnExists("attributeValue",r),s.checkFnExists("attributes",r),r}function h(e){var t=Number(e);if(!isNaN(t))return t;var n=e.toLowerCase();return"true"===n||"false"!==n&&e}function d(e,t){var n;if(r.compact){if(!i[r[e+"Key"]]&&(l(r.alwaysArray)?-1!==r.alwaysArray.indexOf(r[e+"Key"]):r.alwaysArray)&&(i[r[e+"Key"]]=[]),i[r[e+"Key"]]&&!l(i[r[e+"Key"]])&&(i[r[e+"Key"]]=[i[r[e+"Key"]]]),e+"Fn"in r&&"string"===typeof t&&(t=r[e+"Fn"](t,i)),"instruction"===e&&("instructionFn"in r||"instructionNameFn"in r))for(n in t)if(t.hasOwnProperty(n))if("instructionFn"in r)t[n]=r.instructionFn(t[n],n,i);else{var o=t[n];delete t[n],t[r.instructionNameFn(n,o,i)]=o}l(i[r[e+"Key"]])?i[r[e+"Key"]].push(t):i[r[e+"Key"]]=t}else{i[r.elementsKey]||(i[r.elementsKey]=[]);var a={};if(a[r.typeKey]=e,"instruction"===e){for(n in t)if(t.hasOwnProperty(n))break;a[r.nameKey]="instructionNameFn"in r?r.instructionNameFn(n,t,i):n,r.instructionHasAttributes?(a[r.attributesKey]=t[n][r.attributesKey],"instructionFn"in r&&(a[r.attributesKey]=r.instructionFn(a[r.attributesKey],n,i))):("instructionFn"in r&&(t[n]=r.instructionFn(t[n],n,i)),a[r.instructionKey]=t[n])}else e+"Fn"in r&&(t=r[e+"Fn"](t,i)),a[r[e+"Key"]]=t;r.addParent&&(a[r.parentKey]=i),i[r.elementsKey].push(a)}}function f(e){var t;if("attributesFn"in r&&e&&(e=r.attributesFn(e,i)),(r.trim||"attributeValueFn"in r||"attributeNameFn"in r||r.nativeTypeAttributes)&&e)for(t in e)if(e.hasOwnProperty(t)&&(r.trim&&(e[t]=e[t].trim()),r.nativeTypeAttributes&&(e[t]=h(e[t])),"attributeValueFn"in r&&(e[t]=r.attributeValueFn(e[t],t,i)),"attributeNameFn"in r)){var n=e[t];delete e[t],e[r.attributeNameFn(t,e[t],i)]=n}return e}function p(e){var t={};if(e.body&&("xml"===e.name.toLowerCase()||r.instructionHasAttributes)){var n,o=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;while(null!==(n=o.exec(e.body)))t[n[1]]=n[2]||n[3]||n[4];t=f(t)}if("xml"===e.name.toLowerCase()){if(r.ignoreDeclaration)return;i[r.declarationKey]={},Object.keys(t).length&&(i[r.declarationKey][r.attributesKey]=t),r.addParent&&(i[r.declarationKey][r.parentKey]=i)}else{if(r.ignoreInstruction)return;r.trim&&(e.body=e.body.trim());var a={};r.instructionHasAttributes&&Object.keys(t).length?(a[e.name]={},a[e.name][r.attributesKey]=t):a[e.name]=e.body,d("instruction",a)}}function m(e,t){var n;if("object"===typeof e&&(t=e.attributes,e=e.name),t=f(t),"elementNameFn"in r&&(e=r.elementNameFn(e,i)),r.compact){var o;if(n={},!r.ignoreAttributes&&t&&Object.keys(t).length)for(o in n[r.attributesKey]={},t)t.hasOwnProperty(o)&&(n[r.attributesKey][o]=t[o]);!(e in i)&&(l(r.alwaysArray)?-1!==r.alwaysArray.indexOf(e):r.alwaysArray)&&(i[e]=[]),i[e]&&!l(i[e])&&(i[e]=[i[e]]),l(i[e])?i[e].push(n):i[e]=n}else i[r.elementsKey]||(i[r.elementsKey]=[]),n={},n[r.typeKey]="element",n[r.nameKey]=e,!r.ignoreAttributes&&t&&Object.keys(t).length&&(n[r.attributesKey]=t),r.alwaysChildren&&(n[r.elementsKey]=[]),i[r.elementsKey].push(n);n[r.parentKey]=i,i=n}function g(e){r.ignoreText||(e.trim()||r.captureSpacesBetweenElements)&&(r.trim&&(e=e.trim()),r.nativeType&&(e=h(e)),r.sanitize&&(e=e.replace(/&/g,"&").replace(//g,">")),d("text",e))}function v(e){r.ignoreComment||(r.trim&&(e=e.trim()),d("comment",e))}function b(e){var t=i[r.parentKey];r.addParent||delete i[r.parentKey],i=t}function y(e){r.ignoreCdata||(r.trim&&(e=e.trim()),d("cdata",e))}function w(e){r.ignoreDoctype||(e=e.replace(/^ /,""),r.trim&&(e=e.trim()),d("doctype",e))}function x(e){e.note=e}e.exports=function(e,t){var n=c?o.parser(!0,{}):n=new a.Parser("UTF-8"),s={};if(i=s,r=u(t),c?(n.opt={strictEntities:!0},n.onopentag=m,n.ontext=g,n.oncomment=v,n.onclosetag=b,n.onerror=x,n.oncdata=y,n.ondoctype=w,n.onprocessinginstruction=p):(n.on("startElement",m),n.on("text",g),n.on("comment",v),n.on("endElement",b),n.on("error",x)),c)n.write(e).close();else if(!n.parse(e))throw new Error("XML parsing error: "+n.getError());if(s[r.elementsKey]){var l=s[r.elementsKey];delete s[r.elementsKey],s[r.elementsKey]=l,delete s.text}return s}},"10db1":function(e,t,n){"use strict";var r=n("8790");n.d(t,"PDFDocument",(function(){return r["a"]}));n("a935"),n("5d8f"),n("5d9a")},"12a6":function(e,t,n){e.exports=n.p+"img/ziyuan.svg"},"12b7":function(e,t,n){e.exports=n.p+"img/a-7-xinzang.svg"},"135f":function(e,t,n){e.exports=n.p+"img/avocado.jpg"},1397:function(e,t,n){e.exports=n.p+"img/neonLamp.jpg"},1474:function(e,t,n){e.exports=n.p+"img/classicGreen.jpg"},1485:function(e,t,n){e.exports=n.p+"img/pisa.svg"},"14bd":function(e,t,n){e.exports=n.p+"img/ziyuan_10.svg"},"14d4":function(e,t,n){e.exports=n.p+"img/tianqi.svg"},1560:function(e,t,n){e.exports=n.p+"img/blueSky.jpg"},"16e6":function(e,t,n){"use strict";e.exports=Error},1754:function(e,t,n){"use strict";n.d(t,"g",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return h})),n.d(t,"b",(function(){return b}));var r,i=n("31fc"),o=function(e,t){void 0===t&&(t=!0);var n=[];t&&n.push(65279);for(var r=0,o=e.length;r=0&&e<=65535},s=function(e){return e>=65536&&e<=1114111},l=function(e){return Math.floor((e-65536)/1024)+55296},c=function(e){return(e-65536)%1024+56320};(function(e){e["BigEndian"]="BigEndian",e["LittleEndian"]="LittleEndian"})(r||(r={}));var u="�".codePointAt(0),h=function(e,t){if(void 0===t&&(t=!0),e.length<=1)return String.fromCodePoint(u);var n=t?m(e):r.BigEndian,i=t?2:0,o=[];while(e.length-i>=2){var a=p(e[i++],e[i++],n);if(d(a))if(e.length-i<2)o.push(u);else{var s=p(e[i++],e[i++],n);f(s)?o.push(a,s):o.push(u)}else f(a)?(i+=2,o.push(u)):o.push(a)}return i=55296&&e<=56319},f=function(e){return e>=56320&&e<=57343},p=function(e,t,n){if(n===r.LittleEndian)return t<<8|e;if(n===r.BigEndian)return e<<8|t;throw new Error("Invalid byteOrder: "+n)},m=function(e){return g(e)?r.BigEndian:v(e)?r.LittleEndian:r.BigEndian},g=function(e){return 254===e[0]&&255===e[1]},v=function(e){return 255===e[0]&&254===e[1]},b=function(e){return g(e)||v(e)}},1787:function(e,t,n){"use strict";var r=n("861d");e.exports=function(e){return r(e)||null===e}},"17ed2":function(e,t,n){},"17f2":function(e,t,n){e.exports=n.p+"img/jisuanqi.svg"},1806:function(e,t,n){"use strict";var r={__proto__:null,foo:{}},i=Object;e.exports=function(){return{__proto__:r}.foo===r.foo&&!(r instanceof i)}},1986:function(e,t,n){"use strict";var r=n("3f29"),i=n("5aa1"),o=n("b38c")(),a=n("acc7"),s=n("bbd5"),l=r("%Math.floor%");e.exports=function(e,t){if("function"!==typeof e)throw new s("`fn` is not a function");if("number"!==typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&a){var u=a(e,"length");u&&!u.configurable&&(r=!1),u&&!u.writable&&(c=!1)}return(r||c||!n)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},"19bf":function(e,t,n){var r=n("5841"),i=n("0a21"),o={attributes:{compose:function(e,t,n){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var r=i(!0,{},t);for(var o in n||(r=Object.keys(r).reduce((function(e,t){return null!=r[t]&&(e[t]=r[t]),e}),{})),e)void 0!==e[o]&&void 0===t[o]&&(r[o]=e[o]);return Object.keys(r).length>0?r:void 0},diff:function(e,t){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,i){return r(e[i],t[i])||(n[i]=void 0===t[i]?null:t[i]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!==typeof e)return t;if("object"===typeof t){if(!n)return t;var r=Object.keys(t).reduce((function(n,r){return void 0===e[r]&&(n[r]=t[r]),n}),{});return Object.keys(r).length>0?r:void 0}}},iterator:function(e){return new a(e)},length:function(e){return"number"===typeof e["delete"]?e["delete"]:"number"===typeof e.retain?e.retain:"string"===typeof e.insert?e.insert.length:1}};function a(e){this.ops=e,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,r=o.length(t);if(e>=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,"number"===typeof t["delete"])return{delete:e};var i={};return t.attributes&&(i.attributes=t.attributes),"number"===typeof t.retain?i.retain=e:"string"===typeof t.insert?i.insert=t.insert.substr(n,e):i.insert=t.insert,i}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index]["delete"]?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}return[]},e.exports=o},"1a7d":function(e){e.exports=JSON.parse('"eJx9WFlv2zgQ/iuGnnYBt5DkS85bmk13g27SoEkPbNEHWqIlIhSpklSuov99R7JIkSLtFyGZjxzN8c0h/4oueF1jpqKz6Mt1K1GJZ4s4S+PZYrvdbqJ59J4zdYNqDAfuXuodp52spdSToZrQl6n0KyZl1Sm/xgVpa5BcKURJfs5KCgdj+F++J8+4uCUqr6IzJVo8jy4qJFCusLjD3d27BucE0cGYd+/4c3T2/U2SxfM36XYxT+JtDI8k/jGPPrMCC0oYvuWSKMJZdPYmiWMLuK9I/sCwlNHZCuRfsJD9sSiOk7dxnMFbbrgieefGBW9eROfA7I/8z1myzVbz7rnpn9vuCW/unpvZecF3eHb3IhWu5eyK5Vw0XCCFi7ezc0pnvRo5E1hi8QhCeM0lHCoIK+/yCvdR67zrfd2THPA7VfzzNTrbpv2fX+BPeH8fm2usBMnBg++/oq/forO08+QGNMgGgeG/5wfxYrE4iPFzTlFt5JtkkLeMPIL/EFoNreJBE2vrXReako3YcqvVEXCTKWJdzPS7Gizyjk/mZZvsAKC66d7FCgMtF4NC2eaVqpDyLW+QwIzi/TGoD6tvPQL7BJEPNVKVb39DW2mkJnY5FALyD9eEhU6DL4SPrqTaS0mRrHyDXrHgvpQz7AvVU+CkqgQOnN3zVgSkkFVfKslzQIgfMfPFOBxWRiyDjcs5p5wFIoFr4kImprQrP59WP1ubiVpcCgxlNLq5XC4PwM8Wy77EvSs5ZyU0EpuFaXqAzmlTjVlerzcH8TuskH/4oiLj0WQQ/oWpdXadJAfxZSOJ7exmPfD01lYSD8K/kU0288JLS7Mh+hW337dINCPA5MRX8QE1jXU8Wx/E/6J6V4zyLBtCdd36Km4Cso+QTOG4N6T5dvRusxxsu6/scK5Wgw2fKovZ20HxHSnrQDjv0WjEejvw7/MkxmMD6ZQkvnEfa1xayperg/ibZfN2kN1K4lvxHw4lZAfD6QErpy1lOt2QF4H3XATa8HDP7VnrVWY6SoNZQfKWokBRt90Ak7mt2GACwTVE8bNPE+Tw3VTIzkmQqRuLqsvtUGaFw3cTcjzJxSod3tjYSnQgS4fvpgyc8KaDZuLwXR8FtYlv8YPD9rHBuGxfbQYG1q1vL2v9+3zC9nF0EF+BqoLBFBbbjRfSYbsJprLYboxtpx1Fj23esXoMhqlx7rB9uR2OPxP/aCMDmX61/Vhm8cha7HA91bzbWUR1z0/m8tLUKSyJ1qWNHqeXrTUf16lb76Or6XIzTmWFA4mHyeLOkUS3+H23UpJQPAnbE0bUS2CSUi6IdWM13Mhpu/OlBUE1t/YbA1QYCeWLYVsrRh+SeDm0RCQEf9pxa3Xpds4RcpJhqNVDbXPkzqTpOJcK/mT1VO17gUtn57C3J3cpMlUucW77Px3hRwZ83VJFGvriJ6YRHJboLmnWPUNXWAC7FbQg+/0IrjUL4RMFBxhYkEdSBLxiXB0xD8TkEZorywPXoP0I/jxhXGzWKEoJUFgeiTvs3srq2eO9Hq2Aeq92S9eDIgeYwIeawKoVY+KyVOumuBmpY0r+CgrgQVn7ohl9n6aIoc4TJjB0lEDWvmaGa05ETrGfPRd3lm1jI64b9SKtBJlbhAFTgEhuqWoUvlhCFdwRBW613cNWqnGYyDAdj+OQfdnugpBWHUa14jAKbbN2tlDrfR6mXUT9p7F3peyGvHNBb0UCl933GHgmyN6Hc/0R6+KZxiG7Ba6ReJjg6RiAos0DpTRsHWNz1s284Mr58DI+UF52N8B7vyIGzP4+nGJcWLXiNMtiR0/0S0BPtExAj3ZNwE42zh11e6duTZS/YlZaK6DebfrkOsb4aURMnsqiA+viHpPowDrwsoX1y6moRTZ20cMXtmpOgFYf8sGd8kFrRw4ptuCQagu2lJvwmpXEUu2DNSlOoEf12vY4aXOZkG6WY8OC4hzrwHRcjVhWepjd4KdYKK7jrx5H89WjRxPWoycydlS3jZ/I2VS/G9yp9gB6PG1T1aY4YAp3LfPHPPqABbtFRHS/jf34/T82FAfb"')},"1b88":function(e,t,n){e.exports=n.p+"img/blackGold.jpg"},"1bc3":function(e,t,n){e.exports=n.p+"img/a-6-jiancebi.svg"},"1be2":function(e,t,n){"use strict";n("47cf")},"1c6b":function(e,t,n){e.exports=n.p+"img/naozhong.svg"},"1cd3":function(e,t,n){"use strict";var r=n("4a66");e.exports=function(){return"function"===typeof Object.is?Object.is:r}},"1cf0":function(e,t,n){"use strict";var r=n("ce8e"),i=n("5d66"),o=n("d7f0"),a=n("3213"),s=n("2307"),l=i(a());r(l,{getPolyfill:a,implementation:o,shim:s}),e.exports=l},"1d06":function(e,t,n){},"1d76":function(e,t,n){"use strict";var r=n("3f29"),i=n("5d66"),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&o(e,".prototype.")>-1?i(n):n}},"1e35":function(e,t,n){e.exports=n.p+"img/shouji.svg"},"1f76":function(e,t,n){e.exports=n.p+"img/freshGreen.jpg"},"1fa7":function(e,t,n){"use strict";var r="Function.prototype.bind called on incompatible ",i=Object.prototype.toString,o=Math.max,a="[object Function]",s=function(e,t){for(var n=[],r=0;r0)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 u(e){var t=c(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 d(e){var t,n,r=c(e),a=r[0],s=r[1],l=new o(h(e,a,s)),u=0,d=s>0?a-4:a;for(n=0;n>16&255,l[u++]=t>>8&255,l[u++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[u++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t),l}function f(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;ol?l:s+a));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},2:function(e,t){},"202b":function(e,t,n){"use strict";e.exports=SyntaxError},"21cd":function(e,t,n){e.exports=n.p+"img/qixi.svg"},"222a":function(e,t,n){e.exports=n.p+"img/hangli.svg"},2232:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return O})),n.d(t,"a",(function(){return I}));for(var r=n("77f5"),i=n.n(r),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(256),s=0;s>4,u[c++]=(15&r)<<4|i>>2,u[c++]=(3&i)<<6|63&o;return u},u=function(e){for(var t="",n=0;n"},t.prototype.sizeInBytes=function(){return this.value.length+2},t.prototype.copyBytesInto=function(e,t){return e[t++]=o["a"].LessThan,t+=Object(a["w"])(this.value,e,t),e[t++]=o["a"].GreaterThan,this.value.length+2},t.of=function(e){return new t(e)},t.fromText=function(e){for(var n=Object(a["Z"])(e),r="",i=0,o=n.length;i]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,h,d){var f=n+e.length,p=r.length,m=u;return void 0!==h&&(h=i(h),m=c),s(d,m,(function(i,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,f);case"<":c=h[l(s,1,-1)];break;default:var u=+s;if(0===u)return i;if(u>p){var d=o(u/10);return 0===d?i:d<=p?void 0===r[d-1]?a(s,1):r[d-1]+a(s,1):i}c=r[u-1]}return void 0===c?"":c}))}},"0cfe":function(e,t,n){e.exports=n.p+"img/timeline.png"},"0d26":function(e,t,n){"use strict";var r=n("e330"),i=Error,o=r("".replace),a=function(e){return String(new i(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)while(t--)e=o(e,s,"");return e}},"0d42":function(e,t,n){e.exports=n.p+"img/dark.jpg"},"0dc4":function(e,t,n){"use strict";var r=n("3f29"),i=r("%Object.defineProperty%",!0)||!1;if(i)try{i({},"a",{value:1})}catch(o){i=!1}e.exports=i},"0e25":function(e,t,n){e.exports=n.p+"img/a-13-xiguan.svg"},"0e50":function(e,t,n){e.exports=n.p+"img/ziyuan_2.svg"},"0e5f":function(e,t,n){e.exports=n.p+"img/a-9-tizhongcheng.svg"},"0ea4":function(e,t,n){"use strict";n("6a23")},"0fb2":function(e,t,n){"use strict";var r=Date.prototype.getDay,i=function(e){try{return r.call(e),!0}catch(t){return!1}},o=Object.prototype.toString,a="[object Date]",s=n("9803")();e.exports=function(e){return"object"===typeof e&&null!==e&&(s?i(e):o.call(e)===a)}},"0fb5":function(e,t,n){e.exports=n.p+"img/muqinjie.svg"},1:function(e,t){},"103a":function(e,t,n){e.exports=n.p+"img/paishe.svg"},"10ad":function(e,t,n){var r,i,o=n("a83d"),a={on:function(){},parse:function(){}},s=n("09d9"),l=n("9a1c").isArray,c=!0;function u(e){return r=s.copyOptions(e),s.ensureFlagExists("ignoreDeclaration",r),s.ensureFlagExists("ignoreInstruction",r),s.ensureFlagExists("ignoreAttributes",r),s.ensureFlagExists("ignoreText",r),s.ensureFlagExists("ignoreComment",r),s.ensureFlagExists("ignoreCdata",r),s.ensureFlagExists("ignoreDoctype",r),s.ensureFlagExists("compact",r),s.ensureFlagExists("alwaysChildren",r),s.ensureFlagExists("addParent",r),s.ensureFlagExists("trim",r),s.ensureFlagExists("nativeType",r),s.ensureFlagExists("nativeTypeAttributes",r),s.ensureFlagExists("sanitize",r),s.ensureFlagExists("instructionHasAttributes",r),s.ensureFlagExists("captureSpacesBetweenElements",r),s.ensureAlwaysArrayExists(r),s.ensureKeyExists("declaration",r),s.ensureKeyExists("instruction",r),s.ensureKeyExists("attributes",r),s.ensureKeyExists("text",r),s.ensureKeyExists("comment",r),s.ensureKeyExists("cdata",r),s.ensureKeyExists("doctype",r),s.ensureKeyExists("type",r),s.ensureKeyExists("name",r),s.ensureKeyExists("elements",r),s.ensureKeyExists("parent",r),s.checkFnExists("doctype",r),s.checkFnExists("instruction",r),s.checkFnExists("cdata",r),s.checkFnExists("comment",r),s.checkFnExists("text",r),s.checkFnExists("instructionName",r),s.checkFnExists("elementName",r),s.checkFnExists("attributeName",r),s.checkFnExists("attributeValue",r),s.checkFnExists("attributes",r),r}function h(e){var t=Number(e);if(!isNaN(t))return t;var n=e.toLowerCase();return"true"===n||"false"!==n&&e}function d(e,t){var n;if(r.compact){if(!i[r[e+"Key"]]&&(l(r.alwaysArray)?-1!==r.alwaysArray.indexOf(r[e+"Key"]):r.alwaysArray)&&(i[r[e+"Key"]]=[]),i[r[e+"Key"]]&&!l(i[r[e+"Key"]])&&(i[r[e+"Key"]]=[i[r[e+"Key"]]]),e+"Fn"in r&&"string"===typeof t&&(t=r[e+"Fn"](t,i)),"instruction"===e&&("instructionFn"in r||"instructionNameFn"in r))for(n in t)if(t.hasOwnProperty(n))if("instructionFn"in r)t[n]=r.instructionFn(t[n],n,i);else{var o=t[n];delete t[n],t[r.instructionNameFn(n,o,i)]=o}l(i[r[e+"Key"]])?i[r[e+"Key"]].push(t):i[r[e+"Key"]]=t}else{i[r.elementsKey]||(i[r.elementsKey]=[]);var a={};if(a[r.typeKey]=e,"instruction"===e){for(n in t)if(t.hasOwnProperty(n))break;a[r.nameKey]="instructionNameFn"in r?r.instructionNameFn(n,t,i):n,r.instructionHasAttributes?(a[r.attributesKey]=t[n][r.attributesKey],"instructionFn"in r&&(a[r.attributesKey]=r.instructionFn(a[r.attributesKey],n,i))):("instructionFn"in r&&(t[n]=r.instructionFn(t[n],n,i)),a[r.instructionKey]=t[n])}else e+"Fn"in r&&(t=r[e+"Fn"](t,i)),a[r[e+"Key"]]=t;r.addParent&&(a[r.parentKey]=i),i[r.elementsKey].push(a)}}function f(e){var t;if("attributesFn"in r&&e&&(e=r.attributesFn(e,i)),(r.trim||"attributeValueFn"in r||"attributeNameFn"in r||r.nativeTypeAttributes)&&e)for(t in e)if(e.hasOwnProperty(t)&&(r.trim&&(e[t]=e[t].trim()),r.nativeTypeAttributes&&(e[t]=h(e[t])),"attributeValueFn"in r&&(e[t]=r.attributeValueFn(e[t],t,i)),"attributeNameFn"in r)){var n=e[t];delete e[t],e[r.attributeNameFn(t,e[t],i)]=n}return e}function p(e){var t={};if(e.body&&("xml"===e.name.toLowerCase()||r.instructionHasAttributes)){var n,o=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;while(null!==(n=o.exec(e.body)))t[n[1]]=n[2]||n[3]||n[4];t=f(t)}if("xml"===e.name.toLowerCase()){if(r.ignoreDeclaration)return;i[r.declarationKey]={},Object.keys(t).length&&(i[r.declarationKey][r.attributesKey]=t),r.addParent&&(i[r.declarationKey][r.parentKey]=i)}else{if(r.ignoreInstruction)return;r.trim&&(e.body=e.body.trim());var a={};r.instructionHasAttributes&&Object.keys(t).length?(a[e.name]={},a[e.name][r.attributesKey]=t):a[e.name]=e.body,d("instruction",a)}}function m(e,t){var n;if("object"===typeof e&&(t=e.attributes,e=e.name),t=f(t),"elementNameFn"in r&&(e=r.elementNameFn(e,i)),r.compact){var o;if(n={},!r.ignoreAttributes&&t&&Object.keys(t).length)for(o in n[r.attributesKey]={},t)t.hasOwnProperty(o)&&(n[r.attributesKey][o]=t[o]);!(e in i)&&(l(r.alwaysArray)?-1!==r.alwaysArray.indexOf(e):r.alwaysArray)&&(i[e]=[]),i[e]&&!l(i[e])&&(i[e]=[i[e]]),l(i[e])?i[e].push(n):i[e]=n}else i[r.elementsKey]||(i[r.elementsKey]=[]),n={},n[r.typeKey]="element",n[r.nameKey]=e,!r.ignoreAttributes&&t&&Object.keys(t).length&&(n[r.attributesKey]=t),r.alwaysChildren&&(n[r.elementsKey]=[]),i[r.elementsKey].push(n);n[r.parentKey]=i,i=n}function g(e){r.ignoreText||(e.trim()||r.captureSpacesBetweenElements)&&(r.trim&&(e=e.trim()),r.nativeType&&(e=h(e)),r.sanitize&&(e=e.replace(/&/g,"&").replace(//g,">")),d("text",e))}function v(e){r.ignoreComment||(r.trim&&(e=e.trim()),d("comment",e))}function b(e){var t=i[r.parentKey];r.addParent||delete i[r.parentKey],i=t}function y(e){r.ignoreCdata||(r.trim&&(e=e.trim()),d("cdata",e))}function w(e){r.ignoreDoctype||(e=e.replace(/^ /,""),r.trim&&(e=e.trim()),d("doctype",e))}function x(e){e.note=e}e.exports=function(e,t){var n=c?o.parser(!0,{}):n=new a.Parser("UTF-8"),s={};if(i=s,r=u(t),c?(n.opt={strictEntities:!0},n.onopentag=m,n.ontext=g,n.oncomment=v,n.onclosetag=b,n.onerror=x,n.oncdata=y,n.ondoctype=w,n.onprocessinginstruction=p):(n.on("startElement",m),n.on("text",g),n.on("comment",v),n.on("endElement",b),n.on("error",x)),c)n.write(e).close();else if(!n.parse(e))throw new Error("XML parsing error: "+n.getError());if(s[r.elementsKey]){var l=s[r.elementsKey];delete s[r.elementsKey],s[r.elementsKey]=l,delete s.text}return s}},"10db1":function(e,t,n){"use strict";var r=n("8790");n.d(t,"PDFDocument",(function(){return r["a"]}));n("a935"),n("5d8f"),n("5d9a")},"12a6":function(e,t,n){e.exports=n.p+"img/ziyuan.svg"},"12b7":function(e,t,n){e.exports=n.p+"img/a-7-xinzang.svg"},"135f":function(e,t,n){e.exports=n.p+"img/avocado.jpg"},1397:function(e,t,n){e.exports=n.p+"img/neonLamp.jpg"},1474:function(e,t,n){e.exports=n.p+"img/classicGreen.jpg"},1485:function(e,t,n){e.exports=n.p+"img/pisa.svg"},"14bd":function(e,t,n){e.exports=n.p+"img/ziyuan_10.svg"},"14d4":function(e,t,n){e.exports=n.p+"img/tianqi.svg"},1560:function(e,t,n){e.exports=n.p+"img/blueSky.jpg"},"16e6":function(e,t,n){"use strict";e.exports=Error},1754:function(e,t,n){"use strict";n.d(t,"g",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return h})),n.d(t,"b",(function(){return b}));var r,i=n("31fc"),o=function(e,t){void 0===t&&(t=!0);var n=[];t&&n.push(65279);for(var r=0,o=e.length;r=0&&e<=65535},s=function(e){return e>=65536&&e<=1114111},l=function(e){return Math.floor((e-65536)/1024)+55296},c=function(e){return(e-65536)%1024+56320};(function(e){e["BigEndian"]="BigEndian",e["LittleEndian"]="LittleEndian"})(r||(r={}));var u="�".codePointAt(0),h=function(e,t){if(void 0===t&&(t=!0),e.length<=1)return String.fromCodePoint(u);var n=t?m(e):r.BigEndian,i=t?2:0,o=[];while(e.length-i>=2){var a=p(e[i++],e[i++],n);if(d(a))if(e.length-i<2)o.push(u);else{var s=p(e[i++],e[i++],n);f(s)?o.push(a,s):o.push(u)}else f(a)?(i+=2,o.push(u)):o.push(a)}return i=55296&&e<=56319},f=function(e){return e>=56320&&e<=57343},p=function(e,t,n){if(n===r.LittleEndian)return t<<8|e;if(n===r.BigEndian)return e<<8|t;throw new Error("Invalid byteOrder: "+n)},m=function(e){return g(e)?r.BigEndian:v(e)?r.LittleEndian:r.BigEndian},g=function(e){return 254===e[0]&&255===e[1]},v=function(e){return 255===e[0]&&254===e[1]},b=function(e){return g(e)||v(e)}},1787:function(e,t,n){"use strict";var r=n("861d");e.exports=function(e){return r(e)||null===e}},"17ed2":function(e,t,n){},"17f2":function(e,t,n){e.exports=n.p+"img/jisuanqi.svg"},1806:function(e,t,n){"use strict";var r={__proto__:null,foo:{}},i=Object;e.exports=function(){return{__proto__:r}.foo===r.foo&&!(r instanceof i)}},1986:function(e,t,n){"use strict";var r=n("3f29"),i=n("5aa1"),o=n("b38c")(),a=n("acc7"),s=n("bbd5"),l=r("%Math.floor%");e.exports=function(e,t){if("function"!==typeof e)throw new s("`fn` is not a function");if("number"!==typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&a){var u=a(e,"length");u&&!u.configurable&&(r=!1),u&&!u.writable&&(c=!1)}return(r||c||!n)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},"19bf":function(e,t,n){var r=n("5841"),i=n("0a21"),o={attributes:{compose:function(e,t,n){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var r=i(!0,{},t);for(var o in n||(r=Object.keys(r).reduce((function(e,t){return null!=r[t]&&(e[t]=r[t]),e}),{})),e)void 0!==e[o]&&void 0===t[o]&&(r[o]=e[o]);return Object.keys(r).length>0?r:void 0},diff:function(e,t){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,i){return r(e[i],t[i])||(n[i]=void 0===t[i]?null:t[i]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!==typeof e)return t;if("object"===typeof t){if(!n)return t;var r=Object.keys(t).reduce((function(n,r){return void 0===e[r]&&(n[r]=t[r]),n}),{});return Object.keys(r).length>0?r:void 0}}},iterator:function(e){return new a(e)},length:function(e){return"number"===typeof e["delete"]?e["delete"]:"number"===typeof e.retain?e.retain:"string"===typeof e.insert?e.insert.length:1}};function a(e){this.ops=e,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,r=o.length(t);if(e>=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,"number"===typeof t["delete"])return{delete:e};var i={};return t.attributes&&(i.attributes=t.attributes),"number"===typeof t.retain?i.retain=e:"string"===typeof t.insert?i.insert=t.insert.substr(n,e):i.insert=t.insert,i}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index]["delete"]?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}return[]},e.exports=o},"1a7d":function(e){e.exports=JSON.parse('"eJx9WFlv2zgQ/iuGnnYBt5DkS85bmk13g27SoEkPbNEHWqIlIhSpklSuov99R7JIkSLtFyGZjxzN8c0h/4oueF1jpqKz6Mt1K1GJZ4s4S+PZYrvdbqJ59J4zdYNqDAfuXuodp52spdSToZrQl6n0KyZl1Sm/xgVpa5BcKURJfs5KCgdj+F++J8+4uCUqr6IzJVo8jy4qJFCusLjD3d27BucE0cGYd+/4c3T2/U2SxfM36XYxT+JtDI8k/jGPPrMCC0oYvuWSKMJZdPYmiWMLuK9I/sCwlNHZCuRfsJD9sSiOk7dxnMFbbrgieefGBW9eROfA7I/8z1myzVbz7rnpn9vuCW/unpvZecF3eHb3IhWu5eyK5Vw0XCCFi7ezc0pnvRo5E1hi8QhCeM0lHCoIK+/yCvdR67zrfd2THPA7VfzzNTrbpv2fX+BPeH8fm2usBMnBg++/oq/forO08+QGNMgGgeG/5wfxYrE4iPFzTlFt5JtkkLeMPIL/EFoNreJBE2vrXReako3YcqvVEXCTKWJdzPS7Gizyjk/mZZvsAKC66d7FCgMtF4NC2eaVqpDyLW+QwIzi/TGoD6tvPQL7BJEPNVKVb39DW2mkJnY5FALyD9eEhU6DL4SPrqTaS0mRrHyDXrHgvpQz7AvVU+CkqgQOnN3zVgSkkFVfKslzQIgfMfPFOBxWRiyDjcs5p5wFIoFr4kImprQrP59WP1ubiVpcCgxlNLq5XC4PwM8Wy77EvSs5ZyU0EpuFaXqAzmlTjVlerzcH8TuskH/4oiLj0WQQ/oWpdXadJAfxZSOJ7exmPfD01lYSD8K/kU0288JLS7Mh+hW337dINCPA5MRX8QE1jXU8Wx/E/6J6V4zyLBtCdd36Km4Cso+QTOG4N6T5dvRusxxsu6/scK5Wgw2fKovZ20HxHSnrQDjv0WjEejvw7/MkxmMD6ZQkvnEfa1xayperg/ibZfN2kN1K4lvxHw4lZAfD6QErpy1lOt2QF4H3XATa8HDP7VnrVWY6SoNZQfKWokBRt90Ak7mt2GACwTVE8bNPE+Tw3VTIzkmQqRuLqsvtUGaFw3cTcjzJxSod3tjYSnQgS4fvpgyc8KaDZuLwXR8FtYlv8YPD9rHBuGxfbQYG1q1vL2v9+3zC9nF0EF+BqoLBFBbbjRfSYbsJprLYboxtpx1Fj23esXoMhqlx7rB9uR2OPxP/aCMDmX61/Vhm8cha7HA91bzbWUR1z0/m8tLUKSyJ1qWNHqeXrTUf16lb76Or6XIzTmWFA4mHyeLOkUS3+H23UpJQPAnbE0bUS2CSUi6IdWM13Mhpu/OlBUE1t/YbA1QYCeWLYVsrRh+SeDm0RCQEf9pxa3Xpds4RcpJhqNVDbXPkzqTpOJcK/mT1VO17gUtn57C3J3cpMlUucW77Px3hRwZ83VJFGvriJ6YRHJboLmnWPUNXWAC7FbQg+/0IrjUL4RMFBxhYkEdSBLxiXB0xD8TkEZorywPXoP0I/jxhXGzWKEoJUFgeiTvs3srq2eO9Hq2Aeq92S9eDIgeYwIeawKoVY+KyVOumuBmpY0r+CgrgQVn7ohl9n6aIoc4TJjB0lEDWvmaGa05ETrGfPRd3lm1jI64b9SKtBJlbhAFTgEhuqWoUvlhCFdwRBW613cNWqnGYyDAdj+OQfdnugpBWHUa14jAKbbN2tlDrfR6mXUT9p7F3peyGvHNBb0UCl933GHgmyN6Hc/0R6+KZxiG7Ba6ReJjg6RiAos0DpTRsHWNz1s284Mr58DI+UF52N8B7vyIGzP4+nGJcWLXiNMtiR0/0S0BPtExAj3ZNwE42zh11e6duTZS/YlZaK6DebfrkOsb4aURMnsqiA+viHpPowDrwsoX1y6moRTZ20cMXtmpOgFYf8sGd8kFrRw4ptuCQagu2lJvwmpXEUu2DNSlOoEf12vY4aXOZkG6WY8OC4hzrwHRcjVhWepjd4KdYKK7jrx5H89WjRxPWoycydlS3jZ/I2VS/G9yp9gB6PG1T1aY4YAp3LfPHPPqABbtFRHS/jf34/T82FAfb"')},"1b88":function(e,t,n){e.exports=n.p+"img/blackGold.jpg"},"1bc3":function(e,t,n){e.exports=n.p+"img/a-6-jiancebi.svg"},"1be2":function(e,t,n){"use strict";n("47cf")},"1c6b":function(e,t,n){e.exports=n.p+"img/naozhong.svg"},"1cd3":function(e,t,n){"use strict";var r=n("4a66");e.exports=function(){return"function"===typeof Object.is?Object.is:r}},"1cf0":function(e,t,n){"use strict";var r=n("ce8e"),i=n("5d66"),o=n("d7f0"),a=n("3213"),s=n("2307"),l=i(a());r(l,{getPolyfill:a,implementation:o,shim:s}),e.exports=l},"1d06":function(e,t,n){},"1d76":function(e,t,n){"use strict";var r=n("3f29"),i=n("5d66"),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&o(e,".prototype.")>-1?i(n):n}},"1e35":function(e,t,n){e.exports=n.p+"img/shouji.svg"},"1f76":function(e,t,n){e.exports=n.p+"img/freshGreen.jpg"},"1fa7":function(e,t,n){"use strict";var r="Function.prototype.bind called on incompatible ",i=Object.prototype.toString,o=Math.max,a="[object Function]",s=function(e,t){for(var n=[],r=0;r0)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 u(e){var t=c(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 d(e){var t,n,r=c(e),a=r[0],s=r[1],l=new o(h(e,a,s)),u=0,d=s>0?a-4:a;for(n=0;n>16&255,l[u++]=t>>8&255,l[u++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[u++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t),l}function f(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;ol?l:s+a));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},2:function(e,t){},"202b":function(e,t,n){"use strict";e.exports=SyntaxError},"21cd":function(e,t,n){e.exports=n.p+"img/qixi.svg"},"222a":function(e,t,n){e.exports=n.p+"img/hangli.svg"},2232:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return O})),n.d(t,"a",(function(){return I}));for(var r=n("77f5"),i=n.n(r),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(256),s=0;s>4,u[c++]=(15&r)<<4|i>>2,u[c++]=(3&i)<<6|63&o;return u},u=function(e){for(var t="",n=0;n"},t.prototype.sizeInBytes=function(){return this.value.length+2},t.prototype.copyBytesInto=function(e,t){return e[t++]=o["a"].LessThan,t+=Object(a["w"])(this.value,e,t),e[t++]=o["a"].GreaterThan,this.value.length+2},t.of=function(e){return new t(e)},t.fromText=function(e){for(var n=Object(a["Z"])(e),r="",i=0,o=n.length;i>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n)+(e.charCodeAt(2*n+1)<<8));return t.join("")}function m(e){for(var t=[],n=0;n>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join("")}var g,v=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return 255==t&&254==n?p(e.slice(2)):254==t&&255==n?m(e.slice(2)):65279==t?e.slice(1):e},b=function(e){return String.fromCharCode(e)},y=function(e){return String.fromCharCode(e)};var w=null,x=!0,k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function C(e){for(var t="",n=0,r=0,i=0,o=0,a=0,s=0,l=0,c=0;c>2,r=e.charCodeAt(c++),a=(3&n)<<4|r>>4,i=e.charCodeAt(c++),s=(15&r)<<2|i>>6,l=63&i,isNaN(r)?s=l=64:isNaN(i)&&(l=64),t+=k.charAt(o)+k.charAt(a)+k.charAt(s)+k.charAt(l);return t}function A(e){var t="",n=0,r=0,i=0,o=0,a=0,s=0,l=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var c=0;c>4,t+=String.fromCharCode(n),s=k.indexOf(e.charAt(c++)),r=(15&a)<<4|s>>2,64!==s&&(t+=String.fromCharCode(r)),l=k.indexOf(e.charAt(c++)),i=(3&s)<<6|l,64!==l&&(t+=String.fromCharCode(i));return t}var T=function(){return"undefined"!==typeof e&&"undefined"!==typeof r&&"undefined"!==typeof r.versions&&!!r.versions.node}(),S=function(){if("undefined"!==typeof e){var t=!e.from;if(!t)try{e.from("foo","utf8")}catch(n){t=!0}return t?function(t,n){return n?new e(t,n):new e(t)}:e.from.bind(e)}return function(){}}();function E(t){return T?e.alloc?e.alloc(t):new e(t):"undefined"!=typeof Uint8Array?new Uint8Array(t):new Array(t)}function M(t){return T?e.allocUnsafe?e.allocUnsafe(t):new e(t):"undefined"!=typeof Uint8Array?new Uint8Array(t):new Array(t)}var O=function(e){return T?S(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function N(e){if(Array.isArray(e))return e.map((function(e){return String.fromCharCode(e)})).join("");for(var t=[],n=0;n>6&31,i[n++]=128|63&a;else if(a>=55296&&a<57344){a=64+(1023&a);var s=1023&e.charCodeAt(++o);i[n++]=240|a>>8&7,i[n++]=128|a>>2&63,i[n++]=128|s>>6&15|(3&a)<<4,i[n++]=128|63&s}else i[n++]=224|a>>12&15,i[n++]=128|a>>6&63,i[n++]=128|63&a;n>r&&(t.push(i.slice(0,n)),n=0,i=E(65535),r=65530)}return t.push(i.slice(0,n)),D(t)}var I=/\u0000/g,R=/[\u0001-\u0006]/g;function F(e){var t="",n=e.length-1;while(n>=0)t+=e.charAt(n--);return t}function z(e,t){var n=""+e;return n.length>=t?n:ft("0",t-n.length)+n}function B(e,t){var n=""+e;return n.length>=t?n:ft(" ",t-n.length)+n}function j(e,t){var n=""+e;return n.length>=t?n:n+ft(" ",t-n.length)}function H(e,t){var n=""+Math.round(e);return n.length>=t?n:ft("0",t-n.length)+n}function U(e,t){var n=""+e;return n.length>=t?n:ft("0",t-n.length)+n}var q=Math.pow(2,32);function W(e,t){if(e>q||e<-q)return H(e,t);var n=Math.round(e);return U(n,t)}function G(e,t){return t=t||0,e.length>=7+t&&103===(32|e.charCodeAt(t))&&101===(32|e.charCodeAt(t+1))&&110===(32|e.charCodeAt(t+2))&&101===(32|e.charCodeAt(t+3))&&114===(32|e.charCodeAt(t+4))&&97===(32|e.charCodeAt(t+5))&&108===(32|e.charCodeAt(t+6))}var V=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],Y=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function K(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}var Z={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},X={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},J={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function Q(e,t,n){var r=e<0?-1:1,i=e*r,o=0,a=1,s=0,l=1,c=0,u=0,h=Math.floor(i);while(ct&&(c>t?(u=l,s=o):(u=c,s=a)),!n)return[0,r*s,u];var d=Math.floor(r*s/u);return[d,r*s-d*u,u]}function _(e,t,n){if(e>2958465||e<0)return null;var r=0|e,i=Math.floor(86400*(e-r)),o=0,a=[],s={D:r,T:i,u:86400*(e-r)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(r+=1462),s.u>.9999&&(s.u=0,86400==++i&&(s.T=i=0,++r,++s.D)),60===r)a=n?[1317,10,29]:[1900,2,29],o=3;else if(0===r)a=n?[1317,8,29]:[1900,1,0],o=6;else{r>60&&--r;var l=new Date(1900,0,1);l.setDate(l.getDate()+r-1),a=[l.getFullYear(),l.getMonth()+1,l.getDate()],o=l.getDay(),r<60&&(o=(o+6)%7),n&&(o=ue(l,a))}return s.y=a[0],s.m=a[1],s.d=a[2],s.S=i%60,i=Math.floor(i/60),s.M=i%60,i=Math.floor(i/60),s.H=i,s.q=o,s}var ee=new Date(1899,11,31,0,0,0),te=ee.getTime(),ne=new Date(1900,2,1,0,0,0);function re(e,t){var n=e.getTime();return t?n-=1262304e5:e>=ne&&(n+=864e5),(n-(te+6e4*(e.getTimezoneOffset()-ee.getTimezoneOffset())))/864e5}function ie(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function oe(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function ae(e){var t=e<0?12:11,n=ie(e.toFixed(12));return n.length<=t?n:(n=e.toPrecision(10),n.length<=t?n:e.toExponential(5))}function se(e){var t=ie(e.toFixed(11));return t.length>(e<0?12:11)||"0"===t||"-0"===t?e.toPrecision(6):t}function le(e){var t,n=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return t=n>=-4&&n<=-1?e.toPrecision(10+n):Math.abs(n)<=9?ae(e):10===n?e.toFixed(10).substr(0,12):se(e),ie(oe(t.toUpperCase()))}function ce(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):le(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return Ue(14,re(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function ue(e,t){t[0]-=581;var n=e.getDay();return e<60&&(n=(n+6)%7),n}function he(e,t,n,r){var i,o="",a=0,s=0,l=n.y,c=0;switch(e){case 98:l=n.y+543;case 121:switch(t.length){case 1:case 2:i=l%100,c=2;break;default:i=l%1e4,c=4;break}break;case 109:switch(t.length){case 1:case 2:i=n.m,c=t.length;break;case 3:return Y[n.m-1][1];case 5:return Y[n.m-1][0];default:return Y[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:i=n.d,c=t.length;break;case 3:return V[n.q][0];default:return V[n.q][1]}break;case 104:switch(t.length){case 1:case 2:i=1+(n.H+11)%12,c=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:i=n.H,c=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:i=n.M,c=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==n.u||"s"!=t&&"ss"!=t?(s=r>=2?3===r?1e3:100:1===r?10:1,a=Math.round(s*(n.S+n.u)),a>=60*s&&(a=0),"s"===t?0===a?"0":""+a/s:(o=z(a,2+r),"ss"===t?o.substr(0,2):"."+o.substr(2,t.length-1))):z(n.S,t.length);case 90:switch(t){case"[h]":case"[hh]":i=24*n.D+n.H;break;case"[m]":case"[mm]":i=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":i=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+t}c=3===t.length?1:2;break;case 101:i=l,c=1;break}var u=c>0?z(i,c):"";return u}function de(e){var t=3;if(e.length<=t)return e;for(var n=e.length%t,r=e.substr(0,n);n!=e.length;n+=t)r+=(r.length>0?",":"")+e.substr(n,t);return r}var fe=/%/g;function pe(e,t,n){var r=t.replace(fe,""),i=t.length-r.length;return Pe(e,r,n*Math.pow(10,2*i))+ft("%",i)}function me(e,t,n){var r=t.length-1;while(44===t.charCodeAt(r-1))--r;return Pe(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}function ge(e,t){var n,r=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+ge(e,-t);var i=e.indexOf(".");-1===i&&(i=e.indexOf("E"));var o=Math.floor(Math.log(t)*Math.LOG10E)%i;if(o<0&&(o+=i),n=(t/Math.pow(10,o)).toPrecision(r+1+(i+o)%i),-1===n.indexOf("e")){var a=Math.floor(Math.log(t)*Math.LOG10E);-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(a-n.length+o):n+="E+"+(a-o);while("0."===n.substr(0,2))n=n.charAt(0)+n.substr(2,i)+"."+n.substr(2+i),n=n.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,r){return t+n+r.substr(0,(i+o)%i)+"."+r.substr(o)+"E"}))}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}var ve=/# (\?+)( ?)\/( ?)(\d+)/;function be(e,t,n){var r=parseInt(e[4],10),i=Math.round(t*r),o=Math.floor(i/r),a=i-o*r,s=r;return n+(0===o?"":""+o)+" "+(0===a?ft(" ",e[1].length+1+e[4].length):B(a,e[1].length)+e[2]+"/"+e[3]+z(s,e[4].length))}function ye(e,t,n){return n+(0===t?"":""+t)+ft(" ",e[1].length+2+e[4].length)}var we=/^#*0*\.([0#]+)/,xe=/\).*[0#]/,ke=/\(###\) ###\\?-####/;function Ce(e){for(var t,n="",r=0;r!=e.length;++r)switch(t=e.charCodeAt(r)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(t)}return n}function Ae(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function Te(e,t){var n=e-Math.floor(e),r=Math.pow(10,t);return t<(""+Math.round(n*r)).length?0:Math.round(n*r)}function Se(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function Ee(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}function Me(e,t,n){if(40===e.charCodeAt(0)&&!t.match(xe)){var r=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?Me("n",r,n):"("+Me("n",r,-n)+")"}if(44===t.charCodeAt(t.length-1))return me(e,t,n);if(-1!==t.indexOf("%"))return pe(e,t,n);if(-1!==t.indexOf("E"))return ge(t,n);if(36===t.charCodeAt(0))return"$"+Me(e,t.substr(" "==t.charAt(1)?2:1),n);var i,o,a,s,l=Math.abs(n),c=n<0?"-":"";if(t.match(/^00+$/))return c+W(l,t.length);if(t.match(/^[#?]+$/))return i=W(n,0),"0"===i&&(i=""),i.length>t.length?i:Ce(t.substr(0,t.length-i.length))+i;if(o=t.match(ve))return be(o,l,c);if(t.match(/^#+0+$/))return c+W(l,t.length-t.indexOf("0"));if(o=t.match(we))return i=Ae(n,o[1].length).replace(/^([^\.]+)$/,"$1."+Ce(o[1])).replace(/\.$/,"."+Ce(o[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+ft("0",Ce(o[1]).length-t.length)})),-1!==t.indexOf("0.")?i:i.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),o=t.match(/^(0*)\.(#*)$/))return c+Ae(l,o[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=t.match(/^#{1,3},##0(\.?)$/))return c+de(W(l,0));if(o=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+Me(e,t,-n):de(""+(Math.floor(n)+Se(n,o[1].length)))+"."+z(Te(n,o[1].length),o[1].length);if(o=t.match(/^#,#*,#0/))return Me(e,t.replace(/^#,#*,/,""),n);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=F(Me(e,t.replace(/[\\-]/g,""),n)),a=0,F(F(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return a=0?De("n",r,n):"("+De("n",r,-n)+")"}if(44===t.charCodeAt(t.length-1))return Oe(e,t,n);if(-1!==t.indexOf("%"))return Ne(e,t,n);if(-1!==t.indexOf("E"))return Le(t,n);if(36===t.charCodeAt(0))return"$"+De(e,t.substr(" "==t.charAt(1)?2:1),n);var i,o,a,s,l=Math.abs(n),c=n<0?"-":"";if(t.match(/^00+$/))return c+z(l,t.length);if(t.match(/^[#?]+$/))return i=""+n,0===n&&(i=""),i.length>t.length?i:Ce(t.substr(0,t.length-i.length))+i;if(o=t.match(ve))return ye(o,l,c);if(t.match(/^#+0+$/))return c+z(l,t.length-t.indexOf("0"));if(o=t.match(we))return i=(""+n).replace(/^([^\.]+)$/,"$1."+Ce(o[1])).replace(/\.$/,"."+Ce(o[1])),i=i.replace(/\.(\d*)$/,(function(e,t){return"."+t+ft("0",Ce(o[1]).length-t.length)})),-1!==t.indexOf("0.")?i:i.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),o=t.match(/^(0*)\.(#*)$/))return c+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=t.match(/^#{1,3},##0(\.?)$/))return c+de(""+l);if(o=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+De(e,t,-n):de(""+n)+"."+ft("0",o[1].length);if(o=t.match(/^#,#*,#0/))return De(e,t.replace(/^#,#*,/,""),n);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=F(De(e,t.replace(/[\\-]/g,""),n)),a=0,F(F(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return a-1||"\\"==n&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1));break;case"?":while(e.charAt(++t)===n);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":while(t-1);break;case" ":++t;break;default:++t;break}return!1}function ze(e,t,n,r){var i,o,a,s=[],l="",c=0,u="",h="t",d="H";while(c=12?"P":"A"),m.t="T",d="h",c+=3):"AM/PM"===e.substr(c,5).toUpperCase()?(null!=i&&(m.v=i.H>=12?"PM":"AM"),m.t="T",c+=5,d="h"):"上午/下午"===e.substr(c,5).toUpperCase()?(null!=i&&(m.v=i.H>=12?"下午":"上午"),m.t="T",c+=5,d="h"):(m.t="t",++c),null==i&&"T"===m.t)return"";s[s.length]=m,h=u;break;case"[":l=u;while("]"!==e.charAt(c++)&&c-1&&(l=(l.match(/\$([^-\[\]]*)/)||[])[1]||"$",Fe(e)||(s[s.length]={t:"t",v:l}));break;case".":if(null!=i){l=u;while(++c-1)l+=u;s[s.length]={t:"n",v:l};break;case"?":l=u;while(e.charAt(++c)===u)l+=u;s[s.length]={t:u,v:l},h=u;break;case"*":++c," "!=e.charAt(c)&&"*"!=e.charAt(c)||++c;break;case"(":case")":s[s.length]={t:1===r?"t":u,v:u},++c;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":l=u;while(c-1)l+=e.charAt(c);s[s.length]={t:"D",v:l};break;case" ":s[s.length]={t:u,v:u},++c;break;case"$":s[s.length]={t:"t",v:"$"},++c;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(u))throw new Error("unrecognized character "+u+" in "+e);s[s.length]={t:"t",v:u},++c;break}var g,v=0,b=0;for(c=s.length-1,h="t";c>=0;--c)switch(s[c].t){case"h":case"H":s[c].t=d,h="h",v<1&&(v=1);break;case"s":(g=s[c].v.match(/\.0+$/))&&(b=Math.max(b,g[0].length-1)),v<3&&(v=3);case"d":case"y":case"M":case"e":h=s[c].t;break;case"m":"s"===h&&(s[c].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&s[c].v.match(/[Hh]/)&&(v=1),v<2&&s[c].v.match(/[Mm]/)&&(v=2),v<3&&s[c].v.match(/[Ss]/)&&(v=3)}switch(v){case 0:break;case 1:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M),i.M>=60&&(i.M=0,++i.H);break;case 2:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M);break}var y,w="";for(c=0;c0){40==w.charCodeAt(0)?(x=t<0&&45===w.charCodeAt(0)?-t:t,k=Pe("n",w,x)):(x=t<0&&r>1?-t:t,k=Pe("n",w,x),x<0&&s[0]&&"t"==s[0].t&&(k=k.substr(1),s[0].v="-"+s[0].v)),y=k.length-1;var A=s.length;for(c=0;c-1){A=c;break}var T=s.length;if(A===s.length&&-1===k.indexOf("E")){for(c=s.length-1;c>=0;--c)null!=s[c]&&-1!=="n?".indexOf(s[c].t)&&(y>=s[c].v.length-1?(y-=s[c].v.length,s[c].v=k.substr(y+1,s[c].v.length)):y<0?s[c].v="":(s[c].v=k.substr(0,y+1),y=-1),s[c].t="t",T=c);y>=0&&T=0;--c)if(null!=s[c]&&-1!=="n?".indexOf(s[c].t)){for(o=s[c].v.indexOf(".")>-1&&c===A?s[c].v.indexOf(".")-1:s[c].v.length-1,C=s[c].v.substr(o+1);o>=0;--o)y>=0&&("0"===s[c].v.charAt(o)||"#"===s[c].v.charAt(o))&&(C=k.charAt(y--)+C);s[c].v=C,s[c].t="t",T=c}for(y>=0&&T-1&&c===A?s[c].v.indexOf(".")+1:0,C=s[c].v.substr(0,o);o-1&&(x=r>1&&t<0&&c>0&&"-"===s[c-1].v?-t:t,s[c].v=Pe(s[c].t,s[c].v,x),s[c].t="t");var S="";for(c=0;c!==s.length;++c)null!=s[c]&&(S+=s[c].v);return S}var Be=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function je(e,t){if(null==t)return!1;var n=parseFloat(t[2]);switch(t[1]){case"=":if(e==n)return!0;break;case">":if(e>n)return!0;break;case"<":if(e":if(e!=n)return!0;break;case">=":if(e>=n)return!0;break;case"<=":if(e<=n)return!0;break}return!1}function He(e,t){var n=Ie(e),r=n.length,i=n[r-1].indexOf("@");if(r<4&&i>-1&&--r,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!==typeof t)return[4,4===n.length||i>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=i>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=i>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=i>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"];break;case 4:break}var o=t>0?n[0]:t<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[r,o];if(null!=n[0].match(/\[[=<>]/)||null!=n[1].match(/\[[=<>]/)){var a=n[0].match(Be),s=n[1].match(Be);return je(t,a)?[r,n[0]]:je(t,s)?[r,n[1]]:[r,n[null!=a&&null!=s?2:1]]}return[r,o]}function Ue(e,t,n){null==n&&(n={});var r="";switch(typeof e){case"string":r="m/d/yy"==e&&n.dateNF?n.dateNF:e;break;case"number":r=14==e&&n.dateNF?n.dateNF:(null!=n.table?n.table:Z)[e],null==r&&(r=n.table&&n.table[X[e]]||Z[X[e]]),null==r&&(r=J[e]||"General");break}if(G(r,0))return ce(t,n);t instanceof Date&&(t=re(t,n.date1904));var i=He(r,t);if(G(i[1]))return ce(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return ze(i[1],t,n,i[0])}function qe(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(void 0!=Z[n]){if(Z[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return Z[t]=e,t}function We(){Z=K()}var Ge={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},Ve=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function Ye(e){var t="number"==typeof e?Z[e]:e;return t=t.replace(Ve,"(\\d+)"),new RegExp("^"+t+"$")}function Ke(e,t,n){var r=-1,i=-1,o=-1,a=-1,s=-1,l=-1;(t.match(Ve)||[]).forEach((function(e,t){var c=parseInt(n[t+1],10);switch(e.toLowerCase().charAt(0)){case"y":r=c;break;case"d":o=c;break;case"h":a=c;break;case"s":l=c;break;case"m":a>=0?s=c:i=c;break}})),l>=0&&-1==s&&i>=0&&(s=i,i=-1);var c=(""+(r>=0?r:(new Date).getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(o>=1?o:1)).slice(-2);7==c.length&&(c="0"+c),8==c.length&&(c="20"+c);var u=("00"+(a>=0?a:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return-1==a&&-1==s&&-1==l?c:-1==r&&-1==i&&-1==o?u:c+"T"+u}var Ze=function(){var e={};function t(){for(var e=0,t=new Array(256),n=0;256!=n;++n)e=n,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,t[n]=e;return"undefined"!==typeof Int32Array?new Int32Array(t):t}e.version="1.2.0";var n=t();function r(e){var t=0,n=0,r=0,i="undefined"!==typeof Int32Array?new Int32Array(4096):new Array(4096);for(r=0;256!=r;++r)i[r]=e[r];for(r=0;256!=r;++r)for(n=e[r],t=256+r;t<4096;t+=256)n=i[t]=n>>>8^e[255&n];var o=[];for(r=1;16!=r;++r)o[r-1]="undefined"!==typeof Int32Array?i.subarray(256*r,256*r+256):i.slice(256*r,256*r+256);return o}var i=r(n),o=i[0],a=i[1],s=i[2],l=i[3],c=i[4],u=i[5],h=i[6],d=i[7],f=i[8],p=i[9],m=i[10],g=i[11],v=i[12],b=i[13],y=i[14];function w(e,t){for(var r=-1^t,i=0,o=e.length;i>>8^n[255&(r^e.charCodeAt(i++))];return~r}function x(e,t){for(var r=-1^t,i=e.length-15,w=0;w>8&255]^v[e[w++]^r>>16&255]^g[e[w++]^r>>>24]^m[e[w++]]^p[e[w++]]^f[e[w++]]^d[e[w++]]^h[e[w++]]^u[e[w++]]^c[e[w++]]^l[e[w++]]^s[e[w++]]^a[e[w++]]^o[e[w++]]^n[e[w++]];i+=15;while(w>>8^n[255&(r^e[w++])];return~r}function k(e,t){for(var r=-1^t,i=0,o=e.length,a=0,s=0;i>>8^n[255&(r^a)]:a<2048?(r=r>>>8^n[255&(r^(192|a>>6&31))],r=r>>>8^n[255&(r^(128|63&a))]):a>=55296&&a<57344?(a=64+(1023&a),s=1023&e.charCodeAt(i++),r=r>>>8^n[255&(r^(240|a>>8&7))],r=r>>>8^n[255&(r^(128|a>>2&63))],r=r>>>8^n[255&(r^(128|s>>6&15|(3&a)<<4))],r=r>>>8^n[255&(r^(128|63&s))]):(r=r>>>8^n[255&(r^(224|a>>12&15))],r=r>>>8^n[255&(r^(128|a>>6&63))],r=r>>>8^n[255&(r^(128|63&a))]);return~r}return e.table=n,e.bstr=w,e.buf=x,e.str=k,e}(),Xe=function(){var t,n={};function r(e,t){for(var n=e.split("/"),r=t.split("/"),i=0,o=0,a=Math.min(n.length,r.length);i>>1,e.write_shift(2,n);var r=t.getFullYear()-1980;r=r<<4|t.getMonth()+1,r=r<<5|t.getDate(),e.write_shift(2,r)}function s(e){var t=65535&e.read_shift(2),n=65535&e.read_shift(2),r=new Date,i=31&n;n>>>=5;var o=15&n;n>>>=4,r.setMilliseconds(0),r.setFullYear(n+1980),r.setMonth(o-1),r.setDate(i);var a=31&t;t>>>=5;var s=63&t;return t>>>=6,r.setHours(t),r.setMinutes(s),r.setSeconds(a<<1),r}function l(e){Xn(e,0);var t={},n=0;while(e.l<=e.length-4){var r=e.read_shift(2),i=e.read_shift(2),o=e.l+i,a={};switch(r){case 21589:n=e.read_shift(1),1&n&&(a.mtime=e.read_shift(4)),i>5&&(2&n&&(a.atime=e.read_shift(4)),4&n&&(a.ctime=e.read_shift(4))),a.mtime&&(a.mt=new Date(1e3*a.mtime));break}e.l=o,t[r]=a}return t}function c(){return t||(t={})}function u(e,t){if(80==e[0]&&75==e[1])return De(e,t);if(109==(32|e[0])&&105==(32|e[1]))return Ue(e,t);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var n=3,r=512,i=0,o=0,a=0,s=0,l=0,c=[],u=e.slice(0,512);Xn(u,0);var m=h(u);switch(n=m[0],n){case 3:r=512;break;case 4:r=4096;break;case 0:if(0==m[1])return De(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+n)}512!==r&&(u=e.slice(0,r),Xn(u,28));var v=e.slice(0,r);d(u,n);var w=u.read_shift(4,"i");if(3===n&&0!==w)throw new Error("# Directory Sectors: Expected 0 saw "+w);u.l+=4,a=u.read_shift(4,"i"),u.l+=4,u.chk("00100000","Mini Stream Cutoff Size: "),s=u.read_shift(4,"i"),i=u.read_shift(4,"i"),l=u.read_shift(4,"i"),o=u.read_shift(4,"i");for(var x=-1,k=0;k<109;++k){if(x=u.read_shift(4,"i"),x<0)break;c[k]=x}var C=f(e,r);g(l,o,C,r,c);var A=b(C,a,c,r);A[a].name="!Directory",i>0&&s!==H&&(A[s].name="!MiniFAT"),A[c[0]].name="!FAT",A.fat_addrs=c,A.ssz=r;var T={},S=[],E=[],M=[];y(a,A,C,S,i,T,E,s),p(E,M,S),S.shift();var O={FileIndex:E,FullPaths:M};return t&&t.raw&&(O.raw={header:v,sectors:C}),O}function h(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(U,"Header Signature: "),e.l+=16;var t=e.read_shift(2,"u");return[e.read_shift(2,"u"),t]}function d(e,t){var n=9;switch(e.l+=2,n=e.read_shift(2)){case 9:if(3!=t)throw new Error("Sector Shift: Expected 9 saw "+n);break;case 12:if(4!=t)throw new Error("Sector Shift: Expected 12 saw "+n);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+n)}e.chk("0600","Mini Sector Shift: "),e.chk("000000000000","Reserved: ")}function f(e,t){for(var n=Math.ceil(e.length/t)-1,r=[],i=1;i0&&a>=0)o.push(t.slice(a*j,a*j+j)),i-=j,a=Un(n,4*a);return 0===o.length?Qn(0):D(o).slice(0,e.size)}function g(e,t,n,r,i){var o=H;if(e===H){if(0!==t)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var a=n[e],s=(r>>>2)-1;if(!a)return;for(var l=0;l=0;){i[l]=!0,o[o.length]=l,a.push(e[l]);var u=n[Math.floor(4*l/r)];if(c=4*l&s,r<4+c)throw new Error("FAT boundary crossed: "+l+" 4 "+r);if(!e[u])break;l=Un(e[u],c)}return{nodes:o,data:gn([a])}}function b(e,t,n,r){var i=e.length,o=[],a=[],s=[],l=[],c=r-1,u=0,h=0,d=0,f=0;for(u=0;u=i&&(d-=i),!a[d]){l=[];var p=[];for(h=d;h>=0;){p[h]=!0,a[h]=!0,s[s.length]=h,l.push(e[h]);var m=n[Math.floor(4*h/r)];if(f=4*h&c,r<4+f)throw new Error("FAT boundary crossed: "+h+" 4 "+r);if(!e[m])break;if(h=Un(e[m],f),p[h])break}o[d]={nodes:s,data:gn([l])}}return o}function y(e,t,n,r,i,o,a,s){for(var l,c=0,u=r.length?2:0,h=t[e].data,d=0,f=0;d0&&c!==H&&(t[c].name="!StreamData")):g.size>=4096?(g.storage="fat",void 0===t[g.start]&&(t[g.start]=v(n,g.start,t.fat_addrs,t.ssz)),t[g.start].name=g.name,g.content=t[g.start].data.slice(0,g.size)):(g.storage="minifat",g.size<0?g.size=0:c!==H&&g.start!==H&&t[c]&&(g.content=m(g,t[c].data,(t[s]||{}).data))),g.content&&Xn(g.content,0),o[l]=g,a.push(g)}}function w(e,t){return new Date(1e3*(Hn(e,t+4)/1e7*Math.pow(2,32)+Hn(e,t)/1e7-11644473600))}function x(e,n){return c(),u(t.readFileSync(e),n)}function k(t,n){var r=n&&n.type;switch(r||T&&e.isBuffer(t)&&(r="buffer"),r||"base64"){case"file":return x(t,n);case"base64":return u(O(A(t)),n);case"binary":return u(O(t),n)}return u(t,n)}function N(e,t){var n=t||{},r=n.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=r+"/",e.FileIndex[0]={name:r,type:5}),n.CLSID&&(e.FileIndex[0].clsid=n.CLSID),L(e)}function L(e){var t="Sh33tJ5";if(!Xe.find(e,"/"+t)){var n=Qn(4);n[0]=55,n[1]=n[3]=50,n[2]=54,e.FileIndex.push({name:t,type:2,content:n,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),P(e)}}function P(e,t){N(e);for(var n=!1,a=!1,s=e.FullPaths.length-1;s>=0;--s){var l=e.FileIndex[s];switch(l.type){case 0:a?n=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:a=!0,isNaN(l.R*l.L*l.C)&&(n=!0),l.R>-1&&l.L>-1&&l.R==l.L&&(n=!0);break;default:n=!0;break}}if(n||t){var c=new Date(1987,1,19),u=0,h=Object.create?Object.create(null):{},d=[];for(s=0;s1?1:-1,p.size=0,p.type=5;else if("/"==m.slice(-1)){for(u=s+1;u=d.length?-1:u,u=s+1;u=d.length?-1:u,p.type=1}else i(e.FullPaths[s+1]||"")==i(m)&&(p.R=s+1),p.type=2}}}function F(t,n){var r=n||{};if("mad"==r.fileType)return qe(t,r);switch(P(t),r.fileType){case"zip":return Ie(t,r)}var i=function(e){for(var t=0,n=0,r=0;r0&&(o<4096?t+=o+63>>6:n+=o+511>>9)}}var a=e.FullPaths.length+3>>2,s=t+7>>3,l=t+127>>7,c=s+n+a+l,u=c+127>>7,h=u<=109?0:Math.ceil((u-109)/127);while(c+u+h+127>>7>u)h=++u<=109?0:Math.ceil((u-109)/127);var d=[1,h,u,l,a,n,t,0];return e.FileIndex[0].size=t<<6,d[7]=(e.FileIndex[0].start=d[0]+d[1]+d[2]+d[3]+d[4]+d[5])+(d[6]+7>>3),d}(t),o=Qn(i[7]<<9),a=0,s=0;for(a=0;a<8;++a)o.write_shift(1,q[a]);for(a=0;a<8;++a)o.write_shift(2,0);for(o.write_shift(2,62),o.write_shift(2,3),o.write_shift(2,65534),o.write_shift(2,9),o.write_shift(2,6),a=0;a<3;++a)o.write_shift(2,0);for(o.write_shift(4,0),o.write_shift(4,i[2]),o.write_shift(4,i[0]+i[1]+i[2]+i[3]-1),o.write_shift(4,0),o.write_shift(4,4096),o.write_shift(4,i[3]?i[0]+i[1]+i[2]-1:H),o.write_shift(4,i[3]),o.write_shift(-4,i[1]?i[0]-1:H),o.write_shift(4,i[1]),a=0;a<109;++a)o.write_shift(-4,a>9)));l(i[6]+7>>3);while(511&o.l)o.write_shift(-4,G.ENDOFCHAIN);for(s=a=0,c=0;c=4096||(h.start=s,l(u+63>>6)));while(511&o.l)o.write_shift(-4,G.ENDOFCHAIN);for(a=0;a=4096)if(o.l=h.start+1<<9,T&&e.isBuffer(h.content))h.content.copy(o,o.l,0,h.size),o.l+=h.size+511&-512;else{for(c=0;c0&&h.size<4096)if(T&&e.isBuffer(h.content))h.content.copy(o,o.l,0,h.size),o.l+=h.size+63&-64;else{for(c=0;c>16|t>>8|t)}for(var te="undefined"!==typeof Uint8Array,ne=te?new Uint8Array(256):[],re=0;re<256;++re)ne[re]=ee(re);function ie(e,t){var n=ne[255&e];return t<=8?n>>>8-t:(n=n<<8|ne[e>>8&255],t<=16?n>>>16-t:(n=n<<8|ne[e>>16&255],n>>>24-t))}function oe(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=6?0:e[r+1]<<8))>>>n&3}function ae(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=5?0:e[r+1]<<8))>>>n&7}function se(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=4?0:e[r+1]<<8))>>>n&15}function le(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=3?0:e[r+1]<<8))>>>n&31}function ce(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=1?0:e[r+1]<<8))>>>n&127}function ue(e,t,n){var r=7&t,i=t>>>3,o=(1<>>r;return n<8-r?a&o:(a|=e[i+1]<<8-r,n<16-r?a&o:(a|=e[i+2]<<16-r,n<24-r||(a|=e[i+3]<<24-r),a&o))}function he(e,t,n){var r=7&t,i=t>>>3;return r<=5?e[i]|=(7&n)<>8-r),t+3}function de(e,t,n){var r=7&t,i=t>>>3;return n=(1&n)<>>3;return n<<=r,e[i]|=255&n,n>>>=8,e[i+1]=n,t+8}function pe(e,t,n){var r=7&t,i=t>>>3;return n<<=r,e[i]|=255&n,n>>>=8,e[i+1]=255&n,e[i+2]=n>>>8,t+16}function me(e,t){var n=e.length,r=2*n>t?2*n:t+5,i=0;if(n>=t)return e;if(T){var o=M(r);if(e.copy)e.copy(o);else for(;i>r-h,a=(1<=0;--a)t[s|a<0)t[t.l++]=e[n++]}return t.l}function o(t,n){var i=0,o=0,a=te?new Uint16Array(32768):[];while(o0)n[n.l++]=t[o++];i=8*n.l}else{i=he(n,i,+!(o+s!=t.length)+2);var l=0;while(s-- >0){var c=t[o];l=32767&(l<<5^c);var u=-1,h=0;if((u=a[l])&&(u|=-32768&o,u>o&&(u-=32768),u2){c=r[h],c<=22?i=fe(n,i,ne[c+1]>>1)-1:(fe(n,i,3),i+=5,fe(n,i,ne[c-23]>>5),i+=3);var d=c<8?0:c-4>>2;d>0&&(pe(n,i,h-_[c]),i+=d),c=e[o-u],i=fe(n,i,ne[c]>>3),i-=3;var f=c<4?0:c-2>>1;f>0&&(pe(n,i,o-u-$[c]),i+=f);for(var p=0;p>8-p;for(var m=(1<<7-p)-1;m>=0;--m)Te[f|m<>>=3){case 16:o=3+oe(e,t),t+=2,f=g[g.length-1];while(o-- >0)g.push(f);break;case 17:o=3+ae(e,t),t+=3;while(o-- >0)g.push(0);break;case 18:o=11+ce(e,t),t+=7;while(o-- >0)g.push(0);break;default:g.push(f),l>>0,s=0,l=0;while(0==(1&r))if(r=ae(e,n),n+=3,r>>>1!=0)for(r>>1==1?(s=9,l=5):(n=Me(e,n),s=Se,l=Ee);;){!t&&a>>1==1?be[c]:Ce[c];if(n+=15&u,u>>>=4,0===(u>>>8&255))i[o++]=u;else{if(256==u)break;u-=257;var h=u<8?0:u-4>>2;h>5&&(h=0);var d=o+_[u];h>0&&(d+=ue(e,n,h),n+=h),c=ue(e,n,l),u=r>>>1==1?ye[c]:Ae[c],n+=15&u,u>>>=4;var f=u<4?0:u-2>>1,p=$[u];f>0&&(p+=ue(e,n,f),n+=f),!t&&a>>3]|e[1+(n>>>3)]<<8;if(n+=32,m>0){!t&&a0)i[o++]=e[n>>>3],n+=8}}return t?[i,n+7>>>3]:[i.slice(0,o),n+7>>>3]}function Ne(e,t){var n=e.slice(e.l||0),r=Oe(n,t);return e.l+=r[1],r[0]}function Le(e,t){if(!e)throw new Error(t);"undefined"!==typeof console&&console.error(t)}function De(e,t){var n=e;Xn(n,0);var r=[],i=[],o={FileIndex:r,FullPaths:i};N(o,{root:t.root});var a=n.length-4;while((80!=n[a]||75!=n[a+1]||5!=n[a+2]||6!=n[a+3])&&a>=0)--a;n.l=a+4,n.l+=4;var s=n.read_shift(2);n.l+=6;var c=n.read_shift(4);for(n.l=c,a=0;a0)if(r=r.slice(0,r.length-1),r=r.slice(0,r.lastIndexOf("/")+1),a.slice(0,r.length)==r)break;var s=(i[1]||"").match(/boundary="(.*?)"/);if(!s)throw new Error("MAD cannot find boundary");var l="--"+(s[1]||""),c=[],u=[],h={FileIndex:c,FullPaths:u};N(h);var d,f=0;for(o=0;o=32&&p<128&&++d;var g=d>=4*f/5;o.push(i),o.push("Content-Location: "+(r.root||"file:///C:/SheetJS/")+s),o.push("Content-Transfer-Encoding: "+(g?"quoted-printable":"base64")),o.push("Content-Type: "+Fe(l,s)),o.push(""),o.push(g?Be(h):ze(h))}return o.push(i+"--\r\n"),o.join("\r\n")}function We(e){var t={};return N(t,e),t}function Ge(e,t,n,r){var i=r&&r.unsafe;i||N(e);var a=!i&&Xe.find(e,t);if(!a){var s=e.FullPaths[0];t.slice(0,s.length)==s?s=t:("/"!=s.slice(-1)&&(s+="/"),s=(s+t).replace("//","/")),a={name:o(t),type:2},e.FileIndex.push(a),e.FullPaths.push(s),i||Xe.utils.cfb_gc(e)}return a.content=n,a.size=n?n.length:0,r&&(r.CLSID&&(a.clsid=r.CLSID),r.mt&&(a.mt=r.mt),r.ct&&(a.ct=r.ct)),a}function Ve(e,t){N(e);var n=Xe.find(e,t);if(n)for(var r=0;r3&&(r=!0),i[o].slice(i[o].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+i[o].slice(i[o].length-1));case"D":n*=24;case"H":n*=60;case"M":if(!r)throw new Error("Unsupported ISO Duration Field: M");n*=60;case"S":break}t+=n*parseInt(i[o],10)}return t}var st=new Date("2017-02-19T19:06:09.000Z"),lt=isNaN(st.getFullYear())?new Date("2/19/17"):st,ct=2017==lt.getFullYear();function ut(e,t){var n=new Date(e);if(ct)return t>0?n.setTime(n.getTime()+60*n.getTimezoneOffset()*1e3):t<0&&n.setTime(n.getTime()-60*n.getTimezoneOffset()*1e3),n;if(e instanceof Date)return e;if(1917==lt.getFullYear()&&!isNaN(n.getFullYear())){var r=n.getFullYear();return e.indexOf(""+r)>-1||n.setFullYear(n.getFullYear()+100),n}var i=e.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+i[0],+i[1]-1,+i[2],+i[3]||0,+i[4]||0,+i[5]||0);return e.indexOf("Z")>-1&&(o=new Date(o.getTime()-60*o.getTimezoneOffset()*1e3)),o}function ht(t,n){if(T&&e.isBuffer(t)){if(n){if(255==t[0]&&254==t[1])return _t(t.slice(2).toString("utf16le"));if(254==t[1]&&255==t[2])return _t(m(t.slice(2).toString("binary")))}return t.toString("binary")}if("undefined"!==typeof TextDecoder)try{if(n){if(255==t[0]&&254==t[1])return _t(new TextDecoder("utf-16le").decode(t.slice(2)));if(254==t[0]&&255==t[1])return _t(new TextDecoder("utf-16be").decode(t.slice(2)))}var r={"€":"€","‚":"‚","ƒ":"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰","Š":"Š","‹":"‹","Œ":"Œ","Ž":"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™","š":"š","›":"›","œ":"œ","ž":"ž","Ÿ":"Ÿ"};return Array.isArray(t)&&(t=new Uint8Array(t)),new TextDecoder("latin1").decode(t).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,(function(e){return r[e]||e}))}catch(a){}for(var i=[],o=0;o!=t.length;++o)i.push(String.fromCharCode(t[o]));return i.join("")}function dt(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=dt(e[n]));return t}function ft(e,t){var n="";while(n.length3&&-1==mt.indexOf(a))return n}else if(a.match(/[a-z]/))return n;return r<0||r>8099?n:(i>0||o>1)&&101!=r?t:e.match(/[^-0-9:,\/\\]/)?n:t}var vt=function(){var e=5=="abacaba".split(/(:?b)/i).length;return function(t,n,r){if(e||"string"==typeof n)return t.split(n);for(var i=t.split(n),o=[i[0]],a=1;a\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,Dt=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,Pt=/<[^>]*>/g,It=Nt.match(Dt)?Dt:Pt,Rt=/<\w*:/,Ft=/<(\/?)\w+:/;function zt(e,t,n){for(var r={},i=0,o=0;i!==e.length;++i)if(32===(o=e.charCodeAt(i))||10===o||13===o)break;if(t||(r[0]=e.slice(0,i)),i===e.length)return r;var a=e.match(Lt),s=0,l="",c=0,u="",h="",d=1;if(a)for(c=0;c!=a.length;++c){for(h=a[c],o=0;o!=h.length;++o)if(61===h.charCodeAt(o))break;u=h.slice(0,o).trim();while(32==h.charCodeAt(o+1))++o;for(d=34==(i=h.charCodeAt(o+1))||39==i?1:0,l=h.slice(o+1+d,h.length-d),s=0;s!=u.length;++s)if(58===u.charCodeAt(s))break;if(s===u.length)u.indexOf("_")>0&&(u=u.slice(0,u.indexOf("_"))),r[u]=l,n||(r[u.toLowerCase()]=l);else{var f=(5===s&&"xmlns"===u.slice(0,5)?"xmlns":"")+u.slice(s+1);if(r[f]&&"ext"==u.slice(s-3,s))continue;r[f]=l,n||(r[f.toLowerCase()]=l)}}return r}function Bt(e){return e.replace(Ft,"<$1")}var jt={""":'"',"'":"'",">":">","<":"<","&":"&"},Ht=$e(jt),Ut=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function n(r){var i=r+"",o=i.indexOf("-1?16:10))||e})).replace(t,(function(e,t){return String.fromCharCode(parseInt(t,16))}));var a=i.indexOf("]]>");return n(i.slice(0,o))+i.slice(o+9,a)+n(i.slice(a+3))}}(),qt=/[&<>'"]/g;var Wt=/[\u0000-\u001f]/g;function Gt(e){var t=e+"";return t.replace(qt,(function(e){return Ht[e]})).replace(/\n/g,"
").replace(Wt,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}var Vt=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(n){return n.replace(e,t)}}();function Yt(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function Kt(e){var t="",n=0,r=0,i=0,o=0,a=0,s=0;while(n191&&r<224?(a=(31&r)<<6,a|=63&i,t+=String.fromCharCode(a)):(o=e.charCodeAt(n++),r<240?t+=String.fromCharCode((15&r)<<12|(63&i)<<6|63&o):(a=e.charCodeAt(n++),s=((7&r)<<18|(63&i)<<12|(63&o)<<6|63&a)-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(1023&s)))));return t}function Zt(e){var t,n,r,i=E(2*e.length),o=1,a=0,s=0;for(n=0;n>>10&1023),t=56320+(1023&t)),0!==s&&(i[a++]=255&s,i[a++]=s>>>8,s=0),i[a++]=t%256,i[a++]=t>>>8;return i.slice(0,a).toString("ucs2")}function Xt(e){return S(e,"binary").toString("utf8")}var Jt="foo bar baz☃🍣",Qt=T&&(Xt(Jt)==Kt(Jt)&&Xt||Zt(Jt)==Kt(Jt)&&Zt)||Kt,_t=T?function(e){return S(e,"utf8").toString("binary")}:function(e){var t=[],n=0,r=0,i=0;while(n>6))),t.push(String.fromCharCode(128+(63&r)));break;case r>=55296&&r<57344:r-=55296,i=e.charCodeAt(n++)-56320+(r<<10),t.push(String.fromCharCode(240+(i>>18&7))),t.push(String.fromCharCode(144+(i>>12&63))),t.push(String.fromCharCode(128+(i>>6&63))),t.push(String.fromCharCode(128+(63&i)));break;default:t.push(String.fromCharCode(224+(r>>12))),t.push(String.fromCharCode(128+(r>>6&63))),t.push(String.fromCharCode(128+(63&r)))}return t.join("")},$t=function(){var e={};return function(t,n){var r=t+"|"+(n||"");return e[r]?e[r]:e[r]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)",n||"")}}(),en=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var n=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,"\n").replace(/<[^>]*>/g,""),r=0;r([\\s\\S]*?)","g")}}(),nn=/<\/?(?:vt:)?variant>/g,rn=/<(?:vt:)([^>]*)>([\s\S]*)"+t+""}function cn(t){if(T&&e.isBuffer(t))return t.toString("utf8");if("string"===typeof t)return t;if("undefined"!==typeof Uint8Array&&t instanceof Uint8Array)return Qt(N(L(t)));throw new Error("Bad input format: expected Buffer or string")}var un=/<(\/?)([^\s?>:\/]+)(?:[\s?:\/][^>]*)?>/gm,hn={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},dn=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"];function fn(e,t){for(var n=1-2*(e[t+7]>>>7),r=((127&e[t+7])<<4)+(e[t+6]>>>4&15),i=15&e[t+6],o=5;o>=0;--o)i=256*i+e[t+o];return 2047==r?0==i?n*(1/0):NaN:(0==r?r=-1022:(r-=1023,i+=Math.pow(2,52)),n*Math.pow(2,r-52)*i)}function pn(e,t,n){var r=(t<0||1/t==-1/0?1:0)<<7,i=0,o=0,a=r?-t:t;isFinite(a)?0==a?i=o=0:(i=Math.floor(Math.log(a)/Math.LN2),o=a*Math.pow(2,52-i),i<=-1023&&(!isFinite(o)||o>4|r}var mn=function(e){for(var t=[],n=10240,r=0;r0&&e.isBuffer(t[0][0])?e.concat(t[0].map((function(t){return e.isBuffer(t)?t:S(t)}))):mn(t)}:mn,vn=function(e,t,n){for(var r=[],i=t;i0?kn(e,t+4,t+4+n-1):""},An=Cn,Tn=function(e,t){var n=Hn(e,t);return n>0?kn(e,t+4,t+4+n-1):""},Sn=Tn,En=function(e,t){var n=2*Hn(e,t);return n>0?kn(e,t+4,t+4+n-1):""},Mn=En,On=function(e,t){var n=Hn(e,t);return n>0?bn(e,t+4,t+4+n):""},Nn=On,Ln=function(e,t){var n=Hn(e,t);return n>0?kn(e,t+4,t+4+n):""},Dn=Ln,Pn=function(e,t){return fn(e,t)},In=Pn,Rn=function(e){return Array.isArray(e)||"undefined"!==typeof Uint8Array&&e instanceof Uint8Array};function Fn(){bn=function(e,t,n){return g.utils.decode(1200,e.slice(t,n)).replace(I,"")},kn=function(e,t,n){return g.utils.decode(65001,e.slice(t,n))},An=function(e,t){var n=Hn(e,t);return n>0?g.utils.decode(a,e.slice(t+4,t+4+n-1)):""},Sn=function(e,t){var n=Hn(e,t);return n>0?g.utils.decode(o,e.slice(t+4,t+4+n-1)):""},Mn=function(e,t){var n=2*Hn(e,t);return n>0?g.utils.decode(1200,e.slice(t+4,t+4+n-1)):""},Nn=function(e,t){var n=Hn(e,t);return n>0?g.utils.decode(1200,e.slice(t+4,t+4+n)):""},Dn=function(e,t){var n=Hn(e,t);return n>0?g.utils.decode(65001,e.slice(t+4,t+4+n)):""}}T&&(An=function(t,n){if(!e.isBuffer(t))return Cn(t,n);var r=t.readUInt32LE(n);return r>0?t.toString("utf8",n+4,n+4+r-1):""},Sn=function(t,n){if(!e.isBuffer(t))return Tn(t,n);var r=t.readUInt32LE(n);return r>0?t.toString("utf8",n+4,n+4+r-1):""},Mn=function(t,n){if(!e.isBuffer(t))return En(t,n);var r=2*t.readUInt32LE(n);return t.toString("utf16le",n+4,n+4+r-1)},Nn=function(t,n){if(!e.isBuffer(t))return On(t,n);var r=t.readUInt32LE(n);return t.toString("utf16le",n+4,n+4+r)},Dn=function(t,n){if(!e.isBuffer(t))return Ln(t,n);var r=t.readUInt32LE(n);return t.toString("utf8",n+4,n+4+r)},In=function(t,n){return e.isBuffer(t)?t.readDoubleLE(n):Pn(t,n)},Rn=function(t){return e.isBuffer(t)||Array.isArray(t)||"undefined"!==typeof Uint8Array&&t instanceof Uint8Array}),"undefined"!==typeof g&&Fn();var zn=function(e,t){return e[t]},Bn=function(e,t){return 256*e[t+1]+e[t]},jn=function(e,t){var n=256*e[t+1]+e[t];return n<32768?n:-1*(65535-n+1)},Hn=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Un=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},qn=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Wn(t,n){var r,i,a,s,l,c,u="",h=[];switch(n){case"dbcs":if(c=this.l,T&&e.isBuffer(this))u=this.slice(this.l,this.l+2*t).toString("utf16le");else for(l=0;l0?Un:qn)(this,this.l),this.l+=4,r):(i=Hn(this,this.l),this.l+=4,i);case 8:case-8:if("f"===n)return i=8==t?In(this,this.l):In([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,i;t=8;case 16:u=wn(this,this.l,t);break}}return this.l+=t,u}var Gn=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24&255},Vn=function(e,t,n){e[n]=255&t,e[n+1]=t>>8&255,e[n+2]=t>>16&255,e[n+3]=t>>24&255},Yn=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255};function Kn(e,t,n){var r=0,i=0;if("dbcs"===n){for(i=0;i!=t.length;++i)Yn(this,t.charCodeAt(i),this.l+2*i);r=2*t.length}else if("sbcs"===n){if("undefined"!==typeof g&&874==a)for(i=0;i!=t.length;++i){var o=g.utils.encode(a,t.charAt(i));this[this.l+i]=o[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=t.length;++i)this[this.l+i]=255&t.charCodeAt(i);r=t.length}else{if("hex"===n){for(;i>8}while(this.l>>=8,this[this.l+1]=255&t;break;case 3:r=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:r=4,Gn(this,t,this.l);break;case 8:if(r=8,"f"===n){pn(this,t,this.l);break}case 16:break;case-4:r=4,Vn(this,t,this.l);break}}return this.l+=r,this}function Zn(e,t){var n=wn(this,this.l,e.length>>1);if(n!==e)throw new Error(t+"Expected "+e+" saw "+n);this.l+=e.length>>1}function Xn(e,t){e.l=t,e.read_shift=Wn,e.chk=Zn,e.write_shift=Kn}function Jn(e,t){e.l+=t}function Qn(e){var t=E(e);return Xn(t,0),t}function _n(e,t,n){if(e){var r,i,o;Xn(e,e.l||0);var a=e.length,s=0,l=0;while(e.lr.l&&(r=r.slice(0,r.l),r.l=r.length),r.length>0&&e.push(r),r=null)},o=function(e){return r&&e=256)r.c-=256;while(r.r>=65536)r.r-=65536}return r}function tr(e,t,n){var r=dt(e);return r.s=er(r.s,t.s,n),r.e=er(r.e,t.s,n),r}function nr(e,t){if(e.cRel&&e.c<0){e=dt(e);while(e.c<0)e.c+=t>8?16384:256}if(e.rRel&&e.r<0){e=dt(e);while(e.r<0)e.r+=t>8?1048576:t>5?65536:16384}var n=pr(e);return e.cRel||null==e.cRel||(n=ur(n)),e.rRel||null==e.rRel||(n=ar(n)),n}function rr(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?nr(e.s,t.biff)+":"+nr(e.e,t.biff):(e.s.rRel?"":"$")+or(e.s.r)+":"+(e.e.rRel?"":"$")+or(e.e.r):(e.s.cRel?"":"$")+cr(e.s.c)+":"+(e.e.cRel?"":"$")+cr(e.e.c)}function ir(e){return parseInt(sr(e),10)-1}function or(e){return""+(e+1)}function ar(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function sr(e){return e.replace(/\$(\d+)$/,"$1")}function lr(e){for(var t=hr(e),n=0,r=0;r!==t.length;++r)n=26*n+t.charCodeAt(r)-64;return n-1}function cr(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function ur(e){return e.replace(/^([A-Z])/,"$$$1")}function hr(e){return e.replace(/^\$([A-Z])/,"$1")}function dr(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function fr(e){for(var t=0,n=0,r=0;r=48&&i<=57?t=10*t+(i-48):i>=65&&i<=90&&(n=26*n+(i-64))}return{c:n-1,r:t-1}}function pr(e){for(var t=e.c+1,n="";t;t=(t-1)/26|0)n=String.fromCharCode((t-1)%26+65)+n;return n+(e.r+1)}function mr(e){var t=e.indexOf(":");return-1==t?{s:fr(e),e:fr(e)}:{s:fr(e.slice(0,t)),e:fr(e.slice(t+1))}}function gr(e,t){return"undefined"===typeof t||"number"===typeof t?gr(e.s,e.e):("string"!==typeof e&&(e=pr(e)),"string"!==typeof t&&(t=pr(t)),e==t?e:e+":"+t)}function vr(e){var t={s:{c:0,r:0},e:{c:0,r:0}},n=0,r=0,i=0,o=e.length;for(n=0;r26)break;n=26*n+i}for(t.s.c=--n,n=0;r9)break;n=10*n+i}if(t.s.r=--n,r===o||10!=i)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++r,n=0;r!=o;++r){if((i=e.charCodeAt(r)-64)<1||i>26)break;n=26*n+i}for(t.e.c=--n,n=0;r!=o;++r){if((i=e.charCodeAt(r)-48)<0||i>9)break;n=10*n+i}return t.e.r=--n,t}function br(e,t){var n="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=Ue(e.z,n?tt(t):t)}catch(r){}try{return e.w=Ue((e.XF||{}).numFmtId||(n?14:0),n?tt(t):t)}catch(r){return""+t}}function yr(e,t,n){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&n&&n.dateNF&&(e.z=n.dateNF),"e"==e.t?ci[e.v]||e.v:br(e,void 0==t?e.v:t))}function wr(e,t){var n=t&&t.sheet?t.sheet:"Sheet1",r={};return r[n]=e,{SheetNames:[n],Sheets:r}}function xr(e,t,n){var r=n||{},i=e?Array.isArray(e):r.dense;null!=w&&null==i&&(i=w);var o=e||(i?[]:{}),a=0,s=0;if(o&&null!=r.origin){if("number"==typeof r.origin)a=r.origin;else{var l="string"==typeof r.origin?fr(r.origin):r.origin;a=l.r,s=l.c}o["!ref"]||(o["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(o["!ref"]){var u=vr(o["!ref"]);c.s.c=u.s.c,c.s.r=u.s.r,c.e.c=Math.max(c.e.c,u.e.c),c.e.r=Math.max(c.e.r,u.e.r),-1==a&&(c.e.r=a=u.e.r+1)}for(var h=0;h!=t.length;++h)if(t[h]){if(!Array.isArray(t[h]))throw new Error("aoa_to_sheet expects an array of arrays");for(var d=0;d!=t[h].length;++d)if("undefined"!==typeof t[h][d]){var f={v:t[h][d]},p=a+h,m=s+d;if(c.s.r>p&&(c.s.r=p),c.s.c>m&&(c.s.c=m),c.e.r>2;return n?i/100:i}function Rr(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var Fr=Rr;function zr(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Br(e){var t={},n=e.read_shift(1),r=n>>>1,i=e.read_shift(1),o=e.read_shift(2,"i"),a=e.read_shift(1),s=e.read_shift(1),l=e.read_shift(1);switch(e.l++,r){case 0:t.auto=1;break;case 1:t.index=i;var c=li[i];c&&(t.rgb=Ns(c));break;case 2:t.rgb=Ns([a,s,l]);break;case 3:t.theme=i;break}return 0!=o&&(t.tint=o>0?o/32767:o/32768),t}function jr(e){var t=e.read_shift(1);e.l++;var n={fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t};return n}function Hr(e,t){var n={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},r=e.read_shift(4);switch(r){case 0:return"";case 4294967295:case 4294967294:return n[e.read_shift(4)]||""}if(r>400)throw new Error("Unsupported Clipboard: "+r.toString(16));return e.l-=4,e.read_shift(0,1==t?"lpstr":"lpwstr")}function Ur(e){return Hr(e,1)}function qr(e){return Hr(e,2)}var Wr=2,Gr=3,Vr=11,Yr=12,Kr=19,Zr=64,Xr=65,Jr=71,Qr=4108,_r=4126,$r=80,ei=81,ti=[$r,ei],ni={1:{n:"CodePage",t:Wr},2:{n:"Category",t:$r},3:{n:"PresentationFormat",t:$r},4:{n:"ByteCount",t:Gr},5:{n:"LineCount",t:Gr},6:{n:"ParagraphCount",t:Gr},7:{n:"SlideCount",t:Gr},8:{n:"NoteCount",t:Gr},9:{n:"HiddenCount",t:Gr},10:{n:"MultimediaClipCount",t:Gr},11:{n:"ScaleCrop",t:Vr},12:{n:"HeadingPairs",t:Qr},13:{n:"TitlesOfParts",t:_r},14:{n:"Manager",t:$r},15:{n:"Company",t:$r},16:{n:"LinksUpToDate",t:Vr},17:{n:"CharacterCount",t:Gr},19:{n:"SharedDoc",t:Vr},22:{n:"HyperlinksChanged",t:Vr},23:{n:"AppVersion",t:Gr,p:"version"},24:{n:"DigSig",t:Xr},26:{n:"ContentType",t:$r},27:{n:"ContentStatus",t:$r},28:{n:"Language",t:$r},29:{n:"Version",t:$r},255:{},2147483648:{n:"Locale",t:Kr},2147483651:{n:"Behavior",t:Kr},1919054434:{}},ri={1:{n:"CodePage",t:Wr},2:{n:"Title",t:$r},3:{n:"Subject",t:$r},4:{n:"Author",t:$r},5:{n:"Keywords",t:$r},6:{n:"Comments",t:$r},7:{n:"Template",t:$r},8:{n:"LastAuthor",t:$r},9:{n:"RevNumber",t:$r},10:{n:"EditTime",t:Zr},11:{n:"LastPrinted",t:Zr},12:{n:"CreatedDate",t:Zr},13:{n:"ModifiedDate",t:Zr},14:{n:"PageCount",t:Gr},15:{n:"WordCount",t:Gr},16:{n:"CharCount",t:Gr},17:{n:"Thumbnail",t:Jr},18:{n:"Application",t:$r},19:{n:"DocSecurity",t:Gr},255:{},2147483648:{n:"Locale",t:Kr},2147483651:{n:"Behavior",t:Kr},1919054434:{}},ii={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},oi=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function ai(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}var si=ai([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),li=dt(si),ci={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},ui={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},hi={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"};function di(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function fi(e){var t=di();if(!e||!e.match)return t;var n={};if((e.match(It)||[]).forEach((function(e){var r=zt(e);switch(r[0].replace(Rt,"<")){case"0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=n,delete t.calcchains,t}var pi={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function mi(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function gi(e,t){var n={"!id":{}};if(!e)return n;"/"!==t.charAt(0)&&(t="/"+t);var r={};return(e.match(It)||[]).forEach((function(e){var i=zt(e);if("]*>([\\s\\S]*?)")}return e}();function xi(e){var t={};e=Qt(e);for(var n=0;n0&&(t[r[1]]=Ut(i[1])),"date"===r[2]&&t[r[1]]&&(t[r[1]]=ut(t[r[1]]))}return t}var ki=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];function Ci(e,t,n,r){var i=[];if("string"==typeof e)i=on(e,r);else for(var o=0;o0)for(var c=0;c!==i.length;c+=2){switch(l=+i[c+1].v,i[c].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":n.Worksheets=l,n.SheetNames=a.slice(s,s+l);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":n.NamedRanges=l,n.DefinedNames=a.slice(s,s+l);break;case"Charts":case"Diagramme":n.Chartsheets=l,n.ChartNames=a.slice(s,s+l);break}s+=l}}function Ai(e,t,n){var r={};return t||(t={}),e=Qt(e),ki.forEach((function(n){var i=(e.match($t(n[0]))||[])[1];switch(n[2]){case"string":i&&(t[n[1]]=Ut(i));break;case"bool":t[n[1]]="true"===i;break;case"raw":var o=e.match(new RegExp("<"+n[0]+"[^>]*>([\\s\\S]*?)"));o&&o.length>0&&(r[n[1]]=o[1]);break}})),r.HeadingPairs&&r.TitlesOfParts&&Ci(r.HeadingPairs,r.TitlesOfParts,t,n),t}var Ti=/<[^>]+>[^<]*/g;function Si(e,t){var n={},r="",i=e.match(Ti);if(i)for(var o=0;o!=i.length;++o){var a=i[o],s=zt(a);switch(s[0]){case"":r=null;break;default:if(0===a.indexOf(""),c=l[0].slice(4),u=l[1];switch(c){case"lpstr":case"bstr":case"lpwstr":n[r]=Ut(u);break;case"bool":n[r]=Yt(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":n[r]=parseInt(u,10);break;case"r4":case"r8":case"decimal":n[r]=parseFloat(u);break;case"filetime":case"date":n[r]=ut(u);break;case"cy":case"error":n[r]=Ut(u);break;default:if("/"==c.slice(-1))break;t.WTF&&"undefined"!==typeof console&&console.warn("Unexpected",a,c,l)}}else if(">3<<2),r}function Ui(e){var t=e.read_shift(4),n=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),n}function qi(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}function Wi(e,t,n){var r,i=e.read_shift(2),o=n||{};if(e.l+=2,t!==Yr&&i!==t&&-1===ti.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&i)))throw new Error("Expected type "+t+" saw "+i);switch(t===Yr?i:t){case 2:return r=e.read_shift(2,"i"),o.raw||(e.l+=2),r;case 3:return r=e.read_shift(4,"i"),r;case 11:return 0!==e.read_shift(4);case 19:return r=e.read_shift(4),r;case 30:return Li(e,i,4).replace(I,"");case 31:return Di(e);case 64:return Ni(e);case 65:return Ui(e);case 71:return qi(e);case 80:return Ii(e,i,!o.raw).replace(I,"");case 81:return Ri(e,i).replace(I,"");case 4108:return ji(e);case 4126:case 4127:return 4127==i?Fi(e):zi(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+i)}}function Gi(e,t){var n=e.l,r=e.read_shift(4),i=e.read_shift(4),o=[],a=0,s=0,l=-1,c={};for(a=0;a!=i;++a){var u=e.read_shift(4),d=e.read_shift(4);o[a]=[u,d+n]}o.sort((function(e,t){return e[1]-t[1]}));var f={};for(a=0;a!=i;++a){if(e.l!==o[a][1]){var p=!0;if(a>0&&t)switch(t[o[a-1][0]].t){case 2:e.l+2===o[a][1]&&(e.l+=2,p=!1);break;case 80:e.l<=o[a][1]&&(e.l=o[a][1],p=!1);break;case 4108:e.l<=o[a][1]&&(e.l=o[a][1],p=!1);break}if((!t||0==a)&&e.l<=o[a][1]&&(p=!1,e.l=o[a][1]),p)throw new Error("Read Error: Expected address "+o[a][1]+" at "+e.l+" :"+a)}if(t){var m=t[o[a][0]];if(f[m.n]=Wi(e,m.t,{raw:!0}),"version"===m.p&&(f[m.n]=String(f[m.n]>>16)+"."+("0000"+String(65535&f[m.n])).slice(-4)),"CodePage"==m.n)switch(f[m.n]){case 0:f[m.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:h(s=f[m.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+f[m.n])}}else if(1===o[a][0]){if(s=f.CodePage=Wi(e,Wr),h(s),-1!==l){var g=e.l;e.l=o[l][1],c=Hi(e,s),e.l=g}}else if(0===o[a][0]){if(0===s){l=a,e.l=o[a+1][1];continue}c=Hi(e,s)}else{var v,b=c[o[a][0]];switch(e[e.l]){case 65:e.l+=4,v=Ui(e);break;case 30:e.l+=4,v=Ii(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4,v=Ii(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,v=e.read_shift(4,"i");break;case 19:e.l+=4,v=e.read_shift(4);break;case 5:e.l+=4,v=e.read_shift(8,"f");break;case 11:e.l+=4,v=Zi(e,4);break;case 64:e.l+=4,v=ut(Ni(e));break;default:throw new Error("unparsed value: "+e[e.l])}f[b]=v}}return e.l=n+r,f}function Vi(e,t,n){var r=e.content;if(!r)return{};Xn(r,0);var i,o,a,s,l=0;r.chk("feff","Byte Order: "),r.read_shift(2);var c=r.read_shift(4),u=r.read_shift(16);if(u!==Xe.utils.consts.HEADER_CLSID&&u!==n)throw new Error("Bad PropertySet CLSID "+u);if(i=r.read_shift(4),1!==i&&2!==i)throw new Error("Unrecognized #Sets: "+i);if(o=r.read_shift(16),s=r.read_shift(4),1===i&&s!==r.l)throw new Error("Length mismatch: "+s+" !== "+r.l);2===i&&(a=r.read_shift(16),l=r.read_shift(4));var h,d=Gi(r,t),f={SystemIdentifier:c};for(var p in d)f[p]=d[p];if(f.FMTID=o,1===i)return f;if(l-r.l==2&&(r.l+=2),r.l!==l)throw new Error("Length mismatch 2: "+r.l+" !== "+l);try{h=Gi(r,null)}catch(m){}for(p in h)f[p]=h[p];return f.FMTID=[o,a],f}function Yi(e,t){return e.read_shift(t),null}function Ki(e,t,n){var r=[],i=e.l+t;while(e.l=12?2:1),i="sbcs-cont",a=o;if(n&&n.biff>=8&&(o=1200),n&&8!=n.biff)12==n.biff&&(i="wstr");else{var s=e.read_shift(1);s&&(i="dbcs-cont")}n.biff>=2&&n.biff<=5&&(i="cpstr");var l=r?e.read_shift(r,i):"";return o=a,l}function $i(e){var t=o;o=1200;var n,r=e.read_shift(2),i=e.read_shift(1),a=4&i,s=8&i,l=1+(1&i),c=0,u={};s&&(c=e.read_shift(2)),a&&(n=e.read_shift(4));var h=2==l?"dbcs-cont":"sbcs-cont",d=0===r?"":e.read_shift(r,h);return s&&(e.l+=4*c),a&&(e.l+=n),u.t=d,s||(u.raw=""+u.t+"",u.r=u.t),o=t,u}function eo(e,t,n){var r;if(n){if(n.biff>=2&&n.biff<=5)return e.read_shift(t,"cpstr");if(n.biff>=12)return e.read_shift(t,"dbcs-cont")}var i=e.read_shift(1);return r=0===i?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont"),r}function to(e,t,n){var r=e.read_shift(n&&2==n.biff?1:2);return 0===r?(e.l++,""):eo(e,r,n)}function no(e,t,n){if(n.biff>5)return to(e,t,n);var r=e.read_shift(1);return 0===r?(e.l++,""):e.read_shift(r,n.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function ro(e){var t=e.read_shift(1);e.l++;var n=e.read_shift(2);return e.l+=2,[t,n]}function io(e){var t=e.read_shift(4),n=e.l,r=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e.read_shift(16)&&(r=!0),e.l=n);var i=e.read_shift((r?t-24:t)>>1,"utf16le").replace(I,"");return r&&(e.l+=24),i}function oo(e){var t=e.read_shift(2),n="";while(t-- >0)n+="../";var r=e.read_shift(0,"lpstr-ansi");if(e.l+=2,57005!=e.read_shift(2))throw new Error("Bad FileMoniker");var i=e.read_shift(4);if(0===i)return n+r.replace(/\\/g,"/");var o=e.read_shift(4);if(3!=e.read_shift(2))throw new Error("Bad FileMoniker");var a=e.read_shift(o>>1,"utf16le").replace(I,"");return n+a}function ao(e,t){var n=e.read_shift(16);switch(t-=16,n){case"e0c9ea79f9bace118c8200aa004ba90b":return io(e,t);case"0303000000000000c000000000000046":return oo(e,t);default:throw new Error("Unsupported Moniker "+n)}}function so(e){var t=e.read_shift(4),n=t>0?e.read_shift(t,"utf16le").replace(I,""):"";return n}function lo(e,t){var n=e.l+t,r=e.read_shift(4);if(2!==r)throw new Error("Unrecognized streamVersion: "+r);var i=e.read_shift(2);e.l+=2;var o,a,s,l,c,u,h="";16&i&&(o=so(e,n-e.l)),128&i&&(a=so(e,n-e.l)),257===(257&i)&&(s=so(e,n-e.l)),1===(257&i)&&(l=ao(e,n-e.l)),8&i&&(h=so(e,n-e.l)),32&i&&(c=e.read_shift(16)),64&i&&(u=Ni(e)),e.l=n;var d=a||s||l||"";d&&h&&(d+="#"+h),d||(d="#"+h),2&i&&"/"==d.charAt(0)&&"/"!=d.charAt(1)&&(d="file://"+d);var f={Target:d};return c&&(f.guid=c),u&&(f.time=u),o&&(f.Tooltip=o),f}function co(e){var t=e.read_shift(1),n=e.read_shift(1),r=e.read_shift(1),i=e.read_shift(1);return[t,n,r,i]}function uo(e,t){var n=co(e,t);return n[3]=0,n}function ho(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2);return{r:t,c:n,ixfe:r}}function fo(e){var t=e.read_shift(2),n=e.read_shift(2);return e.l+=8,{type:t,flags:n}}function po(e,t,n){return 0===t?"":no(e,t,n)}function mo(e,t,n){var r=n.biff>8?4:2,i=e.read_shift(r),o=e.read_shift(r,"i"),a=e.read_shift(r,"i");return[i,o,a]}function go(e){var t=e.read_shift(2),n=Ir(e);return[t,n]}function vo(e,t,n){e.l+=4,t-=4;var r=e.l+t,i=_i(e,t,n),o=e.read_shift(2);if(r-=e.l,o!==r)throw new Error("Malformed AddinUdf: padding = "+r+" != "+o);return e.l+=o,i}function bo(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2),i=e.read_shift(2);return{s:{c:r,r:t},e:{c:i,r:n}}}function yo(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(1),i=e.read_shift(1);return{s:{c:r,r:t},e:{c:i,r:n}}}var wo=yo;function xo(e){e.l+=4;var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2);return e.l+=12,[n,t,r]}function ko(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t}function Co(e){var t={};return e.l+=4,e.cf=e.read_shift(2),t}function Ao(e){e.l+=2,e.l+=e.read_shift(2)}var To={0:Ao,4:Ao,5:Ao,6:Ao,7:Co,8:Ao,9:Ao,10:Ao,11:Ao,12:Ao,13:ko,14:Ao,15:Ao,16:Ao,17:Ao,18:Ao,19:Ao,20:Ao,21:xo};function So(e,t){var n=e.l+t,r=[];while(e.l=2&&(n.dt=e.read_shift(2),e.l-=2),n.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+n.BIFFVer)}return e.read_shift(t),n}function Mo(e,t){return 0===t||e.read_shift(2),1200}function Oo(e,t,n){if(n.enc)return e.l+=t,"";var r=e.l,i=no(e,0,n);return e.read_shift(t+r-e.l),i}function No(e,t,n){var r=n&&8==n.biff||2==t?e.read_shift(2):(e.l+=t,0);return{fDialog:16&r,fBelow:64&r,fRight:128&r}}function Lo(e,t,n){var r=e.read_shift(4),i=3&e.read_shift(1),o=e.read_shift(1);switch(o){case 0:o="Worksheet";break;case 1:o="Macrosheet";break;case 2:o="Chartsheet";break;case 6:o="VBAModule";break}var a=_i(e,0,n);return 0===a.length&&(a="Sheet1"),{pos:r,hs:i,dt:o,name:a}}function Do(e,t){for(var n=e.l+t,r=e.read_shift(4),i=e.read_shift(4),o=[],a=0;a!=i&&e.l>15),i&=32767);var o={Unsynced:1&r,DyZero:(2&r)>>1,ExAsc:(4&r)>>2,ExDsc:(8&r)>>3};return[o,i]}function Bo(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2),i=e.read_shift(2),o=e.read_shift(2),a=e.read_shift(2),s=e.read_shift(2),l=e.read_shift(2),c=e.read_shift(2);return{Pos:[t,n],Dim:[r,i],Flags:o,CurTab:a,FirstTab:s,Selected:l,TabRatio:c}}function jo(e,t,n){if(n&&n.biff>=2&&n.biff<5)return{};var r=e.read_shift(2);return{RTL:64&r}}function Ho(){}function Uo(e,t,n){var r={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(n&&n.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10;break}return r.name=_i(e,0,n),r}function qo(e){var t=ho(e);return t.isst=e.read_shift(4),t}function Wo(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5);var r=e.l+t,i=ho(e,6);2==n.biff&&e.l++;var o=to(e,r-e.l,n);return i.val=o,i}function Go(e,t,n){var r=e.read_shift(2),i=no(e,0,n);return[r,i]}var Vo=no;function Yo(e,t,n){var r=e.l+t,i=8!=n.biff&&n.biff?2:4,o=e.read_shift(i),a=e.read_shift(i),s=e.read_shift(2),l=e.read_shift(2);return e.l=r,{s:{r:o,c:s},e:{r:a,c:l}}}function Ko(e){var t=e.read_shift(2),n=e.read_shift(2),r=go(e);return{r:t,c:n,ixfe:r[0],rknum:r[1]}}function Zo(e,t){var n=e.l+t-2,r=e.read_shift(2),i=e.read_shift(2),o=[];while(e.l>26],r.cellStyles?(i.alc=7&o,i.fWrap=o>>3&1,i.alcV=o>>4&7,i.fJustLast=o>>7&1,i.trot=o>>8&255,i.cIndent=o>>16&15,i.fShrinkToFit=o>>20&1,i.iReadOrder=o>>22&2,i.fAtrNum=o>>26&1,i.fAtrFnt=o>>27&1,i.fAtrAlc=o>>28&1,i.fAtrBdr=o>>29&1,i.fAtrPat=o>>30&1,i.fAtrProt=o>>31&1,i.dgLeft=15&a,i.dgRight=a>>4&15,i.dgTop=a>>8&15,i.dgBottom=a>>12&15,i.icvLeft=a>>16&127,i.icvRight=a>>23&127,i.grbitDiag=a>>30&3,i.icvTop=127&s,i.icvBottom=s>>7&127,i.icvDiag=s>>14&127,i.dgDiag=s>>21&15,i.icvFore=127&l,i.icvBack=l>>7&127,i.fsxButton=l>>14&1,i):i}function Qo(e,t,n){var r={};return r.ifnt=e.read_shift(2),r.numFmtId=e.read_shift(2),r.flags=e.read_shift(2),r.fStyle=r.flags>>2&1,t-=6,r.data=Jo(e,t,r.fStyle,n),r}function _o(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(0!==t[0]&&t[0]--,0!==t[1]&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}function $o(e,t,n){var r=ho(e,6);2!=n.biff&&9!=t||++e.l;var i=Qi(e,2);return r.val=i,r.t=!0===i||!1===i?"b":"e",r}function ea(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5);var r=ho(e,6),i=zr(e,8);return r.val=i,r}var ta=po;function na(e,t,n){var r=e.l+t,i=e.read_shift(2),o=e.read_shift(2);if(n.sbcch=o,1025==o||14849==o)return[o,i];if(o<1||o>255)throw new Error("Unexpected SupBook type: "+o);var a=eo(e,o),s=[];while(r>e.l)s.push(to(e));return[o,i,a,s]}function ra(e,t,n){var r,i=e.read_shift(2),o={fBuiltIn:1&i,fWantAdvise:i>>>1&1,fWantPict:i>>>2&1,fOle:i>>>3&1,fOleLink:i>>>4&1,cf:i>>>5&1023,fIcon:i>>>15&1};return 14849===n.sbcch&&(r=vo(e,t-2,n)),o.body=r||e.read_shift(t-2),"string"===typeof r&&(o.Name=r),o}var ia=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function oa(e,t,n){var r=e.l+t,i=e.read_shift(2),o=e.read_shift(1),a=e.read_shift(1),s=e.read_shift(n&&2==n.biff?1:2),l=0;(!n||n.biff>=5)&&(5!=n.biff&&(e.l+=2),l=e.read_shift(2),5==n.biff&&(e.l+=2),e.l+=4);var c=eo(e,a,n);32&i&&(c=ia[c.charCodeAt(0)]);var u=r-e.l;n&&2==n.biff&&--u;var h=r!=e.l&&0!==s&&u>0?Fu(e,u,n,s):[];return{chKey:o,Name:c,itab:l,rgce:h}}function aa(e,t,n){if(n.biff<8)return sa(e,t,n);var r=[],i=e.l+t,o=e.read_shift(n.biff>8?4:2);while(0!==o--)r.push(mo(e,n.biff>8?12:6,n));if(e.l!=i)throw new Error("Bad ExternSheet: "+e.l+" != "+i);return r}function sa(e,t,n){3==e[e.l+1]&&e[e.l]++;var r=_i(e,t,n);return 3==r.charCodeAt(0)?r.slice(1):r}function la(e,t,n){if(!(n.biff<8)){var r=e.read_shift(2),i=e.read_shift(2),o=eo(e,r,n),a=eo(e,i,n);return[o,a]}e.l+=t}function ca(e,t,n){var r=yo(e,6);e.l++;var i=e.read_shift(1);return t-=8,[zu(e,t,n),i,r]}function ua(e,t,n){var r=wo(e,6);switch(n.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[r,Iu(e,t,n,r)]}function ha(e){var t=0!==e.read_shift(4),n=0!==e.read_shift(4),r=e.read_shift(4);return[t,n,r]}function da(e,t,n){if(!(n.biff<8)){var r=e.read_shift(2),i=e.read_shift(2),o=e.read_shift(2),a=e.read_shift(2),s=no(e,0,n);return n.biff<8&&e.read_shift(1),[{r:r,c:i},s,a,o]}}function fa(e,t,n){return da(e,t,n)}function pa(e,t){var n=[],r=e.read_shift(2);while(r--)n.push(bo(e,t));return n}function ma(e,t,n){if(n&&n.biff<8)return va(e,t,n);var r=xo(e,22),i=So(e,t-22,r[1]);return{cmo:r,ft:i}}var ga={8:function(e,t){var n=e.l+t;e.l+=10;var r=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var i=e.read_shift(1);return e.l+=i,e.l=n,{fmt:r}}};function va(e,t,n){e.l+=4;var r=e.read_shift(2),i=e.read_shift(2),o=e.read_shift(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var a=[];return a.push((ga[r]||Jn)(e,t,n)),{cmo:[i,r,o],ft:a}}function ba(e,t,n){var r=e.l,i="";try{e.l+=4;var o=(n.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(o)?e.l+=6:ro(e,6,n);var a=e.read_shift(2);e.read_shift(2),Xi(e,2);var s=e.read_shift(2);e.l+=s;for(var l=1;l=(c?a:2*a))break}if(i.length!==a&&i.length!==2*a)throw new Error("cchText: "+a+" != "+i.length);return e.l=r+t,{t:i}}catch(h){return e.l=r+t,{t:i}}}function ya(e,t){var n=bo(e,8);e.l+=16;var r=lo(e,t-24);return[n,r]}function wa(e,t){e.read_shift(2);var n=bo(e,8),r=e.read_shift((t-10)/2,"dbcs-cont");return r=r.replace(I,""),[n,r]}function xa(e){var t,n=[0,0];return t=e.read_shift(2),n[0]=ii[t]||t,t=e.read_shift(2),n[1]=ii[t]||t,n}function ka(e){var t=e.read_shift(2),n=[];while(t-- >0)n.push(uo(e,8));return n}function Ca(e){var t=e.read_shift(2),n=[];while(t-- >0)n.push(uo(e,8));return n}function Aa(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t}function Ta(e,t,n){if(!n.cellStyles)return Jn(e,t);var r=n&&n.biff>=12?4:2,i=e.read_shift(r),o=e.read_shift(r),a=e.read_shift(r),s=e.read_shift(r),l=e.read_shift(2);2==r&&(e.l+=2);var c={s:i,e:o,w:a,ixfe:s,flags:l};return(n.biff>=5||!n.biff)&&(c.level=l>>8&7),c}function Sa(e,t){var n={};return t<32||(e.l+=16,n.header=zr(e,8),n.footer=zr(e,8),e.l+=2),n}function Ea(e,t,n){var r={area:!1};if(5!=n.biff)return e.l+=t,r;var i=e.read_shift(1);return e.l+=3,16&i&&(r.area=!0),r}var Ma=ho,Oa=Ji,Na=to;function La(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(4),i={fmt:t,env:n,len:r,data:e.slice(e.l,e.l+r)};return e.l+=r,i}function Da(e,t,n){n.biffguess&&5==n.biff&&(n.biff=2);var r=ho(e,6);++e.l;var i=no(e,t-7,n);return r.t="str",r.val=i,r}function Pa(e){var t=ho(e,6);++e.l;var n=zr(e,8);return t.t="n",t.val=n,t}function Ia(e){var t=ho(e,6);++e.l;var n=e.read_shift(2);return t.t="n",t.val=n,t}function Ra(e){var t=e.read_shift(1);return 0===t?(e.l++,""):e.read_shift(t,"sbcs-cont")}function Fa(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}function za(e,t,n){var r=e.l+t,i=ho(e,6),o=e.read_shift(2),a=eo(e,o,n);return e.l=r,i.t="str",i.val=a,i}var Ba=[2,3,48,49,131,139,140,245],ja=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},t=$e({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function n(t,n){var r=[],i=E(1);switch(n.type){case"base64":i=O(A(t));break;case"binary":i=O(t);break;case"buffer":case"array":i=t;break}Xn(i,0);var o=i.read_shift(1),a=!!(136&o),s=!1,l=!1;switch(o){case 2:break;case 3:break;case 48:s=!0,a=!0;break;case 49:s=!0,a=!0;break;case 131:break;case 139:break;case 140:l=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+o.toString(16))}var c=0,u=521;2==o&&(c=i.read_shift(2)),i.l+=3,2!=o&&(c=i.read_shift(4)),c>1048576&&(c=1e6),2!=o&&(u=i.read_shift(2));var h=i.read_shift(2),d=n.codepage||1252;2!=o&&(i.l+=16,i.read_shift(1),0!==i[i.l]&&(d=e[i[i.l]]),i.l+=1,i.l+=2),l&&(i.l+=36);var f=[],p={},m=Math.min(i.length,2==o?521:u-10-(s?264:0)),v=l?32:11;while(i.l0)if(42!==i[i.l])for(++i.l,r[++b]=[],y=0,y=0;y!=f.length;++y){var w=i.slice(i.l,i.l+f[y].len);i.l+=f[y].len,Xn(w,0);var x=g.utils.decode(d,w);switch(f[y].type){case"C":x.trim().length&&(r[b][y]=x.replace(/\s+$/,""));break;case"D":8===x.length?r[b][y]=new Date(+x.slice(0,4),+x.slice(4,6)-1,+x.slice(6,8)):r[b][y]=x;break;case"F":r[b][y]=parseFloat(x.trim());break;case"+":case"I":r[b][y]=l?2147483648^w.read_shift(-4,"i"):w.read_shift(4,"i");break;case"L":switch(x.trim().toUpperCase()){case"Y":case"T":r[b][y]=!0;break;case"N":case"F":r[b][y]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+x+"|")}break;case"M":if(!a)throw new Error("DBF Unexpected MEMO for type "+o.toString(16));r[b][y]="##MEMO##"+(l?parseInt(x.trim(),10):w.read_shift(4));break;case"N":x=x.replace(/\u0000/g,"").trim(),x&&"."!=x&&(r[b][y]=+x||0);break;case"@":r[b][y]=new Date(w.read_shift(-8,"f")-621356832e5);break;case"T":r[b][y]=new Date(864e5*(w.read_shift(4)-2440588)+w.read_shift(4));break;case"Y":r[b][y]=w.read_shift(4,"i")/1e4+w.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":r[b][y]=-w.read_shift(-8,"f");break;case"B":if(s&&8==f[y].len){r[b][y]=w.read_shift(8,"f");break}case"G":case"P":w.l+=f[y].len;break;case"0":if("_NullFlags"===f[y].name)break;default:throw new Error("DBF Unsupported data type "+f[y].type)}}else i.l+=h;if(2!=o&&i.l=0&&h(+r.codepage),"string"==r.type)throw new Error("Cannot write DBF to JS string");var i=$n(),s=hp(e,{header:1,raw:!0,cellDates:!0}),l=s[0],c=s.slice(1),u=e["!cols"]||[],d=0,f=0,p=0,m=1;for(d=0;d250&&(k=250),x=((u[d]||{}).DBF||{}).type,"C"==x&&u[d].DBF.len>k&&(k=u[d].DBF.len),"B"==w&&"N"==x&&(w="N",y[d]=u[d].DBF.dec,k=u[d].DBF.len),b[d]="C"==w||"N"==x?k:o[w]||0,m+=b[d],v[d]=w}else v[d]="?"}var A=i.next(32);for(A.write_shift(4,318902576),A.write_shift(4,c.length),A.write_shift(2,296+32*p),A.write_shift(2,m),d=0;d<4;++d)A.write_shift(4,0);for(A.write_shift(4,0|(+t[a]||3)<<8),d=0,f=0;d":190,"?":191,"{":223},n=new RegExp("N("+_e(t).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(e,n){var r=t[n];return"number"==typeof r?y(r):r},i=function(e,t,n){var r=t.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return 59==r?e:y(r)};function o(t,n){switch(n.type){case"base64":return a(A(t),n);case"binary":return a(t,n);case"buffer":return a(T&&e.isBuffer(t)?t.toString("binary"):N(t),n);case"array":return a(ht(t),n)}throw new Error("Unrecognized type "+n.type)}function a(e,t){var o,a=e.split(/[\n\r]+/),s=-1,l=-1,c=0,u=0,d=[],f=[],p=null,m={},v=[],b=[],y=[],w=0;for(+t.codepage>=0&&h(+t.codepage);c!==a.length;++c){w=0;var x,k=a[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,i).replace(n,r),C=k.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),A=C[0];if(k.length>0)switch(A){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":"P"==C[1].charAt(0)&&f.push(k.slice(3).replace(/;;/g,";"));break;case"C":var T=!1,S=!1,E=!1,M=!1,O=-1,N=-1;for(u=1;u-1&&d[O][N];if(!D||!D[1])throw new Error("SYLK shared formula cannot find base");d[s][l][1]=tc(D[1],{r:s-O,c:l-N})}break;case"F":var P=0;for(u=1;u0?(v[s].hpt=w,v[s].hpx=Ks(w)):0===w&&(v[s].hidden=!0);break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+k)}P<1&&(p=null);break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+k)}}return v.length>0&&(m["!rows"]=v),b.length>0&&(m["!cols"]=b),t&&t.sheetRows&&(d=d.slice(0,t.sheetRows)),[d,m]}function s(e,t){var n=o(e,t),r=n[0],i=n[1],a=kr(r,t);return _e(i).forEach((function(e){a[e]=i[e]})),a}function l(e,t){return wr(s(e,t),t)}function c(e,t,n,r){var i="C;Y"+(n+1)+";X"+(r+1)+";K";switch(e.t){case"n":i+=e.v||0,e.f&&!e.F&&(i+=";E"+ec(e.f,{r:n,c:r}));break;case"b":i+=e.v?"TRUE":"FALSE";break;case"e":i+=e.w||e.v;break;case"d":i+='"'+(e.w||e.v)+'"';break;case"s":i+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return i}function u(e,t){t.forEach((function(t,n){var r="F;W"+(n+1)+" "+(n+1)+" ";t.hidden?r+="0":("number"!=typeof t.width||t.wpx||(t.wpx=Bs(t.width)),"number"!=typeof t.wpx||t.wch||(t.wch=js(t.wpx)),"number"==typeof t.wch&&(r+=Math.round(t.wch)))," "!=r.charAt(r.length-1)&&e.push(r)}))}function d(e,t){t.forEach((function(t,n){var r="F;";t.hidden?r+="M0;":t.hpt?r+="M"+20*t.hpt+";":t.hpx&&(r+="M"+20*Ys(t.hpx)+";"),r.length>2&&e.push(r+"R"+(n+1))}))}function f(e,t){var n,r=["ID;PWXL;N;E"],i=[],o=vr(e["!ref"]),a=Array.isArray(e),s="\r\n";r.push("P;PGeneral"),r.push("F;P0;DG0G8;M255"),e["!cols"]&&u(r,e["!cols"]),e["!rows"]&&d(r,e["!rows"]),r.push("B;Y"+(o.e.r-o.s.r+1)+";X"+(o.e.c-o.s.c+1)+";D"+[o.s.c,o.s.r,o.e.c,o.e.r].join(" "));for(var l=o.s.r;l<=o.e.r;++l)for(var h=o.s.c;h<=o.e.c;++h){var f=pr({r:l,c:h});n=a?(e[l]||[])[h]:e[f],n&&(null!=n.v||n.f&&!n.F)&&i.push(c(n,e,l,h,t))}return r.join(s)+s+i.join(s)+s+"E"+s}return t["|"]=254,{to_workbook:l,to_sheet:s,from_sheet:f}}(),Ua=function(){function t(t,r){switch(r.type){case"base64":return n(A(t),r);case"binary":return n(t,r);case"buffer":return n(T&&e.isBuffer(t)?t.toString("binary"):N(t),r);case"array":return n(ht(t),r)}throw new Error("Unrecognized type "+r.type)}function n(e,t){for(var n=e.split("\n"),r=-1,i=-1,o=0,a=[];o!==n.length;++o)if("BOT"!==n[o].trim()){if(!(r<0)){var s=n[o].trim().split(","),l=s[0],c=s[1];++o;var u=n[o]||"";while(1&(u.match(/["]/g)||[]).length&&o=0&&0===o[a].length)--a;for(var s=10,l=0,c=0;c<=a;++c)l=o[c].indexOf(" "),-1==l?l=o[c].length:l++,s=Math.max(s,l);for(c=0;c<=a;++c){i[c]=[];var u=0;for(t(o[c].slice(0,s).trim(),i,c,u,r),u=1;u<=(o[c].length-s)/10+1;++u)t(o[c].slice(s+10*(u-1),s+10*u).trim(),i,c,u,r)}return r.sheetRows&&(i=i.slice(0,r.sheetRows)),i}var r={44:",",9:"\t",59:";",124:"|"},i={44:3,9:2,59:1,124:0};function o(e){for(var t={},n=!1,o=0,a=0;o0&&v(),i["!ref"]=gr(a),i}function s(e,t){return t&&t.PRN?t.FS||"sep="==e.slice(0,4)||e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0?a(e,t):kr(n(e,t),t):a(e,t)}function l(t,n){var r="",i="string"==n.type?[0,0,0,0]:tp(t,n);switch(n.type){case"base64":r=A(t);break;case"binary":r=t;break;case"buffer":r=65001==n.codepage?t.toString("utf8"):n.codepage&&"undefined"!==typeof g?g.utils.decode(n.codepage,t):T&&e.isBuffer(t)?t.toString("binary"):N(t);break;case"array":r=ht(t);break;case"string":r=t;break;default:throw new Error("Unrecognized type "+n.type)}return 239==i[0]&&187==i[1]&&191==i[2]?r=Qt(r.slice(3)):"string"!=n.type&&"buffer"!=n.type&&65001==n.codepage?r=Qt(r):"binary"==n.type&&"undefined"!==typeof g&&n.codepage&&(r=g.utils.decode(n.codepage,g.utils.encode(28591,r))),"socialcalc:version:"==r.slice(0,19)?qa.to_sheet("string"==n.type?r:Qt(r),n):s(r,n)}function c(e,t){return wr(l(e,t),t)}function u(e){for(var t,n=[],r=vr(e["!ref"]),i=Array.isArray(e),o=r.s.r;o<=r.e.r;++o){for(var a=[],s=r.s.c;s<=r.e.c;++s){var l=pr({r:o,c:s});if(t=i?(e[o]||[])[s]:e[l],t&&null!=t.v){var c=(t.w||(yr(t),t.w)||"").slice(0,10);while(c.length<10)c+=" ";a.push(c+(0===s?" ":""))}else a.push(" ")}n.push(a.join(""))}return n.join("\n")}return{to_workbook:c,to_sheet:l,from_sheet:u}}();function Ga(e,t){var n=t||{},r=!!n.WTF;n.WTF=!0;try{var i=Ha.to_workbook(e,n);return n.WTF=r,i}catch(o){if(n.WTF=r,!o.message.match(/SYLK bad record ID/)&&r)throw o;return Wa.to_workbook(e,t)}}var Va=function(){function e(e,t,n){if(e){Xn(e,e.l||0);var r=n.Enum||H;while(e.l=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])r.Enum=H,e(t,(function(e,t,n){switch(n){case 0:r.vers=e,e>=4096&&(r.qpro=!0);break;case 6:h=e;break;case 204:e&&(a=e);break;case 222:a=e;break;case 15:case 51:r.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:14==n&&112==(112&e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=r.dateNF||Z[14],r.cellDates&&(e[1].t="d",e[1].v=ot(e[1].v))),r.qpro&&e[3]>s&&(i["!ref"]=gr(h),l[o]=i,c.push(o),i=r.dense?[]:{},h={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o=a||"Sheet"+(s+1),a="");var u=r.dense?(i[e[0].r]||[])[e[0].c]:i[pr(e[0])];if(u){u.t=e[1].t,u.v=e[1].v,null!=e[1].z&&(u.z=e[1].z),null!=e[1].f&&(u.f=e[1].f);break}r.dense?(i[e[0].r]||(i[e[0].r]=[]),i[e[0].r][e[0].c]=e[1]):i[pr(e[0])]=e[1];break;default:}}),r);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);r.Enum=U,14==t[2]&&(r.qpro=!0,t.l=0),e(t,(function(e,t,n){switch(n){case 204:o=e;break;case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>s&&(i["!ref"]=gr(h),l[o]=i,c.push(o),i=r.dense?[]:{},h={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o="Sheet"+(s+1)),d>0&&e[0].r>=d)break;r.dense?(i[e[0].r]||(i[e[0].r]=[]),i[e[0].r][e[0].c]=e[1]):i[pr(e[0])]=e[1],h.e.c=0&&h(+n.codepage),"string"==n.type)throw new Error("Cannot write WK1 to JS string");var r=$n(),i=vr(e["!ref"]),a=Array.isArray(e),s=[];of(r,0,o(1030)),of(r,6,l(i));for(var c=Math.min(i.e.r,8191),u=i.s.r;u<=c;++u)for(var f=or(u),m=i.s.c;m<=i.e.c;++m){u===i.s.r&&(s[m]=cr(m));var v=s[m]+f,b=a?(e[u]||[])[m]:e[v];if(b&&"z"!=b.t)if("n"==b.t)(0|b.v)==b.v&&b.v>=-32768&&b.v<=32767?of(r,13,p(u,m,b.v)):of(r,14,g(u,m,b.v));else{var y=yr(b);of(r,15,d(u,m,y.slice(0,239)))}}return of(r,1),r.end()}function i(e,t){var n=t||{};if(+n.codepage>=0&&h(+n.codepage),"string"==n.type)throw new Error("Cannot write WK3 to JS string");var r=$n();of(r,0,a(e));for(var i=0,o=0;i8191&&(n=8191),t.write_shift(2,n),t.write_shift(1,i),t.write_shift(1,r),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,1),t.write_shift(1,2),t.write_shift(4,0),t.write_shift(4,0),t}function s(e,t,n){var r={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&n.qpro?(r.s.c=e.read_shift(1),e.l++,r.s.r=e.read_shift(2),r.e.c=e.read_shift(1),e.l++,r.e.r=e.read_shift(2),r):(r.s.c=e.read_shift(2),r.s.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),r.e.c=e.read_shift(2),r.e.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),65535==r.s.c&&(r.s.c=r.e.c=r.s.r=r.e.r=0),r)}function l(e){var t=Qn(8);return t.write_shift(2,e.s.c),t.write_shift(2,e.s.r),t.write_shift(2,e.e.c),t.write_shift(2,e.e.r),t}function c(e,t,n){var r=[{c:0,r:0},{t:"n",v:0},0,0];return n.qpro&&20768!=n.vers?(r[0].c=e.read_shift(1),r[3]=e.read_shift(1),r[0].r=e.read_shift(2),e.l+=2):(r[2]=e.read_shift(1),r[0].c=e.read_shift(2),r[0].r=e.read_shift(2)),r}function u(e,t,n){var r=e.l+t,i=c(e,t,n);if(i[1].t="s",20768==n.vers){e.l++;var o=e.read_shift(1);return i[1].v=e.read_shift(o,"utf8"),i}return n.qpro&&e.l++,i[1].v=e.read_shift(r-e.l,"cstr"),i}function d(e,t,n){var r=Qn(7+n.length);r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(1,39);for(var i=0;i=128?95:o)}return r.write_shift(1,0),r}function f(e,t,n){var r=c(e,t,n);return r[1].v=e.read_shift(2,"i"),r}function p(e,t,n){var r=Qn(7);return r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(2,n,"i"),r}function m(e,t,n){var r=c(e,t,n);return r[1].v=e.read_shift(8,"f"),r}function g(e,t,n){var r=Qn(13);return r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(8,n,"f"),r}function v(e,t,n){var r=e.l+t,i=c(e,t,n);if(i[1].v=e.read_shift(8,"f"),n.qpro)e.l=r;else{var o=e.read_shift(2);k(e.slice(e.l,e.l+o),i),e.l+=o}return i}function b(e,t,n){var r=32768&t;return t&=-32769,t=(r?e:0)+(t>=8192?t-16384:t),(r?"":"$")+(n?cr(t):or(t))}var y={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},x=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function k(e,t){Xn(e,0);var n=[],r=0,i="",o="",a="",s="";while(e.ln.length)return void console.error("WK1 bad formula parse 0x"+l.toString(16)+":|"+n.join("|")+"|");var d=n.slice(-r);n.length-=r,n.push(y[l][0]+"("+d.join(",")+")")}}}1==n.length?t[1].f=""+n[0]:console.error("WK1 bad formula parse |"+n.join("|")+"|")}function C(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function T(e,t){var n=C(e,t);return n[1].t="s",n[1].v=e.read_shift(t-4,"cstr"),n}function S(e,t,n,r){var i=Qn(6+r.length);i.write_shift(2,e),i.write_shift(1,n),i.write_shift(1,t),i.write_shift(1,39);for(var o=0;o=128?95:a)}return i.write_shift(1,0),i}function E(e,t){var n=C(e,t);n[1].v=e.read_shift(2);var r=n[1].v>>1;if(1&n[1].v)switch(7&r){case 0:r=5e3*(r>>3);break;case 1:r=500*(r>>3);break;case 2:r=(r>>3)/20;break;case 3:r=(r>>3)/200;break;case 4:r=(r>>3)/2e3;break;case 5:r=(r>>3)/2e4;break;case 6:r=(r>>3)/16;break;case 7:r=(r>>3)/64;break}return n[1].v=r,n}function M(e,t){var n=C(e,t),r=e.read_shift(4),i=e.read_shift(4),o=e.read_shift(2);if(65535==o)return 0===r&&3221225472===i?(n[1].t="e",n[1].v=15):0===r&&3489660928===i?(n[1].t="e",n[1].v=42):n[1].v=0,n;var a=32768&o;return o=(32767&o)-16446,n[1].v=(1-2*a)*(i*Math.pow(2,o+32)+r*Math.pow(2,o)),n}function N(e,t,n,r){var i=Qn(14);if(i.write_shift(2,e),i.write_shift(1,n),i.write_shift(1,t),0==r)return i.write_shift(4,0),i.write_shift(4,0),i.write_shift(2,65535),i;var o=0,a=0,s=0,l=0;return r<0&&(o=1,r=-r),a=0|Math.log2(r),r/=Math.pow(2,a-31),l=r>>>0,0==(2147483648&l)&&(r/=2,++a,l=r>>>0),r-=l,l|=2147483648,l>>>=0,r*=Math.pow(2,32),s=r>>>0,i.write_shift(4,s),i.write_shift(4,l),a+=16383+(o?32768:0),i.write_shift(2,a),i}function L(e,t){var n=M(e,14);return e.l+=t-14,n}function D(e,t){var n=C(e,t),r=e.read_shift(4);return n[1].v=r>>6,n}function P(e,t){var n=C(e,t),r=e.read_shift(8,"f");return n[1].v=r,n}function I(e,t){var n=P(e,14);return e.l+=t-10,n}function R(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function F(e,t){var n=e[e.l++];n>t-1&&(n=t-1);var r="";while(r.length127?95:i}return n[n.l++]=0,n}var H={0:{n:"BOF",f:Xi},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:s},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:f},14:{n:"NUMBER",f:m},15:{n:"LABEL",f:u},16:{n:"FORMULA",f:v},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:u},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:R},222:{n:"SHEETNAMELP",f:F},65535:{n:""}},U={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:T},23:{n:"NUMBER17",f:M},24:{n:"NUMBER18",f:E},25:{n:"FORMULA19",f:L},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:B},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:D},38:{n:"??"},39:{n:"NUMBER27",f:P},40:{n:"FORMULA28",f:I},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:R},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:z},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:r,book_to_wk3:i,to_workbook:t}}();function Ya(e){var t={},n=e.match(It),r=0,i=!1;if(n)for(;r!=n.length;++r){var o=zt(n[r]);switch(o[0].replace(/\w*:/g,"")){case"":case"":t.shadow=1;break;case"":break;case"":case"":t.outline=1;break;case"":break;case"":case"":t.strike=1;break;case"":break;case"":case"":t.u=1;break;case"":break;case"":case"":t.b=1;break;case"":break;case"":case"":t.i=1;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":i=!1;break;default:if(47!==o[0].charCodeAt(1)&&!i)throw new Error("Unrecognized rich format "+o[0])}}return t}var Ka=function(){var e=$t("t"),t=$t("rPr");function n(n){var r=n.match(e);if(!r)return{t:"s",v:""};var i={t:"s",v:Ut(r[1])},o=n.match(t);return o&&(i.s=Ya(o[1])),i}var r=/<(?:\w+:)?r>/g,i=/<\/(?:\w+:)?r>/;return function(e){return e.replace(r,"").split(i).map(n).filter((function(e){return e.v}))}}(),Za=function(){var e=/(\r\n|\n)/g;function t(e,t,n){var r=[];e.u&&r.push("text-decoration: underline;"),e.uval&&r.push("text-underline-style:"+e.uval+";"),e.sz&&r.push("font-size:"+e.sz+"pt;"),e.outline&&r.push("text-effect: outline;"),e.shadow&&r.push("text-shadow: auto;"),t.push(''),e.b&&(t.push(""),n.push("")),e.i&&(t.push(""),n.push("")),e.strike&&(t.push(""),n.push(""));var i=e.valign||"";return"superscript"==i||"super"==i?i="sup":"subscript"==i&&(i="sub"),""!=i&&(t.push("<"+i+">"),n.push("")),n.push(""),e}function n(n){var r=[[],n.v,[]];return n.v?(n.s&&t(n.s,r[0],r[2]),r[0].join("")+r[1].replace(e,"
")+r[2].join("")):""}return function(e){return e.map(n).join("")}}(),Xa=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Ja=/<(?:\w+:)?r>/,Qa=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function _a(e,t){var n=!t||t.cellHTML,r={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(r.t=Ut(Qt(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),r.r=Qt(e),n&&(r.h=Gt(r.t))):e.match(Ja)&&(r.r=Qt(e),r.t=Ut(Qt((e.replace(Qa,"").match(Xa)||[]).join("").replace(It,""))),n&&(r.h=Za(Ka(r.r)))),r):{t:""}}var $a=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,es=/<(?:\w+:)?(?:si|sstItem)>/g,ts=/<\/(?:\w+:)?(?:si|sstItem)>/;function ns(e,t){var n=[],r="";if(!e)return n;var i=e.match($a);if(i){r=i[2].replace(es,"").split(ts);for(var o=0;o!=r.length;++o){var a=_a(r[o].trim(),t);null!=a&&(n[n.length]=a)}i=zt(i[1]),n.Count=i.count,n.Unique=i.uniqueCount}return n}function rs(e){return[e.read_shift(4),e.read_shift(4)]}function is(e,t){var n=[],r=!1;return _n(e,(function(e,i,o){switch(o){case 159:n.Count=e[0],n.Unique=e[1];break;case 19:n.push(e);break;case 160:return!0;case 35:r=!0;break;case 36:r=!1;break;default:if(i.T,!r||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}})),n}function os(e){if("undefined"!==typeof g)return g.utils.encode(a,e);for(var t=[],n=e.split(""),r=0;r=4&&(e.l+=t-4),n}function ss(e){var t={};return t.id=e.read_shift(0,"lpp4"),t.R=as(e,4),t.U=as(e,4),t.W=as(e,4),t}function ls(e){var t=e.read_shift(4),n=e.l+t-4,r={},i=e.read_shift(4),o=[];while(i-- >0)o.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(r.name=e.read_shift(0,"lpp4"),r.comps=o,e.l!=n)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+n);return r}function cs(e){var t=[];e.l+=4;var n=e.read_shift(4);while(n-- >0)t.push(ls(e));return t}function us(e){var t=[];e.l+=4;var n=e.read_shift(4);while(n-- >0)t.push(e.read_shift(0,"lpp4"));return t}function hs(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=as(e,4),t.U=as(e,4),t.W=as(e,4),t}function ds(e){var t=hs(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),4!=e.read_shift(4))throw new Error("Bad !Primary record");return t}function fs(e,t){var n=e.l+t,r={};r.Flags=63&e.read_shift(4),e.l+=4,r.AlgID=e.read_shift(4);var i=!1;switch(r.AlgID){case 26126:case 26127:case 26128:i=36==r.Flags;break;case 26625:i=4==r.Flags;break;case 0:i=16==r.Flags||4==r.Flags||36==r.Flags;break;default:throw"Unrecognized encryption algorithm: "+r.AlgID}if(!i)throw new Error("Encryption Flags/AlgID mismatch");return r.AlgIDHash=e.read_shift(4),r.KeySize=e.read_shift(4),r.ProviderType=e.read_shift(4),e.l+=8,r.CSPName=e.read_shift(n-e.l>>1,"utf16le"),e.l=n,r}function ps(e,t){var n={},r=e.l+t;return e.l+=4,n.Salt=e.slice(e.l,e.l+16),e.l+=16,n.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),n.VerifierHash=e.slice(e.l,r),e.l=r,n}function ms(e){var t=as(e);switch(t.Minor){case 2:return[t.Minor,gs(e,t)];case 3:return[t.Minor,vs(e,t)];case 4:return[t.Minor,bs(e,t)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}function gs(e){var t=e.read_shift(4);if(36!=(63&t))throw new Error("EncryptionInfo mismatch");var n=e.read_shift(4),r=fs(e,n),i=ps(e,e.length-e.l);return{t:"Std",h:r,v:i}}function vs(){throw new Error("File is password-protected: ECMA-376 Extensible")}function bs(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var n=e.read_shift(e.length-e.l,"utf8"),r={};return n.replace(It,(function(e){var n=zt(e);switch(Bt(n[0])){case"":break;case"":case"":break;case"":break;case"4||r.Major<2)throw new Error("unrecognized major version code: "+r.Major);n.Flags=e.read_shift(4),t-=4;var i=e.read_shift(4);return t-=4,n.EncryptionHeader=fs(e,i),t-=i,n.EncryptionVerifier=ps(e,t),n}function ws(e){var t={},n=t.EncryptionVersionInfo=as(e,4);if(1!=n.Major||1!=n.Minor)throw"unrecognized version code "+n.Major+" : "+n.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}function xs(e){var t,n,r,i,o,a,s=0,l=os(e),c=l.length+1;for(t=E(c),t[0]=l.length,n=1;n!=c;++n)t[n]=l[n-1];for(n=c-1;n>=0;--n)r=t[n],i=0===(16384&s)?0:1,o=s<<1&32767,a=i|o,s=a^r;return 52811^s}var ks=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],n=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],r=function(e){return 255&(e/2|128*e)},i=function(e,t){return r(e^t)},o=function(e){for(var r=t[e.length-1],i=104,o=e.length-1;o>=0;--o)for(var a=e[o],s=0;7!=s;++s)64&a&&(r^=n[i]),a*=2,--i;return r};return function(t){for(var n,r,a,s=os(t),l=o(s),c=s.length,u=E(16),h=0;16!=h;++h)u[h]=0;1===(1&c)&&(n=l>>8,u[c]=i(e[0],n),--c,n=255&l,r=s[s.length-1],u[c]=i(r,n));while(c>0)--c,n=l>>8,u[c]=i(s[c],n),--c,n=255&l,u[c]=i(s[c],n);c=15,a=15-s.length;while(a>0)n=l>>8,u[c]=i(e[a],n),--c,--a,n=255&l,u[c]=i(s[c],n),--c,--a;return u}}(),Cs=function(e,t,n,r,i){var o,a;for(i||(i=t),r||(r=ks(e)),o=0;o!=t.length;++o)a=t[o],a^=r[n],a=255&(a>>5|a<<3),i[o]=a,++n;return[i,n,r]},As=function(e){var t=0,n=ks(e);return function(e){var r=Cs("",e,t,n);return t=r[1],r[0]}};function Ts(e,t,n,r){var i={key:Xi(e),verificationBytes:Xi(e)};return n.password&&(i.verifier=xs(n.password)),r.valid=i.verificationBytes===i.verifier,r.valid&&(r.insitu=As(n.password)),i}function Ss(e,t,n){var r=n||{};return r.Info=e.read_shift(2),e.l-=2,1===r.Info?r.Data=ws(e,t):r.Data=ys(e,t),r}function Es(e,t,n){var r={Type:n.biff>=8?e.read_shift(2):0};return r.Type?Ss(e,t-2,r):Ts(e,n.biff>=8?t:t-2,n,r),r}var Ms=function(){function t(t,r){switch(r.type){case"base64":return n(A(t),r);case"binary":return n(t,r);case"buffer":return n(T&&e.isBuffer(t)?t.toString("binary"):N(t),r);case"array":return n(ht(t),r)}throw new Error("Unrecognized type "+r.type)}function n(e,t){var n=t||{},r=n.dense?[]:{},i=e.match(/\\trowd.*?\\row\b/g);if(!i.length)throw new Error("RTF missing table");var o={s:{c:0,r:0},e:{c:0,r:i.length-1}};return i.forEach((function(e,t){Array.isArray(r)&&(r[t]=[]);var n,i=/\\\w+\b/g,a=0,s=-1;while(n=i.exec(e)){switch(n[0]){case"\\cell":var l=e.slice(a,i.lastIndex-n[0].length);if(" "==l[0]&&(l=l.slice(1)),++s,l.length){var c={v:l,t:"s"};Array.isArray(r)?r[t][s]=c:r[pr({r:t,c:s})]=c}break}a=i.lastIndex}s>o.e.c&&(o.e.c=s)})),r["!ref"]=gr(o),r}function r(e,n){return wr(t(e,n),n)}function i(e){for(var t,n=["{\\rtf1\\ansi"],r=vr(e["!ref"]),i=Array.isArray(e),o=r.s.r;o<=r.e.r;++o){n.push("\\trowd\\trautofit1");for(var a=r.s.c;a<=r.e.c;++a)n.push("\\cellx"+(a+1));for(n.push("\\pard\\intbl"),a=r.s.c;a<=r.e.c;++a){var s=pr({r:o,c:a});t=i?(e[o]||[])[a]:e[s],t&&(null!=t.v||t.f&&!t.F)&&(n.push(" "+(t.w||(yr(t),t.w))),n.push("\\cell"))}n.push("\\pard\\intbl\\row")}return n.join("")+"}"}return{to_workbook:r,to_sheet:t,from_sheet:i}}();function Os(e){var t=e.slice("#"===e[0]?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}function Ns(e){for(var t=0,n=1;3!=t;++t)n=256*n+(e[t]>255?255:e[t]<0?0:e[t]);return n.toString(16).toUpperCase().slice(1)}function Ls(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(t,n,r),o=Math.min(t,n,r),a=i-o;if(0===a)return[0,0,t];var s=0,l=0,c=i+o;switch(l=a/(c>1?2-c:c),i){case t:s=((n-r)/a+6)%6;break;case n:s=(r-t)/a+2;break;case r:s=(t-n)/a+4;break}return[s/6,l,c/2]}function Ds(e){var t,n=e[0],r=e[1],i=e[2],o=2*r*(i<.5?i:1-i),a=i-o/2,s=[a,a,a],l=6*n;if(0!==r)switch(0|l){case 0:case 6:t=o*l,s[0]+=o,s[1]+=t;break;case 1:t=o*(2-l),s[0]+=t,s[1]+=o;break;case 2:t=o*(l-2),s[1]+=o,s[2]+=t;break;case 3:t=o*(4-l),s[1]+=t,s[2]+=o;break;case 4:t=o*(l-4),s[2]+=o,s[0]+=t;break;case 5:t=o*(6-l),s[2]+=t,s[0]+=o;break}for(var c=0;3!=c;++c)s[c]=Math.round(255*s[c]);return s}function Ps(e,t){if(0===t)return e;var n=Ls(Os(e));return n[2]=t<0?n[2]*(1+t):1-(1-n[2])*(1-t),Ns(Ds(n))}var Is=6,Rs=15,Fs=1,zs=Is;function Bs(e){return Math.floor((e+Math.round(128/zs)/256)*zs)}function js(e){return Math.floor((e-5)/zs*100+.5)/100}function Hs(e){return Math.round((e*zs+5)/zs*256)/256}function Us(e){return Hs(js(Bs(e)))}function qs(e){var t=Math.abs(e-Us(e)),n=zs;if(t>.005)for(zs=Fs;zs":case"":break;case"":case"":i={},n.diagonalUp&&(i.diagonalUp=Yt(n.diagonalUp)),n.diagonalDown&&(i.diagonalDown=Yt(n.diagonalDown)),t.Borders.push(i);break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":break;case"":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+n[0]+" in borders")}}))}function Js(e,t,n,r){t.Fills=[];var i={},o=!1;(e[0].match(It)||[]).forEach((function(e){var n=zt(e);switch(Bt(n[0])){case"":case"":break;case"":case"":i={},t.Fills.push(i);break;case"":break;case"":break;case"":t.Fills.push(i),i={};break;case"":n.patternType&&(i.patternType=n.patternType);break;case"":case"":break;case"":case"":break;case"":case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+n[0]+" in fills")}}))}function Qs(e,t,n,r){t.Fonts=[];var i={},o=!1;(e[0].match(It)||[]).forEach((function(e){var a=zt(e);switch(Bt(a[0])){case"":case"":break;case"":break;case"":case"":t.Fonts.push(i),i={};break;case"":case"":break;case"":i.bold=1;break;case"":i.italic=1;break;case"":i.underline=1;break;case"":i.strike=1;break;case"":i.outline=1;break;case"":i.shadow=1;break;case"":i.condense=1;break;case"":i.extend=1;break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":o=!1;break;case"":case"":break;case"":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+a[0]+" in fonts")}}))}function _s(e,t,n){t.NumberFmt=[];for(var r=_e(Z),i=0;i":case"":case"":break;case"0){if(l>392){for(l=392;l>60;--l)if(null==t.NumberFmt[l])break;t.NumberFmt[l]=s}qe(s,l)}break;case"":break;default:if(n.WTF)throw new Error("unrecognized "+a[0]+" in numFmts")}}}var $s=["numFmtId","fillId","fontId","borderId","xfId"],el=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function tl(e,t,n){var r;t.CellXf=[];var i=!1;(e[0].match(It)||[]).forEach((function(e){var o=zt(e),a=0;switch(Bt(o[0])){case"":case"":case"":break;case"":for(r=o,delete r[0],a=0;a<$s.length;++a)r[$s[a]]&&(r[$s[a]]=parseInt(r[$s[a]],10));for(a=0;a392)for(a=392;a>60;--a)if(t.NumberFmt[r.numFmtId]==t.NumberFmt[a]){r.numFmtId=a;break}t.CellXf.push(r);break;case"":break;case"":var s={};o.vertical&&(s.vertical=o.vertical),o.horizontal&&(s.horizontal=o.horizontal),null!=o.textRotation&&(s.textRotation=o.textRotation),o.indent&&(s.indent=o.indent),o.wrapText&&(s.wrapText=Yt(o.wrapText)),r.alignment=s;break;case"":break;case"":case"":break;case"":i=!1;break;case"":case"":break;case"":i=!1;break;default:if(n&&n.WTF&&!i)throw new Error("unrecognized "+o[0]+" in cellXfs")}}))}var nl=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,n=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,r=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,i=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(o,a,s){var l,c={};return o?(o=o.replace(//gm,"").replace(//gm,""),(l=o.match(e))&&_s(l,c,s),(l=o.match(r))&&Qs(l,c,a,s),(l=o.match(n))&&Js(l,c,a,s),(l=o.match(i))&&Xs(l,c,a,s),(l=o.match(t))&&tl(l,c,s),c):c}}();function rl(e,t){var n=e.read_shift(2),r=Ar(e,t-2);return[n,r]}function il(e,t,n){var r={};r.sz=e.read_shift(2)/20;var i=jr(e,2,n);i.fItalic&&(r.italic=1),i.fCondense&&(r.condense=1),i.fExtend&&(r.extend=1),i.fShadow&&(r.shadow=1),i.fOutline&&(r.outline=1),i.fStrikeout&&(r.strike=1);var o=e.read_shift(2);switch(700===o&&(r.bold=1),e.read_shift(2)){case 1:r.vertAlign="superscript";break;case 2:r.vertAlign="subscript";break}var a=e.read_shift(1);0!=a&&(r.underline=a);var s=e.read_shift(1);s>0&&(r.family=s);var l=e.read_shift(1);switch(l>0&&(r.charset=l),e.l++,r.color=Br(e,8),e.read_shift(1)){case 1:r.scheme="major";break;case 2:r.scheme="minor";break}return r.name=Ar(e,t-21),r}var ol=Jn;function al(e,t){var n=e.l+t,r=e.read_shift(2),i=e.read_shift(2);return e.l=n,{ixfe:r,numFmtId:i}}var sl=Jn;function ll(e,t,n){var r={NumberFmt:[]};for(var i in Z)r.NumberFmt[i]=Z[i];r.CellXf=[],r.Fonts=[];var o=[],a=!1;return _n(e,(function(e,i,s){switch(s){case 44:r.NumberFmt[e[0]]=e[1],qe(e[1],e[0]);break;case 43:r.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=Ps(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:617==o[o.length-1]&&r.CellXf.push(e);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:a=!0;break;case 36:a=!1;break;case 37:o.push(s),a=!0;break;case 38:o.pop(),a=!1;break;default:if(i.T>0)o.push(s);else if(i.T<0)o.pop();else if(!a||n.WTF&&37!=o[o.length-1])throw new Error("Unexpected record 0x"+s.toString(16))}})),r}var cl=["","","","","","","","","","","",""];function ul(e,t,n){t.themeElements.clrScheme=[];var r={};(e[0].match(It)||[]).forEach((function(e){var i=zt(e);switch(i[0]){case"":break;case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":"/"===i[0].charAt(1)?(t.themeElements.clrScheme[cl.indexOf(i[0])]=r,r={}):r.name=i[0].slice(3,i[0].length-1);break;default:if(n&&n.WTF)throw new Error("Unrecognized "+i[0]+" in clrScheme")}}))}function hl(){}function dl(){}var fl=/]*)>[\s\S]*<\/a:clrScheme>/,pl=/]*)>[\s\S]*<\/a:fontScheme>/,ml=/]*)>[\s\S]*<\/a:fmtScheme>/;function gl(e,t,n){var r;t.themeElements={},[["clrScheme",fl,ul],["fontScheme",pl,hl],["fmtScheme",ml,dl]].forEach((function(i){if(!(r=e.match(i[1])))throw new Error(i[0]+" not found in themeElements");i[2](r,t,n)}))}var vl=/]*)>[\s\S]*<\/a:themeElements>/;function bl(e,t){var n;e&&0!==e.length||(e=yl());var r={};if(!(n=e.match(vl)))throw new Error("themeElements not found in theme");return gl(n[0],r,t),r.raw=e,r}function yl(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var n=[Nt];return n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n.join("")}function wl(e,t,n){var r=e.l+t,i=e.read_shift(4);if(124226!==i)if(n.cellStyles){var o,a=e.slice(e.l);e.l=r;try{o=Mt(a,{type:"array"})}catch(l){return}var s=At(o,"theme/theme/theme1.xml",!0);if(s)return bl(s,n)}else e.l=r}function xl(e){return e.read_shift(4)}function kl(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=Cl(e,4);break;case 2:t.xclrValue=co(e,4);break;case 3:t.xclrValue=xl(e,4);break;case 4:e.l+=4;break}return e.l+=8,t}function Cl(e,t){return Jn(e,t)}function Al(e,t){return Jn(e,t)}function Tl(e){var t=e.read_shift(2),n=e.read_shift(2)-4,r=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:r[1]=kl(e,n);break;case 6:r[1]=Al(e,n);break;case 14:case 15:r[1]=e.read_shift(1===n?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+n)}return r}function Sl(e,t){var n=e.l+t;e.l+=2;var r=e.read_shift(2);e.l+=2;var i=e.read_shift(2),o=[];while(i-- >0)o.push(Tl(e,n-e.l));return{ixfe:r,ext:o}}function El(e,t){t.forEach((function(e){switch(e[0]){case 4:break;case 5:break;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:break;case 13:break;case 14:break;case 15:break}}))}function Ml(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:Ar(e,t-8)}}function Ol(e){var t=[],n=e.read_shift(4);while(n-- >0)t.push([e.read_shift(4),e.read_shift(4)]);return t}function Nl(e){return e.l+=4,0!=e.read_shift(4)}function Ll(e,t,n){var r={Types:[],Cell:[],Value:[]},i=n||{},o=[],a=!1,s=2;return _n(e,(function(e,t,n){switch(n){case 335:r.Types.push({name:e.name});break;case 51:e.forEach((function(e){1==s?r.Cell.push({type:r.Types[e[0]-1].name,index:e[1]}):0==s&&r.Value.push({type:r.Types[e[0]-1].name,index:e[1]})}));break;case 337:s=e?1:0;break;case 338:s=2;break;case 35:o.push(n),a=!0;break;case 36:o.pop(),a=!1;break;default:if(t.T);else if(!a||i.WTF&&35!=o[o.length-1])throw new Error("Unexpected record 0x"+n.toString(16))}})),r}function Dl(e,t,n){var r={Types:[],Cell:[],Value:[]};if(!e)return r;var i,o=!1,a=2;return e.replace(It,(function(e){var t=zt(e);switch(Bt(t[0])){case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":a=2;break;case"":a=2;break;case"":case"":case"":break;case"":o=!1;break;case"":case"":break;case"]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][n].Target}function jl(e,t,n,r){var i,o=Array.isArray(e);t.forEach((function(t){var a=fr(t.ref);if(o?(e[a.r]||(e[a.r]=[]),i=e[a.r][a.c]):i=e[t.ref],!i){i={t:"z"},o?e[a.r][a.c]=i:e[t.ref]=i;var s=vr(e["!ref"]||"BDWGO1000001:A1");s.s.r>a.r&&(s.s.r=a.r),s.e.ra.c&&(s.s.c=a.c),s.e.c=0;--u){if(!n&&i.c[u].T)return;n&&!i.c[u].T&&i.c.splice(u,1)}if(n&&r)for(u=0;u/))return[];var n=[],r=[],i=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);i&&i[1]&&i[1].split(/<\/\w*:?author>/).forEach((function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&n.push(t[1])}}));var o=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return o&&o[1]&&o[1].split(/<\/\w*:?comment>/).forEach((function(e){if(""!==e&&""!==e.trim()){var i=e.match(/<(?:\w+:)?comment[^>]*>/);if(i){var o=zt(i[0]),a={author:o.authorId&&n[o.authorId]||"sheetjsghost",ref:o.ref,guid:o.guid},s=fr(o.ref);if(!(t.sheetRows&&t.sheetRows<=s.r)){var l=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),c=!!l&&!!l[1]&&_a(l[1])||{r:"",t:"",h:""};a.r=c.r,""==c.r&&(c.t=c.h=""),a.t=(c.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(a.h=c.h),r.push(a)}}}})),r}function Ul(e,t){var n=[],r=!1,i={},o=0;return e.replace(It,(function(a,s){var l=zt(a);switch(Bt(l[0])){case"":break;case"":null!=i.t&&n.push(i);break;case"":case"":i.t=e.slice(o,s).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"":r=!0;break;case"":r=!1;break;case"":case"":case"":break;case"":r=!1;break;default:if(!r&&t.WTF)throw new Error("unrecognized "+l[0]+" in threaded comments")}return a})),n}function ql(e,t){var n=[],r=!1;return e.replace(It,(function(e){var i=zt(e);switch(Bt(i[0])){case"":break;case"":break;case"":case"":case"":break;case"":r=!1;break;default:if(!r&&t.WTF)throw new Error("unrecognized "+i[0]+" in threaded comments")}return e})),n}function Wl(e){var t={};t.iauthor=e.read_shift(4);var n=Fr(e,16);return t.rfx=n.s,t.ref=pr(n.s),e.l+=16,t}var Gl=Ar;function Vl(e,t){var n=[],r=[],i={},o=!1;return _n(e,(function(e,a,s){switch(s){case 632:r.push(e);break;case 635:i=e;break;case 637:i.t=e.t,i.h=e.h,i.r=e.r;break;case 636:if(i.author=r[i.iauthor],delete i.iauthor,t.sheetRows&&i.rfx&&t.sheetRows<=i.rfx.r)break;i.t||(i.t=""),delete i.rfx,n.push(i);break;case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:break;case 38:break;default:if(a.T);else if(!o||t.WTF)throw new Error("Unexpected record 0x"+s.toString(16))}})),n}var Yl="application/vnd.ms-office.vbaProject";function Kl(e){var t=Xe.utils.cfb_new({root:"R"});return e.FullPaths.forEach((function(n,r){if("/"!==n.slice(-1)&&n.match(/_VBA_PROJECT_CUR/)){var i=n.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Xe.utils.cfb_add(t,i,e.FileIndex[r].content)}})),Xe.write(t)}function Zl(){return{"!type":"dialog"}}function Xl(){return{"!type":"dialog"}}function Jl(){return{"!type":"macro"}}function Ql(){return{"!type":"macro"}}var _l=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function n(e,n,r,i){var o=!1,a=!1;0==r.length?a=!0:"["==r.charAt(0)&&(a=!0,r=r.slice(1,-1)),0==i.length?o=!0:"["==i.charAt(0)&&(o=!0,i=i.slice(1,-1));var s=r.length>0?0|parseInt(r,10):0,l=i.length>0?0|parseInt(i,10):0;return o?l+=t.c:--l,a?s+=t.r:--s,n+(o?"":"$")+cr(l)+(a?"":"$")+or(s)}return function(r,i){return t=i,r.replace(e,n)}}(),$l=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,ec=function(){return function(e,t){return e.replace($l,(function(e,n,r,i,o,a){var s=lr(i)-(r?0:t.c),l=ir(a)-(o?0:t.r),c=0==l?"":o?l+1:"["+l+"]",u=0==s?"":r?s+1:"["+s+"]";return n+"R"+c+"C"+u}))}}();function tc(e,t){return e.replace($l,(function(e,n,r,i,o,a){return n+("$"==r?r+i:cr(lr(i)+t.c))+("$"==o?o+a:or(ir(a)+t.r))}))}function nc(e,t,n){var r=mr(t),i=r.s,o=fr(n),a={r:o.r-i.r,c:o.c-i.c};return tc(e,a)}function rc(e){return 1!=e.length}function ic(e){return e.replace(/_xlfn\./g,"")}function oc(e){e.l+=1}function ac(e,t){var n=e.read_shift(1==t?1:2);return[16383&n,n>>14&1,n>>15&1]}function sc(e,t,n){var r=2;if(n){if(n.biff>=2&&n.biff<=5)return lc(e,t,n);12==n.biff&&(r=4)}var i=e.read_shift(r),o=e.read_shift(r),a=ac(e,2),s=ac(e,2);return{s:{r:i,c:a[0],cRel:a[1],rRel:a[2]},e:{r:o,c:s[0],cRel:s[1],rRel:s[2]}}}function lc(e){var t=ac(e,2),n=ac(e,2),r=e.read_shift(1),i=e.read_shift(1);return{s:{r:t[0],c:r,cRel:t[1],rRel:t[2]},e:{r:n[0],c:i,cRel:n[1],rRel:n[2]}}}function cc(e,t,n){if(n.biff<8)return lc(e,t,n);var r=e.read_shift(12==n.biff?4:2),i=e.read_shift(12==n.biff?4:2),o=ac(e,2),a=ac(e,2);return{s:{r:r,c:o[0],cRel:o[1],rRel:o[2]},e:{r:i,c:a[0],cRel:a[1],rRel:a[2]}}}function uc(e,t,n){if(n&&n.biff>=2&&n.biff<=5)return hc(e,t,n);var r=e.read_shift(n&&12==n.biff?4:2),i=ac(e,2);return{r:r,c:i[0],cRel:i[1],rRel:i[2]}}function hc(e){var t=ac(e,2),n=e.read_shift(1);return{r:t[0],c:n,cRel:t[1],rRel:t[2]}}function dc(e){var t=e.read_shift(2),n=e.read_shift(2);return{r:t,c:255&n,fQuoted:!!(16384&n),cRel:n>>15,rRel:n>>15}}function fc(e,t,n){var r=n&&n.biff?n.biff:8;if(r>=2&&r<=5)return pc(e,t,n);var i=e.read_shift(r>=12?4:2),o=e.read_shift(2),a=(16384&o)>>14,s=(32768&o)>>15;if(o&=16383,1==s)while(i>524287)i-=1048576;if(1==a)while(o>8191)o-=16384;return{r:i,c:o,cRel:a,rRel:s}}function pc(e){var t=e.read_shift(2),n=e.read_shift(1),r=(32768&t)>>15,i=(16384&t)>>14;return t&=16383,1==r&&t>=8192&&(t-=16384),1==i&&n>=128&&(n-=256),{r:t,c:n,cRel:i,rRel:r}}function mc(e,t,n){var r=(96&e[e.l++])>>5,i=sc(e,n.biff>=2&&n.biff<=5?6:8,n);return[r,i]}function gc(e,t,n){var r=(96&e[e.l++])>>5,i=e.read_shift(2,"i"),o=8;if(n)switch(n.biff){case 5:e.l+=12,o=6;break;case 12:o=12;break}var a=sc(e,o,n);return[r,i,a]}function vc(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=n&&n.biff>8?12:n.biff<8?6:8,[r]}function bc(e,t,n){var r=(96&e[e.l++])>>5,i=e.read_shift(2),o=8;if(n)switch(n.biff){case 5:e.l+=12,o=6;break;case 12:o=12;break}return e.l+=o,[r,i]}function yc(e,t,n){var r=(96&e[e.l++])>>5,i=cc(e,t-1,n);return[r,i]}function wc(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=2==n.biff?6:12==n.biff?14:7,[r]}function xc(e){var t=1&e[e.l+1],n=1;return e.l+=4,[t,n]}function kc(e,t,n){e.l+=2;for(var r=e.read_shift(n&&2==n.biff?1:2),i=[],o=0;o<=r;++o)i.push(e.read_shift(n&&2==n.biff?1:2));return i}function Cc(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(n&&2==n.biff?1:2)]}function Ac(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(n&&2==n.biff?1:2)]}function Tc(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}function Sc(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=n&&2==n.biff?3:4,[r]}function Ec(e){var t=e.read_shift(1),n=e.read_shift(1);return[t,n]}function Mc(e){return e.read_shift(2),Ec(e,2)}function Oc(e){return e.read_shift(2),Ec(e,2)}function Nc(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=uc(e,0,n);return[r,i]}function Lc(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=fc(e,0,n);return[r,i]}function Dc(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=e.read_shift(2);n&&5==n.biff&&(e.l+=12);var o=uc(e,0,n);return[r,i,o]}function Pc(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=e.read_shift(n&&n.biff<=3?1:2);return[Ku[i],Yu[i],r]}function Ic(e,t,n){var r=e[e.l++],i=e.read_shift(1),o=n&&n.biff<=3?[88==r?-1:0,e.read_shift(1)]:Rc(e);return[i,(0===o[0]?Yu:Vu)[o[1]]]}function Rc(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}function Fc(e,t,n){e.l+=n&&2==n.biff?3:4}function zc(e,t,n){if(e.l++,n&&12==n.biff)return[e.read_shift(4,"i"),0];var r=e.read_shift(2),i=e.read_shift(n&&2==n.biff?1:2);return[r,i]}function Bc(e){return e.l++,ci[e.read_shift(1)]}function jc(e){return e.l++,e.read_shift(2)}function Hc(e){return e.l++,0!==e.read_shift(1)}function Uc(e){return e.l++,zr(e,8)}function qc(e,t,n){return e.l++,_i(e,t-1,n)}function Wc(e,t){var n=[e.read_shift(1)];if(12==t)switch(n[0]){case 2:n[0]=4;break;case 4:n[0]=16;break;case 0:n[0]=1;break;case 1:n[0]=2;break}switch(n[0]){case 4:n[1]=Zi(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:n[1]=ci[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:n[1]=zr(e,8);break;case 2:n[1]=no(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+n[0])}return n}function Gc(e,t,n){for(var r=e.read_shift(12==n.biff?4:2),i=[],o=0;o!=r;++o)i.push((12==n.biff?Fr:bo)(e,8));return i}function Vc(e,t,n){var r=0,i=0;12==n.biff?(r=e.read_shift(4),i=e.read_shift(4)):(i=1+e.read_shift(1),r=1+e.read_shift(2)),n.biff>=2&&n.biff<8&&(--r,0==--i&&(i=256));for(var o=0,a=[];o!=r&&(a[o]=[]);++o)for(var s=0;s!=i;++s)a[o][s]=Wc(e,n.biff);return a}function Yc(e,t,n){var r=e.read_shift(1)>>>5&3,i=!n||n.biff>=8?4:2,o=e.read_shift(i);switch(n.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[r,0,o]}function Kc(e,t,n){if(5==n.biff)return Zc(e,t,n);var r=e.read_shift(1)>>>5&3,i=e.read_shift(2),o=e.read_shift(4);return[r,i,o]}function Zc(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2,"i");e.l+=8;var r=e.read_shift(2);return e.l+=12,[t,n,r]}function Xc(e,t,n){var r=e.read_shift(1)>>>5&3;e.l+=n&&2==n.biff?3:4;var i=e.read_shift(n&&2==n.biff?1:2);return[r,i]}function Jc(e,t,n){var r=e.read_shift(1)>>>5&3,i=e.read_shift(n&&2==n.biff?1:2);return[r,i]}function Qc(e,t,n){var r=e.read_shift(1)>>>5&3;return e.l+=4,n.biff<8&&e.l--,12==n.biff&&(e.l+=2),[r]}function _c(e,t,n){var r=(96&e[e.l++])>>5,i=e.read_shift(2),o=4;if(n)switch(n.biff){case 5:o=15;break;case 12:o=6;break}return e.l+=o,[r,i]}var $c=Jn,eu=Jn,tu=Jn;function nu(e,t,n){return e.l+=2,[dc(e,4,n)]}function ru(e){return e.l+=6,[]}var iu=nu,ou=ru,au=ru,su=nu;function lu(e){return e.l+=2,[Xi(e),1&e.read_shift(2)]}var cu=nu,uu=lu,hu=ru,du=nu,fu=nu,pu=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function mu(e){e.l+=2;var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(4),i=e.read_shift(2),o=e.read_shift(2),a=pu[n>>2&31];return{ixti:t,coltype:3&n,rt:a,idx:r,c:i,C:o}}function gu(e){return e.l+=2,[e.read_shift(4)]}function vu(e,t,n){return e.l+=5,e.l+=2,e.l+=2==n.biff?1:4,["PTGSHEET"]}function bu(e,t,n){return e.l+=2==n.biff?4:5,["PTGENDSHEET"]}function yu(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2);return[t,n]}function wu(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2);return[t,n]}function xu(e){return e.l+=4,[0,0]}var ku={1:{n:"PtgExp",f:zc},2:{n:"PtgTbl",f:tu},3:{n:"PtgAdd",f:oc},4:{n:"PtgSub",f:oc},5:{n:"PtgMul",f:oc},6:{n:"PtgDiv",f:oc},7:{n:"PtgPower",f:oc},8:{n:"PtgConcat",f:oc},9:{n:"PtgLt",f:oc},10:{n:"PtgLe",f:oc},11:{n:"PtgEq",f:oc},12:{n:"PtgGe",f:oc},13:{n:"PtgGt",f:oc},14:{n:"PtgNe",f:oc},15:{n:"PtgIsect",f:oc},16:{n:"PtgUnion",f:oc},17:{n:"PtgRange",f:oc},18:{n:"PtgUplus",f:oc},19:{n:"PtgUminus",f:oc},20:{n:"PtgPercent",f:oc},21:{n:"PtgParen",f:oc},22:{n:"PtgMissArg",f:oc},23:{n:"PtgStr",f:qc},26:{n:"PtgSheet",f:vu},27:{n:"PtgEndSheet",f:bu},28:{n:"PtgErr",f:Bc},29:{n:"PtgBool",f:Hc},30:{n:"PtgInt",f:jc},31:{n:"PtgNum",f:Uc},32:{n:"PtgArray",f:wc},33:{n:"PtgFunc",f:Pc},34:{n:"PtgFuncVar",f:Ic},35:{n:"PtgName",f:Yc},36:{n:"PtgRef",f:Nc},37:{n:"PtgArea",f:mc},38:{n:"PtgMemArea",f:Xc},39:{n:"PtgMemErr",f:$c},40:{n:"PtgMemNoMem",f:eu},41:{n:"PtgMemFunc",f:Jc},42:{n:"PtgRefErr",f:Qc},43:{n:"PtgAreaErr",f:vc},44:{n:"PtgRefN",f:Lc},45:{n:"PtgAreaN",f:yc},46:{n:"PtgMemAreaN",f:yu},47:{n:"PtgMemNoMemN",f:wu},57:{n:"PtgNameX",f:Kc},58:{n:"PtgRef3d",f:Dc},59:{n:"PtgArea3d",f:gc},60:{n:"PtgRefErr3d",f:_c},61:{n:"PtgAreaErr3d",f:bc},255:{}},Cu={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},Au={1:{n:"PtgElfLel",f:lu},2:{n:"PtgElfRw",f:du},3:{n:"PtgElfCol",f:iu},6:{n:"PtgElfRwV",f:fu},7:{n:"PtgElfColV",f:su},10:{n:"PtgElfRadical",f:cu},11:{n:"PtgElfRadicalS",f:hu},13:{n:"PtgElfColS",f:ou},15:{n:"PtgElfColSV",f:au},16:{n:"PtgElfRadicalLel",f:uu},25:{n:"PtgList",f:mu},29:{n:"PtgSxName",f:gu},255:{}},Tu={0:{n:"PtgAttrNoop",f:xu},1:{n:"PtgAttrSemi",f:Sc},2:{n:"PtgAttrIf",f:Ac},4:{n:"PtgAttrChoose",f:kc},8:{n:"PtgAttrGoto",f:Cc},16:{n:"PtgAttrSum",f:Fc},32:{n:"PtgAttrBaxcel",f:xc},33:{n:"PtgAttrBaxcel",f:xc},64:{n:"PtgAttrSpace",f:Mc},65:{n:"PtgAttrSpaceSemi",f:Oc},128:{n:"PtgAttrIfError",f:Tc},255:{}};function Su(e,t,n,r){if(r.biff<8)return Jn(e,t);for(var i=e.l+t,o=[],a=0;a!==n.length;++a)switch(n[a][0]){case"PtgArray":n[a][1]=Vc(e,0,r),o.push(n[a][1]);break;case"PtgMemArea":n[a][2]=Gc(e,n[a][1],r),o.push(n[a][2]);break;case"PtgExp":r&&12==r.biff&&(n[a][1][1]=e.read_shift(4),o.push(n[a][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+n[a][0];default:break}return t=i-e.l,0!==t&&o.push(Jn(e,t)),o}function Eu(e,t,n){var r,i,o=e.l+t,a=[];while(o!=e.l)t=o-e.l,i=e[e.l],r=ku[i]||ku[Cu[i]],24!==i&&25!==i||(r=(24===i?Au:Tu)[e[e.l+1]]),r&&r.f?a.push([r.n,r.f(e,t,n)]):Jn(e,t);return a}function Mu(e){for(var t=[],n=0;n=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Nu(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function Lu(e,t,n){if(!e)return"SH33TJSERR0";if(n.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var r=e.XTI[t];if(n.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!r)return"SH33TJSERR1";var i="";if(n.biff>8)switch(e[r[0]][0]){case 357:return i=-1==r[1]?"#REF":e.SheetNames[r[1]],r[1]==r[2]?i:i+":"+e.SheetNames[r[2]];case 358:return null!=n.SID?e.SheetNames[n.SID]:"SH33TJSSAME"+e[r[0]][0];case 355:default:return"SH33TJSSRC"+e[r[0]][0]}switch(e[r[0]][0][0]){case 1025:return i=-1==r[1]?"#REF":e.SheetNames[r[1]]||"SH33TJSERR3",r[1]==r[2]?i:i+":"+e.SheetNames[r[2]];case 14849:return e[r[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[r[0]][0][3]?(i=-1==r[1]?"#REF":e[r[0]][0][3][r[1]]||"SH33TJSERR4",r[1]==r[2]?i:i+":"+e[r[0]][0][3][r[2]]):"SH33TJSERR2"}}function Du(e,t,n){var r=Lu(e,t,n);return"#REF"==r?r:Nu(r,n)}function Pu(e,t,n,r,i){var o,a,s,l,c=i&&i.biff||8,u={s:{c:0,r:0},e:{c:0,r:0}},h=[],d=0,f=0,p="";if(!e[0]||!e[0][0])return"";for(var m=-1,g="",v=0,b=e[0].length;v=0){switch(e[0][m][1][0]){case 0:g=ft(" ",e[0][m][1][1]);break;case 1:g=ft("\r",e[0][m][1][1]);break;default:if(g="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}a+=g,m=-1}h.push(a+Ou[y[0]]+o);break;case"PtgIsect":o=h.pop(),a=h.pop(),h.push(a+" "+o);break;case"PtgUnion":o=h.pop(),a=h.pop(),h.push(a+","+o);break;case"PtgRange":o=h.pop(),a=h.pop(),h.push(a+":"+o);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":s=er(y[1][1],u,i),h.push(nr(s,c));break;case"PtgRefN":s=n?er(y[1][1],n,i):y[1][1],h.push(nr(s,c));break;case"PtgRef3d":d=y[1][1],s=er(y[1][2],u,i),p=Du(r,d,i);h.push(p+"!"+nr(s,c));break;case"PtgFunc":case"PtgFuncVar":var w=y[1][0],x=y[1][1];w||(w=0),w&=127;var k=0==w?[]:h.slice(-w);h.length-=w,"User"===x&&(x=k.shift()),h.push(x+"("+k.join(",")+")");break;case"PtgBool":h.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":h.push(y[1]);break;case"PtgNum":h.push(String(y[1]));break;case"PtgStr":h.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgErr":h.push(y[1]);break;case"PtgAreaN":l=tr(y[1][1],n?{s:n}:u,i),h.push(rr(l,i));break;case"PtgArea":l=tr(y[1][1],u,i),h.push(rr(l,i));break;case"PtgArea3d":d=y[1][1],l=y[1][2],p=Du(r,d,i),h.push(p+"!"+rr(l,i));break;case"PtgAttrSum":h.push("SUM("+h.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":f=y[1][2];var C=(r.names||[])[f-1]||(r[0]||[])[f],A=C?C.Name:"SH33TJSNAME"+String(f);A&&"_xlfn."==A.slice(0,6)&&!i.xlfn&&(A=A.slice(6)),h.push(A);break;case"PtgNameX":var T,S=y[1][1];if(f=y[1][2],!(i.biff<=5)){var E="";if(14849==((r[S]||[])[0]||[])[0]||(1025==((r[S]||[])[0]||[])[0]?r[S][f]&&r[S][f].itab>0&&(E=r.SheetNames[r[S][f].itab-1]+"!"):E=r.SheetNames[f-1]+"!"),r[S]&&r[S][f])E+=r[S][f].Name;else if(r[0]&&r[0][f])E+=r[0][f].Name;else{var M=(Lu(r,S,i)||"").split(";;");M[f-1]?E=M[f-1]:E+="SH33TJSERRX"}h.push(E);break}S<0&&(S=-S),r[S]&&(T=r[S][f]),T||(T={Name:"SH33TJSERRY"}),h.push(T.Name);break;case"PtgParen":var O="(",N=")";if(m>=0){switch(g="",e[0][m][1][0]){case 2:O=ft(" ",e[0][m][1][1])+O;break;case 3:O=ft("\r",e[0][m][1][1])+O;break;case 4:N=ft(" ",e[0][m][1][1])+N;break;case 5:N=ft("\r",e[0][m][1][1])+N;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}m=-1}h.push(O+h.pop()+N);break;case"PtgRefErr":h.push("#REF!");break;case"PtgRefErr3d":h.push("#REF!");break;case"PtgExp":s={c:y[1][1],r:y[1][0]};var L={c:n.c,r:n.r};if(r.sharedf[pr(s)]){var D=r.sharedf[pr(s)];h.push(Pu(D,u,L,r,i))}else{var P=!1;for(o=0;o!=r.arrayf.length;++o)if(a=r.arrayf[o],!(s.ca[0].e.c)&&!(s.ra[0].e.r)){h.push(Pu(a[1],u,L,r,i)),P=!0;break}P||h.push(y[1])}break;case"PtgArray":h.push("{"+Mu(y[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=v;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":h.push("");break;case"PtgAreaErr":h.push("#REF!");break;case"PtgAreaErr3d":h.push("#REF!");break;case"PtgList":h.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(y));default:throw new Error("Unrecognized Formula Token: "+String(y))}var I=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(3!=i.biff&&m>=0&&-1==I.indexOf(e[0][v][0])){y=e[0][m];var R=!0;switch(y[1][0]){case 4:R=!1;case 0:g=ft(" ",y[1][1]);break;case 5:R=!1;case 1:g=ft("\r",y[1][1]);break;default:if(g="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}h.push((R?g:"")+h.pop()+(R?"":g)),m=-1}}if(h.length>1&&i.WTF)throw new Error("bad formula stack");return h[0]}function Iu(e,t,n){var r,i=e.l+t,o=2==n.biff?1:2,a=e.read_shift(o);if(65535==a)return[[],Jn(e,t-2)];var s=Eu(e,a,n);return t!==a+o&&(r=Su(e,t-a-o,s,n)),e.l=i,[s,r]}function Ru(e,t,n){var r,i=e.l+t,o=2==n.biff?1:2,a=e.read_shift(o);if(65535==a)return[[],Jn(e,t-2)];var s=Eu(e,a,n);return t!==a+o&&(r=Su(e,t-a-o,s,n)),e.l=i,[s,r]}function Fu(e,t,n,r){var i,o=e.l+t,a=Eu(e,r,n);return o!==e.l&&(i=Su(e,o-e.l,a,n)),[a,i]}function zu(e,t,n){var r,i=e.l+t,o=e.read_shift(2),a=Eu(e,o,n);return 65535==o?[[],Jn(e,t-2)]:(t!==o+2&&(r=Su(e,i-o-2,a,n)),[a,r])}function Bu(e){var t;if(65535!==Bn(e,e.l+6))return[zr(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}function ju(e,t,n){var r=e.l+t,i=ho(e,6);2==n.biff&&++e.l;var o=Bu(e,8),a=e.read_shift(1);2!=n.biff&&(e.read_shift(1),n.biff>=5&&e.read_shift(4));var s=Ru(e,r-e.l,n);return{cell:i,val:o[0],formula:s,shared:a>>3&1,tt:o[1]}}function Hu(e,t,n){var r=e.read_shift(4),i=Eu(e,r,n),o=e.read_shift(4),a=o>0?Su(e,o,i,n):null;return[i,a]}var Uu=Hu,qu=Hu,Wu=Hu,Gu=Hu,Vu={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},Yu={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Ku={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function Zu(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&(e=e.slice(1),61==e.charCodeAt(0)&&(e=e.slice(1))),e=e.replace(/COM\.MICROSOFT\./g,""),e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(e,t){return t.replace(/\./g,"")})),e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),e.replace(/[;~]/g,",").replace(/\|/g,";")}function Xu(e){var t=e.split(":"),n=t[0].split(".")[0];return[n,t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}var Ju={},Qu={};function _u(e,t){if(e){var n=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(n=[1,1,1,1,.5,.5]),null==e.left&&(e.left=n[0]),null==e.right&&(e.right=n[1]),null==e.top&&(e.top=n[2]),null==e.bottom&&(e.bottom=n[3]),null==e.header&&(e.header=n[4]),null==e.footer&&(e.footer=n[5])}}function $u(e,t,n,r,i,o){try{r.cellNF&&(e.z=Z[t])}catch(s){if(r.WTF)throw s}if("z"!==e.t||r.cellStyles){if("d"===e.t&&"string"===typeof e.v&&(e.v=ut(e.v)),(!r||!1!==r.cellText)&&"z"!==e.t)try{if(null==Z[t]&&qe(Ge[t]||"General",t),"e"===e.t)e.w=e.w||ci[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=e.v.toString(10):e.w=le(e.v);else if("d"===e.t){var a=tt(e.v);e.w=(0|a)===a?a.toString(10):le(a)}else{if(void 0===e.v)return"";e.w=ce(e.v,Qu)}else"d"===e.t?e.w=Ue(t,tt(e.v),Qu):e.w=Ue(t,e.v,Qu)}catch(s){if(r.WTF)throw s}if(r.cellStyles&&null!=n)try{e.s=o.Fills[n],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=Ps(i.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),r.WTF&&(e.s.fgColor.raw_rgb=i.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=Ps(i.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),r.WTF&&(e.s.bgColor.raw_rgb=i.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(s){if(r.WTF&&o.Fills)throw s}}}function eh(e,t){var n=vr(t);n.s.r<=n.e.r&&n.s.c<=n.e.c&&n.s.r>=0&&n.s.c>=0&&(e["!ref"]=gr(n))}var th=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,nh=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,rh=/<(?:\w:)?hyperlink [^>]*>/gm,ih=/"(\w*:\w*)"/,oh=/<(?:\w:)?col\b[^>]*[\/]?>/g,ah=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,sh=/<(?:\w:)?pageMargins[^>]*\/>/g,lh=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,ch=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,uh=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function hh(e,t,n,r,i,o,a){if(!e)return e;r||(r={"!id":{}}),null!=w&&null==t.dense&&(t.dense=w);var s=t.dense?[]:{},l={s:{r:2e6,c:2e6},e:{r:0,c:0}},c="",u="",h=e.match(nh);h?(c=e.slice(0,h.index),u=e.slice(h.index+h[0].length)):c=u=e;var d=c.match(lh);d?dh(d[0],s,i,n):(d=c.match(ch))&&fh(d[0],d[1]||"",s,i,n,a,o);var f=(c.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(f>0){var p=c.slice(f,f+50).match(ih);p&&eh(s,p[1])}var m=c.match(uh);m&&m[1]&&yh(m[1],i);var g=[];if(t.cellStyles){var v=c.match(oh);v&&gh(g,v)}h&&wh(h[1],s,t,l,o,a);var b=u.match(ah);b&&(s["!autofilter"]=vh(b[0]));var y=[],x=u.match(th);if(x)for(f=0;f!=x.length;++f)y[f]=vr(x[f].slice(x[f].indexOf('"')+1));var k=u.match(rh);k&&ph(s,k,r);var C=u.match(sh);if(C&&(s["!margins"]=mh(zt(C[0]))),!s["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r&&(s["!ref"]=gr(l)),t.sheetRows>0&&s["!ref"]){var A=vr(s["!ref"]);t.sheetRows<=+A.e.r&&(A.e.r=t.sheetRows-1,A.e.r>l.e.r&&(A.e.r=l.e.r),A.e.rl.e.c&&(A.e.c=l.e.c),A.e.c0&&(s["!cols"]=g),y.length>0&&(s["!merges"]=y),s}function dh(e,t,n,r){var i=zt(e);n.Sheets[r]||(n.Sheets[r]={}),i.codeName&&(n.Sheets[r].CodeName=Ut(Qt(i.codeName)))}function fh(e,t,n,r,i){dh(e.slice(0,e.indexOf(">")),n,r,i)}function ph(e,t,n){for(var r=Array.isArray(e),i=0;i!=t.length;++i){var o=zt(Qt(t[i]),!0);if(!o.ref)return;var a=((n||{})["!id"]||[])[o.id];a?(o.Target=a.Target,o.location&&(o.Target+="#"+Ut(o.location))):(o.Target="#"+Ut(o.location),a={Target:o.Target,TargetMode:"Internal"}),o.Rel=a,o.tooltip&&(o.Tooltip=o.tooltip,delete o.tooltip);for(var s=vr(o.ref),l=s.s.r;l<=s.e.r;++l)for(var c=s.s.c;c<=s.e.c;++c){var u=pr({c:c,r:l});r?(e[l]||(e[l]=[]),e[l][c]||(e[l][c]={t:"z",v:void 0}),e[l][c].l=o):(e[u]||(e[u]={t:"z",v:void 0}),e[u].l=o)}}}function mh(e){var t={};return["left","right","top","bottom","header","footer"].forEach((function(n){e[n]&&(t[n]=parseFloat(e[n]))})),t}function gh(e,t){for(var n=!1,r=0;r!=t.length;++r){var i=zt(t[r],!0);i.hidden&&(i.hidden=Yt(i.hidden));var o=parseInt(i.min,10)-1,a=parseInt(i.max,10)-1;i.outlineLevel&&(i.level=+i.outlineLevel||0),delete i.min,delete i.max,i.width=+i.width,!n&&i.width&&(n=!0,qs(i.width)),Ws(i);while(o<=a)e[o++]=dt(i)}}function vh(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}var bh=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function yh(e,t){t.Views||(t.Views=[{}]),(e.match(bh)||[]).forEach((function(e,n){var r=zt(e);t.Views[n]||(t.Views[n]={}),+r.zoomScale&&(t.Views[n].zoom=+r.zoomScale),Yt(r.rightToLeft)&&(t.Views[n].RTL=!0)}))}var wh=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,n=/r=["']([^"']*)["']/,r=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,i=/ref=["']([^"']*)["']/,o=$t("v"),a=$t("f");return function(s,l,c,u,h,d){for(var f,p,m,g,v,b=0,y="",w=[],x=[],k=0,C=0,A=0,T="",S=0,E=0,M=0,O=0,N=Array.isArray(d.CellXf),L=[],D=[],P=Array.isArray(l),I=[],R={},F=!1,z=!!c.sheetStubs,B=s.split(t),j=0,H=B.length;j!=H;++j){y=B[j].trim();var U=y.length;if(0!==U){var q=0;e:for(b=0;b":if("/"!=y[b-1]){++b;break e}if(c&&c.cellStyles){if(p=zt(y.slice(q,b),!0),S=null!=p.r?parseInt(p.r,10):S+1,E=-1,c.sheetRows&&c.sheetRows=b)break;if(p=zt(y.slice(q,b),!0),S=null!=p.r?parseInt(p.r,10):S+1,E=-1,!(c.sheetRows&&c.sheetRowsS-1&&(u.s.r=S-1),u.e.r":"")+y,null!=x&&2===x.length){for(k=0,T=x[1],C=0;C!=T.length;++C){if((A=T.charCodeAt(C)-64)<1||A>26)break;k=26*k+A}--k,E=k}else++E;for(C=0;C!=y.length;++C)if(62===y.charCodeAt(C))break;if(++C,p=zt(y.slice(0,C),!0),p.r||(p.r=pr({r:S-1,c:E})),T=y.slice(C),f={t:""},null!=(x=T.match(o))&&""!==x[1]&&(f.v=Ut(x[1])),c.cellFormula){if(null!=(x=T.match(a))&&""!==x[1]){if(f.f=Ut(Qt(x[1])).replace(/\r\n/g,"\n"),c.xlfn||(f.f=ic(f.f)),x[0].indexOf('t="array"')>-1)f.F=(T.match(i)||[])[1],f.F.indexOf(":")>-1&&L.push([vr(f.F),f.F]);else if(x[0].indexOf('t="shared"')>-1){g=zt(x[0]);var G=Ut(Qt(x[1]));c.xlfn||(G=ic(G)),D[parseInt(g.si,10)]=[g,G,p.r]}}else(x=T.match(/]*\/>/))&&(g=zt(x[0]),D[g.si]&&(f.f=nc(D[g.si][1],D[g.si][2],p.r)));var V=fr(p.r);for(C=0;C=L[C][0].s.r&&V.r<=L[C][0].e.r&&V.c>=L[C][0].s.c&&V.c<=L[C][0].e.c&&(f.F=L[C][1])}if(null==p.t&&void 0===f.v)if(f.f||f.F)f.v=0,f.t="n";else{if(!z)continue;f.t="z"}else f.t=p.t||"n";switch(u.s.c>E&&(u.s.c=E),u.e.c0&&(l["!rows"]=I)}}();function xh(e,t){var n={},r=e.l+t;n.r=e.read_shift(4),e.l+=4;var i=e.read_shift(2);e.l+=1;var o=e.read_shift(1);return e.l=r,7&o&&(n.level=7&o),16&o&&(n.hidden=!0),32&o&&(n.hpt=i/20),n}var kh=Fr;function Ch(){}function Ah(e,t){var n={},r=e[e.l];return++e.l,n.above=!(64&r),n.left=!(128&r),e.l+=18,n.name=Nr(e,t-19),n}function Th(e){var t=Mr(e);return[t]}function Sh(e){var t=Or(e);return[t]}function Eh(e){var t=Mr(e),n=e.read_shift(1);return[t,n,"b"]}function Mh(e){var t=Or(e),n=e.read_shift(1);return[t,n,"b"]}function Oh(e){var t=Mr(e),n=e.read_shift(1);return[t,n,"e"]}function Nh(e){var t=Or(e),n=e.read_shift(1);return[t,n,"e"]}function Lh(e){var t=Mr(e),n=e.read_shift(4);return[t,n,"s"]}function Dh(e){var t=Or(e),n=e.read_shift(4);return[t,n,"s"]}function Ph(e){var t=Mr(e),n=zr(e);return[t,n,"n"]}function Ih(e){var t=Or(e),n=zr(e);return[t,n,"n"]}function Rh(e){var t=Mr(e),n=Ir(e);return[t,n,"n"]}function Fh(e){var t=Or(e),n=Ir(e);return[t,n,"n"]}function zh(e){var t=Mr(e),n=Sr(e);return[t,n,"is"]}function Bh(e){var t=Mr(e),n=Ar(e);return[t,n,"str"]}function jh(e){var t=Or(e),n=Ar(e);return[t,n,"str"]}function Hh(e,t,n){var r=e.l+t,i=Mr(e);i.r=n["!row"];var o=e.read_shift(1),a=[i,o,"b"];if(n.cellFormula){e.l+=2;var s=qu(e,r-e.l,n);a[3]=Pu(s,null,i,n.supbooks,n)}else e.l=r;return a}function Uh(e,t,n){var r=e.l+t,i=Mr(e);i.r=n["!row"];var o=e.read_shift(1),a=[i,o,"e"];if(n.cellFormula){e.l+=2;var s=qu(e,r-e.l,n);a[3]=Pu(s,null,i,n.supbooks,n)}else e.l=r;return a}function qh(e,t,n){var r=e.l+t,i=Mr(e);i.r=n["!row"];var o=zr(e),a=[i,o,"n"];if(n.cellFormula){e.l+=2;var s=qu(e,r-e.l,n);a[3]=Pu(s,null,i,n.supbooks,n)}else e.l=r;return a}function Wh(e,t,n){var r=e.l+t,i=Mr(e);i.r=n["!row"];var o=Ar(e),a=[i,o,"str"];if(n.cellFormula){e.l+=2;var s=qu(e,r-e.l,n);a[3]=Pu(s,null,i,n.supbooks,n)}else e.l=r;return a}var Gh=Fr;function Vh(e,t){var n=e.l+t,r=Fr(e,16),i=Lr(e),o=Ar(e),a=Ar(e),s=Ar(e);e.l=n;var l={rfx:r,relId:i,loc:o,display:s};return a&&(l.Tooltip=a),l}function Yh(){}function Kh(e,t,n){var r=e.l+t,i=Rr(e,16),o=e.read_shift(1),a=[i];if(a[2]=o,n.cellFormula){var s=Uu(e,r-e.l,n);a[1]=s}else e.l=r;return a}function Zh(e,t,n){var r=e.l+t,i=Fr(e,16),o=[i];if(n.cellFormula){var a=Gu(e,r-e.l,n);o[1]=a,e.l=r}else e.l=r;return o}var Xh=["left","right","top","bottom","header","footer"];function Jh(e){var t={};return Xh.forEach((function(n){t[n]=zr(e,8)})),t}function Qh(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}function _h(){}function $h(){}function ed(e,t,n,r,i,o,a){if(!e)return e;var s=t||{};r||(r={"!id":{}}),null!=w&&null==s.dense&&(s.dense=w);var l,c,u,h,d,f,p,m,g,v,b=s.dense?[]:{},y={s:{r:2e6,c:2e6},e:{r:0,c:0}},x=[],k=!1,C=!1,A=[];s.biff=12,s["!row"]=0;var T=0,S=!1,E=[],M={},O=s.supbooks||i.supbooks||[[]];if(O.sharedf=M,O.arrayf=E,O.SheetNames=i.SheetNames||i.Sheets.map((function(e){return e.name})),!s.supbooks&&(s.supbooks=O,i.Names))for(var N=0;N=N[0].s.r&&c.r<=N[0].e.r&&f>=N[0].s.c&&f<=N[0].e.c&&(u.F=gr(N[0]),S=!0)}!S&&e.length>3&&(u.f=e[3])}if(y.s.r>c.r&&(y.s.r=c.r),y.s.c>f&&(y.s.c=f),y.e.rc.r&&(y.s.r=c.r),y.s.c>f&&(y.s.c=f),y.e.r=e.s)P[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},R||(R=!0,qs(e.w/256)),Ws(P[e.e+1]);break;case 161:b["!autofilter"]={ref:gr(e)};break;case 476:b["!margins"]=e;break;case 147:i.Sheets[n]||(i.Sheets[n]={}),e.name&&(i.Sheets[n].CodeName=e.name),(e.above||e.left)&&(b["!outline"]={above:e.above,left:e.left});break;case 137:i.Views||(i.Views=[{}]),i.Views[0]||(i.Views[0]={}),e.RTL&&(i.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:k=!0;break;case 36:k=!1;break;case 37:x.push(w),k=!0;break;case 38:x.pop(),k=!1;break;default:if(t.T);else if(!k||s.WTF)throw new Error("Unexpected record 0x"+w.toString(16))}}),s),delete s.supbooks,delete s["!row"],!b["!ref"]&&(y.s.r<2e6||l&&(l.e.r>0||l.e.c>0||l.s.r>0||l.s.c>0))&&(b["!ref"]=gr(l||y)),s.sheetRows&&b["!ref"]){var F=vr(b["!ref"]);s.sheetRows<=+F.e.r&&(F.e.r=s.sheetRows-1,F.e.r>y.e.r&&(F.e.r=y.e.r),F.e.ry.e.c&&(F.e.c=y.e.c),F.e.c0&&(b["!merges"]=A),P.length>0&&(b["!cols"]=P),I.length>0&&(b["!rows"]=I),b}function td(e){var t,n=[],r=e.match(/^/);(e.match(/(.*?)<\/c:pt>/gm)||[]).forEach((function(e){var t=e.match(/(.*)<\/c:v><\/c:pt>/);t&&(n[+t[1]]=r?+t[2]:t[2])}));var i=Ut((e.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/(.*?)<\/c:f>/gm)||[]).forEach((function(e){t=e.replace(/<.*?>/g,"")})),[n,i,t]}function nd(e,t,n,r,i,o){var a=o||{"!type":"chart"};if(!e)return o;var s=0,l=0,c="A",u={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(e){var t=td(e);u.s.r=u.s.c=0,u.e.c=s,c=cr(s),t[0].forEach((function(e,n){a[c+or(n)]={t:"n",v:e,z:t[1]},l=n})),u.e.r0&&(a["!ref"]=gr(u)),a}function rd(e,t,n,r,i){if(!e)return e;r||(r={"!id":{}});var o,a={"!type":"chart","!drawel":null,"!rel":""},s=e.match(lh);return s&&dh(s[0],a,i,n),(o=e.match(/drawing r:id="(.*?)"/))&&(a["!rel"]=o[1]),r["!id"][a["!rel"]]&&(a["!drawel"]=r["!id"][a["!rel"]]),a}function id(e,t){e.l+=10;var n=Ar(e,t-10);return{name:n}}function od(e,t,n,r,i){if(!e)return e;r||(r={"!id":{}});var o={"!type":"chart","!drawel":null,"!rel":""},a=[],s=!1;return _n(e,(function(e,r,l){switch(l){case 550:o["!rel"]=e;break;case 651:i.Sheets[n]||(i.Sheets[n]={}),e.name&&(i.Sheets[n].CodeName=e.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:a.push(l);break;case 38:a.pop();break;default:if(r.T>0)a.push(l);else if(r.T<0)a.pop();else if(!s||t.WTF)throw new Error("Unexpected record 0x"+l.toString(16))}}),t),r["!id"][o["!rel"]]&&(o["!drawel"]=r["!id"][o["!rel"]]),o}var ad=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],sd=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],ld=[],cd=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function ud(e,t){for(var n=0;n!=e.length;++n)for(var r=e[n],i=0;i!=t.length;++i){var o=t[i];if(null==r[o[0]])r[o[0]]=o[1];else switch(o[2]){case"bool":"string"==typeof r[o[0]]&&(r[o[0]]=Yt(r[o[0]]));break;case"int":"string"==typeof r[o[0]]&&(r[o[0]]=parseInt(r[o[0]],10));break}}}function hd(e,t){for(var n=0;n!=t.length;++n){var r=t[n];if(null==e[r[0]])e[r[0]]=r[1];else switch(r[2]){case"bool":"string"==typeof e[r[0]]&&(e[r[0]]=Yt(e[r[0]]));break;case"int":"string"==typeof e[r[0]]&&(e[r[0]]=parseInt(e[r[0]],10));break}}}function dd(e){hd(e.WBProps,ad),hd(e.CalcPr,cd),ud(e.WBView,sd),ud(e.Sheets,ld),Qu.date1904=Yt(e.WBProps.date1904)}var fd="][*?/\\".split("");function pd(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var n=!0;return fd.forEach((function(r){if(-1!=e.indexOf(r)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");n=!1}})),n}var md=/<\w+:workbook/;function gd(e,t){if(!e)throw new Error("Could not find file");var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},r=!1,i="xmlns",o={},a=0;if(e.replace(It,(function(s,l){var c=zt(s);switch(Bt(c[0])){case"":break;case"":case"":break;case"":break;case"":ad.forEach((function(e){if(null!=c[e[0]])switch(e[2]){case"bool":n.WBProps[e[0]]=Yt(c[e[0]]);break;case"int":n.WBProps[e[0]]=parseInt(c[e[0]],10);break;default:n.WBProps[e[0]]=c[e[0]]}})),c.codeName&&(n.WBProps.CodeName=Qt(c.codeName));break;case"":break;case"":break;case"":case"":break;case"":delete c[0],n.WBView.push(c);break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":r=!1;break;case"":o.Ref=Ut(Qt(e.slice(a,l))),n.Names.push(o);break;case"":break;case"":delete c[0],n.CalcPr=c;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":case"":break;case"":r=!1;break;case"":r=!0;break;case"":r=!1;break;case"8?Ar(e):"";return i.length>0&&(n.CodeName=i),n.autoCompressPictures=!!(65536&r),n.backupFile=!!(64&r),n.checkCompatibility=!!(4096&r),n.date1904=!!(1&r),n.filterPrivacy=!!(8&r),n.hidePivotFieldList=!!(1024&r),n.promptedSolutions=!!(16&r),n.publishItems=!!(2048&r),n.refreshAllConnections=!!(262144&r),n.saveExternalLinkValues=!!(128&r),n.showBorderUnselectedTables=!!(4&r),n.showInkAnnotation=!!(32&r),n.showObjects=["all","placeholders","none"][r>>13&3],n.showPivotChartFilter=!!(32768&r),n.updateLinks=["userSet","never","always"][r>>8&3],n}function yd(e,t){var n={};return e.read_shift(4),n.ArchID=e.read_shift(4),e.l+=t-8,n}function wd(e,t,n){var r=e.l+t;e.l+=4,e.l+=1;var i=e.read_shift(4),o=Dr(e),a=Wu(e,0,n),s=Lr(e);e.l=r;var l={Name:o,Ptg:a};return i<268435455&&(l.Sheet=i),s&&(l.Comment=s),l}function xd(e,t){var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},r=[],i=!1;t||(t={}),t.biff=12;var o=[],a=[[]];return a.SheetNames=[],a.XTI=[],nf[16]={n:"BrtFRTArchID$",f:yd},_n(e,(function(e,s,l){switch(l){case 156:a.SheetNames.push(e.name),n.Sheets.push(e);break;case 153:n.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=Pu(e.Ptg,null,null,a,t),delete t.SID,delete e.Ptg,o.push(e);break;case 1036:break;case 357:case 358:case 355:case 667:a[0].length?a.push([l,e]):a[0]=[l,e],a[a.length-1].XTI=[];break;case 362:0===a.length&&(a[0]=[],a[0].XTI=[]),a[a.length-1].XTI=a[a.length-1].XTI.concat(e),a.XTI=a.XTI.concat(e);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:r.push(l),i=!0;break;case 36:r.pop(),i=!1;break;case 37:r.push(l),i=!0;break;case 38:r.pop(),i=!1;break;case 16:break;default:if(s.T);else if(!i||t.WTF&&37!=r[r.length-1]&&35!=r[r.length-1])throw new Error("Unexpected record 0x"+l.toString(16))}}),t),dd(n),n.Names=o,n.supbooks=a,n}function kd(e,t,n){return".bin"===t.slice(-4)?xd(e,n):gd(e,n)}function Cd(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?ed(e,r,n,i,o,a,s):hh(e,r,n,i,o,a,s)}function Ad(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?od(e,r,n,i,o,a,s):rd(e,r,n,i,o,a,s)}function Td(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?Jl(e,r,n,i,o,a,s):Ql(e,r,n,i,o,a,s)}function Sd(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?Zl(e,r,n,i,o,a,s):Xl(e,r,n,i,o,a,s)}function Ed(e,t,n,r){return".bin"===t.slice(-4)?ll(e,n,r):nl(e,n,r)}function Md(e,t,n){return bl(e,n)}function Od(e,t,n){return".bin"===t.slice(-4)?is(e,n):ns(e,n)}function Nd(e,t,n){return".bin"===t.slice(-4)?Vl(e,n):Hl(e,n)}function Ld(e,t,n){return".bin"===t.slice(-4)?Rl(e,t,n):Pl(e,t,n)}function Dd(e,t,n,r){return".bin"===n.slice(-4)?zl(e,t,n,r):Fl(e,t,n,r)}function Pd(e,t,n){return".bin"===t.slice(-4)?Ll(e,t,n):Dl(e,t,n)}var Id,Rd=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Fd=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function zd(e,t){var n=e.split(/\s+/),r=[];if(t||(r[0]=n[0]),1===n.length)return r;var i,o,a,s,l=e.match(Rd);if(l)for(s=0;s!=l.length;++s)i=l[s].match(Fd),-1===(o=i[1].indexOf(":"))?r[i[1]]=i[2].slice(1,i[2].length-1):(a="xmlns:"===i[1].slice(0,6)?"xmlns"+i[1].slice(6):i[1].slice(o+1),r[a]=i[2].slice(1,i[2].length-1));return r}function Bd(e){var t=e.split(/\s+/),n={};if(1===t.length)return n;var r,i,o,a,s=e.match(Rd);if(s)for(a=0;a!=s.length;++a)r=s[a].match(Fd),-1===(i=r[1].indexOf(":"))?n[r[1]]=r[2].slice(1,r[2].length-1):(o="xmlns:"===r[1].slice(0,6)?"xmlns"+r[1].slice(6):r[1].slice(i+1),n[o]=r[2].slice(1,r[2].length-1));return n}function jd(e,t){var n=Id[e]||Ut(e);return"General"===n?ce(t):Ue(n,t)}function Hd(e,t,n,r){var i=r;switch((n[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":i=Yt(r);break;case"i2":case"int":i=parseInt(r,10);break;case"r4":case"float":i=parseFloat(r);break;case"date":case"dateTime.tz":i=ut(r);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+n[0])}e[Ut(t)]=i}function Ud(e,t,n){if("z"!==e.t){if(!n||!1!==n.cellText)try{"e"===e.t?e.w=e.w||ci[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=le(e.v):e.w=ce(e.v):e.w=jd(t||"General",e.v)}catch(o){if(n.WTF)throw o}try{var r=Id[t]||t||"General";if(n.cellNF&&(e.z=r),n.cellDates&&"n"==e.t&&Fe(r)){var i=_(e.v);i&&(e.t="d",e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}catch(o){if(n.WTF)throw o}}}function qd(e,t,n){if(n.cellStyles&&t.Interior){var r=t.Interior;r.Pattern&&(r.patternType=Zs[r.Pattern]||r.Pattern)}e[t.ID]=t}function Wd(e,t,n,r,i,o,a,s,l,c){var u="General",h=r.StyleID,d={};c=c||{};var f=[],p=0;void 0===h&&s&&(h=s.StyleID),void 0===h&&a&&(h=a.StyleID);while(void 0!==o[h]){if(o[h].nf&&(u=o[h].nf),o[h].Interior&&f.push(o[h].Interior),!o[h].Parent)break;h=o[h].Parent}switch(n.Type){case"Boolean":r.t="b",r.v=Yt(e);break;case"String":r.t="s",r.r=Vt(Ut(e)),r.v=e.indexOf("<")>-1?Ut(t||e).replace(/<.*?>/g,""):r.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),r.v=(ut(e)-new Date(Date.UTC(1899,11,30)))/864e5,r.v!==r.v?r.v=Ut(e):r.v<60&&(r.v=r.v-1),u&&"General"!=u||(u="yyyy-mm-dd");case"Number":void 0===r.v&&(r.v=+e),r.t||(r.t="n");break;case"Error":r.t="e",r.v=ui[e],!1!==c.cellText&&(r.w=e);break;default:""==e&&""==t?r.t="z":(r.t="s",r.v=Vt(t||e));break}if(Ud(r,u,c),!1!==c.cellFormula)if(r.Formula){var m=Ut(r.Formula);61==m.charCodeAt(0)&&(m=m.slice(1)),r.f=_l(m,i),delete r.Formula,"RC"==r.ArrayRange?r.F=_l("RC:RC",i):r.ArrayRange&&(r.F=_l(r.ArrayRange,i),l.push([vr(r.F),r.F]))}else for(p=0;p=l[p][0].s.r&&i.r<=l[p][0].e.r&&i.c>=l[p][0].s.c&&i.c<=l[p][0].e.c&&(r.F=l[p][1]);c.cellStyles&&(f.forEach((function(e){!d.patternType&&e.patternType&&(d.patternType=e.patternType)})),r.s=d),void 0!==r.StyleID&&(r.ixfe=r.StyleID)}function Gd(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function Vd(e,t){var n=t||{};We();var r=v(cn(e));"binary"!=n.type&&"array"!=n.type&&"base64"!=n.type||(r="undefined"!==typeof g?g.utils.decode(65001,f(r)):Qt(r));var i,o=r.slice(0,1024).toLowerCase(),a=!1;if(o=o.replace(/".*?"/g,""),(1023&o.indexOf(">"))>Math.min(1023&o.indexOf(","),1023&o.indexOf(";"))){var s=dt(n);return s.type="string",Wa.to_workbook(r,s)}if(-1==o.indexOf("=0&&(a=!0)})),a)return uf(r,n);Id={"General Number":"General","General Date":Z[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":Z[15],"Short Date":Z[14],"Long Time":Z[19],"Medium Time":Z[18],"Short Time":Z[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:Z[2],Standard:Z[4],Percent:Z[10],Scientific:Z[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var l,c=[];null!=w&&null==n.dense&&(n.dense=w);var u,h={},d=[],p=n.dense?[]:{},m="",b={},y={},x=zd(''),k=0,C=0,A=0,T={s:{r:2e6,c:2e6},e:{r:0,c:0}},S={},E={},M="",O=0,N=[],L={},D={},P=0,I=[],R=[],F={},z=[],B=!1,j=[],H=[],U={},q=0,W=0,G={Sheets:[],WBProps:{date1904:!1}},V={};un.lastIndex=0,r=r.replace(//gm,"");var Y="";while(i=un.exec(r))switch(i[3]=(Y=i[3]).toLowerCase()){case"data":if("data"==Y){if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&c.push([i[3],!0]);break}if(c[c.length-1][1])break;"/"===i[1]?Wd(r.slice(k,i.index),M,x,"comment"==c[c.length-1][0]?F:b,{c:C,r:A},S,z[C],y,j,n):(M="",x=zd(i[0]),k=i.index+i[0].length);break;case"cell":if("/"===i[1])if(R.length>0&&(b.c=R),(!n.sheetRows||n.sheetRows>A)&&void 0!==b.v&&(n.dense?(p[A]||(p[A]=[]),p[A][C]=b):p[cr(C)+or(A)]=b),b.HRef&&(b.l={Target:Ut(b.HRef)},b.HRefScreenTip&&(b.l.Tooltip=b.HRefScreenTip),delete b.HRef,delete b.HRefScreenTip),(b.MergeAcross||b.MergeDown)&&(q=C+(0|parseInt(b.MergeAcross,10)),W=A+(0|parseInt(b.MergeDown,10)),N.push({s:{c:C,r:A},e:{c:q,r:W}})),n.sheetStubs)if(b.MergeAcross||b.MergeDown){for(var K=C;K<=q;++K)for(var X=A;X<=W;++X)(K>C||X>A)&&(n.dense?(p[X]||(p[X]=[]),p[X][K]={t:"z"}):p[cr(K)+or(X)]={t:"z"});C=q+1}else++C;else b.MergeAcross?C=q+1:++C;else b=Bd(i[0]),b.Index&&(C=+b.Index-1),CT.e.c&&(T.e.c=C),"/>"===i[0].slice(-2)&&++C,R=[];break;case"row":"/"===i[1]||"/>"===i[0].slice(-2)?(AT.e.r&&(T.e.r=A),"/>"===i[0].slice(-2)&&(y=zd(i[0]),y.Index&&(A=+y.Index-1)),C=0,++A):(y=zd(i[0]),y.Index&&(A=+y.Index-1),U={},("0"==y.AutoFitHeight||y.Height)&&(U.hpx=parseInt(y.Height,10),U.hpt=Ys(U.hpx),H[A]=U),"1"==y.Hidden&&(U.hidden=!0,H[A]=U));break;case"worksheet":if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"));d.push(m),T.s.r<=T.e.r&&T.s.c<=T.e.c&&(p["!ref"]=gr(T),n.sheetRows&&n.sheetRows<=T.e.r&&(p["!fullref"]=p["!ref"],T.e.r=n.sheetRows-1,p["!ref"]=gr(T))),N.length&&(p["!merges"]=N),z.length>0&&(p["!cols"]=z),H.length>0&&(p["!rows"]=H),h[m]=p}else T={s:{r:2e6,c:2e6},e:{r:0,c:0}},A=C=0,c.push([i[3],!1]),l=zd(i[0]),m=Ut(l.Name),p=n.dense?[]:{},N=[],j=[],H=[],V={name:m,Hidden:0},G.Sheets.push(V);break;case"table":if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else{if("/>"==i[0].slice(-2))break;c.push([i[3],!1]),z=[],B=!1}break;case"style":"/"===i[1]?qd(S,E,n):E=zd(i[0]);break;case"numberformat":E.nf=Ut(zd(i[0]).Format||"General"),Id[E.nf]&&(E.nf=Id[E.nf]);for(var J=0;392!=J;++J)if(Z[J]==E.nf)break;if(392==J)for(J=57;392!=J;++J)if(null==Z[J]){qe(E.nf,J);break}break;case"column":if("table"!==c[c.length-1][0])break;if(u=zd(i[0]),u.Hidden&&(u.hidden=!0,delete u.Hidden),u.Width&&(u.wpx=parseInt(u.Width,10)),!B&&u.wpx>10){B=!0,zs=Is;for(var Q=0;Q0&&(ee.Sheet=G.Sheets.length-1),G.Names.push(ee);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if("/>"===i[0].slice(-2))break;"/"===i[1]?M+=r.slice(O,i.index):O=i.index+i[0].length;break;case"interior":if(!n.cellStyles)break;E.Interior=zd(i[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===i[0].slice(-2))break;"/"===i[1]?Oi(L,Y,r.slice(P,i.index)):P=i.index+i[0].length;break;case"paragraphs":break;case"styles":case"workbook":if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else c.push([i[3],!1]);break;case"comment":if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"));Gd(F),R.push(F)}else c.push([i[3],!1]),l=zd(i[0]),F={a:l.Author};break;case"autofilter":if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else if("/"!==i[0].charAt(i[0].length-2)){var te=zd(i[0]);p["!autofilter"]={ref:_l(te.Range).replace(/\$/g,"")},c.push([i[3],!0])}break;case"name":break;case"datavalidation":if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&c.push([i[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&c.push([i[3],!0]);break;case"null":break;default:if(0==c.length&&"document"==i[3])return kf(r,n);if(0==c.length&&"uof"==i[3])return kf(r,n);var ne=!0;switch(c[c.length-1][0]){case"officedocumentsettings":switch(i[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:ne=!1}break;case"componentoptions":switch(i[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:ne=!1}break;case"excelworkbook":switch(i[3]){case"date1904":G.WBProps.date1904=!0;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:ne=!1}break;case"workbookoptions":switch(i[3]){case"owcversion":break;case"height":break;case"width":break;default:ne=!1}break;case"worksheetoptions":switch(i[3]){case"visible":if("/>"===i[0].slice(-2));else if("/"===i[1])switch(r.slice(P,i.index)){case"SheetHidden":V.Hidden=1;break;case"SheetVeryHidden":V.Hidden=2;break}else P=i.index+i[0].length;break;case"header":p["!margins"]||_u(p["!margins"]={},"xlml"),isNaN(+zt(i[0]).Margin)||(p["!margins"].header=+zt(i[0]).Margin);break;case"footer":p["!margins"]||_u(p["!margins"]={},"xlml"),isNaN(+zt(i[0]).Margin)||(p["!margins"].footer=+zt(i[0]).Margin);break;case"pagemargins":var re=zt(i[0]);p["!margins"]||_u(p["!margins"]={},"xlml"),isNaN(+re.Top)||(p["!margins"].top=+re.Top),isNaN(+re.Left)||(p["!margins"].left=+re.Left),isNaN(+re.Right)||(p["!margins"].right=+re.Right),isNaN(+re.Bottom)||(p["!margins"].bottom=+re.Bottom);break;case"displayrighttoleft":G.Views||(G.Views=[]),G.Views[0]||(G.Views[0]={}),G.Views[0].RTL=!0;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":p["!outline"]||(p["!outline"]={}),p["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":p["!outline"]||(p["!outline"]={}),p["!outline"].left=!0;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:ne=!1}break;case"pivottable":case"pivotcache":switch(i[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:ne=!1}break;case"pagebreaks":switch(i[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:ne=!1}break;case"autofilter":switch(i[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:ne=!1}break;case"querytable":switch(i[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:ne=!1}break;case"datavalidation":switch(i[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:ne=!1}break;case"sorting":case"conditionalformatting":switch(i[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:ne=!1}break;case"mapinfo":case"schema":case"data":switch(i[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:ne=!1}break;case"smarttags":break;default:ne=!1;break}if(ne)break;if(i[3].match(/!\[CDATA/))break;if(!c[c.length-1][1])throw"Unrecognized tag: "+i[3]+"|"+c.join("|");if("customdocumentproperties"===c[c.length-1][0]){if("/>"===i[0].slice(-2))break;"/"===i[1]?Hd(D,Y,I,r.slice(P,i.index)):(I=i,P=i.index+i[0].length);break}if(n.WTF)throw"Unrecognized tag: "+i[3]+"|"+c.join("|")}var ie={};return n.bookSheets||n.bookProps||(ie.Sheets=h),ie.SheetNames=d,ie.Workbook=G,ie.SSF=dt(Z),ie.Props=L,ie.Custprops=D,ie}function Yd(e,t){switch(Zf(t=t||{}),t.type||"base64"){case"base64":return Vd(A(e),t);case"binary":case"buffer":case"file":return Vd(e,t);case"array":return Vd(N(e),t)}}function Kd(e){var t={},n=e.content;if(n.l=28,t.AnsiUserType=n.read_shift(0,"lpstr-ansi"),t.AnsiClipboardFormat=Ur(n),n.length-n.l<=4)return t;var r=n.read_shift(4);return 0==r||r>40?t:(n.l-=4,t.Reserved1=n.read_shift(0,"lpstr-ansi"),n.length-n.l<=4?t:(r=n.read_shift(4),1907505652!==r?t:(t.UnicodeClipboardFormat=qr(n),r=n.read_shift(4),0==r||r>40?t:(n.l-=4,void(t.Reserved2=n.read_shift(0,"lpwstr"))))))}var Zd=[60,1084,2066,2165,2175];function Xd(e,t,n,r,i){var o=r,a=[],s=n.slice(n.l,n.l+o);if(i&&i.enc&&i.enc.insitu&&s.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:break;case 133:break;default:i.enc.insitu(s)}a.push(s),n.l+=o;var l=Bn(n,n.l),c=rf[l],u=0;while(null!=c&&Zd.indexOf(l)>-1)o=Bn(n,n.l+2),u=n.l+4,2066==l?u+=4:2165!=l&&2175!=l||(u+=12),s=n.slice(u,n.l+4+o),a.push(s),n.l+=4+o,c=rf[l=Bn(n,n.l)];var h=D(a);Xn(h,0);var d=0;h.lens=[];for(var f=0;f1)&&!(n.sheetRows&&e.r>=n.sheetRows)){if(n.cellStyles&&t.XF&&t.XF.data&&O(e,t,n),delete t.ixfe,delete t.XF,i=e,x=pr(e),m&&m.s&&m.e||(m={s:{r:0,c:0},e:{r:0,c:0}}),e.rm.e.r&&(m.e.r=e.r+1),e.c+1>m.e.c&&(m.e.c=e.c+1),n.cellFormula&&t.f)for(var r=0;re.c||C[r][0].s.r>e.r)&&!(C[r][0].e.c>8)!==Y)throw new Error("rt mismatch: "+J+"!="+Y);12==X.r&&(e.l+=10,K-=10)}var Q={};if(Q=10===Y?X.f(e,K,L):Xd(Y,X,e,K,L),0==H&&-1===[9,521,1033,2057].indexOf(j))continue;switch(Y){case 34:n.opts.Date1904=S.WBProps.date1904=Q;break;case 134:n.opts.WriteProtect=!0;break;case 47:if(L.enc||(e.l=0),L.enc=Q,!t.password)throw new Error("File is password-protected");if(null==Q.valid)throw new Error("Encryption scheme unsupported");if(!Q.valid)throw new Error("Password is incorrect");break;case 92:L.lastuser=Q;break;case 66:var _=Number(Q);switch(_){case 21010:_=1200;break;case 32768:_=1e4;break;case 32769:_=1252;break}h(L.codepage=_),G=!0;break;case 317:L.rrtabid=Q;break;case 25:L.winlocked=Q;break;case 439:n.opts["RefreshAll"]=Q;break;case 12:n.opts["CalcCount"]=Q;break;case 16:n.opts["CalcDelta"]=Q;break;case 17:n.opts["CalcIter"]=Q;break;case 13:n.opts["CalcMode"]=Q;break;case 14:n.opts["CalcPrecision"]=Q;break;case 95:n.opts["CalcSaveRecalc"]=Q;break;case 15:L.CalcRefMode=Q;break;case 2211:n.opts.FullCalc=Q;break;case 129:Q.fDialog&&(f["!type"]="dialog"),Q.fBelow||((f["!outline"]||(f["!outline"]={})).above=!0),Q.fRight||((f["!outline"]||(f["!outline"]={})).left=!0);break;case 224:A.push(Q);break;case 430:z.push([Q]),z[z.length-1].XTI=[];break;case 35:case 547:z[z.length-1].push(Q);break;case 24:case 536:B={Name:Q.Name,Ref:Pu(Q.rgce,m,null,z,L)},Q.itab>0&&(B.Sheet=Q.itab-1),z.names.push(B),z[0]||(z[0]=[],z[0].XTI=[]),z[z.length-1].push(Q),"_xlnm._FilterDatabase"==Q.Name&&Q.itab>0&&Q.rgce&&Q.rgce[0]&&Q.rgce[0][0]&&"PtgArea3d"==Q.rgce[0][0][0]&&(W[Q.itab-1]={ref:gr(Q.rgce[0][0][1][2])});break;case 22:L.ExternCount=Q;break;case 23:0==z.length&&(z[0]=[],z[0].XTI=[]),z[z.length-1].XTI=z[z.length-1].XTI.concat(Q),z.XTI=z.XTI.concat(Q);break;case 2196:if(L.biff<8)break;null!=B&&(B.Comment=Q[1]);break;case 18:f["!protect"]=Q;break;case 19:0!==Q&&L.WTF&&console.error("Password verifier: "+Q);break;case 133:p[Q.pos]=Q,L.snames.push(Q.name);break;case 10:if(--H)break;if(m.e){if(m.e.r>0&&m.e.c>0){if(m.e.r--,m.e.c--,f["!ref"]=gr(m),t.sheetRows&&t.sheetRows<=m.e.r){var $=m.e.r;m.e.r=t.sheetRows-1,f["!fullref"]=f["!ref"],f["!ref"]=gr(m),m.e.r=$}m.e.r++,m.e.c++}D.length>0&&(f["!merges"]=D),P.length>0&&(f["!objects"]=P),I.length>0&&(f["!cols"]=I),R.length>0&&(f["!rows"]=R),S.Sheets.push(E)}""===b?y=f:r[b]=f,f=t.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(8===L.biff&&(L.biff={9:2,521:3,1033:4}[Y]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[Q.BIFFVer]||8),L.biffguess=0==Q.BIFFVer,0==Q.BIFFVer&&4096==Q.dt&&(L.biff=5,G=!0,h(L.codepage=28591)),8==L.biff&&0==Q.BIFFVer&&16==Q.dt&&(L.biff=2),H++)break;if(f=t.dense?[]:{},L.biff<8&&!G&&(G=!0,h(L.codepage=t.codepage||1252)),L.biff<5||0==Q.BIFFVer&&4096==Q.dt){""===b&&(b="Sheet1"),m={s:{r:0,c:0},e:{r:0,c:0}};var ee={pos:e.l-K,name:b};p[ee.pos]=ee,L.snames.push(b)}else b=(p[V]||{name:""}).name;32==Q.dt&&(f["!type"]="chart"),64==Q.dt&&(f["!type"]="macro"),D=[],P=[],L.arrayf=C=[],I=[],R=[],F=!1,E={Hidden:(p[V]||{hs:0}).hs,name:b};break;case 515:case 3:case 2:"chart"==f["!type"]&&(t.dense?(f[Q.r]||[])[Q.c]:f[pr({c:Q.c,r:Q.r})])&&++Q.c,c={ixfe:Q.ixfe,XF:A[Q.ixfe]||{},v:Q.val,t:"n"},U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N({c:Q.c,r:Q.r},c,t);break;case 5:case 517:c={ixfe:Q.ixfe,XF:A[Q.ixfe],v:Q.val,t:Q.t},U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N({c:Q.c,r:Q.r},c,t);break;case 638:c={ixfe:Q.ixfe,XF:A[Q.ixfe],v:Q.rknum,t:"n"},U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N({c:Q.c,r:Q.r},c,t);break;case 189:for(var te=Q.c;te<=Q.C;++te){var ne=Q.rkrec[te-Q.c][0];c={ixfe:ne,XF:A[ne],v:Q.rkrec[te-Q.c][1],t:"n"},U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N({c:te,r:Q.r},c,t)}break;case 6:case 518:case 1030:if("String"==Q.val){g=Q;break}if(c=Qd(Q.val,Q.cell.ixfe,Q.tt),c.XF=A[c.ixfe],t.cellFormula){var re=Q.formula;if(re&&re[0]&&re[0][0]&&"PtgExp"==re[0][0][0]){var ie=re[0][0][1][0],oe=re[0][0][1][1],ae=pr({r:ie,c:oe});k[ae]?c.f=""+Pu(Q.formula,m,Q.cell,z,L):c.F=((t.dense?(f[ie]||[])[oe]:f[ae])||{}).F}else c.f=""+Pu(Q.formula,m,Q.cell,z,L)}U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N(Q.cell,c,t),g=Q;break;case 7:case 519:if(!g)throw new Error("String record expects Formula");g.val=Q,c=Qd(Q,g.cell.ixfe,"s"),c.XF=A[c.ixfe],t.cellFormula&&(c.f=""+Pu(g.formula,m,g.cell,z,L)),U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N(g.cell,c,t),g=null;break;case 33:case 545:C.push(Q);var se=pr(Q[0].s);if(o=t.dense?(f[Q[0].s.r]||[])[Q[0].s.c]:f[se],t.cellFormula&&o){if(!g)break;if(!se||!o)break;o.f=""+Pu(Q[1],m,Q[0],z,L),o.F=gr(Q[0])}break;case 1212:if(!t.cellFormula)break;if(x){if(!g)break;k[pr(g.cell)]=Q[0],o=t.dense?(f[g.cell.r]||[])[g.cell.c]:f[pr(g.cell)],(o||{}).f=""+Pu(Q[0],m,i,z,L)}break;case 253:c=Qd(v[Q.isst].t,Q.ixfe,"s"),v[Q.isst].h&&(c.h=v[Q.isst].h),c.XF=A[c.ixfe],U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N({c:Q.c,r:Q.r},c,t);break;case 513:t.sheetStubs&&(c={ixfe:Q.ixfe,XF:A[Q.ixfe],t:"z"},U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N({c:Q.c,r:Q.r},c,t));break;case 190:if(t.sheetStubs)for(var le=Q.c;le<=Q.C;++le){var ce=Q.ixfe[le-Q.c];c={ixfe:ce,XF:A[ce],t:"z"},U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N({c:le,r:Q.r},c,t)}break;case 214:case 516:case 4:c=Qd(Q.val,Q.ixfe,"s"),c.XF=A[c.ixfe],U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N({c:Q.c,r:Q.r},c,t);break;case 0:case 512:1===H&&(m=Q);break;case 252:v=Q;break;case 1054:if(4==L.biff){q[U++]=Q[1];for(var ue=0;ue=163&&qe(Q[1],U+163)}else qe(Q[1],Q[0]);break;case 30:q[U++]=Q;for(var he=0;he=163&&qe(Q,U+163);break;case 229:D=D.concat(Q);break;case 93:P[Q.cmo[0]]=L.lastobj=Q;break;case 438:L.lastobj.TxO=Q;break;case 127:L.lastobj.ImData=Q;break;case 440:for(l=Q[0].s.r;l<=Q[0].e.r;++l)for(s=Q[0].s.c;s<=Q[0].e.c;++s)o=t.dense?(f[l]||[])[s]:f[pr({c:s,r:l})],o&&(o.l=Q[1]);break;case 2048:for(l=Q[0].s.r;l<=Q[0].e.r;++l)for(s=Q[0].s.c;s<=Q[0].e.c;++s)o=t.dense?(f[l]||[])[s]:f[pr({c:s,r:l})],o&&o.l&&(o.l.Tooltip=Q[1]);break;case 28:if(L.biff<=5&&L.biff>=2)break;o=t.dense?(f[Q[0].r]||[])[Q[0].c]:f[pr(Q[0])];var de=P[Q[2]];o||(t.dense?(f[Q[0].r]||(f[Q[0].r]=[]),o=f[Q[0].r][Q[0].c]={t:"z"}):o=f[pr(Q[0])]={t:"z"},m.e.r=Math.max(m.e.r,Q[0].r),m.s.r=Math.min(m.s.r,Q[0].r),m.e.c=Math.max(m.e.c,Q[0].c),m.s.c=Math.min(m.s.c,Q[0].c)),o.c||(o.c=[]),a={a:Q[1],t:de.TxO.t},o.c.push(a);break;case 2173:El(A[Q.ixfe],Q.ext);break;case 125:if(!L.cellStyles)break;while(Q.e>=Q.s)I[Q.e--]={width:Q.w/256,level:Q.level||0,hidden:!!(1&Q.flags)},F||(F=!0,qs(Q.w/256)),Ws(I[Q.e+1]);break;case 520:var fe={};null!=Q.level&&(R[Q.r]=fe,fe.level=Q.level),Q.hidden&&(R[Q.r]=fe,fe.hidden=!0),Q.hpt&&(R[Q.r]=fe,fe.hpt=Q.hpt,fe.hpx=Ks(Q.hpt));break;case 38:case 39:case 40:case 41:f["!margins"]||_u(f["!margins"]={}),f["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[Y]]=Q;break;case 161:f["!margins"]||_u(f["!margins"]={}),f["!margins"].header=Q.header,f["!margins"].footer=Q.footer;break;case 574:Q.RTL&&(S.Views[0].RTL=!0);break;case 146:T=Q;break;case 2198:d=Q;break;case 140:u=Q;break;case 442:b?E.CodeName=Q||E.name:S.WBProps.CodeName=Q||"ThisWorkbook";break}}else X||console.error("Missing Info for XLS Record 0x"+Y.toString(16)),e.l+=K}return n.SheetNames=_e(p).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return p[e].name})),t.bookSheets||(n.Sheets=r),!n.SheetNames.length&&y["!ref"]?(n.SheetNames.push("Sheet1"),n.Sheets&&(n.Sheets["Sheet1"]=y)):n.Preamble=y,n.Sheets&&W.forEach((function(e,t){n.Sheets[n.SheetNames[t]]["!autofilter"]=e})),n.Strings=v,n.SSF=dt(Z),L.enc&&(n.Encryption=L.enc),d&&(n.Themes=d),n.Metadata={},void 0!==u&&(n.Metadata.Country=u),z.names.length>0&&(S.Names=z.names),n.Workbook=S,n}var $d={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function ef(e,t,n){var r=Xe.find(e,"/!DocumentSummaryInformation");if(r&&r.size>0)try{var i=Vi(r,ni,$d.DSI);for(var o in i)t[o]=i[o]}catch(c){if(n.WTF)throw c}var a=Xe.find(e,"/!SummaryInformation");if(a&&a.size>0)try{var s=Vi(a,ri,$d.SI);for(var l in s)null==t[l]&&(t[l]=s[l])}catch(c){if(n.WTF)throw c}t.HeadingPairs&&t.TitlesOfParts&&(Ci(t.HeadingPairs,t.TitlesOfParts,t,n),delete t.HeadingPairs,delete t.TitlesOfParts)}function tf(e,t){var n,r,i,o;if(t||(t={}),Zf(t),d(),t.codepage&&c(t.codepage),e.FullPaths){if(Xe.find(e,"/encryption"))throw new Error("File is password-protected");n=Xe.find(e,"!CompObj"),r=Xe.find(e,"/Workbook")||Xe.find(e,"/Book")}else{switch(t.type){case"base64":e=O(A(e));break;case"binary":e=O(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e));break}Xn(e,0),r={content:e}}if(n&&Kd(n),t.bookProps&&!t.bookSheets)i={};else{var a=T?"buffer":"array";if(r&&r.content)i=_d(r.content,t);else if((o=Xe.find(e,"PerfectOffice_MAIN"))&&o.content)i=Va.to_workbook(o.content,(t.type=a,t));else{if(!(o=Xe.find(e,"NativeContent_MAIN"))||!o.content)throw(o=Xe.find(e,"MN0"))&&o.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");i=Va.to_workbook(o.content,(t.type=a,t))}t.bookVBA&&e.FullPaths&&Xe.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(i.vbaraw=Kl(e))}var s={};return e.FullPaths&&ef(e,s,t),i.Props=i.Custprops=s,t.bookFiles&&(i.cfb=e),i}var nf={0:{f:xh},1:{f:Th},2:{f:Rh},3:{f:Oh},4:{f:Eh},5:{f:Ph},6:{f:Bh},7:{f:Lh},8:{f:Wh},9:{f:qh},10:{f:Hh},11:{f:Uh},12:{f:Sh},13:{f:Fh},14:{f:Nh},15:{f:Mh},16:{f:Ih},17:{f:jh},18:{f:Dh},19:{f:Sr},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:wd},40:{},42:{},43:{f:il},44:{f:rl},45:{f:ol},46:{f:sl},47:{f:al},48:{},49:{f:Cr},50:{},51:{f:Ol},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:Ta},62:{f:zh},63:{f:Il},64:{f:_h},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Jn,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:Qh},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:Ah},148:{f:kh,p:16},151:{f:Yh},152:{},153:{f:bd},154:{},155:{},156:{f:vd},157:{},158:{},159:{T:1,f:rs},160:{T:-1},161:{T:1,f:Fr},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Gh},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:Ml},336:{T:-1},337:{f:Nl,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:Pr},357:{},358:{},359:{},360:{T:1},361:{},362:{f:aa},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:Kh},427:{f:Zh},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:Jh},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:Ch},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:Vh},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:Pr},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:Gl},633:{T:1},634:{T:-1},635:{T:1,f:Wl},636:{T:-1},637:{f:Er},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:id},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:$h},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},rf={6:{f:ju},10:{f:Yi},12:{f:Xi},13:{f:Xi},14:{f:Zi},15:{f:Zi},16:{f:zr},17:{f:Zi},18:{f:Zi},19:{f:Xi},20:{f:ta},21:{f:ta},23:{f:aa},24:{f:oa},25:{f:Zi},26:{},27:{},28:{f:fa},29:{},34:{f:Zi},35:{f:ra},38:{f:zr},39:{f:zr},40:{f:zr},41:{f:zr},42:{f:Zi},43:{f:Zi},47:{f:Es},49:{f:Uo},51:{f:Xi},60:{},61:{f:Bo},64:{f:Zi},65:{f:Ho},66:{f:Xi},77:{},80:{},81:{},82:{},85:{f:Xi},89:{},90:{},91:{},92:{f:Oo},93:{f:ma},94:{},95:{f:Zi},96:{},97:{},99:{f:Zi},125:{f:Ta},128:{f:_o},129:{f:No},130:{f:Xi},131:{f:Zi},132:{f:Zi},133:{f:Lo},134:{},140:{f:xa},141:{f:Xi},144:{},146:{f:Ca},151:{},152:{},153:{},154:{},155:{},156:{f:Xi},157:{},158:{},160:{f:Oa},161:{f:Sa},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:Zo},190:{f:Xo},193:{f:Yi},197:{},198:{},199:{},200:{},201:{},202:{f:Zi},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:Xi},220:{},221:{f:Zi},222:{},224:{f:Qo},225:{f:Mo},226:{f:Yi},227:{},229:{f:pa},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:Do},253:{f:qo},255:{f:Po},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:Ji},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Zi},353:{f:Yi},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:na},431:{f:Zi},432:{},433:{},434:{},437:{},438:{f:ba},439:{f:Zi},440:{f:ya},441:{},442:{f:to},443:{},444:{f:Xi},445:{},446:{},448:{f:Yi},449:{f:Fo,r:2},450:{f:Yi},512:{f:Yo},513:{f:Ma},515:{f:ea},516:{f:Wo},517:{f:$o},519:{f:Na},520:{f:Io},523:{},545:{f:ua},549:{f:zo},566:{},574:{f:jo},638:{f:Ko},659:{},1048:{},1054:{f:Go},1084:{},1212:{f:ca},2048:{f:wa},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:Eo},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Yi},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:Aa,r:12},2173:{f:Sl,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:Zi,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:la,r:12},2197:{},2198:{f:wl,r:12},2199:{},2200:{},2201:{},2202:{f:ha,r:12},2203:{f:Yi},2204:{},2205:{},2206:{},2207:{},2211:{f:Ro},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:Xi},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:Ea},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:ka},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:Yo},1:{},2:{f:Ia},3:{f:Pa},4:{f:Da},5:{f:$o},7:{f:Ra},8:{},9:{f:Eo},11:{},22:{f:Xi},30:{f:Vo},31:{},32:{},33:{f:ua},36:{},37:{f:zo},50:{f:Fa},62:{},52:{},67:{},68:{f:Xi},69:{},86:{},126:{},127:{f:La},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:za},223:{},234:{},354:{},421:{},518:{f:ju},521:{f:Eo},536:{f:oa},547:{f:ra},561:{},579:{},1030:{f:ju},1033:{f:Eo},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function of(e,t,n,r){var i=t;if(!isNaN(i)){var o=r||(n||[]).length||0,a=e.next(4);a.write_shift(2,i),a.write_shift(2,o),o>0&&Rn(n)&&e.push(n)}}function af(e,t){var n=t||{};null!=w&&null==n.dense&&(n.dense=w);var r=n.dense?[]:{};e=e.replace(//g,"");var i=e.match(/");var o=e.match(/<\/table/i),a=i.index,s=o&&o.index||e.length,l=vt(e.slice(a,s),/(:?]*>)/i,""),c=-1,u=0,h=0,d=0,f={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(a=0;a/i);for(s=0;s"))>-1)y=y.slice(x+1);for(var k=0;k")));d=A.colspan?+A.colspan:1,((h=+A.rowspan)>1||d>1)&&p.push({s:{r:c,c:u},e:{r:c+(h||1)-1,c:u+d-1}});var T=A.t||A["data-t"]||"";if(y.length)if(y=en(y),f.s.r>c&&(f.s.r=c),f.e.ru&&(f.s.c=u),f.e.cn||i[c].s.c>a)&&!(i[c].e.r1&&(f.rowspan=s),l>1&&(f.colspan=l),r.editable?d=''+d+"":h&&(f["data-t"]=h&&h.t||"z",null!=h.v&&(f["data-v"]=h.v),null!=h.z&&(f["data-z"]=h.z),h.l&&"#"!=(h.l.Target||"#").charAt(0)&&(d=''+d+"")),f.id=(r.id||"sjs")+"-"+u,o.push(ln("td",d,f))}}var p="";return p+o.join("")+""}var lf='SheetJS Table Export',cf="";function uf(e,t){var n=e.match(/[\s\S]*?<\/table>/gi);if(!n||0==n.length)throw new Error("Invalid HTML: could not find
");if(1==n.length)return wr(af(n[0],t),t);var r=xp();return n.forEach((function(e,n){kp(r,af(e,t),"Sheet"+(n+1))})),r}function hf(e,t,n){var r=[];return r.join("")+""}function df(e,t){var n=t||{},r=null!=n.header?n.header:lf,i=null!=n.footer?n.footer:cf,o=[r],a=mr(e["!ref"]);n.dense=Array.isArray(e),o.push(hf(e,a,n));for(var s=a.s.r;s<=a.e.r;++s)o.push(sf(e,a,s,n));return o.push("
"+i),o.join("")}function ff(e,t,n){var r=n||{};null!=w&&(r.dense=w);var i=0,o=0;if(null!=r.origin)if("number"==typeof r.origin)i=r.origin;else{var a="string"==typeof r.origin?fr(r.origin):r.origin;i=a.r,o=a.c}var s=t.getElementsByTagName("tr"),l=Math.min(r.sheetRows||1e7,s.length),c={s:{r:0,c:0},e:{r:i,c:o}};if(e["!ref"]){var u=mr(e["!ref"]);c.s.r=Math.min(c.s.r,u.s.r),c.s.c=Math.min(c.s.c,u.s.c),c.e.r=Math.max(c.e.r,u.e.r),c.e.c=Math.max(c.e.c,u.e.c),-1==i&&(c.e.r=i=u.e.r+1)}var h=[],d=0,f=e["!rows"]||(e["!rows"]=[]),p=0,m=0,g=0,v=0,b=0,y=0;for(e["!cols"]||(e["!cols"]=[]);p1||y>1)&&h.push({s:{r:m+i,c:v+o},e:{r:m+i+(b||1)-1,c:v+o+(y||1)-1}});var E={t:"s",v:A},M=C.getAttribute("data-t")||C.getAttribute("t")||"";null!=A&&(0==A.length?E.t=M||"z":r.raw||0==A.trim().length||"s"==M||("TRUE"===A?E={t:"b",v:!0}:"FALSE"===A?E={t:"b",v:!1}:isNaN(pt(A))?isNaN(gt(A).getDate())||(E={t:"d",v:ut(A)},r.cellDates||(E={t:"n",v:tt(E.v)}),E.z=r.dateNF||Z[14]):E={t:"n",v:pt(A)})),void 0===E.z&&null!=T&&(E.z=T);var O="",N=C.getElementsByTagName("A");if(N&&N.length)for(var L=0;L=l&&(e["!fullref"]=gr((c.e.r=s.length-p+m-1+i,c))),e}function pf(e,t){var n=t||{},r=n.dense?[]:{};return ff(r,e,t)}function mf(e,t){return wr(pf(e,t),t)}function gf(e){var t="",n=vf(e);return n&&(t=n(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}function vf(e){return e.ownerDocument.defaultView&&"function"===typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"===typeof getComputedStyle?getComputedStyle:null}function bf(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,(function(e,t){return Array(parseInt(t,10)+1).join(" ")})).replace(/]*\/>/g,"\t").replace(//g,"\n"),n=Ut(t.replace(/<[^>]*>/g,""));return[n]}var yf={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function wf(e,t){var n=t||{};null!=w&&null==n.dense&&(n.dense=w);var r,i,o,a,s,l,c,u=cn(e),h=[],d={name:""},f="",p=0,m={},g=[],v=n.dense?[]:{},b={value:""},y="",x=0,k=[],C=-1,A=-1,T={s:{r:1e6,c:1e7},e:{r:0,c:0}},S=0,E={},M=[],O={},N=0,L=0,D=[],P=1,I=1,R=[],F={Names:[]},z={},B=["",""],j=[],H={},U="",q=0,W=!1,G=!1,V=0;un.lastIndex=0,u=u.replace(//gm,"").replace(//gm,"");while(s=un.exec(u))switch(s[3]=s[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===s[1]?(T.e.c>=T.s.c&&T.e.r>=T.s.r?v["!ref"]=gr(T):v["!ref"]="A1:A1",n.sheetRows>0&&n.sheetRows<=T.e.r&&(v["!fullref"]=v["!ref"],T.e.r=n.sheetRows-1,v["!ref"]=gr(T)),M.length&&(v["!merges"]=M),D.length&&(v["!rows"]=D),o.name=o["名称"]||o.name,"undefined"!==typeof JSON&&JSON.stringify(o),g.push(o.name),m[o.name]=v,G=!1):"/"!==s[0].charAt(s[0].length-2)&&(o=zt(s[0],!1),C=A=-1,T.s.r=T.s.c=1e7,T.e.r=T.e.c=0,v=n.dense?[]:{},M=[],D=[],G=!0);break;case"table-row-group":"/"===s[1]?--S:++S;break;case"table-row":case"行":if("/"===s[1]){C+=P,P=1;break}if(a=zt(s[0],!1),a["行号"]?C=a["行号"]-1:-1==C&&(C=0),P=+a["number-rows-repeated"]||1,P<10)for(V=0;V0&&(D[C+V]={level:S});A=-1;break;case"covered-table-cell":"/"!==s[1]&&++A,n.sheetStubs&&(n.dense?(v[C]||(v[C]=[]),v[C][A]={t:"z"}):v[pr({r:C,c:A})]={t:"z"}),y="",k=[];break;case"table-cell":case"数据":if("/"===s[0].charAt(s[0].length-2))++A,b=zt(s[0],!1),I=parseInt(b["number-columns-repeated"]||"1",10),l={t:"z",v:null},b.formula&&0!=n.cellFormula&&(l.f=Zu(Ut(b.formula))),"string"==(b["数据类型"]||b["value-type"])&&(l.t="s",l.v=Ut(b["string-value"]||""),n.dense?(v[C]||(v[C]=[]),v[C][A]=l):v[pr({r:C,c:A})]=l),A+=I-1;else if("/"!==s[1]){++A,y="",x=0,k=[],I=1;var Y=P?C+P-1:C;if(A>T.e.c&&(T.e.c=A),AT.e.r&&(T.e.r=Y),b=zt(s[0],!1),j=[],H={},l={t:b["数据类型"]||b["value-type"],v:null},n.cellFormula)if(b.formula&&(b.formula=Ut(b.formula)),b["number-matrix-columns-spanned"]&&b["number-matrix-rows-spanned"]&&(N=parseInt(b["number-matrix-rows-spanned"],10)||0,L=parseInt(b["number-matrix-columns-spanned"],10)||0,O={s:{r:C,c:A},e:{r:C+N-1,c:A+L-1}},l.F=gr(O),R.push([O,l.F])),b.formula)l.f=Zu(b.formula);else for(V=0;V=R[V][0].s.r&&C<=R[V][0].e.r&&A>=R[V][0].s.c&&A<=R[V][0].e.c&&(l.F=R[V][1]);switch((b["number-columns-spanned"]||b["number-rows-spanned"])&&(N=parseInt(b["number-rows-spanned"],10)||0,L=parseInt(b["number-columns-spanned"],10)||0,O={s:{r:C,c:A},e:{r:C+N-1,c:A+L-1}},M.push(O)),b["number-columns-repeated"]&&(I=parseInt(b["number-columns-repeated"],10)),l.t){case"boolean":l.t="b",l.v=Yt(b["boolean-value"]);break;case"float":l.t="n",l.v=parseFloat(b.value);break;case"percentage":l.t="n",l.v=parseFloat(b.value);break;case"currency":l.t="n",l.v=parseFloat(b.value);break;case"date":l.t="d",l.v=ut(b["date-value"]),n.cellDates||(l.t="n",l.v=tt(l.v)),l.z="m/d/yy";break;case"time":l.t="n",l.v=at(b["time-value"])/86400,n.cellDates&&(l.t="d",l.v=ot(l.v)),l.z="HH:MM:SS";break;case"number":l.t="n",l.v=parseFloat(b["数据数值"]);break;default:if("string"!==l.t&&"text"!==l.t&&l.t)throw new Error("Unsupported value type "+l.t);l.t="s",null!=b["string-value"]&&(y=Ut(b["string-value"]),k=[])}}else{if(W=!1,"s"===l.t&&(l.v=y||"",k.length&&(l.R=k),W=0==x),z.Target&&(l.l=z),j.length>0&&(l.c=j,j=[]),y&&!1!==n.cellText&&(l.w=y),W&&(l.t="z",delete l.v),(!W||n.sheetStubs)&&!(n.sheetRows&&n.sheetRows<=C))for(var K=0;K0)v[C+K][A+I]=dt(l)}else{v[pr({r:C+K,c:A})]=l;while(--I>0)v[pr({r:C+K,c:A+I})]=dt(l)}T.e.c<=A&&(T.e.c=A)}I=parseInt(b["number-columns-repeated"]||"1",10),A+=I-1,I=0,l={},y="",k=[]}z={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===s[1]){if((r=h.pop())[0]!==s[3])throw"Bad state: "+r}else"/"!==s[0].charAt(s[0].length-2)&&h.push([s[3],!0]);break;case"annotation":if("/"===s[1]){if((r=h.pop())[0]!==s[3])throw"Bad state: "+r;H.t=y,k.length&&(H.R=k),H.a=U,j.push(H)}else"/"!==s[0].charAt(s[0].length-2)&&h.push([s[3],!1]);U="",q=0,y="",x=0,k=[];break;case"creator":"/"===s[1]?U=u.slice(q,s.index):q=s.index+s[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===s[1]){if((r=h.pop())[0]!==s[3])throw"Bad state: "+r}else"/"!==s[0].charAt(s[0].length-2)&&h.push([s[3],!1]);y="",x=0,k=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===s[1]){if(E[d.name]=f,(r=h.pop())[0]!==s[3])throw"Bad state: "+r}else"/"!==s[0].charAt(s[0].length-2)&&(f="",d=zt(s[0],!1),h.push([s[3],!0]));break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(h[h.length-1][0]){case"time-style":case"date-style":i=zt(s[0],!1),f+=yf[s[3]]["long"===i.style?1:0];break}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(h[h.length-1][0]){case"time-style":case"date-style":i=zt(s[0],!1),f+=yf[s[3]]["long"===i.style?1:0];break}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if("/>"===s[0].slice(-2))break;if("/"===s[1])switch(h[h.length-1][0]){case"number-style":case"date-style":case"time-style":f+=u.slice(p,s.index);break}else p=s.index+s[0].length;break;case"named-range":i=zt(s[0],!1),B=Xu(i["cell-range-address"]);var Z={Name:i.name,Ref:B[0]+"!"+B[1]};G&&(Z.Sheet=g.length),F.Names.push(Z);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"文本串":if(["master-styles"].indexOf(h[h.length-1][0])>-1)break;if("/"!==s[1]||b&&b["string-value"])c=zt(s[0],!1),x=s.index+s[0].length;else{var X=bf(u.slice(x,s.index),c);y=(y.length>0?y+"\n":"")+X[0]}break;case"s":break;case"database-range":if("/"===s[1])break;try{B=Xu(zt(s[0])["target-range-address"]),m[B[0]]["!autofilter"]={ref:B[1]}}catch(Q){}break;case"date":break;case"object":break;case"title":case"标题":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":break;case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if("/"!==s[1]){if(z=zt(s[0],!1),!z.href)break;z.Target=Ut(z.href),delete z.href,"#"==z.Target.charAt(0)&&z.Target.indexOf(".")>-1?(B=Xu(z.Target.slice(1)),z.Target="#"+B[0]+"!"+B[1]):z.Target.match(/^\.\.[\\\/]/)&&(z.Target=z.Target.slice(3))}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(s[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(n.WTF)throw new Error(s)}}var J={Sheets:m,SheetNames:g,Workbook:F};return n.bookSheets&&delete J.Sheets,J}function xf(e,t){t=t||{},xt(e,"META-INF/manifest.xml")&&bi(Ct(e,"META-INF/manifest.xml"),t);var n=At(e,"content.xml");if(!n)throw new Error("Missing content.xml in ODS / UOF file");var r=wf(Qt(n),t);return xt(e,"meta.xml")&&(r.Props=xi(Ct(e,"meta.xml"))),r}function kf(e,t){return wf(e,t)} /*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */ -function Cf(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Af(e){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(e):Qt(N(e))}function Tf(e){var t=e.reduce((function(e,t){return e+t.length}),0),n=new Uint8Array(t),r=0;return e.forEach((function(e){n.set(e,r),r+=e.length})),n}function Sf(e){return e-=e>>1&1431655765,e=(858993459&e)+(e>>2&858993459),16843009*(e+(e>>4)&252645135)>>>24}function Ef(e,t){for(var n=(127&e[t+15])<<7|e[t+14]>>1,r=1&e[t+14],i=t+13;i>=t;--i)r=256*r+e[i];return(128&e[t+15]?-r:r)*Math.pow(10,n-6176)}function Mf(e,t){var n=t?t[0]:0,r=127&e[n];e:if(e[n++]>=128){if(r|=(127&e[n])<<7,e[n++]<128)break e;if(r|=(127&e[n])<<14,e[n++]<128)break e;if(r|=(127&e[n])<<21,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,28),++n,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,35),++n,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,42),++n,e[n++]<128)break e}return t&&(t[0]=n),r}function Of(e){var t=0,n=127&e[t];e:if(e[t++]>=128){if(n|=(127&e[t])<<7,e[t++]<128)break e;if(n|=(127&e[t])<<14,e[t++]<128)break e;if(n|=(127&e[t])<<21,e[t++]<128)break e;n|=(127&e[t])<<28}return n}function Nf(e){var t=[],n=[0];while(n[0]=128);a=e.slice(l,n[0]);break;case 5:s=4,a=e.slice(n[0],n[0]+s),n[0]+=s;break;case 1:s=8,a=e.slice(n[0],n[0]+s),n[0]+=s;break;case 2:s=Mf(e,n),a=e.slice(n[0],n[0]+s),n[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(o," for Field ").concat(i," at offset ").concat(r))}var c={data:a,type:o};null==t[i]?t[i]=[c]:t[i].push(c)}return t}function Lf(e,t){return(null==e?void 0:e.map((function(e){return t(e.data)})))||[]}function Df(e){var t,n=[],r=[0];while(r[0]>>0>0),n.push(a)}return n}function Pf(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));var n=[0],r=Mf(t,n),i=[];while(n[0]>2&7),a=(224&t[n[0]++])<<3,a|=t[n[0]++]):(s=1+(t[n[0]++]>>2),2==o?(a=t[n[0]]|t[n[0]+1]<<8,n[0]+=2):(a=(t[n[0]]|t[n[0]+1]<<8|t[n[0]+2]<<16|t[n[0]+3]<<24)>>>0,n[0]+=4)),i=[Tf(i)],0==a)throw new Error("Invalid offset 0");if(a>i[0].length)throw new Error("Invalid offset beyond length");if(s>=a){i.push(i[0].slice(-a)),s-=a;while(s>=i[i.length-1].length)i.push(i[i.length-1]),s-=i[i.length-1].length}i.push(i[0].slice(-a,-a+s))}else{var l=t[n[0]++]>>2;if(l<60)++l;else{var c=l-59;l=t[n[0]],c>1&&(l|=t[n[0]+1]<<8),c>2&&(l|=t[n[0]+2]<<16),c>3&&(l|=t[n[0]+3]<<24),l>>>=0,l++,n[0]+=c}i.push(t.slice(n[0],n[0]+l)),n[0]+=l}}var u=Tf(i);if(u.length!=r)throw new Error("Unexpected length: ".concat(u.length," != ").concat(r));return u}function If(e){var t=[],n=0;while(n1?12:8)+4*Sf(a&(r>1?3470:398)),l=-1,c=-1,u=NaN,h=new Date(2001,0,1);switch(512&a&&(l=o.getUint32(s,!0),s+=4),s+=4*Sf(a&(r>1?12288:4096)),16&a&&(c=o.getUint32(s,!0),s+=4),32&a&&(u=o.getFloat64(s,!0),s+=8),64&a&&(h.setTime(h.getTime()+1e3*o.getFloat64(s,!0)),s+=8),e[2]){case 0:break;case 2:i={t:"n",v:u};break;case 3:i={t:"s",v:t[c]};break;case 5:i={t:"d",v:h};break;case 6:i={t:"b",v:u>0};break;case 7:i={t:"n",v:u/86400};break;case 8:i={t:"e",v:0};break;case 9:if(l>-1)i={t:"s",v:n[l]};else if(c>-1)i={t:"s",v:t[c]};else{if(isNaN(u))throw new Error("Unsupported cell type ".concat(e.slice(0,4)));i={t:"n",v:u}}break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return i}function Ff(e,t,n){var r,i=Cf(e),o=i.getUint32(8,!0),a=12,s=-1,l=-1,c=NaN,u=NaN,h=new Date(2001,0,1);switch(1&o&&(c=Ef(e,a),a+=16),2&o&&(u=i.getFloat64(a,!0),a+=8),4&o&&(h.setTime(h.getTime()+1e3*i.getFloat64(a,!0)),a+=8),8&o&&(l=i.getUint32(a,!0),a+=4),16&o&&(s=i.getUint32(a,!0),a+=4),e[1]){case 0:break;case 2:r={t:"n",v:c};break;case 3:r={t:"s",v:t[l]};break;case 5:r={t:"d",v:h};break;case 6:r={t:"b",v:u>0};break;case 7:r={t:"n",v:u/86400};break;case 8:r={t:"e",v:0};break;case 9:if(!(s>-1))throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&o," : ").concat(e.slice(0,4)));r={t:"s",v:n[s]};break;case 10:r={t:"n",v:c};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&o," : ").concat(e.slice(0,4)))}return r}function zf(e,t,n){switch(e[0]){case 0:case 1:case 2:case 3:return Rf(e,t,n,e[0]);case 5:return Ff(e,t,n);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function Bf(e){var t=Nf(e);return Mf(t[1][0].data)}function jf(e,t){var n=Nf(t.data),r=Of(n[1][0].data),i=n[3],o=[];return(i||[]).forEach((function(t){var n=Nf(t.data),i=Of(n[1][0].data)>>>0;switch(r){case 1:o[i]=Af(n[3][0].data);break;case 8:var a=e[Bf(n[9][0].data)][0],s=Nf(a.data),l=e[Bf(s[1][0].data)][0],c=Of(l.meta[1][0].data);if(2001!=c)throw new Error("2000 unexpected reference to ".concat(c));var u=Nf(l.data);o[i]=u[3].map((function(e){return Af(e.data)})).join("");break}})),o}function Hf(e,t){var n,r,i,o,a,s,l,c,u,h,d,f,p,m,g,v,b=Nf(e),y=Of(b[1][0].data)>>>0,w=Of(b[2][0].data)>>>0,x=(null==(r=null==(n=b[8])?void 0:n[0])?void 0:r.data)&&Of(b[8][0].data)>0||!1;if((null==(o=null==(i=b[7])?void 0:i[0])?void 0:o.data)&&0!=t)g=null==(s=null==(a=b[7])?void 0:a[0])?void 0:s.data,v=null==(c=null==(l=b[6])?void 0:l[0])?void 0:c.data;else{if(!(null==(h=null==(u=b[4])?void 0:u[0])?void 0:h.data)||1==t)throw"NUMBERS Tile missing ".concat(t," cell storage");g=null==(f=null==(d=b[4])?void 0:d[0])?void 0:f.data,v=null==(m=null==(p=b[3])?void 0:p[0])?void 0:m.data}for(var k=x?4:1,C=Cf(g),A=[],T=0;T=1&&(E[A[A.length-1][0]]=v.subarray(A[A.length-1][1]*k)),{R:y,cells:E}}function Uf(e,t){var n,r=Nf(t.data),i=(null==(n=null==r?void 0:r[7])?void 0:n[0])?Of(r[7][0].data)>>>0>0?1:0:-1,o=Lf(r[5],(function(e){return Hf(e,i)}));return{nrows:Of(r[4][0].data)>>>0,data:o.reduce((function(e,t){return e[t.R]||(e[t.R]=[]),t.cells.forEach((function(n,r){if(e[t.R][r])throw new Error("Duplicate cell r=".concat(t.R," c=").concat(r));e[t.R][r]=n})),e}),[])}}function qf(e,t,n){var r,i=Nf(t.data),o={s:{r:0,c:0},e:{r:0,c:0}};if(o.e.r=(Of(i[6][0].data)>>>0)-1,o.e.r<0)throw new Error("Invalid row varint ".concat(i[6][0].data));if(o.e.c=(Of(i[7][0].data)>>>0)-1,o.e.c<0)throw new Error("Invalid col varint ".concat(i[7][0].data));n["!ref"]=gr(o);var a=Nf(i[4][0].data),s=jf(e,e[Bf(a[4][0].data)][0]),l=(null==(r=a[17])?void 0:r[0])?jf(e,e[Bf(a[17][0].data)][0]):[],c=Nf(a[3][0].data),u=0;c[1].forEach((function(t){var r=Nf(t.data),i=e[Bf(r[2][0].data)][0],o=Of(i.meta[1][0].data);if(6002!=o)throw new Error("6001 unexpected reference to ".concat(o));var a=Uf(e,i);a.data.forEach((function(e,t){e.forEach((function(e,r){var i=pr({r:u+t,c:r}),o=zf(e,s,l);o&&(n[i]=o)}))})),u+=a.nrows}))}function Wf(e,t){var n=Nf(t.data),r={"!ref":"A1"},i=e[Bf(n[2][0].data)],o=Of(i[0].meta[1][0].data);if(6001!=o)throw new Error("6000 unexpected reference to ".concat(o));return qf(e,i[0],r),r}function Gf(e,t){var n,r=Nf(t.data),i={name:(null==(n=r[1])?void 0:n[0])?Af(r[1][0].data):"",sheets:[]},o=Lf(r[2],Bf);return o.forEach((function(t){e[t].forEach((function(t){var n=Of(t.meta[1][0].data);6e3==n&&i.sheets.push(Wf(e,t))}))})),i}function Vf(e,t){var n=xp(),r=Nf(t.data),i=Lf(r[1],Bf);if(i.forEach((function(t){e[t].forEach((function(t){var r=Of(t.meta[1][0].data);if(2==r){var i=Gf(e,t);i.sheets.forEach((function(e,t){kp(n,e,0==t?i.name:i.name+"_"+t,!0)}))}}))})),0==n.SheetNames.length)throw new Error("Empty NUMBERS file");return n}function Yf(e){var t,n,r,i,o={},a=[];if(e.FullPaths.forEach((function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")})),e.FileIndex.forEach((function(e){if(e.name.match(/\.iwa$/)){var t,n;try{t=If(e.content)}catch(r){return console.log("?? "+e.content.length+" "+(r.message||r))}try{n=Df(t)}catch(r){return console.log("## "+(r.message||r))}n.forEach((function(e){o[e.id]=e.messages,a.push(e.id)}))}})),!a.length)throw new Error("File has no messages");var s=(null==(i=null==(r=null==(n=null==(t=null==o?void 0:o[1])?void 0:t[0])?void 0:n.meta)?void 0:r[1])?void 0:i[0].data)&&1==Of(o[1][0].meta[1][0].data)&&o[1][0];if(s||a.forEach((function(e){o[e].forEach((function(e){var t=Of(e.meta[1][0].data)>>>0;if(1==t){if(s)throw new Error("Document has multiple roots");s=e}}))})),!s)throw new Error("Cannot find Document root");return Vf(o,s)}function Kf(e){return function(t){for(var n=0;n!=e.length;++n){var r=e[n];void 0===t[r[0]]&&(t[r[0]]=r[1]),"n"===r[2]&&(t[r[0]]=Number(t[r[0]]))}}}function Zf(e){Kf([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)}function Xf(e){return pi.WS.indexOf(e)>-1?"sheet":pi.CS&&e==pi.CS?"chart":pi.DS&&e==pi.DS?"dialog":pi.MS&&e==pi.MS?"macro":e&&e.length?e:"sheet"}function Jf(e,t){if(!e)return 0;try{e=t.map((function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,Xf(e["!id"][t.id].Type)]}))}catch(n){return null}return e&&0!==e.length?e:null}function Qf(e,t,n,r,i,o,a,s,l,c,u,h){try{o[r]=gi(At(e,n,!0),t);var d,f=Ct(e,t);switch(s){case"sheet":d=Cd(f,t,i,l,o[r],c,u,h);break;case"chart":if(d=Ad(f,t,i,l,o[r],c,u,h),!d||!d["!drawel"])break;var p=Ot(d["!drawel"].Target,t),m=mi(p),g=Bl(At(e,p,!0),gi(At(e,m,!0),p)),v=Ot(g,p),b=mi(v);d=nd(At(e,v,!0),v,l,gi(At(e,b,!0),v),c,d);break;case"macro":d=Td(f,t,i,l,o[r],c,u,h);break;case"dialog":d=Sd(f,t,i,l,o[r],c,u,h);break;default:throw new Error("Unrecognized sheet type "+s)}a[r]=d;var y=[];o&&o[r]&&_e(o[r]).forEach((function(n){var i="";if(o[r][n].Type==pi.CMNT){i=Ot(o[r][n].Target,t);var a=Nd(Ct(e,i,!0),i,l);if(!a||!a.length)return;jl(d,a,!1)}o[r][n].Type==pi.TCMNT&&(i=Ot(o[r][n].Target,t),y=y.concat(Ul(Ct(e,i,!0),l)))})),y&&y.length&&jl(d,y,!0,l.people||[])}catch(w){if(l.WTF)throw w}}function _f(e){return"/"==e.charAt(0)?e.slice(1):e}function $f(e,t){if(We(),t=t||{},Zf(t),xt(e,"META-INF/manifest.xml"))return xf(e,t);if(xt(e,"objectdata.xml"))return xf(e,t);if(xt(e,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if("undefined"!=typeof Yf){if(e.FileIndex)return Yf(e);var n=Xe.utils.cfb_new();return St(e).forEach((function(t){Et(n,t,Tt(e,t))})),Yf(n)}throw new Error("Unsupported NUMBERS file")}if(!xt(e,"[Content_Types].xml")){if(xt(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(xt(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var r,i,o=St(e),a=fi(At(e,"[Content_Types].xml")),s=!1;if(0===a.workbooks.length&&(i="xl/workbook.xml",Ct(e,i,!0)&&a.workbooks.push(i)),0===a.workbooks.length){if(i="xl/workbook.bin",!Ct(e,i,!0))throw new Error("Could not find workbook");a.workbooks.push(i),s=!0}"bin"==a.workbooks[0].slice(-3)&&(s=!0);var l={},c={};if(!t.bookSheets&&!t.bookProps){if(Ju=[],a.sst)try{Ju=Od(Ct(e,_f(a.sst)),a.sst,t)}catch(N){if(t.WTF)throw N}t.cellStyles&&a.themes.length&&(l=Md(At(e,a.themes[0].replace(/^\//,""),!0)||"",a.themes[0],t)),a.style&&(c=Ed(Ct(e,_f(a.style)),a.style,l,t))}a.links.map((function(n){try{var r=gi(At(e,mi(_f(n))),n);return Dd(Ct(e,_f(n)),r,n,t)}catch(N){}}));var u=kd(Ct(e,_f(a.workbooks[0])),a.workbooks[0],t),h={},d="";a.coreprops.length&&(d=Ct(e,_f(a.coreprops[0]),!0),d&&(h=xi(d)),0!==a.extprops.length&&(d=Ct(e,_f(a.extprops[0]),!0),d&&Ai(d,h,t)));var f={};t.bookSheets&&!t.bookProps||0!==a.custprops.length&&(d=At(e,_f(a.custprops[0]),!0),d&&(f=Si(d,t)));var p={};if((t.bookSheets||t.bookProps)&&(u.Sheets?r=u.Sheets.map((function(e){return e.name})):h.Worksheets&&h.SheetNames.length>0&&(r=h.SheetNames),t.bookProps&&(p.Props=h,p.Custprops=f),t.bookSheets&&"undefined"!==typeof r&&(p.SheetNames=r),t.bookSheets?p.SheetNames:t.bookProps))return p;r={};var m={};t.bookDeps&&a.calcchain&&(m=Ld(Ct(e,_f(a.calcchain)),a.calcchain,t));var g,v,b=0,y={},w=u.Sheets;h.Worksheets=w.length,h.SheetNames=[];for(var x=0;x!=w.length;++x)h.SheetNames[x]=w[x].name;var k=s?"bin":"xml",C=a.workbooks[0].lastIndexOf("/"),A=(a.workbooks[0].slice(0,C+1)+"_rels/"+a.workbooks[0].slice(C+1)+".rels").replace(/^\//,"");xt(e,A)||(A="xl/_rels/workbook."+k+".rels");var T=gi(At(e,A,!0),A.replace(/_rels.*/,"s5s"));(a.metadata||[]).length>=1&&(t.xlmeta=Pd(Ct(e,_f(a.metadata[0])),a.metadata[0],t)),(a.people||[]).length>=1&&(t.people=ql(Ct(e,_f(a.people[0])),t)),T&&(T=Jf(T,u.Sheets));var S=Ct(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(b=0;b!=h.Worksheets;++b){var E="sheet";if(T&&T[b]?(g="xl/"+T[b][1].replace(/[\/]?xl\//,""),xt(e,g)||(g=T[b][1]),xt(e,g)||(g=A.replace(/_rels\/.*$/,"")+T[b][1]),E=T[b][2]):(g="xl/worksheets/sheet"+(b+1-S)+"."+k,g=g.replace(/sheet0\./,"sheet.")),v=g.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(b!=t.sheets)continue e;break;case"string":if(h.SheetNames[b].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var M=!1,O=0;O!=t.sheets.length;++O)"number"==typeof t.sheets[O]&&t.sheets[O]==b&&(M=1),"string"==typeof t.sheets[O]&&t.sheets[O].toLowerCase()==h.SheetNames[b].toLowerCase()&&(M=1);if(!M)continue e}}Qf(e,g,v,h.SheetNames[b],b,y,r,E,t,u,l,c)}return p={Directory:a,Workbook:u,Props:h,Custprops:f,Deps:m,Sheets:r,SheetNames:h.SheetNames,Strings:Ju,Styles:c,Themes:l,SSF:dt(Z)},t&&t.bookFiles&&(e.files?(p.keys=o,p.files=e.files):(p.keys=[],p.files={},e.FullPaths.forEach((function(t,n){t=t.replace(/^Root Entry[\/]/,""),p.keys.push(t),p.files[t]=e.FileIndex[n]})))),t&&t.bookVBA&&(a.vba.length>0?p.vbaraw=Ct(e,_f(a.vba[0]),!0):a.defaults&&a.defaults.bin===Yl&&(p.vbaraw=Ct(e,"xl/vbaProject.bin",!0))),p}function ep(e,t){var n=t||{},r="Workbook",i=Xe.find(e,r);try{if(r="/!DataSpaces/Version",i=Xe.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(ss(i.content),r="/!DataSpaces/DataSpaceMap",i=Xe.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var o=cs(i.content);if(1!==o.length||1!==o[0].comps.length||0!==o[0].comps[0].t||"StrongEncryptionDataSpace"!==o[0].name||"EncryptedPackage"!==o[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+r);if(r="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",i=Xe.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var a=us(i.content);if(1!=a.length||"StrongEncryptionTransform"!=a[0])throw new Error("ECMA-376 Encrypted file bad "+r);if(r="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",i=Xe.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);ds(i.content)}catch(l){}if(r="/EncryptionInfo",i=Xe.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var s=ms(i.content);if(r="/EncryptedPackage",i=Xe.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(4==s[0]&&"undefined"!==typeof decrypt_agile)return decrypt_agile(s[1],i.content,n.password||"",n);if(2==s[0]&&"undefined"!==typeof decrypt_std76)return decrypt_std76(s[1],i.content,n.password||"",n);throw new Error("File is password-protected")}function tp(e,t){var n="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":n=A(e.slice(0,12));break;case"binary":n=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}function np(e,t){return Xe.find(e,"EncryptedPackage")?ep(e,t):tf(e,t)}function rp(t,n){var r,i=t,o=n||{};return o.type||(o.type=T&&e.isBuffer(t)?"buffer":"base64"),r=Mt(i,o),$f(r,o)}function ip(e,t){var n=0;e:while(n=2&&0===o[3])return Va.to_workbook(i,r);if(0===o[2]&&(8===o[3]||9===o[3]))return Va.to_workbook(i,r)}break;case 3:case 131:case 139:case 140:return ja.to_workbook(i,r);case 123:if(92===o[1]&&114===o[2]&&116===o[3])return Ms.to_workbook(i,r);break;case 10:case 13:case 32:return op(i,r);case 137:if(80===o[1]&&78===o[2]&&71===o[3])throw new Error("PNG Image File is not a spreadsheet");break}return Ba.indexOf(o[0])>-1&&o[2]<=12&&o[3]<=31?ja.to_workbook(i,r):lp(t,i,r,a)}function up(e,t,n,r,i,o,a,s){var l=or(n),c=s.defval,u=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),h=!0,d=1===i?[]:{};if(1!==i)if(Object.defineProperty)try{Object.defineProperty(d,"__rowNum__",{value:n,enumerable:!1})}catch(g){d.__rowNum__=n}else d.__rowNum__=n;if(!a||e[n])for(var f=t.s.c;f<=t.e.c;++f){var p=a?e[n][f]:e[r[f]+l];if(void 0!==p&&void 0!==p.t){var m=p.v;switch(p.t){case"z":if(null==m)break;continue;case"e":m=0==m?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=o[f]){if(null==m)if("e"==p.t&&null===m)d[o[f]]=null;else if(void 0!==c)d[o[f]]=c;else{if(!u||null!==m)continue;d[o[f]]=null}else d[o[f]]=u&&("n"!==p.t||"n"===p.t&&!1!==s.rawNumbers)?m:yr(p,m,s);null!=m&&(h=!1)}}else{if(void 0===c)continue;null!=o[f]&&(d[o[f]]=c)}}return{row:d,isempty:h}}function hp(e,t){if(null==e||null==e["!ref"])return[];var n={t:"n",v:0},r=0,i=1,o=[],a=0,s="",l={s:{r:0,c:0},e:{r:0,c:0}},c=t||{},u=null!=c.range?c.range:e["!ref"];switch(1===c.header?r=1:"A"===c.header?r=2:Array.isArray(c.header)?r=3:null==c.header&&(r=0),typeof u){case"string":l=vr(u);break;case"number":l=vr(e["!ref"]),l.s.r=u;break;default:l=u}r>0&&(i=0);var h=or(l.s.r),d=[],f=[],p=0,m=0,g=Array.isArray(e),v=l.s.r,b=0,y={};g&&!e[v]&&(e[v]=[]);var w=c.skipHidden&&e["!cols"]||[],x=c.skipHidden&&e["!rows"]||[];for(b=l.s.c;b<=l.e.c;++b)if(!(w[b]||{}).hidden)switch(d[b]=cr(b),n=g?e[v][b]:e[d[b]+h],r){case 1:o[b]=b-l.s.c;break;case 2:o[b]=d[b];break;case 3:o[b]=c.header[b-l.s.c];break;default:if(null==n&&(n={w:"__EMPTY",t:"s"}),s=a=yr(n,null,c),m=y[a]||0,m){do{s=a+"_"+m++}while(y[s]);y[a]=m,y[s]=1}else y[a]=1;o[b]=s}for(v=l.s.r+i;v<=l.e.r;++v)if(!(x[v]||{}).hidden){var k=up(e,l,v,d,r,o,g,c);(!1===k.isempty||(1===r?!1!==c.blankrows:c.blankrows))&&(f[p++]=k.row)}return f.length=p,f}var dp=/"/g;function fp(e,t,n,r,i,o,a,s){for(var l=!0,c=[],u="",h=or(n),d=t.s.c;d<=t.e.c;++d)if(r[d]){var f=s.dense?(e[n]||[])[d]:e[r[d]+h];if(null==f)u="";else if(null!=f.v){l=!1,u=""+(s.rawNumbers&&"n"==f.t?f.v:yr(f,null,s));for(var p=0,m=0;p!==u.length;++p)if((m=u.charCodeAt(p))===i||m===o||34===m||s.forceQuotes){u='"'+u.replace(dp,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==f.f||f.F?u="":(l=!1,u="="+f.f,u.indexOf(",")>=0&&(u='"'+u.replace(dp,'""')+'"'));c.push(u)}return!1===s.blankrows&&l?null:c.join(a)}function pp(e,t){var n=[],r=null==t?{}:t;if(null==e||null==e["!ref"])return"";var i=vr(e["!ref"]),o=void 0!==r.FS?r.FS:",",a=o.charCodeAt(0),s=void 0!==r.RS?r.RS:"\n",l=s.charCodeAt(0),c=new RegExp(("|"==o?"\\|":o)+"+$"),u="",h=[];r.dense=Array.isArray(e);for(var d=r.skipHidden&&e["!cols"]||[],f=r.skipHidden&&e["!rows"]||[],p=i.s.c;p<=i.e.c;++p)(d[p]||{}).hidden||(h[p]=cr(p));for(var m=0,g=i.s.r;g<=i.e.r;++g)(f[g]||{}).hidden||(u=fp(e,i,g,h,a,l,o,r),null!=u&&(r.strip&&(u=u.replace(c,"")),(u||!1!==r.blankrows)&&n.push((m++?s:"")+u)));return delete r.dense,n.join("")}function mp(e,t){t||(t={}),t.FS="\t",t.RS="\n";var n=pp(e,t);if("undefined"==typeof g||"string"==t.type)return n;var r=g.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+r}function gp(e){var t,n="",r="";if(null==e||null==e["!ref"])return[];var i,o=vr(e["!ref"]),a="",s=[],l=[],c=Array.isArray(e);for(i=o.s.c;i<=o.e.c;++i)s[i]=cr(i);for(var u=o.s.r;u<=o.e.r;++u)for(a=or(u),i=o.s.c;i<=o.e.c;++i)if(n=s[i]+a,t=c?(e[u]||[])[i]:e[n],r="",void 0!==t){if(null!=t.F){if(n=t.F,!t.f)continue;r=t.f,-1==n.indexOf(":")&&(n=n+":"+n)}if(null!=t.f)r=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)r=""+t.v;else if("b"==t.t)r=t.v?"TRUE":"FALSE";else if(void 0!==t.w)r="'"+t.w;else{if(void 0===t.v)continue;r="s"==t.t?"'"+t.v:""+t.v}}l[l.length]=n+"="+r}return l}function vp(e,t,n){var r,i=n||{},o=+!i.skipHeader,a=e||{},s=0,l=0;if(a&&null!=i.origin)if("number"==typeof i.origin)s=i.origin;else{var c="string"==typeof i.origin?fr(i.origin):i.origin;s=c.r,l=c.c}var u={s:{c:0,r:0},e:{c:l,r:s+t.length-1+o}};if(a["!ref"]){var h=vr(a["!ref"]);u.e.c=Math.max(u.e.c,h.e.c),u.e.r=Math.max(u.e.r,h.e.r),-1==s&&(s=h.e.r+1,u.e.r=s+t.length-1+o)}else-1==s&&(s=0,u.e.r=t.length-1+o);var d=i.header||[],f=0;t.forEach((function(e,t){_e(e).forEach((function(n){-1==(f=d.indexOf(n))&&(d[f=d.length]=n);var c=e[n],u="z",h="",p=pr({c:l+f,r:s+t+o});r=yp(a,p),!c||"object"!==typeof c||c instanceof Date?("number"==typeof c?u="n":"boolean"==typeof c?u="b":"string"==typeof c?u="s":c instanceof Date?(u="d",i.cellDates||(u="n",c=tt(c)),h=i.dateNF||Z[14]):null===c&&i.nullError&&(u="e",c=0),r?(r.t=u,r.v=c,delete r.w,delete r.R,h&&(r.z=h)):a[p]=r={t:u,v:c},h&&(r.z=h)):a[p]=c}))})),u.e.c=Math.max(u.e.c,l+d.length-1);var p=or(s);if(o)for(f=0;f=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var n=e.SheetNames.indexOf(t);if(n>-1)return n;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}function xp(){return{SheetNames:[],Sheets:{}}}function kp(e,t,n,r){var i=1;if(!n)for(;i<=65535;++i,n=void 0)if(-1==e.SheetNames.indexOf(n="Sheet"+i))break;if(!n||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(r&&e.SheetNames.indexOf(n)>=0){var o=n.match(/(^.*?)(\d+)$/);i=o&&+o[2]||0;var a=o&&o[1]||n;for(++i;i<=65535;++i)if(-1==e.SheetNames.indexOf(n=a+i))break}if(pd(n),e.SheetNames.indexOf(n)>=0)throw new Error("Worksheet with name |"+n+"| already exists!");return e.SheetNames.push(n),e.Sheets[n]=t,n}function Cp(e,t,n){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var r=wp(e,t);switch(e.Workbook.Sheets[r]||(e.Workbook.Sheets[r]={}),n){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+n)}e.Workbook.Sheets[r].Hidden=n}function Ap(e,t){return e.z=t,e}function Tp(e,t,n){return t?(e.l={Target:t},n&&(e.l.Tooltip=n)):delete e.l,e}function Sp(e,t,n){return Tp(e,"#"+t,n)}function Ep(e,t,n){e.c||(e.c=[]),e.c.push({t:t,a:n||"SheetJS"})}function Mp(e,t,n,r){for(var i="string"!=typeof t?t:vr(t),o="string"==typeof t?t:gr(t),a=i.s.r;a<=i.e.r;++a)for(var s=i.s.c;s<=i.e.c;++s){var l=yp(e,a,s);l.t="n",l.F=o,delete l.v,a==i.s.r&&s==i.s.c&&(l.f=n,r&&(l.D=!0))}return e}var Op={encode_col:cr,encode_row:or,encode_cell:pr,encode_range:gr,decode_col:lr,decode_row:ir,split_cell:dr,decode_cell:fr,decode_range:mr,format_cell:yr,sheet_add_aoa:xr,sheet_add_json:vp,sheet_add_dom:ff,aoa_to_sheet:kr,json_to_sheet:bp,table_to_sheet:pf,table_to_book:mf,sheet_to_csv:pp,sheet_to_txt:mp,sheet_to_json:hp,sheet_to_html:df,sheet_to_formulae:gp,sheet_to_row_object_array:hp,sheet_get_cell:yp,book_new:xp,book_append_sheet:kp,book_set_sheet_visibility:Cp,cell_set_number_format:Ap,cell_set_hyperlink:Tp,cell_set_internal_link:Sp,cell_add_comment:Ep,sheet_set_array_formula:Mp,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};i.version}).call(this,n("b639").Buffer,n("4362"))},"25cac":function(e,t,n){e.exports=n.p+"img/a-8-DNA.svg"},"25fc":function(e,t,n){},2613:function(e,t,n){e.exports=n.p+"img/ziyuan_5.svg"},"265a":function(e,t,n){e.exports=n.p+"img/bijiben.svg"},"26eb":function(e,t,n){e.exports=n.p+"img/-_17.svg"},2710:function(e,t,n){e.exports=n.p+"img/fanqiejiang.svg"},2783:function(e,t,n){e.exports=n.p+"img/ziyuan_13.svg"},"27bf":function(e,t,n){"use strict";e.exports=a;var r=n("b19a"),i=Object.create(n("3a7c"));function o(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length>>16&65535|0,a=0;while(0!==n){a=n>2e3?2e3:n,n-=a;do{i=i+t[r++]|0,o=o+i|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}e.exports=r},"2d8c":function(e,t,n){},"2f97":function(e,t,n){e.exports=n.p+"img/brainImpairedPink.jpg"},"318a":function(e,t,n){e.exports=n.p+"img/jisuan.svg"},"31fc":function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"n",(function(){return i})),n.d(t,"p",(function(){return o})),n.d(t,"o",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"k",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return d})),n.d(t,"i",(function(){return m})),n.d(t,"j",(function(){return g})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return b})),n.d(t,"a",(function(){return w})),n.d(t,"l",(function(){return k})),n.d(t,"h",(function(){return C}));var r=function(e){return e.charCodeAt(0)},i=function(e){return e.codePointAt(0)},o=function(e,t){return c(e.toString(16),t,"0").toUpperCase()},a=function(e){return o(e,2)},s=function(e){return String.fromCharCode(e)},l=function(e){return s(parseInt(e,16))},c=function(e,t,n){for(var r="",i=0,o=t-e.length;i=55296&&r<=56319&&e.length>i&&(n=e.charCodeAt(i),n>=56320&&n<=57343&&(o=2)),[e.slice(t,t+o),o]},b=function(e){for(var t=[],n=0,r=e.length;nn&&c(),a+=f,s+=m}}return c(),l},x=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/,k=function(e){var t=e.match(x);if(t){var n=t[1],r=t[2],i=void 0===r?"01":r,o=t[3],a=void 0===o?"01":o,s=t[4],l=void 0===s?"00":s,c=t[5],u=void 0===c?"00":c,h=t[6],d=void 0===h?"00":h,f=t[7],p=void 0===f?"Z":f,m=t[8],g=void 0===m?"00":m,v=t[9],b=void 0===v?"00":v,y="Z"===p?"Z":""+p+g+":"+b,w=new Date(n+"-"+i+"-"+a+"T"+l+":"+u+":"+d+y);return w}},C=function(e,t){var n,r,i=0;while(i=0&&"[object Array]"!==o(e)&&"[object Function]"===o(e.callee)},l=function(){return a(arguments)}();a.isLegacyArguments=s,e.exports=l?a:s},"3acd":function(e,t,n){e.exports=n.p+"img/fanwendengji.svg"},"3b50":function(e,t,n){e.exports=n.p+"img/jiandan.svg"},"3bbe":function(e,t,n){"use strict";var r=n("1787"),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},"3bd3":function(e,t,n){e.exports=n.p+"img/jiaoxuelou.svg"},"3c2a":function(e,t,n){e.exports=n.p+"img/fishbone.png"},"3c92":function(e,t,n){},"3cc4":function(e,t,n){e.exports=n.p+"img/courseGreen.jpg"},"3d18":function(e,t,n){e.exports=n.p+"img/jiangbei.svg"},"3ec8":function(e,t,n){e.exports=n.p+"img/a-19guaizhang.svg"},"3eea":function(e,t,n){var r=n("fbad");e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},"3f29":function(e,t,n){"use strict";var r,i=n("16e6"),o=n("a2bb"),a=n("0a93"),s=n("8c34"),l=n("202b"),c=n("bbd5"),u=n("72e6"),h=Function,d=function(e){try{return h('"use strict"; return ('+e+").constructor;")()}catch(t){}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch(F){f=null}var p=function(){throw new c},m=f?function(){try{return p}catch(e){try{return f(arguments,"callee").get}catch(t){return p}}}():p,g=n("ddbb")(),v=n("1806")(),b=Object.getPrototypeOf||(v?function(e){return e.__proto__}:null),y={},w="undefined"!==typeof Uint8Array&&b?b(Uint8Array):r,x={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":g&&b?b([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":h,"%GeneratorFunction%":y,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&b?b(b([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&g&&b?b((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&g&&b?b((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&b?b(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":m,"%TypedArray%":w,"%TypeError%":c,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet};if(b)try{null.error}catch(F){var k=b(b(F));x["%Error.prototype%"]=k}var C=function e(t){var n;if("%AsyncFunction%"===t)n=d("async function () {}");else if("%GeneratorFunction%"===t)n=d("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=d("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&b&&(n=b(i.prototype))}return x[t]=n,n},A={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},T=n("06c3"),S=n("f250"),E=T.call(Function.call,Array.prototype.concat),M=T.call(Function.apply,Array.prototype.splice),O=T.call(Function.call,String.prototype.replace),N=T.call(Function.call,String.prototype.slice),L=T.call(Function.call,RegExp.prototype.exec),D=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,I=function(e){var t=N(e,0,1),n=N(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return O(e,D,(function(e,t,n,i){r[r.length]=n?O(i,P,"$1"):t||e})),r},R=function(e,t){var n,r=e;if(S(A,r)&&(n=A[r],r="%"+n[0]+"%"),S(x,r)){var i=x[r];if(i===y&&(i=C(r)),"undefined"===typeof i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===L(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=I(e),r=n.length>0?n[0]:"",i=R("%"+r+"%",t),o=i.name,a=i.value,s=!1,u=i.alias;u&&(r=u[0],M(n,E([0,1],u)));for(var h=1,d=!0;h=n.length){var v=f(a,p);d=!!v,a=d&&"get"in v&&!("originalValue"in v.get)?v.get:a[p]}else d=S(a,p),a=a[p];d&&!s&&(x[o]=a)}}return a}},"3f35":function(e,t,n){var r=n("4883"),i=n("c191"),o=n("6003");e.exports=function(e,t,n){var a,s;return o&&r(a=t.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(e,s),e}},"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}}},"401c":function(e){e.exports=JSON.parse('"eJyFWdtSGzkQ/RXXPO1WmZSBEAJvjnESb8AmGENCKg+ypj3Wohk5ugAmlX9fzUCyW6s+ysuUfVqXvh61Zr4XI1PX1PjiuLg6C05U1Ns/Ojx42TsYHB4eFf3irWn8VNQUB4xMsIpsCwatU1DUSm8T+JpUtW7XP6NShToiEy+0ksOm0nHkIP53b9UDlefKy3Vx7G2gfjFaCyukJzundu74wVNTUnlhatE8a/XmjXkojr/s7O33d/YOBv3D3YP+68HB136xiEOtVg2dG6e8Mk1xvLM7GPxHcLlW8rYh54rjOLO4Iuu6YcVgsP9iMBjELabGK/lkymZrWxt6f8g/e7tHr4/68Xk06J673XOve+53z8PesDRL6s23zlPtepNGGrsxVngqX/R6Q617F+1qrndBjuxdRONu4ziqVE01l2vqHNgtMveiKYUtf0rjwJHYvH/26MGrvX7x6ee/l3uv+sXQydZPtjh+tXfUL07o1/+d3YPDfjH35fvrOHO3+3n1/LN19hl5q2T0x5fvxfWnOL/11zQq4jYiuuFH/38wPUgt6hT/Fkw0dKlTSRPqZevnqkllpdFa2BTfkJVtdiYCUUeRi94BGnQBY9YTlhpNKyQC04RrV3S3zCwdXIrKWFQihdfbzZoY66MpyjCWOC3cOoUfyZoUNQ0TJX/PjPRrS8zYVSxZBlV3zFinHhiQ7jjriPdpoziFpdGGWcNRrYBIt1WcbvotCCYHK0uxDhkzvwVyHVOksWd0H6bQmxQapdBJCo1T6G0KvUuh9yk0SaG/UuhDCp2m0FkKTVNolkLnKfQxhS5SaJ5Clym0SKGrFLpOoU8p9DmFblJoGU+iW/I8bSyjDNTp8zzIKVIpqawMDIuGlrRdPDiYEun4jVeG4ZwlU2MM/zIVxHABU1AMy6WQSqG/U4ihV6aEGW8xVcvQ3oZxZQox3MDQC+P7kEJ3KXSfQgyTbhnS5/MLJMKSO0y78bls9EqX8KgvzT3jZ/50bo9L3fYraQq1XR3Ls1vu7FhpYxV7HoBVZLDxGJeMA7uycarrOmHXwnuzCipKagMooBV3C/9GDFy/YqpjxSR+bORYmilFVXFH2hPOtmJPDUcbO7LE1H7shURlxYYjtdj6E2PFv+5dCpfxcF4KXPQrAEBOWquNU0yhRkv92gTUKT4d+nxqRwdwrY+QwXONS8fkK01MOYO6qoW0XA4vLXEbl8YLyddbGa9axNpv2SqU8SoWG26Gu0NTCRtqLQKzjalik8mwtBSsHVTzCTtkWh5jy1Xs8fim8BQcsDOE8xvUkeSCZncQvL/b3pKpTg32NQhnVo+lGa+yMeWZoE1wPAmknwBJE/IRJRC6z1iDUt0pLps/A82GucoQYNIiN2kLJrnu2oVqhHJLLvg6WWA3CFQMC6BdQBPGeJOTSBDc/SNrqPz5voLZClGOBHkgeL9MswpolKOAUS+zq43QaoBVxxmedMBMBwlRgd21eaSmYgQXYIt3WSNDtkhywiEKqQWKSGjrTcZzl2tjmcVmaPcL4Lc5wEug7QJtEPjM7N5tuNA1OExPNAMpOEQ4oNU6aK82mmkzAzDwEhgYWy2vhC7VirldbTE1TME+Kpcs42yaZU4dLJJAjwbRIAroFDhoAhZq37zFhoF7/ba05pYa9g5kqVIOdL3vQLAnOUYJsar5q8gY5JQFBhnkmRsw4QZ47PklF3gFNvZMhzKCpKCzvOVR6wdPRyQYovYhk5XAwY+oNNDeMxQRdPSgSDm0MzZilm1LgIUnpD0TK8+TtL83GUbEqtXMKw0FNDL5PnOMXF+CDqfj8ZjANiYyo9o8k698Rn7I5vEpCJy3oqRaWEZzyrDCBHhpghLnFGgdnbYWmjkZ2psJKHCTy6gGdE2L38QP+IeQQRXg0mjQc1S5oPJOmGdDN8trXkaW4L52GBCiEVAiQDYvleTCcAIWsllrpiA+BuAX+bTOSodgzSHkaL7nmoF1HjMVMkanPdr7NmsKaAQm2VIAKvj85cZUbbwbw70fwVwasCguhb5W5S+03EH+CIxqsktFl+MTQqEaH4f2O+TXfvGBbHMulG2/Hn/98Q/b2xEO"')},"406c":function(e,t,n){"use strict";function r(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}e.exports=r},"412b":function(e,t,n){"use strict";n("7979")},"41af":function(e,t,n){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var r=42;for(t in e[t]=r,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||!0!==o.enumerable)return!1}return!0}},"41c5":function(e,t,n){e.exports=n.p+"img/-_12.svg"},"41e8":function(e,t,n){},4244:function(e,t,n){e.exports=n.p+"img/a-20-shuye.svg"},"429b":function(e,t,n){e.exports=n("faa1").EventEmitter},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={}},"43cf":function(e,t,n){e.exports=n.p+"img/xiezizhuo.svg"},"442c":function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return P})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return b})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return C})),n.d(t,"h",(function(){return N})),n.d(t,"i",(function(){return D})),n.d(t,"j",(function(){return O}));var r=n("b923"),i=n("6f27"),o=n("6ffb");const a=(e,t)=>!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function s(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}const l=(e,t,n)=>{let a=s(e,n);if(!a)return!1;let l=h(a);if(!l){let n=a.blockRange(),i=n&&Object(r["k"])(n);return null!=i&&(t&&t(e.tr.lift(n,i).scrollIntoView()),!0)}let u=l.nodeBefore;if(!u.type.spec.isolating&&T(e,l,t))return!0;if(0==a.parent.content.size&&(c(u,"end")||o["NodeSelection"].isSelectable(u))){let n=Object(r["l"])(e.doc,a.before(),a.after(),i["Slice"].empty);if(n&&n.slice.size{let{$head:r,empty:i}=e.selection,a=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):r.parentOffset>0)return!1;a=h(r)}let s=a&&a.nodeBefore;return!(!s||!o["NodeSelection"].isSelectable(s))&&(t&&t(e.tr.setSelection(o["NodeSelection"].create(e.doc,a.pos-s.nodeSize)).scrollIntoView()),!0)};function h(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function d(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset{let a=d(e,n);if(!a)return!1;let s=m(a);if(!s)return!1;let l=s.nodeAfter;if(T(e,s,t))return!0;if(0==a.parent.content.size&&(c(l,"start")||o["NodeSelection"].isSelectable(l))){let n=Object(r["l"])(e.doc,a.before(),a.after(),i["Slice"].empty);if(n&&n.slice.size{let{$head:r,empty:i}=e.selection,a=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):r.parentOffset=0;t--){let n=e.node(t);if(e.index(t)+1{let{$head:n,$anchor:r}=e.selection;return!(!n.parent.type.spec.code||!n.sameParent(r))&&(t&&t(e.tr.insertText("\n").scrollIntoView()),!0)};function v(e){for(let t=0;t{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),a=n.indexAfter(-1),s=v(i.contentMatchAt(a));if(!s||!i.canReplaceWith(a,a,s))return!1;if(t){let r=n.after(),i=e.tr.replaceWith(r,r,s.createAndFill());i.setSelection(o["Selection"].near(i.doc.resolve(r),1)),t(i.scrollIntoView())}return!0},y=(e,t)=>{let n=e.selection,{$from:r,$to:i}=n;if(n instanceof o["AllSelection"]||r.parent.inlineContent||i.parent.inlineContent)return!1;let a=v(i.parent.contentMatchAt(i.indexAfter()));if(!a||!a.isTextblock)return!1;if(t){let n=(!r.parentOffset&&i.index(){let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let i=n.before();if(Object(r["g"])(e.doc,i))return t&&t(e.tr.split(i).scrollIntoView()),!0}let i=n.blockRange(),o=i&&Object(r["k"])(i);return null!=o&&(t&&t(e.tr.lift(i,o).scrollIntoView()),!0)};function x(e){return(t,n)=>{let{$from:i,$to:a}=t.selection;if(t.selection instanceof o["NodeSelection"]&&t.selection.node.isBlock)return!(!i.parentOffset||!Object(r["g"])(t.doc,i.pos))&&(n&&n(t.tr.split(i.pos).scrollIntoView()),!0);if(!i.parent.isBlock)return!1;if(n){let s=a.parentOffset==a.parent.content.size,l=t.tr;(t.selection instanceof o["TextSelection"]||t.selection instanceof o["AllSelection"])&&l.deleteSelection();let c=0==i.depth?null:v(i.node(-1).contentMatchAt(i.indexAfter(-1))),u=e&&e(a.parent,s),h=u?[u]:s&&c?[{type:c}]:void 0,d=Object(r["g"])(l.doc,l.mapping.map(i.pos),1,h);if(h||d||!Object(r["g"])(l.doc,l.mapping.map(i.pos),1,c?[{type:c}]:void 0)||(c&&(h=[{type:c}]),d=!0),d&&(l.split(l.mapping.map(i.pos),1,h),!s&&!i.parentOffset&&i.parent.type!=c)){let e=l.mapping.map(i.before()),t=l.doc.resolve(e);c&&i.node(-1).canReplaceWith(t.index(),t.index()+1,c)&&l.setNodeMarkup(l.mapping.map(i.before()),c)}n(l.scrollIntoView())}return!0}}const k=x(),C=(e,t)=>(t&&t(e.tr.setSelection(new o["AllSelection"](e.doc))),!0);function A(e,t,n){let i=t.nodeBefore,o=t.nodeAfter,a=t.index();return!!(i&&o&&i.type.compatibleContent(o.type))&&(!i.content.size&&t.parent.canReplace(a-1,a)?(n&&n(e.tr.delete(t.pos-i.nodeSize,t.pos).scrollIntoView()),!0):!(!t.parent.canReplace(a,a+1)||!o.isTextblock&&!Object(r["f"])(e.doc,t.pos))&&(n&&n(e.tr.clearIncompatible(t.pos,i.type,i.contentMatchAt(i.childCount)).join(t.pos).scrollIntoView()),!0))}function T(e,t,n){let a,s,l=t.nodeBefore,u=t.nodeAfter;if(l.type.spec.isolating||u.type.spec.isolating)return!1;if(A(e,t,n))return!0;let h=t.parent.canReplace(t.index(),t.index()+1);if(h&&(a=(s=l.contentMatchAt(l.childCount)).findWrapping(u.type))&&s.matchType(a[0]||u.type).validEnd){if(n){let o=t.pos+u.nodeSize,s=i["Fragment"].empty;for(let e=a.length-1;e>=0;e--)s=i["Fragment"].from(a[e].create(null,s));s=i["Fragment"].from(l.copy(s));let c=e.tr.step(new r["b"](t.pos-1,o,t.pos,o,new i["Slice"](s,1,0),a.length,!0)),h=o+2*a.length;Object(r["f"])(c.doc,h)&&c.join(h),n(c.scrollIntoView())}return!0}let d=o["Selection"].findFrom(t,1),f=d&&d.$from.blockRange(d.$to),p=f&&Object(r["k"])(f);if(null!=p&&p>=t.depth)return n&&n(e.tr.lift(f,p).scrollIntoView()),!0;if(h&&c(u,"start",!0)&&c(l,"end")){let o=l,a=[];for(;;){if(a.push(o),o.isTextblock)break;o=o.lastChild}let s=u,c=1;for(;!s.isTextblock;s=s.firstChild)c++;if(o.canReplace(o.childCount,o.childCount,s.content)){if(n){let o=i["Fragment"].empty;for(let e=a.length-1;e>=0;e--)o=i["Fragment"].from(a[e].copy(o));let s=e.tr.step(new r["b"](t.pos-a.length,t.pos+u.nodeSize,t.pos+c,t.pos+u.nodeSize-c,new i["Slice"](o,a.length,0),0,!0));n(s.scrollIntoView())}return!0}}return!1}function S(e){return function(t,n){let r=t.selection,i=e<0?r.$from:r.$to,a=i.depth;while(i.node(a).isInline){if(!a)return!1;a--}return!!i.node(a).isTextblock&&(n&&n(t.tr.setSelection(o["TextSelection"].create(t.doc,e<0?i.start(a):i.end(a)))),!0)}}const E=S(-1),M=S(1);function O(e,t=null){return function(n,i){let{$from:o,$to:a}=n.selection,s=o.blockRange(a),l=s&&Object(r["i"])(s,e,t);return!!l&&(i&&i(n.tr.wrap(s,l).scrollIntoView()),!0)}}function N(e,t=null){return function(n,r){let i=!1;for(let o=0;o{if(i)return!1;if(r.isTextblock&&!r.hasMarkup(e,t))if(r.type==e)i=!0;else{let t=n.doc.resolve(o),r=t.index();i=t.parent.canReplaceWith(r,r+1,e)}})}if(!i)return!1;if(r){let i=n.tr;for(let r=0;r{if(a)return!1;a=e.inlineContent&&e.type.allowsMarkType(n)}),a)return!0}return!1}function D(e,t=null){return function(n,r){let{empty:i,$cursor:o,ranges:a}=n.selection;if(i&&!o||!L(n.doc,a,e))return!1;if(r)if(o)e.isInSet(n.storedMarks||o.marks())?r(n.tr.removeStoredMark(e)):r(n.tr.addStoredMark(e.create(t)));else{let i=!1,o=n.tr;for(let t=0;!i&&t=o["a"].Zero&&c<=o["a"].Seven?(t+=l,3!==t.length&&u>="0"&&u<="7"||(r(parseInt(t,8)),t="")):r(c):c===o["a"].BackSlash?n=!0:r(c)}return new Uint8Array(e)},t.prototype.decodeText=function(){var e=this.asBytes();return Object(a["A"])(e)?Object(a["Y"])(e):Object(a["K"])(e)},t.prototype.decodeDate=function(){var e=this.decodeText(),t=Object(a["J"])(e);if(!t)throw new s["d"](e);return t},t.prototype.asString=function(){return this.value},t.prototype.clone=function(){return t.of(this.value)},t.prototype.toString=function(){return"("+this.value+")"},t.prototype.sizeInBytes=function(){return this.value.length+2},t.prototype.copyBytesInto=function(e,t){return e[t++]=o["a"].LeftParen,t+=Object(a["w"])(this.value,e,t),e[t++]=o["a"].RightParen,this.value.length+2},t.of=function(e){return new t(e)},t.fromDate=function(e){var n=Object(a["I"])(String(e.getUTCFullYear()),4,"0"),r=Object(a["I"])(String(e.getUTCMonth()+1),2,"0"),i=Object(a["I"])(String(e.getUTCDate()),2,"0"),o=Object(a["I"])(String(e.getUTCHours()),2,"0"),s=Object(a["I"])(String(e.getUTCMinutes()),2,"0"),l=Object(a["I"])(String(e.getUTCSeconds()),2,"0");return new t("D:"+n+r+i+o+s+l+"Z")},t}(i["a"]);t["a"]=l},"4ec2":function(e,t,n){e.exports=n.p+"img/timeline2.png"},"4f5a":function(e,t,n){e.exports=n.p+"img/-_14.svg"},"4f8c":function(e,t,n){e.exports=n.p+"img/pinkGrape.jpg"},"4f98":function(e,t,n){(function(t){ +function Cf(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Af(e){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(e):Qt(N(e))}function Tf(e){var t=e.reduce((function(e,t){return e+t.length}),0),n=new Uint8Array(t),r=0;return e.forEach((function(e){n.set(e,r),r+=e.length})),n}function Sf(e){return e-=e>>1&1431655765,e=(858993459&e)+(e>>2&858993459),16843009*(e+(e>>4)&252645135)>>>24}function Ef(e,t){for(var n=(127&e[t+15])<<7|e[t+14]>>1,r=1&e[t+14],i=t+13;i>=t;--i)r=256*r+e[i];return(128&e[t+15]?-r:r)*Math.pow(10,n-6176)}function Mf(e,t){var n=t?t[0]:0,r=127&e[n];e:if(e[n++]>=128){if(r|=(127&e[n])<<7,e[n++]<128)break e;if(r|=(127&e[n])<<14,e[n++]<128)break e;if(r|=(127&e[n])<<21,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,28),++n,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,35),++n,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,42),++n,e[n++]<128)break e}return t&&(t[0]=n),r}function Of(e){var t=0,n=127&e[t];e:if(e[t++]>=128){if(n|=(127&e[t])<<7,e[t++]<128)break e;if(n|=(127&e[t])<<14,e[t++]<128)break e;if(n|=(127&e[t])<<21,e[t++]<128)break e;n|=(127&e[t])<<28}return n}function Nf(e){var t=[],n=[0];while(n[0]=128);a=e.slice(l,n[0]);break;case 5:s=4,a=e.slice(n[0],n[0]+s),n[0]+=s;break;case 1:s=8,a=e.slice(n[0],n[0]+s),n[0]+=s;break;case 2:s=Mf(e,n),a=e.slice(n[0],n[0]+s),n[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(o," for Field ").concat(i," at offset ").concat(r))}var c={data:a,type:o};null==t[i]?t[i]=[c]:t[i].push(c)}return t}function Lf(e,t){return(null==e?void 0:e.map((function(e){return t(e.data)})))||[]}function Df(e){var t,n=[],r=[0];while(r[0]>>0>0),n.push(a)}return n}function Pf(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));var n=[0],r=Mf(t,n),i=[];while(n[0]>2&7),a=(224&t[n[0]++])<<3,a|=t[n[0]++]):(s=1+(t[n[0]++]>>2),2==o?(a=t[n[0]]|t[n[0]+1]<<8,n[0]+=2):(a=(t[n[0]]|t[n[0]+1]<<8|t[n[0]+2]<<16|t[n[0]+3]<<24)>>>0,n[0]+=4)),i=[Tf(i)],0==a)throw new Error("Invalid offset 0");if(a>i[0].length)throw new Error("Invalid offset beyond length");if(s>=a){i.push(i[0].slice(-a)),s-=a;while(s>=i[i.length-1].length)i.push(i[i.length-1]),s-=i[i.length-1].length}i.push(i[0].slice(-a,-a+s))}else{var l=t[n[0]++]>>2;if(l<60)++l;else{var c=l-59;l=t[n[0]],c>1&&(l|=t[n[0]+1]<<8),c>2&&(l|=t[n[0]+2]<<16),c>3&&(l|=t[n[0]+3]<<24),l>>>=0,l++,n[0]+=c}i.push(t.slice(n[0],n[0]+l)),n[0]+=l}}var u=Tf(i);if(u.length!=r)throw new Error("Unexpected length: ".concat(u.length," != ").concat(r));return u}function If(e){var t=[],n=0;while(n1?12:8)+4*Sf(a&(r>1?3470:398)),l=-1,c=-1,u=NaN,h=new Date(2001,0,1);switch(512&a&&(l=o.getUint32(s,!0),s+=4),s+=4*Sf(a&(r>1?12288:4096)),16&a&&(c=o.getUint32(s,!0),s+=4),32&a&&(u=o.getFloat64(s,!0),s+=8),64&a&&(h.setTime(h.getTime()+1e3*o.getFloat64(s,!0)),s+=8),e[2]){case 0:break;case 2:i={t:"n",v:u};break;case 3:i={t:"s",v:t[c]};break;case 5:i={t:"d",v:h};break;case 6:i={t:"b",v:u>0};break;case 7:i={t:"n",v:u/86400};break;case 8:i={t:"e",v:0};break;case 9:if(l>-1)i={t:"s",v:n[l]};else if(c>-1)i={t:"s",v:t[c]};else{if(isNaN(u))throw new Error("Unsupported cell type ".concat(e.slice(0,4)));i={t:"n",v:u}}break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return i}function Ff(e,t,n){var r,i=Cf(e),o=i.getUint32(8,!0),a=12,s=-1,l=-1,c=NaN,u=NaN,h=new Date(2001,0,1);switch(1&o&&(c=Ef(e,a),a+=16),2&o&&(u=i.getFloat64(a,!0),a+=8),4&o&&(h.setTime(h.getTime()+1e3*i.getFloat64(a,!0)),a+=8),8&o&&(l=i.getUint32(a,!0),a+=4),16&o&&(s=i.getUint32(a,!0),a+=4),e[1]){case 0:break;case 2:r={t:"n",v:c};break;case 3:r={t:"s",v:t[l]};break;case 5:r={t:"d",v:h};break;case 6:r={t:"b",v:u>0};break;case 7:r={t:"n",v:u/86400};break;case 8:r={t:"e",v:0};break;case 9:if(!(s>-1))throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&o," : ").concat(e.slice(0,4)));r={t:"s",v:n[s]};break;case 10:r={t:"n",v:c};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&o," : ").concat(e.slice(0,4)))}return r}function zf(e,t,n){switch(e[0]){case 0:case 1:case 2:case 3:return Rf(e,t,n,e[0]);case 5:return Ff(e,t,n);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function Bf(e){var t=Nf(e);return Mf(t[1][0].data)}function jf(e,t){var n=Nf(t.data),r=Of(n[1][0].data),i=n[3],o=[];return(i||[]).forEach((function(t){var n=Nf(t.data),i=Of(n[1][0].data)>>>0;switch(r){case 1:o[i]=Af(n[3][0].data);break;case 8:var a=e[Bf(n[9][0].data)][0],s=Nf(a.data),l=e[Bf(s[1][0].data)][0],c=Of(l.meta[1][0].data);if(2001!=c)throw new Error("2000 unexpected reference to ".concat(c));var u=Nf(l.data);o[i]=u[3].map((function(e){return Af(e.data)})).join("");break}})),o}function Hf(e,t){var n,r,i,o,a,s,l,c,u,h,d,f,p,m,g,v,b=Nf(e),y=Of(b[1][0].data)>>>0,w=Of(b[2][0].data)>>>0,x=(null==(r=null==(n=b[8])?void 0:n[0])?void 0:r.data)&&Of(b[8][0].data)>0||!1;if((null==(o=null==(i=b[7])?void 0:i[0])?void 0:o.data)&&0!=t)g=null==(s=null==(a=b[7])?void 0:a[0])?void 0:s.data,v=null==(c=null==(l=b[6])?void 0:l[0])?void 0:c.data;else{if(!(null==(h=null==(u=b[4])?void 0:u[0])?void 0:h.data)||1==t)throw"NUMBERS Tile missing ".concat(t," cell storage");g=null==(f=null==(d=b[4])?void 0:d[0])?void 0:f.data,v=null==(m=null==(p=b[3])?void 0:p[0])?void 0:m.data}for(var k=x?4:1,C=Cf(g),A=[],T=0;T=1&&(E[A[A.length-1][0]]=v.subarray(A[A.length-1][1]*k)),{R:y,cells:E}}function Uf(e,t){var n,r=Nf(t.data),i=(null==(n=null==r?void 0:r[7])?void 0:n[0])?Of(r[7][0].data)>>>0>0?1:0:-1,o=Lf(r[5],(function(e){return Hf(e,i)}));return{nrows:Of(r[4][0].data)>>>0,data:o.reduce((function(e,t){return e[t.R]||(e[t.R]=[]),t.cells.forEach((function(n,r){if(e[t.R][r])throw new Error("Duplicate cell r=".concat(t.R," c=").concat(r));e[t.R][r]=n})),e}),[])}}function qf(e,t,n){var r,i=Nf(t.data),o={s:{r:0,c:0},e:{r:0,c:0}};if(o.e.r=(Of(i[6][0].data)>>>0)-1,o.e.r<0)throw new Error("Invalid row varint ".concat(i[6][0].data));if(o.e.c=(Of(i[7][0].data)>>>0)-1,o.e.c<0)throw new Error("Invalid col varint ".concat(i[7][0].data));n["!ref"]=gr(o);var a=Nf(i[4][0].data),s=jf(e,e[Bf(a[4][0].data)][0]),l=(null==(r=a[17])?void 0:r[0])?jf(e,e[Bf(a[17][0].data)][0]):[],c=Nf(a[3][0].data),u=0;c[1].forEach((function(t){var r=Nf(t.data),i=e[Bf(r[2][0].data)][0],o=Of(i.meta[1][0].data);if(6002!=o)throw new Error("6001 unexpected reference to ".concat(o));var a=Uf(e,i);a.data.forEach((function(e,t){e.forEach((function(e,r){var i=pr({r:u+t,c:r}),o=zf(e,s,l);o&&(n[i]=o)}))})),u+=a.nrows}))}function Wf(e,t){var n=Nf(t.data),r={"!ref":"A1"},i=e[Bf(n[2][0].data)],o=Of(i[0].meta[1][0].data);if(6001!=o)throw new Error("6000 unexpected reference to ".concat(o));return qf(e,i[0],r),r}function Gf(e,t){var n,r=Nf(t.data),i={name:(null==(n=r[1])?void 0:n[0])?Af(r[1][0].data):"",sheets:[]},o=Lf(r[2],Bf);return o.forEach((function(t){e[t].forEach((function(t){var n=Of(t.meta[1][0].data);6e3==n&&i.sheets.push(Wf(e,t))}))})),i}function Vf(e,t){var n=xp(),r=Nf(t.data),i=Lf(r[1],Bf);if(i.forEach((function(t){e[t].forEach((function(t){var r=Of(t.meta[1][0].data);if(2==r){var i=Gf(e,t);i.sheets.forEach((function(e,t){kp(n,e,0==t?i.name:i.name+"_"+t,!0)}))}}))})),0==n.SheetNames.length)throw new Error("Empty NUMBERS file");return n}function Yf(e){var t,n,r,i,o={},a=[];if(e.FullPaths.forEach((function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")})),e.FileIndex.forEach((function(e){if(e.name.match(/\.iwa$/)){var t,n;try{t=If(e.content)}catch(r){return console.log("?? "+e.content.length+" "+(r.message||r))}try{n=Df(t)}catch(r){return console.log("## "+(r.message||r))}n.forEach((function(e){o[e.id]=e.messages,a.push(e.id)}))}})),!a.length)throw new Error("File has no messages");var s=(null==(i=null==(r=null==(n=null==(t=null==o?void 0:o[1])?void 0:t[0])?void 0:n.meta)?void 0:r[1])?void 0:i[0].data)&&1==Of(o[1][0].meta[1][0].data)&&o[1][0];if(s||a.forEach((function(e){o[e].forEach((function(e){var t=Of(e.meta[1][0].data)>>>0;if(1==t){if(s)throw new Error("Document has multiple roots");s=e}}))})),!s)throw new Error("Cannot find Document root");return Vf(o,s)}function Kf(e){return function(t){for(var n=0;n!=e.length;++n){var r=e[n];void 0===t[r[0]]&&(t[r[0]]=r[1]),"n"===r[2]&&(t[r[0]]=Number(t[r[0]]))}}}function Zf(e){Kf([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)}function Xf(e){return pi.WS.indexOf(e)>-1?"sheet":pi.CS&&e==pi.CS?"chart":pi.DS&&e==pi.DS?"dialog":pi.MS&&e==pi.MS?"macro":e&&e.length?e:"sheet"}function Jf(e,t){if(!e)return 0;try{e=t.map((function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,Xf(e["!id"][t.id].Type)]}))}catch(n){return null}return e&&0!==e.length?e:null}function Qf(e,t,n,r,i,o,a,s,l,c,u,h){try{o[r]=gi(At(e,n,!0),t);var d,f=Ct(e,t);switch(s){case"sheet":d=Cd(f,t,i,l,o[r],c,u,h);break;case"chart":if(d=Ad(f,t,i,l,o[r],c,u,h),!d||!d["!drawel"])break;var p=Ot(d["!drawel"].Target,t),m=mi(p),g=Bl(At(e,p,!0),gi(At(e,m,!0),p)),v=Ot(g,p),b=mi(v);d=nd(At(e,v,!0),v,l,gi(At(e,b,!0),v),c,d);break;case"macro":d=Td(f,t,i,l,o[r],c,u,h);break;case"dialog":d=Sd(f,t,i,l,o[r],c,u,h);break;default:throw new Error("Unrecognized sheet type "+s)}a[r]=d;var y=[];o&&o[r]&&_e(o[r]).forEach((function(n){var i="";if(o[r][n].Type==pi.CMNT){i=Ot(o[r][n].Target,t);var a=Nd(Ct(e,i,!0),i,l);if(!a||!a.length)return;jl(d,a,!1)}o[r][n].Type==pi.TCMNT&&(i=Ot(o[r][n].Target,t),y=y.concat(Ul(Ct(e,i,!0),l)))})),y&&y.length&&jl(d,y,!0,l.people||[])}catch(w){if(l.WTF)throw w}}function _f(e){return"/"==e.charAt(0)?e.slice(1):e}function $f(e,t){if(We(),t=t||{},Zf(t),xt(e,"META-INF/manifest.xml"))return xf(e,t);if(xt(e,"objectdata.xml"))return xf(e,t);if(xt(e,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if("undefined"!=typeof Yf){if(e.FileIndex)return Yf(e);var n=Xe.utils.cfb_new();return St(e).forEach((function(t){Et(n,t,Tt(e,t))})),Yf(n)}throw new Error("Unsupported NUMBERS file")}if(!xt(e,"[Content_Types].xml")){if(xt(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(xt(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var r,i,o=St(e),a=fi(At(e,"[Content_Types].xml")),s=!1;if(0===a.workbooks.length&&(i="xl/workbook.xml",Ct(e,i,!0)&&a.workbooks.push(i)),0===a.workbooks.length){if(i="xl/workbook.bin",!Ct(e,i,!0))throw new Error("Could not find workbook");a.workbooks.push(i),s=!0}"bin"==a.workbooks[0].slice(-3)&&(s=!0);var l={},c={};if(!t.bookSheets&&!t.bookProps){if(Ju=[],a.sst)try{Ju=Od(Ct(e,_f(a.sst)),a.sst,t)}catch(N){if(t.WTF)throw N}t.cellStyles&&a.themes.length&&(l=Md(At(e,a.themes[0].replace(/^\//,""),!0)||"",a.themes[0],t)),a.style&&(c=Ed(Ct(e,_f(a.style)),a.style,l,t))}a.links.map((function(n){try{var r=gi(At(e,mi(_f(n))),n);return Dd(Ct(e,_f(n)),r,n,t)}catch(N){}}));var u=kd(Ct(e,_f(a.workbooks[0])),a.workbooks[0],t),h={},d="";a.coreprops.length&&(d=Ct(e,_f(a.coreprops[0]),!0),d&&(h=xi(d)),0!==a.extprops.length&&(d=Ct(e,_f(a.extprops[0]),!0),d&&Ai(d,h,t)));var f={};t.bookSheets&&!t.bookProps||0!==a.custprops.length&&(d=At(e,_f(a.custprops[0]),!0),d&&(f=Si(d,t)));var p={};if((t.bookSheets||t.bookProps)&&(u.Sheets?r=u.Sheets.map((function(e){return e.name})):h.Worksheets&&h.SheetNames.length>0&&(r=h.SheetNames),t.bookProps&&(p.Props=h,p.Custprops=f),t.bookSheets&&"undefined"!==typeof r&&(p.SheetNames=r),t.bookSheets?p.SheetNames:t.bookProps))return p;r={};var m={};t.bookDeps&&a.calcchain&&(m=Ld(Ct(e,_f(a.calcchain)),a.calcchain,t));var g,v,b=0,y={},w=u.Sheets;h.Worksheets=w.length,h.SheetNames=[];for(var x=0;x!=w.length;++x)h.SheetNames[x]=w[x].name;var k=s?"bin":"xml",C=a.workbooks[0].lastIndexOf("/"),A=(a.workbooks[0].slice(0,C+1)+"_rels/"+a.workbooks[0].slice(C+1)+".rels").replace(/^\//,"");xt(e,A)||(A="xl/_rels/workbook."+k+".rels");var T=gi(At(e,A,!0),A.replace(/_rels.*/,"s5s"));(a.metadata||[]).length>=1&&(t.xlmeta=Pd(Ct(e,_f(a.metadata[0])),a.metadata[0],t)),(a.people||[]).length>=1&&(t.people=ql(Ct(e,_f(a.people[0])),t)),T&&(T=Jf(T,u.Sheets));var S=Ct(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(b=0;b!=h.Worksheets;++b){var E="sheet";if(T&&T[b]?(g="xl/"+T[b][1].replace(/[\/]?xl\//,""),xt(e,g)||(g=T[b][1]),xt(e,g)||(g=A.replace(/_rels\/.*$/,"")+T[b][1]),E=T[b][2]):(g="xl/worksheets/sheet"+(b+1-S)+"."+k,g=g.replace(/sheet0\./,"sheet.")),v=g.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(b!=t.sheets)continue e;break;case"string":if(h.SheetNames[b].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var M=!1,O=0;O!=t.sheets.length;++O)"number"==typeof t.sheets[O]&&t.sheets[O]==b&&(M=1),"string"==typeof t.sheets[O]&&t.sheets[O].toLowerCase()==h.SheetNames[b].toLowerCase()&&(M=1);if(!M)continue e}}Qf(e,g,v,h.SheetNames[b],b,y,r,E,t,u,l,c)}return p={Directory:a,Workbook:u,Props:h,Custprops:f,Deps:m,Sheets:r,SheetNames:h.SheetNames,Strings:Ju,Styles:c,Themes:l,SSF:dt(Z)},t&&t.bookFiles&&(e.files?(p.keys=o,p.files=e.files):(p.keys=[],p.files={},e.FullPaths.forEach((function(t,n){t=t.replace(/^Root Entry[\/]/,""),p.keys.push(t),p.files[t]=e.FileIndex[n]})))),t&&t.bookVBA&&(a.vba.length>0?p.vbaraw=Ct(e,_f(a.vba[0]),!0):a.defaults&&a.defaults.bin===Yl&&(p.vbaraw=Ct(e,"xl/vbaProject.bin",!0))),p}function ep(e,t){var n=t||{},r="Workbook",i=Xe.find(e,r);try{if(r="/!DataSpaces/Version",i=Xe.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(ss(i.content),r="/!DataSpaces/DataSpaceMap",i=Xe.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var o=cs(i.content);if(1!==o.length||1!==o[0].comps.length||0!==o[0].comps[0].t||"StrongEncryptionDataSpace"!==o[0].name||"EncryptedPackage"!==o[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+r);if(r="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",i=Xe.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var a=us(i.content);if(1!=a.length||"StrongEncryptionTransform"!=a[0])throw new Error("ECMA-376 Encrypted file bad "+r);if(r="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",i=Xe.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);ds(i.content)}catch(l){}if(r="/EncryptionInfo",i=Xe.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var s=ms(i.content);if(r="/EncryptedPackage",i=Xe.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(4==s[0]&&"undefined"!==typeof decrypt_agile)return decrypt_agile(s[1],i.content,n.password||"",n);if(2==s[0]&&"undefined"!==typeof decrypt_std76)return decrypt_std76(s[1],i.content,n.password||"",n);throw new Error("File is password-protected")}function tp(e,t){var n="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":n=A(e.slice(0,12));break;case"binary":n=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}function np(e,t){return Xe.find(e,"EncryptedPackage")?ep(e,t):tf(e,t)}function rp(t,n){var r,i=t,o=n||{};return o.type||(o.type=T&&e.isBuffer(t)?"buffer":"base64"),r=Mt(i,o),$f(r,o)}function ip(e,t){var n=0;e:while(n=2&&0===o[3])return Va.to_workbook(i,r);if(0===o[2]&&(8===o[3]||9===o[3]))return Va.to_workbook(i,r)}break;case 3:case 131:case 139:case 140:return ja.to_workbook(i,r);case 123:if(92===o[1]&&114===o[2]&&116===o[3])return Ms.to_workbook(i,r);break;case 10:case 13:case 32:return op(i,r);case 137:if(80===o[1]&&78===o[2]&&71===o[3])throw new Error("PNG Image File is not a spreadsheet");break}return Ba.indexOf(o[0])>-1&&o[2]<=12&&o[3]<=31?ja.to_workbook(i,r):lp(t,i,r,a)}function up(e,t,n,r,i,o,a,s){var l=or(n),c=s.defval,u=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),h=!0,d=1===i?[]:{};if(1!==i)if(Object.defineProperty)try{Object.defineProperty(d,"__rowNum__",{value:n,enumerable:!1})}catch(g){d.__rowNum__=n}else d.__rowNum__=n;if(!a||e[n])for(var f=t.s.c;f<=t.e.c;++f){var p=a?e[n][f]:e[r[f]+l];if(void 0!==p&&void 0!==p.t){var m=p.v;switch(p.t){case"z":if(null==m)break;continue;case"e":m=0==m?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=o[f]){if(null==m)if("e"==p.t&&null===m)d[o[f]]=null;else if(void 0!==c)d[o[f]]=c;else{if(!u||null!==m)continue;d[o[f]]=null}else d[o[f]]=u&&("n"!==p.t||"n"===p.t&&!1!==s.rawNumbers)?m:yr(p,m,s);null!=m&&(h=!1)}}else{if(void 0===c)continue;null!=o[f]&&(d[o[f]]=c)}}return{row:d,isempty:h}}function hp(e,t){if(null==e||null==e["!ref"])return[];var n={t:"n",v:0},r=0,i=1,o=[],a=0,s="",l={s:{r:0,c:0},e:{r:0,c:0}},c=t||{},u=null!=c.range?c.range:e["!ref"];switch(1===c.header?r=1:"A"===c.header?r=2:Array.isArray(c.header)?r=3:null==c.header&&(r=0),typeof u){case"string":l=vr(u);break;case"number":l=vr(e["!ref"]),l.s.r=u;break;default:l=u}r>0&&(i=0);var h=or(l.s.r),d=[],f=[],p=0,m=0,g=Array.isArray(e),v=l.s.r,b=0,y={};g&&!e[v]&&(e[v]=[]);var w=c.skipHidden&&e["!cols"]||[],x=c.skipHidden&&e["!rows"]||[];for(b=l.s.c;b<=l.e.c;++b)if(!(w[b]||{}).hidden)switch(d[b]=cr(b),n=g?e[v][b]:e[d[b]+h],r){case 1:o[b]=b-l.s.c;break;case 2:o[b]=d[b];break;case 3:o[b]=c.header[b-l.s.c];break;default:if(null==n&&(n={w:"__EMPTY",t:"s"}),s=a=yr(n,null,c),m=y[a]||0,m){do{s=a+"_"+m++}while(y[s]);y[a]=m,y[s]=1}else y[a]=1;o[b]=s}for(v=l.s.r+i;v<=l.e.r;++v)if(!(x[v]||{}).hidden){var k=up(e,l,v,d,r,o,g,c);(!1===k.isempty||(1===r?!1!==c.blankrows:c.blankrows))&&(f[p++]=k.row)}return f.length=p,f}var dp=/"/g;function fp(e,t,n,r,i,o,a,s){for(var l=!0,c=[],u="",h=or(n),d=t.s.c;d<=t.e.c;++d)if(r[d]){var f=s.dense?(e[n]||[])[d]:e[r[d]+h];if(null==f)u="";else if(null!=f.v){l=!1,u=""+(s.rawNumbers&&"n"==f.t?f.v:yr(f,null,s));for(var p=0,m=0;p!==u.length;++p)if((m=u.charCodeAt(p))===i||m===o||34===m||s.forceQuotes){u='"'+u.replace(dp,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==f.f||f.F?u="":(l=!1,u="="+f.f,u.indexOf(",")>=0&&(u='"'+u.replace(dp,'""')+'"'));c.push(u)}return!1===s.blankrows&&l?null:c.join(a)}function pp(e,t){var n=[],r=null==t?{}:t;if(null==e||null==e["!ref"])return"";var i=vr(e["!ref"]),o=void 0!==r.FS?r.FS:",",a=o.charCodeAt(0),s=void 0!==r.RS?r.RS:"\n",l=s.charCodeAt(0),c=new RegExp(("|"==o?"\\|":o)+"+$"),u="",h=[];r.dense=Array.isArray(e);for(var d=r.skipHidden&&e["!cols"]||[],f=r.skipHidden&&e["!rows"]||[],p=i.s.c;p<=i.e.c;++p)(d[p]||{}).hidden||(h[p]=cr(p));for(var m=0,g=i.s.r;g<=i.e.r;++g)(f[g]||{}).hidden||(u=fp(e,i,g,h,a,l,o,r),null!=u&&(r.strip&&(u=u.replace(c,"")),(u||!1!==r.blankrows)&&n.push((m++?s:"")+u)));return delete r.dense,n.join("")}function mp(e,t){t||(t={}),t.FS="\t",t.RS="\n";var n=pp(e,t);if("undefined"==typeof g||"string"==t.type)return n;var r=g.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+r}function gp(e){var t,n="",r="";if(null==e||null==e["!ref"])return[];var i,o=vr(e["!ref"]),a="",s=[],l=[],c=Array.isArray(e);for(i=o.s.c;i<=o.e.c;++i)s[i]=cr(i);for(var u=o.s.r;u<=o.e.r;++u)for(a=or(u),i=o.s.c;i<=o.e.c;++i)if(n=s[i]+a,t=c?(e[u]||[])[i]:e[n],r="",void 0!==t){if(null!=t.F){if(n=t.F,!t.f)continue;r=t.f,-1==n.indexOf(":")&&(n=n+":"+n)}if(null!=t.f)r=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)r=""+t.v;else if("b"==t.t)r=t.v?"TRUE":"FALSE";else if(void 0!==t.w)r="'"+t.w;else{if(void 0===t.v)continue;r="s"==t.t?"'"+t.v:""+t.v}}l[l.length]=n+"="+r}return l}function vp(e,t,n){var r,i=n||{},o=+!i.skipHeader,a=e||{},s=0,l=0;if(a&&null!=i.origin)if("number"==typeof i.origin)s=i.origin;else{var c="string"==typeof i.origin?fr(i.origin):i.origin;s=c.r,l=c.c}var u={s:{c:0,r:0},e:{c:l,r:s+t.length-1+o}};if(a["!ref"]){var h=vr(a["!ref"]);u.e.c=Math.max(u.e.c,h.e.c),u.e.r=Math.max(u.e.r,h.e.r),-1==s&&(s=h.e.r+1,u.e.r=s+t.length-1+o)}else-1==s&&(s=0,u.e.r=t.length-1+o);var d=i.header||[],f=0;t.forEach((function(e,t){_e(e).forEach((function(n){-1==(f=d.indexOf(n))&&(d[f=d.length]=n);var c=e[n],u="z",h="",p=pr({c:l+f,r:s+t+o});r=yp(a,p),!c||"object"!==typeof c||c instanceof Date?("number"==typeof c?u="n":"boolean"==typeof c?u="b":"string"==typeof c?u="s":c instanceof Date?(u="d",i.cellDates||(u="n",c=tt(c)),h=i.dateNF||Z[14]):null===c&&i.nullError&&(u="e",c=0),r?(r.t=u,r.v=c,delete r.w,delete r.R,h&&(r.z=h)):a[p]=r={t:u,v:c},h&&(r.z=h)):a[p]=c}))})),u.e.c=Math.max(u.e.c,l+d.length-1);var p=or(s);if(o)for(f=0;f=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var n=e.SheetNames.indexOf(t);if(n>-1)return n;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}function xp(){return{SheetNames:[],Sheets:{}}}function kp(e,t,n,r){var i=1;if(!n)for(;i<=65535;++i,n=void 0)if(-1==e.SheetNames.indexOf(n="Sheet"+i))break;if(!n||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(r&&e.SheetNames.indexOf(n)>=0){var o=n.match(/(^.*?)(\d+)$/);i=o&&+o[2]||0;var a=o&&o[1]||n;for(++i;i<=65535;++i)if(-1==e.SheetNames.indexOf(n=a+i))break}if(pd(n),e.SheetNames.indexOf(n)>=0)throw new Error("Worksheet with name |"+n+"| already exists!");return e.SheetNames.push(n),e.Sheets[n]=t,n}function Cp(e,t,n){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var r=wp(e,t);switch(e.Workbook.Sheets[r]||(e.Workbook.Sheets[r]={}),n){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+n)}e.Workbook.Sheets[r].Hidden=n}function Ap(e,t){return e.z=t,e}function Tp(e,t,n){return t?(e.l={Target:t},n&&(e.l.Tooltip=n)):delete e.l,e}function Sp(e,t,n){return Tp(e,"#"+t,n)}function Ep(e,t,n){e.c||(e.c=[]),e.c.push({t:t,a:n||"SheetJS"})}function Mp(e,t,n,r){for(var i="string"!=typeof t?t:vr(t),o="string"==typeof t?t:gr(t),a=i.s.r;a<=i.e.r;++a)for(var s=i.s.c;s<=i.e.c;++s){var l=yp(e,a,s);l.t="n",l.F=o,delete l.v,a==i.s.r&&s==i.s.c&&(l.f=n,r&&(l.D=!0))}return e}var Op={encode_col:cr,encode_row:or,encode_cell:pr,encode_range:gr,decode_col:lr,decode_row:ir,split_cell:dr,decode_cell:fr,decode_range:mr,format_cell:yr,sheet_add_aoa:xr,sheet_add_json:vp,sheet_add_dom:ff,aoa_to_sheet:kr,json_to_sheet:bp,table_to_sheet:pf,table_to_book:mf,sheet_to_csv:pp,sheet_to_txt:mp,sheet_to_json:hp,sheet_to_html:df,sheet_to_formulae:gp,sheet_to_row_object_array:hp,sheet_get_cell:yp,book_new:xp,book_append_sheet:kp,book_set_sheet_visibility:Cp,cell_set_number_format:Ap,cell_set_hyperlink:Tp,cell_set_internal_link:Sp,cell_add_comment:Ep,sheet_set_array_formula:Mp,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};i.version}).call(this,n("b639").Buffer,n("4362"))},"25cac":function(e,t,n){e.exports=n.p+"img/a-8-DNA.svg"},"25fc":function(e,t,n){},2613:function(e,t,n){e.exports=n.p+"img/ziyuan_5.svg"},"265a":function(e,t,n){e.exports=n.p+"img/bijiben.svg"},"26eb":function(e,t,n){e.exports=n.p+"img/-_17.svg"},2710:function(e,t,n){e.exports=n.p+"img/fanqiejiang.svg"},2783:function(e,t,n){e.exports=n.p+"img/ziyuan_13.svg"},"27bf":function(e,t,n){"use strict";e.exports=a;var r=n("b19a"),i=Object.create(n("3a7c"));function o(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length>>16&65535|0,a=0;while(0!==n){a=n>2e3?2e3:n,n-=a;do{i=i+t[r++]|0,o=o+i|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}e.exports=r},"2d86":function(e,t,n){},"2d8c":function(e,t,n){},"2f97":function(e,t,n){e.exports=n.p+"img/brainImpairedPink.jpg"},"318a":function(e,t,n){e.exports=n.p+"img/jisuan.svg"},"31fc":function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"n",(function(){return i})),n.d(t,"p",(function(){return o})),n.d(t,"o",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"k",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return d})),n.d(t,"i",(function(){return m})),n.d(t,"j",(function(){return g})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return b})),n.d(t,"a",(function(){return w})),n.d(t,"l",(function(){return k})),n.d(t,"h",(function(){return C}));var r=function(e){return e.charCodeAt(0)},i=function(e){return e.codePointAt(0)},o=function(e,t){return c(e.toString(16),t,"0").toUpperCase()},a=function(e){return o(e,2)},s=function(e){return String.fromCharCode(e)},l=function(e){return s(parseInt(e,16))},c=function(e,t,n){for(var r="",i=0,o=t-e.length;i=55296&&r<=56319&&e.length>i&&(n=e.charCodeAt(i),n>=56320&&n<=57343&&(o=2)),[e.slice(t,t+o),o]},b=function(e){for(var t=[],n=0,r=e.length;nn&&c(),a+=f,s+=m}}return c(),l},x=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/,k=function(e){var t=e.match(x);if(t){var n=t[1],r=t[2],i=void 0===r?"01":r,o=t[3],a=void 0===o?"01":o,s=t[4],l=void 0===s?"00":s,c=t[5],u=void 0===c?"00":c,h=t[6],d=void 0===h?"00":h,f=t[7],p=void 0===f?"Z":f,m=t[8],g=void 0===m?"00":m,v=t[9],b=void 0===v?"00":v,y="Z"===p?"Z":""+p+g+":"+b,w=new Date(n+"-"+i+"-"+a+"T"+l+":"+u+":"+d+y);return w}},C=function(e,t){var n,r,i=0;while(i=0&&"[object Array]"!==o(e)&&"[object Function]"===o(e.callee)},l=function(){return a(arguments)}();a.isLegacyArguments=s,e.exports=l?a:s},"3acd":function(e,t,n){e.exports=n.p+"img/fanwendengji.svg"},"3b50":function(e,t,n){e.exports=n.p+"img/jiandan.svg"},"3bbe":function(e,t,n){"use strict";var r=n("1787"),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},"3bd3":function(e,t,n){e.exports=n.p+"img/jiaoxuelou.svg"},"3c2a":function(e,t,n){e.exports=n.p+"img/fishbone.png"},"3c92":function(e,t,n){},"3cc4":function(e,t,n){e.exports=n.p+"img/courseGreen.jpg"},"3d18":function(e,t,n){e.exports=n.p+"img/jiangbei.svg"},"3ec8":function(e,t,n){e.exports=n.p+"img/a-19guaizhang.svg"},"3eea":function(e,t,n){var r=n("fbad");e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},"3f29":function(e,t,n){"use strict";var r,i=n("16e6"),o=n("a2bb"),a=n("0a93"),s=n("8c34"),l=n("202b"),c=n("bbd5"),u=n("72e6"),h=Function,d=function(e){try{return h('"use strict"; return ('+e+").constructor;")()}catch(t){}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch(F){f=null}var p=function(){throw new c},m=f?function(){try{return p}catch(e){try{return f(arguments,"callee").get}catch(t){return p}}}():p,g=n("ddbb")(),v=n("1806")(),b=Object.getPrototypeOf||(v?function(e){return e.__proto__}:null),y={},w="undefined"!==typeof Uint8Array&&b?b(Uint8Array):r,x={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":g&&b?b([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":h,"%GeneratorFunction%":y,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&b?b(b([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&g&&b?b((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&g&&b?b((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&b?b(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":m,"%TypedArray%":w,"%TypeError%":c,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet};if(b)try{null.error}catch(F){var k=b(b(F));x["%Error.prototype%"]=k}var C=function e(t){var n;if("%AsyncFunction%"===t)n=d("async function () {}");else if("%GeneratorFunction%"===t)n=d("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=d("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&b&&(n=b(i.prototype))}return x[t]=n,n},A={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},T=n("06c3"),S=n("f250"),E=T.call(Function.call,Array.prototype.concat),M=T.call(Function.apply,Array.prototype.splice),O=T.call(Function.call,String.prototype.replace),N=T.call(Function.call,String.prototype.slice),L=T.call(Function.call,RegExp.prototype.exec),D=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,I=function(e){var t=N(e,0,1),n=N(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return O(e,D,(function(e,t,n,i){r[r.length]=n?O(i,P,"$1"):t||e})),r},R=function(e,t){var n,r=e;if(S(A,r)&&(n=A[r],r="%"+n[0]+"%"),S(x,r)){var i=x[r];if(i===y&&(i=C(r)),"undefined"===typeof i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===L(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=I(e),r=n.length>0?n[0]:"",i=R("%"+r+"%",t),o=i.name,a=i.value,s=!1,u=i.alias;u&&(r=u[0],M(n,E([0,1],u)));for(var h=1,d=!0;h=n.length){var v=f(a,p);d=!!v,a=d&&"get"in v&&!("originalValue"in v.get)?v.get:a[p]}else d=S(a,p),a=a[p];d&&!s&&(x[o]=a)}}return a}},"3f35":function(e,t,n){var r=n("4883"),i=n("c191"),o=n("6003");e.exports=function(e,t,n){var a,s;return o&&r(a=t.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(e,s),e}},"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}}},"401c":function(e){e.exports=JSON.parse('"eJyFWdtSGzkQ/RXXPO1WmZSBEAJvjnESb8AmGENCKg+ypj3Wohk5ugAmlX9fzUCyW6s+ysuUfVqXvh61Zr4XI1PX1PjiuLg6C05U1Ns/Ojx42TsYHB4eFf3irWn8VNQUB4xMsIpsCwatU1DUSm8T+JpUtW7XP6NShToiEy+0ksOm0nHkIP53b9UDlefKy3Vx7G2gfjFaCyukJzundu74wVNTUnlhatE8a/XmjXkojr/s7O33d/YOBv3D3YP+68HB136xiEOtVg2dG6e8Mk1xvLM7GPxHcLlW8rYh54rjOLO4Iuu6YcVgsP9iMBjELabGK/lkymZrWxt6f8g/e7tHr4/68Xk06J673XOve+53z8PesDRL6s23zlPtepNGGrsxVngqX/R6Q617F+1qrndBjuxdRONu4ziqVE01l2vqHNgtMveiKYUtf0rjwJHYvH/26MGrvX7x6ee/l3uv+sXQydZPtjh+tXfUL07o1/+d3YPDfjH35fvrOHO3+3n1/LN19hl5q2T0x5fvxfWnOL/11zQq4jYiuuFH/38wPUgt6hT/Fkw0dKlTSRPqZevnqkllpdFa2BTfkJVtdiYCUUeRi94BGnQBY9YTlhpNKyQC04RrV3S3zCwdXIrKWFQihdfbzZoY66MpyjCWOC3cOoUfyZoUNQ0TJX/PjPRrS8zYVSxZBlV3zFinHhiQ7jjriPdpoziFpdGGWcNRrYBIt1WcbvotCCYHK0uxDhkzvwVyHVOksWd0H6bQmxQapdBJCo1T6G0KvUuh9yk0SaG/UuhDCp2m0FkKTVNolkLnKfQxhS5SaJ5Clym0SKGrFLpOoU8p9DmFblJoGU+iW/I8bSyjDNTp8zzIKVIpqawMDIuGlrRdPDiYEun4jVeG4ZwlU2MM/zIVxHABU1AMy6WQSqG/U4ihV6aEGW8xVcvQ3oZxZQox3MDQC+P7kEJ3KXSfQgyTbhnS5/MLJMKSO0y78bls9EqX8KgvzT3jZ/50bo9L3fYraQq1XR3Ls1vu7FhpYxV7HoBVZLDxGJeMA7uycarrOmHXwnuzCipKagMooBV3C/9GDFy/YqpjxSR+bORYmilFVXFH2hPOtmJPDUcbO7LE1H7shURlxYYjtdj6E2PFv+5dCpfxcF4KXPQrAEBOWquNU0yhRkv92gTUKT4d+nxqRwdwrY+QwXONS8fkK01MOYO6qoW0XA4vLXEbl8YLyddbGa9axNpv2SqU8SoWG26Gu0NTCRtqLQKzjalik8mwtBSsHVTzCTtkWh5jy1Xs8fim8BQcsDOE8xvUkeSCZncQvL/b3pKpTg32NQhnVo+lGa+yMeWZoE1wPAmknwBJE/IRJRC6z1iDUt0pLps/A82GucoQYNIiN2kLJrnu2oVqhHJLLvg6WWA3CFQMC6BdQBPGeJOTSBDc/SNrqPz5voLZClGOBHkgeL9MswpolKOAUS+zq43QaoBVxxmedMBMBwlRgd21eaSmYgQXYIt3WSNDtkhywiEKqQWKSGjrTcZzl2tjmcVmaPcL4Lc5wEug7QJtEPjM7N5tuNA1OExPNAMpOEQ4oNU6aK82mmkzAzDwEhgYWy2vhC7VirldbTE1TME+Kpcs42yaZU4dLJJAjwbRIAroFDhoAhZq37zFhoF7/ba05pYa9g5kqVIOdL3vQLAnOUYJsar5q8gY5JQFBhnkmRsw4QZ47PklF3gFNvZMhzKCpKCzvOVR6wdPRyQYovYhk5XAwY+oNNDeMxQRdPSgSDm0MzZilm1LgIUnpD0TK8+TtL83GUbEqtXMKw0FNDL5PnOMXF+CDqfj8ZjANiYyo9o8k698Rn7I5vEpCJy3oqRaWEZzyrDCBHhpghLnFGgdnbYWmjkZ2psJKHCTy6gGdE2L38QP+IeQQRXg0mjQc1S5oPJOmGdDN8trXkaW4L52GBCiEVAiQDYvleTCcAIWsllrpiA+BuAX+bTOSodgzSHkaL7nmoF1HjMVMkanPdr7NmsKaAQm2VIAKvj85cZUbbwbw70fwVwasCguhb5W5S+03EH+CIxqsktFl+MTQqEaH4f2O+TXfvGBbHMulG2/Hn/98Q/b2xEO"')},"406c":function(e,t,n){"use strict";function r(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}e.exports=r},"412b":function(e,t,n){"use strict";n("7979")},"41af":function(e,t,n){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var r=42;for(t in e[t]=r,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||!0!==o.enumerable)return!1}return!0}},"41c5":function(e,t,n){e.exports=n.p+"img/-_12.svg"},"41e8":function(e,t,n){},4244:function(e,t,n){e.exports=n.p+"img/a-20-shuye.svg"},"429b":function(e,t,n){e.exports=n("faa1").EventEmitter},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={}},"43cf":function(e,t,n){e.exports=n.p+"img/xiezizhuo.svg"},"442c":function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return P})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return b})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return C})),n.d(t,"h",(function(){return N})),n.d(t,"i",(function(){return D})),n.d(t,"j",(function(){return O}));var r=n("b923"),i=n("6f27"),o=n("6ffb");const a=(e,t)=>!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function s(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}const l=(e,t,n)=>{let a=s(e,n);if(!a)return!1;let l=h(a);if(!l){let n=a.blockRange(),i=n&&Object(r["k"])(n);return null!=i&&(t&&t(e.tr.lift(n,i).scrollIntoView()),!0)}let u=l.nodeBefore;if(!u.type.spec.isolating&&T(e,l,t))return!0;if(0==a.parent.content.size&&(c(u,"end")||o["NodeSelection"].isSelectable(u))){let n=Object(r["l"])(e.doc,a.before(),a.after(),i["Slice"].empty);if(n&&n.slice.size{let{$head:r,empty:i}=e.selection,a=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):r.parentOffset>0)return!1;a=h(r)}let s=a&&a.nodeBefore;return!(!s||!o["NodeSelection"].isSelectable(s))&&(t&&t(e.tr.setSelection(o["NodeSelection"].create(e.doc,a.pos-s.nodeSize)).scrollIntoView()),!0)};function h(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function d(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset{let a=d(e,n);if(!a)return!1;let s=m(a);if(!s)return!1;let l=s.nodeAfter;if(T(e,s,t))return!0;if(0==a.parent.content.size&&(c(l,"start")||o["NodeSelection"].isSelectable(l))){let n=Object(r["l"])(e.doc,a.before(),a.after(),i["Slice"].empty);if(n&&n.slice.size{let{$head:r,empty:i}=e.selection,a=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):r.parentOffset=0;t--){let n=e.node(t);if(e.index(t)+1{let{$head:n,$anchor:r}=e.selection;return!(!n.parent.type.spec.code||!n.sameParent(r))&&(t&&t(e.tr.insertText("\n").scrollIntoView()),!0)};function v(e){for(let t=0;t{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),a=n.indexAfter(-1),s=v(i.contentMatchAt(a));if(!s||!i.canReplaceWith(a,a,s))return!1;if(t){let r=n.after(),i=e.tr.replaceWith(r,r,s.createAndFill());i.setSelection(o["Selection"].near(i.doc.resolve(r),1)),t(i.scrollIntoView())}return!0},y=(e,t)=>{let n=e.selection,{$from:r,$to:i}=n;if(n instanceof o["AllSelection"]||r.parent.inlineContent||i.parent.inlineContent)return!1;let a=v(i.parent.contentMatchAt(i.indexAfter()));if(!a||!a.isTextblock)return!1;if(t){let n=(!r.parentOffset&&i.index(){let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let i=n.before();if(Object(r["g"])(e.doc,i))return t&&t(e.tr.split(i).scrollIntoView()),!0}let i=n.blockRange(),o=i&&Object(r["k"])(i);return null!=o&&(t&&t(e.tr.lift(i,o).scrollIntoView()),!0)};function x(e){return(t,n)=>{let{$from:i,$to:a}=t.selection;if(t.selection instanceof o["NodeSelection"]&&t.selection.node.isBlock)return!(!i.parentOffset||!Object(r["g"])(t.doc,i.pos))&&(n&&n(t.tr.split(i.pos).scrollIntoView()),!0);if(!i.parent.isBlock)return!1;if(n){let s=a.parentOffset==a.parent.content.size,l=t.tr;(t.selection instanceof o["TextSelection"]||t.selection instanceof o["AllSelection"])&&l.deleteSelection();let c=0==i.depth?null:v(i.node(-1).contentMatchAt(i.indexAfter(-1))),u=e&&e(a.parent,s),h=u?[u]:s&&c?[{type:c}]:void 0,d=Object(r["g"])(l.doc,l.mapping.map(i.pos),1,h);if(h||d||!Object(r["g"])(l.doc,l.mapping.map(i.pos),1,c?[{type:c}]:void 0)||(c&&(h=[{type:c}]),d=!0),d&&(l.split(l.mapping.map(i.pos),1,h),!s&&!i.parentOffset&&i.parent.type!=c)){let e=l.mapping.map(i.before()),t=l.doc.resolve(e);c&&i.node(-1).canReplaceWith(t.index(),t.index()+1,c)&&l.setNodeMarkup(l.mapping.map(i.before()),c)}n(l.scrollIntoView())}return!0}}const k=x(),C=(e,t)=>(t&&t(e.tr.setSelection(new o["AllSelection"](e.doc))),!0);function A(e,t,n){let i=t.nodeBefore,o=t.nodeAfter,a=t.index();return!!(i&&o&&i.type.compatibleContent(o.type))&&(!i.content.size&&t.parent.canReplace(a-1,a)?(n&&n(e.tr.delete(t.pos-i.nodeSize,t.pos).scrollIntoView()),!0):!(!t.parent.canReplace(a,a+1)||!o.isTextblock&&!Object(r["f"])(e.doc,t.pos))&&(n&&n(e.tr.clearIncompatible(t.pos,i.type,i.contentMatchAt(i.childCount)).join(t.pos).scrollIntoView()),!0))}function T(e,t,n){let a,s,l=t.nodeBefore,u=t.nodeAfter;if(l.type.spec.isolating||u.type.spec.isolating)return!1;if(A(e,t,n))return!0;let h=t.parent.canReplace(t.index(),t.index()+1);if(h&&(a=(s=l.contentMatchAt(l.childCount)).findWrapping(u.type))&&s.matchType(a[0]||u.type).validEnd){if(n){let o=t.pos+u.nodeSize,s=i["Fragment"].empty;for(let e=a.length-1;e>=0;e--)s=i["Fragment"].from(a[e].create(null,s));s=i["Fragment"].from(l.copy(s));let c=e.tr.step(new r["b"](t.pos-1,o,t.pos,o,new i["Slice"](s,1,0),a.length,!0)),h=o+2*a.length;Object(r["f"])(c.doc,h)&&c.join(h),n(c.scrollIntoView())}return!0}let d=o["Selection"].findFrom(t,1),f=d&&d.$from.blockRange(d.$to),p=f&&Object(r["k"])(f);if(null!=p&&p>=t.depth)return n&&n(e.tr.lift(f,p).scrollIntoView()),!0;if(h&&c(u,"start",!0)&&c(l,"end")){let o=l,a=[];for(;;){if(a.push(o),o.isTextblock)break;o=o.lastChild}let s=u,c=1;for(;!s.isTextblock;s=s.firstChild)c++;if(o.canReplace(o.childCount,o.childCount,s.content)){if(n){let o=i["Fragment"].empty;for(let e=a.length-1;e>=0;e--)o=i["Fragment"].from(a[e].copy(o));let s=e.tr.step(new r["b"](t.pos-a.length,t.pos+u.nodeSize,t.pos+c,t.pos+u.nodeSize-c,new i["Slice"](o,a.length,0),0,!0));n(s.scrollIntoView())}return!0}}return!1}function S(e){return function(t,n){let r=t.selection,i=e<0?r.$from:r.$to,a=i.depth;while(i.node(a).isInline){if(!a)return!1;a--}return!!i.node(a).isTextblock&&(n&&n(t.tr.setSelection(o["TextSelection"].create(t.doc,e<0?i.start(a):i.end(a)))),!0)}}const E=S(-1),M=S(1);function O(e,t=null){return function(n,i){let{$from:o,$to:a}=n.selection,s=o.blockRange(a),l=s&&Object(r["i"])(s,e,t);return!!l&&(i&&i(n.tr.wrap(s,l).scrollIntoView()),!0)}}function N(e,t=null){return function(n,r){let i=!1;for(let o=0;o{if(i)return!1;if(r.isTextblock&&!r.hasMarkup(e,t))if(r.type==e)i=!0;else{let t=n.doc.resolve(o),r=t.index();i=t.parent.canReplaceWith(r,r+1,e)}})}if(!i)return!1;if(r){let i=n.tr;for(let r=0;r{if(a)return!1;a=e.inlineContent&&e.type.allowsMarkType(n)}),a)return!0}return!1}function D(e,t=null){return function(n,r){let{empty:i,$cursor:o,ranges:a}=n.selection;if(i&&!o||!L(n.doc,a,e))return!1;if(r)if(o)e.isInSet(n.storedMarks||o.marks())?r(n.tr.removeStoredMark(e)):r(n.tr.addStoredMark(e.create(t)));else{let i=!1,o=n.tr;for(let t=0;!i&&t=o["a"].Zero&&c<=o["a"].Seven?(t+=l,3!==t.length&&u>="0"&&u<="7"||(r(parseInt(t,8)),t="")):r(c):c===o["a"].BackSlash?n=!0:r(c)}return new Uint8Array(e)},t.prototype.decodeText=function(){var e=this.asBytes();return Object(a["A"])(e)?Object(a["Y"])(e):Object(a["K"])(e)},t.prototype.decodeDate=function(){var e=this.decodeText(),t=Object(a["J"])(e);if(!t)throw new s["d"](e);return t},t.prototype.asString=function(){return this.value},t.prototype.clone=function(){return t.of(this.value)},t.prototype.toString=function(){return"("+this.value+")"},t.prototype.sizeInBytes=function(){return this.value.length+2},t.prototype.copyBytesInto=function(e,t){return e[t++]=o["a"].LeftParen,t+=Object(a["w"])(this.value,e,t),e[t++]=o["a"].RightParen,this.value.length+2},t.of=function(e){return new t(e)},t.fromDate=function(e){var n=Object(a["I"])(String(e.getUTCFullYear()),4,"0"),r=Object(a["I"])(String(e.getUTCMonth()+1),2,"0"),i=Object(a["I"])(String(e.getUTCDate()),2,"0"),o=Object(a["I"])(String(e.getUTCHours()),2,"0"),s=Object(a["I"])(String(e.getUTCMinutes()),2,"0"),l=Object(a["I"])(String(e.getUTCSeconds()),2,"0");return new t("D:"+n+r+i+o+s+l+"Z")},t}(i["a"]);t["a"]=l},"4ec2":function(e,t,n){e.exports=n.p+"img/timeline2.png"},"4f5a":function(e,t,n){e.exports=n.p+"img/-_14.svg"},"4f8c":function(e,t,n){e.exports=n.p+"img/pinkGrape.jpg"},"4f98":function(e,t,n){(function(t){ /*! * Quill Editor v1.3.7 * https://quilljs.com/ * Copyright (c) 2014, Jason Chen * Copyright (c) 2013, salesforce.com */ -(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return 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,{configurable:!1,enumerable:!0,get: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="",n(n.s=109)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),i=n(18),o=n(19),a=n(45),s=n(46),l=n(47),c=n(48),u=n(49),h=n(12),d=n(32),f=n(33),p=n(31),m=n(1),g={Scope:m.Scope,create:m.create,find:m.find,query:m.query,register:m.register,Container:r.default,Format:i.default,Leaf:o.default,Embed:c.default,Scroll:a.default,Block:l.default,Inline:s.default,Text:u.default,Attributor:{Attribute:h.default,Class:d.default,Style:f.default,Store:p.default}};t.default=g},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){var n=this;return t="[Parchment] "+t,n=e.call(this,t)||this,n.message=t,n.name=n.constructor.name,n}return r(t,e),t}(Error);t.ParchmentError=i;var o,a={},s={},l={},c={};function u(e,t){var n=d(e);if(null==n)throw new i("Unable to create "+e+" blot");var r=n,o=e instanceof Node||e["nodeType"]===Node.TEXT_NODE?e:r.create(t);return new r(o,t)}function h(e,n){return void 0===n&&(n=!1),null==e?null:null!=e[t.DATA_KEY]?e[t.DATA_KEY].blot:n?h(e.parentNode,n):null}function d(e,t){var n;if(void 0===t&&(t=o.ANY),"string"===typeof e)n=c[e]||a[e];else if(e instanceof Text||e["nodeType"]===Node.TEXT_NODE)n=c["text"];else if("number"===typeof e)e&o.LEVEL&o.BLOCK?n=c["block"]:e&o.LEVEL&o.INLINE&&(n=c["inline"]);else if(e instanceof HTMLElement){var r=(e.getAttribute("class")||"").split(/\s+/);for(var i in r)if(n=s[r[i]],n)break;n=n||l[e.tagName]}return null==n?null:t&o.LEVEL&n.scope&&t&o.TYPE&n.scope?n:null}function f(){for(var e=[],t=0;t1)return e.map((function(e){return f(e)}));var n=e[0];if("string"!==typeof n.blotName&&"string"!==typeof n.attrName)throw new i("Invalid definition");if("abstract"===n.blotName)throw new i("Cannot register abstract class");if(c[n.blotName||n.attrName]=n,"string"===typeof n.keyName)a[n.keyName]=n;else if(null!=n.className&&(s[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map((function(e){return e.toUpperCase()})):n.tagName=n.tagName.toUpperCase();var r=Array.isArray(n.tagName)?n.tagName:[n.tagName];r.forEach((function(e){null!=l[e]&&null!=n.className||(l[e]=n)}))}return n}t.DATA_KEY="__blot",function(e){e[e["TYPE"]=3]="TYPE",e[e["LEVEL"]=12]="LEVEL",e[e["ATTRIBUTE"]=13]="ATTRIBUTE",e[e["BLOT"]=14]="BLOT",e[e["INLINE"]=7]="INLINE",e[e["BLOCK"]=11]="BLOCK",e[e["BLOCK_BLOT"]=10]="BLOCK_BLOT",e[e["INLINE_BLOT"]=6]="INLINE_BLOT",e[e["BLOCK_ATTRIBUTE"]=9]="BLOCK_ATTRIBUTE",e[e["INLINE_ATTRIBUTE"]=5]="INLINE_ATTRIBUTE",e[e["ANY"]=15]="ANY"}(o=t.Scope||(t.Scope={})),t.create=u,t.find=h,t.query=d,t.register=f},function(e,t,n){var r=n(51),i=n(11),o=n(3),a=n(20),s=String.fromCharCode(0),l=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};l.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},l.prototype["delete"]=function(e){return e<=0?this:this.push({delete:e})},l.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},l.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=o(!0,{},e),"object"===typeof n){if("number"===typeof e["delete"]&&"number"===typeof n["delete"])return this.ops[t-1]={delete:n["delete"]+e["delete"]},this;if("number"===typeof n["delete"]&&null!=e.insert&&(t-=1,n=this.ops[t-1],"object"!==typeof n))return this.ops.unshift(e),this;if(i(e.attributes,n.attributes)){if("string"===typeof e.insert&&"string"===typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"===typeof e.retain&&"number"===typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},l.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},l.prototype.filter=function(e){return this.ops.filter(e)},l.prototype.forEach=function(e){this.ops.forEach(e)},l.prototype.map=function(e){return this.ops.map(e)},l.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(r){var i=e(r)?t:n;i.push(r)})),[t,n]},l.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},l.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+a.length(t):t.delete?e-t.delete:e}),0)},l.prototype.length=function(){return this.reduce((function(e,t){return e+a.length(t)}),0)},l.prototype.slice=function(e,t){e=e||0,"number"!==typeof t&&(t=1/0);var n=[],r=a.iterator(this.ops),i=0;while(i0&&n.next(o.retain-s)}var c=new l(r);while(t.hasNext()||n.hasNext())if("insert"===n.peekType())c.push(n.next());else if("delete"===t.peekType())c.push(t.next());else{var u=Math.min(t.peekLength(),n.peekLength()),h=t.next(u),d=n.next(u);if("number"===typeof d.retain){var f={};"number"===typeof h.retain?f.retain=u:f.insert=h.insert;var p=a.attributes.compose(h.attributes,d.attributes,"number"===typeof h.retain);if(p&&(f.attributes=p),c.push(f),!n.hasNext()&&i(c.ops[c.ops.length-1],f)){var m=new l(t.rest());return c.concat(m).chop()}}else"number"===typeof d["delete"]&&"number"===typeof h.retain&&c.push(d)}return c.chop()},l.prototype.concat=function(e){var t=new l(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},l.prototype.diff=function(e,t){if(this.ops===e.ops)return new l;var n=[this,e].map((function(t){return t.map((function(n){if(null!=n.insert)return"string"===typeof n.insert?n.insert:s;var r=t===e?"on":"with";throw new Error("diff() called "+r+" non-document")})).join("")})),o=new l,c=r(n[0],n[1],t),u=a.iterator(this.ops),h=a.iterator(e.ops);return c.forEach((function(e){var t=e[1].length;while(t>0){var n=0;switch(e[0]){case r.INSERT:n=Math.min(h.peekLength(),t),o.push(h.next(n));break;case r.DELETE:n=Math.min(t,u.peekLength()),u.next(n),o["delete"](n);break;case r.EQUAL:n=Math.min(u.peekLength(),h.peekLength(),t);var s=u.next(n),l=h.next(n);i(s.insert,l.insert)?o.retain(n,a.attributes.diff(s.attributes,l.attributes)):o.push(l)["delete"](n);break}t-=n}})),o.chop()},l.prototype.eachLine=function(e,t){t=t||"\n";var n=a.iterator(this.ops),r=new l,i=0;while(n.hasNext()){if("insert"!==n.peekType())return;var o=n.peek(),s=a.length(o)-n.peekLength(),c="string"===typeof o.insert?o.insert.indexOf(t,s)-s:-1;if(c<0)r.push(n.next());else if(c>0)r.push(n.next(c));else{if(!1===e(r,n.next(1).attributes||{},i))return;i+=1,r=new l}}r.length()>0&&e(r,{},i)},l.prototype.transform=function(e,t){if(t=!!t,"number"===typeof e)return this.transformPosition(e,t);var n=a.iterator(this.ops),r=a.iterator(e.ops),i=new l;while(n.hasNext()||r.hasNext())if("insert"!==n.peekType()||!t&&"insert"===r.peekType())if("insert"===r.peekType())i.push(r.next());else{var o=Math.min(n.peekLength(),r.peekLength()),s=n.next(o),c=r.next(o);if(s["delete"])continue;c["delete"]?i.push(c):i.retain(o,a.attributes.transform(s.attributes,c.attributes,t))}else i.retain(a.length(n.next()));return i.chop()},l.prototype.transformPosition=function(e,t){t=!!t;var n=a.iterator(this.ops),r=0;while(n.hasNext()&&r<=e){var i=n.peekLength(),o=n.peekType();n.next(),"delete"!==o?("insert"===o&&(r0&&(e1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-x)){var r=this.clone();return 0===e?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var o=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},o}}]),t}(u.default.Block);function A(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"===typeof e.formats&&(t=(0,a.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:A(e.parent,t))}C.blotName="block",C.tagName="P",C.defaultChild="break",C.allowedChildren=[p.default,u.default.Embed,g.default],t.bubbleFormats=A,t.BlockEmbed=k,t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(S(this,e),this.options=O(t,r),this.container=this.options.container,null==this.container)return E.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var i=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new h.default,this.scroll=m.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new c.default(this.scroll),this.selection=new v.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(h.default.events.EDITOR_CHANGE,(function(e){e===h.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(h.default.events.SCROLL_UPDATE,(function(e,t){var r=n.selection.lastRange,i=r&&0===r.length?r.index:void 0;N.call(n,(function(){return n.editor.update(null,t,i)}),e)}));var o=this.clipboard.convert("
"+i+"


");this.setContents(o),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return o(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),x.default.level(e)}},{key:"find",value:function(e){return e.__quill||m.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&E.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof e){var i=e.attrName||e.blotName;"string"===typeof i?this.register("formats/"+i,e,t):Object.keys(e).forEach((function(r){n.register(r,e[r],t)}))}else null==this.imports[e]||r||E.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?m.default.register(t):e.startsWith("modules")&&"function"===typeof t.register&&t.register()}}]),o(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof e){var n=e;e=document.createElement("div"),e.classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var r=this,o=L(e,t,n),a=i(o,4);return e=a[0],t=a[1],n=a[3],N.call(this,(function(){return r.editor.deleteText(e,t)}),n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.default.sources.API;return N.call(this,(function(){var r=n.getSelection(!0),i=new s.default;if(null==r)return i;if(m.default.query(e,m.default.Scope.BLOCK))i=n.editor.formatLine(r.index,r.length,T({},e,t));else{if(0===r.length)return n.selection.format(e,t),i;i=n.editor.formatText(r.index,r.length,T({},e,t))}return n.setSelection(r,h.default.sources.SILENT),i}),r)}},{key:"formatLine",value:function(e,t,n,r,o){var a=this,s=void 0,l=L(e,t,n,r,o),c=i(l,4);return e=c[0],t=c[1],s=c[2],o=c[3],N.call(this,(function(){return a.editor.formatLine(e,t,s)}),o,e,0)}},{key:"formatText",value:function(e,t,n,r,o){var a=this,s=void 0,l=L(e,t,n,r,o),c=i(l,4);return e=c[0],t=c[1],s=c[2],o=c[3],N.call(this,(function(){return a.editor.formatText(e,t,s)}),o,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"===typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=L(e,t),r=i(n,2);return e=r[0],t=r[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=L(e,t),r=i(n,2);return e=r[0],t=r[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return N.call(this,(function(){return i.editor.insertEmbed(t,n,r)}),o,t)}},{key:"insertText",value:function(e,t,n,r,o){var a=this,s=void 0,l=L(e,0,n,r,o),c=i(l,4);return e=c[0],s=c[2],o=c[3],N.call(this,(function(){return a.editor.insertText(e,t,s)}),o,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var r=this,o=L(e,t,n),a=i(o,4);return e=a[0],t=a[1],n=a[3],N.call(this,(function(){return r.editor.removeFormat(e,t)}),n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.default.sources.API;return N.call(this,(function(){e=new s.default(e);var n=t.getLength(),r=t.editor.deleteText(0,n),i=t.editor.applyDelta(e),o=i.ops[i.ops.length-1];null!=o&&"string"===typeof o.insert&&"\n"===o.insert[o.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),i.delete(1));var a=r.compose(i);return a}),n)}},{key:"setSelection",value:function(t,n,r){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var o=L(t,n,r),a=i(o,4);t=a[0],n=a[1],r=a[3],this.selection.setRange(new g.Range(t,n),r),r!==h.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.default.sources.API,n=(new s.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.default.sources.API;return N.call(this,(function(){return e=new s.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();function O(e,t){if(t=(0,y.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t),t.theme&&t.theme!==M.DEFAULTS.theme){if(t.theme=M.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=C.default;var n=(0,y.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach((function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var r=Object.keys(n.modules).concat(Object.keys(t.modules)),i=r.reduce((function(e,t){var n=M.import("modules/"+t);return null==n?E.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e}),{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,y.default)(!0,{},M.DEFAULTS,{modules:i},n,t),["bounds","container","scrollingContainer"].forEach((function(e){"string"===typeof t[e]&&(t[e]=document.querySelector(t[e]))})),t.modules=Object.keys(t.modules).reduce((function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e}),{}),t}function N(e,t,n,r){if(this.options.strict&&!this.isEnabled()&&t===h.default.sources.USER)return new s.default;var i=null==n?null:this.getSelection(),o=this.editor.delta,a=e();if(null!=i&&(!0===n&&(n=i.index),null==r?i=D(i,a,t):0!==r&&(i=D(i,n,r,t)),this.setSelection(i,h.default.sources.SILENT)),a.length()>0){var l,c,u=[h.default.events.TEXT_CHANGE,a,o,t];if((l=this.emitter).emit.apply(l,[h.default.events.EDITOR_CHANGE].concat(u)),t!==h.default.sources.SILENT)(c=this.emitter).emit.apply(c,u)}return a}function L(e,t,n,i,o){var a={};return"number"===typeof e.index&&"number"===typeof e.length?"number"!==typeof t?(o=i,i=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!==typeof t&&(o=i,i=n,n=t,t=0),"object"===("undefined"===typeof n?"undefined":r(n))?(a=n,o=i):"string"===typeof n&&(null!=i?a[n]=i:o=n),o=o||h.default.sources.API,[e,t,a,o]}function D(e,t,n,r){if(null==e)return null;var o=void 0,a=void 0;if(t instanceof s.default){var l=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,r!==h.default.sources.USER)})),c=i(l,2);o=c[0],a=c[1]}else{var u=[e.index,e.index+e.length].map((function(e){return e=0?e+n:Math.max(t,e+n)})),d=i(u,2);o=d[0],a=d[1]}return new g.Range(o,a-o)}M.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},M.events=h.default.events,M.sources=h.default.sources,M.version="1.3.7",M.imports={delta:s.default,parchment:m.default,"core/module":f.default,"core/theme":C.default},t.expandConfig=O,t.overload=L,t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var r=t.order.indexOf(e),i=t.order.indexOf(n);return r>=0||i>=0?r-i:e===n?0:e1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{};r(this,e),this.quill=t,this.options=n};i.DEFAULTS={},t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=["error","warn","log","info"],i="warn";function o(e){if(r.indexOf(e)<=r.indexOf(i)){for(var t,n=arguments.length,o=Array(n>1?n-1:0),a=1;a0&&"number"!==typeof e[0]))}function c(e,t,n){var c,u;if(s(e)||s(t))return!1;if(e.prototype!==t.prototype)return!1;if(o(e))return!!o(t)&&(e=r.call(e),t=r.call(t),a(e,t,n));if(l(e)){if(!l(t))return!1;if(e.length!==t.length)return!1;for(c=0;c=0;c--)if(h[c]!=d[c])return!1;for(c=h.length-1;c>=0;c--)if(u=h[c],!a(e[u],t[u],n))return!1;return typeof e===typeof t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var i=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|i:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,(function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){var n=r.query(e,r.Scope.BLOT&(this.scope|r.Scope.TYPE));return null!=n&&(null==this.whitelist||("string"===typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function e(e,t){for(var n=0;n=e+n)){var a=this.newlineIndex(e,!0)+1,s=o-a+1,l=this.isolate(a,s),u=l.next;l.format(r,i),u instanceof t&&u.formatAt(0,e-a+n-s,r,i)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var i=this.descendant(m.default,e),o=r(i,2),a=o[0],s=o[1];a.insertAt(s,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var n=this.domNode.textContent.slice(e).indexOf("\n");return n>-1?e+n:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(c.default.create("text","\n")),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(e){var t=c.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof c.default.Embed?t.remove():t.unwrap()}))}}],[{key:"create",value:function(e){var n=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(h.default);x.blotName="code-block",x.tagName="PRE",x.TAB=" ",t.Code=w,t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n=o&&!u.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,u);var d=t.scroll.line(e),f=i(d,2),p=f[0],m=f[1],b=(0,T.default)({},(0,g.bubbleFormats)(p));if(p instanceof v.default){var y=p.descendant(h.default.Leaf,m),w=i(y,1),x=w[0];b=(0,T.default)(b,(0,g.bubbleFormats)(x))}l=c.default.attributes.diff(b,l)||{}}else if("object"===r(a.insert)){var k=Object.keys(a.insert)[0];if(null==k)return e;t.scroll.insertAt(e,k,a.insert[k])}o+=s}return Object.keys(l).forEach((function(n){t.scroll.formatAt(e,s,n,l[n])})),e+s}),0),e.reduce((function(e,n){return"number"===typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new s.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach((function(i){if(null==n.scroll.whitelist||n.scroll.whitelist[i]){var o=n.scroll.lines(e,Math.max(t,1)),a=t;o.forEach((function(t){var o=t.length();if(t instanceof f.default){var s=e-t.offset(n.scroll),l=t.newlineIndex(s+a)-s+1;t.formatAt(s,l,i,r[i])}else t.format(i,r[i]);a-=o}))}})),this.scroll.optimize(),this.update((new s.default).retain(e).retain(t,(0,x.default)(r)))}},{key:"formatText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach((function(i){n.scroll.formatAt(e,t,i,r[i])})),this.update((new s.default).retain(e).retain(t,(0,x.default)(r)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(e,t){return e.concat(t.delta())}),new s.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===t?this.scroll.path(e).forEach((function(e){var t=i(e,1),o=t[0];o instanceof v.default?n.push(o):o instanceof h.default.Leaf&&r.push(o)})):(n=this.scroll.lines(e,t),r=this.scroll.descendants(h.default.Leaf,e,t));var o=[n,r].map((function(e){if(0===e.length)return{};var t=(0,g.bubbleFormats)(e.shift());while(Object.keys(t).length>0){var n=e.shift();if(null==n)return t;t=L((0,g.bubbleFormats)(n),t)}return t}));return T.default.apply(T.default,o)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter((function(e){return"string"===typeof e.insert})).map((function(e){return e.insert})).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new s.default).retain(e).insert(E({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(r).forEach((function(i){n.scroll.formatAt(e,t.length,i,r[i])})),this.update((new s.default).retain(e).insert(t,(0,x.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===v.default.blotName&&(!(e.children.length>1)&&e.children.head instanceof y.default)}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),r=this.scroll.line(e+t),o=i(r,2),a=o[0],l=o[1],c=0,u=new s.default;null!=a&&(c=a instanceof f.default?a.newlineIndex(l)-l+1:a.length()-l,u=a.delta().slice(l,l+c-1).insert("\n"));var h=this.getContents(e,t+c),d=h.diff((new s.default).insert(n).concat(u)),p=(new s.default).retain(e).concat(d);return this.applyDelta(p)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(O)&&h.default.find(t[0].target)){var i=h.default.find(t[0].target),o=(0,g.bubbleFormats)(i),a=i.offset(this.scroll),l=t[0].oldValue.replace(m.default.CONTENTS,""),c=(new s.default).insert(l),u=(new s.default).insert(i.value()),d=(new s.default).retain(a).concat(c.diff(u,n));e=d.reduce((function(e,t){return t.insert?e.insert(t.insert,o):e.push(t)}),new s.default),this.delta=r.compose(e)}else this.delta=this.getDelta(),e&&(0,C.default)(r.compose(e),this.delta)||(e=r.diff(this.delta,n));return e}}]),e}();function L(e,t){return Object.keys(t).reduce((function(n,r){return null==e[r]||(t[r]===e[r]?n[r]=t[r]:Array.isArray(t[r])?t[r].indexOf(e[r])<0&&(n[r]=t[r].concat([e[r]])):n[r]=[t[r],e[r]]),n}),{})}function D(e){return e.reduce((function(e,t){if(1===t.insert){var n=(0,x.default)(t.attributes);return delete n["image"],e.insert({image:t.attributes.image},n)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||(t=(0,x.default)(t),t.attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"===typeof t.insert){var r=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(r,t.attributes)}return e.push(t)}),new s.default)}t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0;v(this,e),this.index=t,this.length=n},w=function(){function e(t,n){var r=this;v(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=a.default.create("cursor",this),this.lastRange=this.savedRange=new y(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){r.mouseDown||setTimeout(r.update.bind(r,d.default.sources.USER),1)})),this.emitter.on(d.default.events.EDITOR_CHANGE,(function(e,t){e===d.default.events.TEXT_CHANGE&&t.length()>0&&r.update(d.default.sources.SILENT)})),this.emitter.on(d.default.events.SCROLL_BEFORE_UPDATE,(function(){if(r.hasFocus()){var e=r.getNativeRange();null!=e&&e.start.node!==r.cursor.textNode&&r.emitter.once(d.default.events.SCROLL_UPDATE,(function(){try{r.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(t){}}))}})),this.emitter.on(d.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,i=n.startNode,o=n.startOffset,a=n.endNode,s=n.endOffset;r.setNativeRange(i,o,a,s)}})),this.update(d.default.sources.SILENT)}return i(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0})),this.root.addEventListener("compositionend",(function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,(function(){e.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){e.mouseDown=!1,e.update(d.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!a.default.query(e,a.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=a.default.find(n.start.node,!1);if(null==r)return;if(r instanceof a.default.Leaf){var i=r.split(n.start.offset);r.parent.insertBefore(this.cursor,i)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var i=void 0,o=this.scroll.leaf(e),a=r(o,2),s=a[0],l=a[1];if(null==s)return null;var c=s.position(l,!0),u=r(c,2);i=u[0],l=u[1];var h=document.createRange();if(t>0){h.setStart(i,l);var d=this.scroll.leaf(e+t),f=r(d,2);if(s=f[0],l=f[1],null==s)return null;var p=s.position(l,!0),m=r(p,2);return i=m[0],l=m[1],h.setEnd(i,l),h.getBoundingClientRect()}var g="left",v=void 0;return i instanceof Text?(l0&&(g="right")),{bottom:v.top+v.height,height:v.height,left:v[g],right:v[g],top:v.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return b.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();if(null==e)return[null,null];var t=this.normalizedToRange(e);return[t,e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var i=n.map((function(e){var n=r(e,2),i=n[0],o=n[1],s=a.default.find(i,!0),l=s.offset(t.scroll);return 0===o?l:s instanceof a.default.Container?l+s.length():l+s.index(i,o)})),o=Math.min(Math.max.apply(Math,g(i)),this.scroll.length()-1),s=Math.min.apply(Math,[o].concat(g(i)));return new y(s,o-s)}},{key:"normalizeNative",value:function(e){if(!x(this.root,e.startContainer)||!e.collapsed&&!x(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach((function(e){var t=e.node,n=e.offset;while(!(t instanceof Text)&&t.childNodes.length>0)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;t=t.lastChild,n=t instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n})),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],i=[],o=this.scroll.length();return n.forEach((function(e,n){e=Math.min(o-1,e);var a=void 0,s=t.scroll.leaf(e),l=r(s,2),c=l[0],u=l[1],h=c.position(u,0!==n),d=r(h,2);a=d[0],u=d[1],i.push(a,u)})),i.length<2&&(i=i.concat(i)),i}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var i=this.scroll.length()-1,o=this.scroll.line(Math.min(t.index,i)),a=r(o,1),s=a[0],l=s;if(t.length>0){var c=this.scroll.line(Math.min(t.index+t.length,i)),u=r(c,1);l=u[0]}if(null!=s&&null!=l){var h=e.getBoundingClientRect();n.toph.bottom&&(e.scrollTop+=n.bottom-h.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(b.info("setNativeRange",e,t,n,r),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var o=document.getSelection();if(null!=o)if(null!=e){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||i||e!==a.startContainer||t!==a.startOffset||n!==a.endContainer||r!==a.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(e,t),s.setEnd(n,r),o.removeAllRanges(),o.addRange(s)}}else o.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;if("string"===typeof t&&(n=t,t=!1),b.info("setRange",e),null!=e){var r=this.rangeToNative(e);this.setNativeRange.apply(this,g(r).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default.sources.USER,t=this.lastRange,n=this.getRange(),i=r(n,2),o=i[0],a=i[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,u.default)(t,this.lastRange)){var s;!this.composing&&null!=a&&a.native.collapsed&&a.start.node!==this.cursor.textNode&&this.cursor.restore();var c,h=[d.default.events.SELECTION_CHANGE,(0,l.default)(this.lastRange),(0,l.default)(t),e];if((s=this.emitter).emit.apply(s,[d.default.events.EDITOR_CHANGE].concat(h)),e!==d.default.sources.SILENT)(c=this.emitter).emit.apply(c,h)}}}]),e}();function x(e,t){try{t.parentNode}catch(n){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=y,t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return e={},e[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=o.Scope.INLINE_BLOT,t}(i.default);t.default=a},function(e,t,n){var r=n(11),i=n(3),o={attributes:{compose:function(e,t,n){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var r=i(!0,{},t);for(var o in n||(r=Object.keys(r).reduce((function(e,t){return null!=r[t]&&(e[t]=r[t]),e}),{})),e)void 0!==e[o]&&void 0===t[o]&&(r[o]=e[o]);return Object.keys(r).length>0?r:void 0},diff:function(e,t){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,i){return r(e[i],t[i])||(n[i]=void 0===t[i]?null:t[i]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!==typeof e)return t;if("object"===typeof t){if(!n)return t;var r=Object.keys(t).reduce((function(n,r){return void 0===e[r]&&(n[r]=t[r]),n}),{});return Object.keys(r).length>0?r:void 0}}},iterator:function(e){return new a(e)},length:function(e){return"number"===typeof e["delete"]?e["delete"]:"number"===typeof e.retain?e.retain:"string"===typeof e.insert?e.insert.length:1}};function a(e){this.ops=e,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,r=o.length(t);if(e>=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,"number"===typeof t["delete"])return{delete:e};var i={};return t.attributes&&(i.attributes=t.attributes),"number"===typeof t.retain?i.retain=e:"string"===typeof t.insert?i.insert=t.insert.substr(n,e):i.insert=t.insert,i}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index]["delete"]?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}return[]},e.exports=o},function(e,n){var r=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var n,r,i;try{n=Map}catch(h){n=function(){}}try{r=Set}catch(h){r=function(){}}try{i=Promise}catch(h){i=function(){}}function o(a,s,l,c,h){"object"===typeof s&&(l=s.depth,c=s.prototype,h=s.includeNonEnumerable,s=s.circular);var d=[],f=[],p="undefined"!=typeof t;function m(a,l){if(null===a)return null;if(0===l)return a;var g,v;if("object"!=typeof a)return a;if(e(a,n))g=new n;else if(e(a,r))g=new r;else if(e(a,i))g=new i((function(e,t){a.then((function(t){e(m(t,l-1))}),(function(e){t(m(e,l-1))}))}));else if(o.__isArray(a))g=[];else if(o.__isRegExp(a))g=new RegExp(a.source,u(a)),a.lastIndex&&(g.lastIndex=a.lastIndex);else if(o.__isDate(a))g=new Date(a.getTime());else{if(p&&t.isBuffer(a))return g=t.allocUnsafe?t.allocUnsafe(a.length):new t(a.length),a.copy(g),g;e(a,Error)?g=Object.create(a):"undefined"==typeof c?(v=Object.getPrototypeOf(a),g=Object.create(v)):(g=Object.create(c),v=c)}if(s){var b=d.indexOf(a);if(-1!=b)return f[b];d.push(a),f.push(g)}for(var y in e(a,n)&&a.forEach((function(e,t){var n=m(t,l-1),r=m(e,l-1);g.set(n,r)})),e(a,r)&&a.forEach((function(e){var t=m(e,l-1);g.add(t)})),a){var w;v&&(w=Object.getOwnPropertyDescriptor(v,y)),w&&null==w.set||(g[y]=m(a[y],l-1))}if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(a);for(y=0;y0){if(s instanceof u.BlockEmbed||d instanceof u.BlockEmbed)return void this.optimize();if(s instanceof m.default){var p=s.newlineIndex(s.length(),!0);if(p>-1&&(s=s.split(p+1),s===d))return void this.optimize()}else if(d instanceof m.default){var g=d.newlineIndex(0);g>-1&&d.split(g+1)}var v=d.children.head instanceof f.default?null:d.children.head;s.moveChildren(d,v),s.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,r,i){(null==this.whitelist||this.whitelist[r])&&(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,i),this.optimize())}},{key:"insertAt",value:function(e,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==r||null==s.default.query(n,s.default.Scope.BLOCK)){var i=s.default.create(this.statics.defaultChild);this.appendChild(i),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),i.insertAt(0,n,r)}else{var a=s.default.create(n,r);this.appendChild(a)}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===s.default.Scope.INLINE_BLOT){var r=s.default.create(this.statics.defaultChild);r.appendChild(e),e=r}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(k,e)}},{key:"lines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function e(t,n,r){var i=[],o=r;return t.children.forEachAt(n,r,(function(t,n,r){k(t)?i.push(t):t instanceof s.default.Container&&(i=i.concat(e(t,n,o))),o-=r})),i};return n(this,e,t)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(c.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=c.default.sources.USER;"string"===typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(c.default.events.SCROLL_BEFORE_UPDATE,n,e),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(c.default.events.SCROLL_UPDATE,n,e)}}}]),t}(s.default.Scroll);C.blotName="scroll",C.className="ql-editor",C.tagName="DIV",C.defaultChild="block",C.allowedChildren=[h.default,u.BlockEmbed,v.default],t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=j(e);if(null==r||null==r.key)return O.warn("Attempted to add invalid keyboard binding",r);"function"===typeof t&&(t={handler:t}),"function"===typeof n&&(n={handler:n}),r=(0,h.default)(r,t,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var o=n.which||n.keyCode,a=(e.bindings[o]||[]).filter((function(e){return t.match(n,e)}));if(0!==a.length){var s=e.quill.getSelection();if(null!=s&&e.quill.hasFocus()){var l=e.quill.getLine(s.index),u=i(l,2),h=u[0],d=u[1],f=e.quill.getLeaf(s.index),p=i(f,2),m=p[0],g=p[1],b=0===s.length?[m,g]:e.quill.getLeaf(s.index+s.length),y=i(b,2),w=y[0],x=y[1],k=m instanceof v.default.Text?m.value().slice(0,g):"",C=w instanceof v.default.Text?w.value().slice(x):"",A={collapsed:0===s.length,empty:0===s.length&&h.length()<=1,format:e.quill.getFormat(s),offset:d,prefix:k,suffix:C},T=a.some((function(t){if(null!=t.collapsed&&t.collapsed!==A.collapsed)return!1;if(null!=t.empty&&t.empty!==A.empty)return!1;if(null!=t.offset&&t.offset!==A.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==A.format[e]})))return!1}else if("object"===r(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=A.format[e]:!1===t.format[e]?null==A.format[e]:(0,c.default)(t.format[e],A.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(A.prefix))&&(!(null!=t.suffix&&!t.suffix.test(A.suffix))&&!0!==t.handler.call(e,s,A))}));T&&n.preventDefault()}}}}))}}]),t}(C.default);function D(e,t){var n,r=e===L.keys.LEFT?"prefix":"suffix";return n={key:e,shiftKey:t,altKey:null},T(n,r,/^$/),T(n,"handler",(function(n){var r=n.index;e===L.keys.RIGHT&&(r+=n.length+1);var o=this.quill.getLeaf(r),a=i(o,1),s=a[0];return!(s instanceof v.default.Embed)||(e===L.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,y.default.sources.USER):this.quill.setSelection(n.index-1,y.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,y.default.sources.USER):this.quill.setSelection(n.index+n.length+1,y.default.sources.USER),!1)})),n}function P(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),r=i(n,1),o=r[0],a={};if(0===t.offset){var s=this.quill.getLine(e.index-1),l=i(s,1),c=l[0];if(null!=c&&c.length()>1){var u=o.formats(),h=this.quill.getFormat(e.index-1,1);a=m.default.attributes.diff(u,h)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-d,d,y.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(e.index-d,d,a,y.default.sources.USER),this.quill.focus()}}function I(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var r={},o=0,a=this.quill.getLine(e.index),s=i(a,1),l=s[0];if(t.offset>=l.length()-1){var c=this.quill.getLine(e.index+1),u=i(c,1),h=u[0];if(h){var d=l.formats(),f=this.quill.getFormat(e.index,1);r=m.default.attributes.diff(d,f)||{},o=h.length()}}this.quill.deleteText(e.index,n,y.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index+o-1,n,r,y.default.sources.USER)}}function R(e){var t=this.quill.getLines(e),n={};if(t.length>1){var r=t[0].formats(),i=t[t.length-1].formats();n=m.default.attributes.diff(i,r)||{}}this.quill.deleteText(e,y.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,y.default.sources.USER),this.quill.setSelection(e.index,y.default.sources.SILENT),this.quill.focus()}function F(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var r=Object.keys(t.format).reduce((function(e,n){return v.default.query(n,v.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",r,y.default.sources.USER),this.quill.setSelection(e.index+1,y.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==r[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],y.default.sources.USER))}))}function z(e){return{key:L.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=v.default.query("code-block"),r=t.index,o=t.length,a=this.quill.scroll.descendant(n,r),s=i(a,2),l=s[0],c=s[1];if(null!=l){var u=this.quill.getIndex(l),h=l.newlineIndex(c,!0)+1,d=l.newlineIndex(u+c+o),f=l.domNode.textContent.slice(h,d).split("\n");c=0,f.forEach((function(t,i){e?(l.insertAt(h+c,n.TAB),c+=n.TAB.length,0===i?r+=n.TAB.length:o+=n.TAB.length):t.startsWith(n.TAB)&&(l.deleteAt(h+c,n.TAB.length),c-=n.TAB.length,0===i?r-=n.TAB.length:o-=n.TAB.length),c+=t.length+1})),this.quill.update(y.default.sources.USER),this.quill.setSelection(r,o,y.default.sources.SILENT)}}}}function B(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],y.default.sources.USER)}}}function j(e){if("string"===typeof e||"number"===typeof e)return j({key:e});if("object"===("undefined"===typeof e?"undefined":r(e))&&(e=(0,s.default)(e,!1)),"string"===typeof e.key)if(null!=L.keys[e.key.toUpperCase()])e.key=L.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[N]=e.shortKey,delete e.shortKey),e}L.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},L.DEFAULTS={bindings:{bold:B("bold"),italic:B("italic"),underline:B("underline"),indent:{key:L.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",y.default.sources.USER)}},outdent:{key:L.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",y.default.sources.USER)}},"outdent backspace":{key:L.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",y.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,y.default.sources.USER)}},"indent code-block":z(!0),"outdent code-block":z(!1),"remove tab":{key:L.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,y.default.sources.USER)}},tab:{key:L.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new f.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,y.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,y.default.sources.SILENT)}},"list empty enter":{key:L.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,y.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,y.default.sources.USER)}},"checklist enter":{key:L.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=i(t,2),r=n[0],o=n[1],a=(0,h.default)({},r.formats(),{list:"checked"}),s=(new f.default).retain(e.index).insert("\n",a).retain(r.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,y.default.sources.USER),this.quill.setSelection(e.index+1,y.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:L.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),r=i(n,2),o=r[0],a=r[1],s=(new f.default).retain(e.index).insert("\n",t.format).retain(o.length()-a-1).retain(1,{header:null});this.quill.updateContents(s,y.default.sources.USER),this.quill.setSelection(e.index+1,y.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,r=this.quill.getLine(e.index),o=i(r,2),a=o[0],s=o[1];if(s>n)return!0;var l=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(e.index," ",y.default.sources.USER),this.quill.history.cutoff();var c=(new f.default).retain(e.index-s).delete(n+1).retain(a.length()-2-s).retain(1,{list:l});this.quill.updateContents(c,y.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,y.default.sources.SILENT)}},"code exit":{key:L.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=i(t,2),r=n[0],o=n[1],a=(new f.default).retain(e.index+r.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,y.default.sources.USER)}},"embed left":D(L.keys.LEFT,!1),"embed left shift":D(L.keys.LEFT,!0),"embed right":D(L.keys.RIGHT,!1),"embed right shift":D(L.keys.RIGHT,!0)}},t.default=L,t.SHORTKEY=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=function(){function e(e,t){for(var n=0;n-1}h.blotName="link",h.tagName="A",h.SANITIZED_URL="about:blank",h.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=h,t.sanitize=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":r(Event))){var i=document.createEvent("Event");i.initEvent("change",!0,!0),this.select.dispatchEvent(i)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=O(r),o=n(5),a=O(o),s=n(4),l=O(s),c=n(16),u=O(c),h=n(25),d=O(h),f=n(24),p=O(f),m=n(35),g=O(m),v=n(6),b=O(v),y=n(22),w=O(y),x=n(7),k=O(x),C=n(55),A=O(C),T=n(42),S=O(T),E=n(23),M=O(E);function O(e){return e&&e.__esModule?e:{default:e}}a.default.register({"blots/block":l.default,"blots/block/embed":s.BlockEmbed,"blots/break":u.default,"blots/container":d.default,"blots/cursor":p.default,"blots/embed":g.default,"blots/inline":b.default,"blots/scroll":w.default,"blots/text":k.default,"modules/clipboard":A.default,"modules/history":S.default,"modules/keyboard":M.default}),i.default.register(l.default,u.default,p.default,b.default,w.default,k.default),t.default=a.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(e){this.domNode=e,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"===typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"===typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return r.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},e.prototype.deleteAt=function(e,t){var n=this.isolate(e,t);n.remove()},e.prototype.formatAt=function(e,t,n,i){var o=this.isolate(e,t);if(null!=r.query(n,r.Scope.BLOT)&&i)o.wrap(n,i);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var a=r.create(this.statics.scope);o.wrap(a),a.format(n,i)}},e.prototype.insertAt=function(e,t,n){var i=null==n?r.create("text",t):r.create(t,n),o=this.split(e);this.parent.insertBefore(i,o)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"===typeof e?r.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"===typeof e?r.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),i=n(32),o=n(33),a=n(1),s=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=r.default.keys(this.domNode),n=i.default.keys(this.domNode),s=o.default.keys(this.domNode);t.concat(n).concat(s).forEach((function(t){var n=a.query(t,a.Scope.ATTRIBUTE);n instanceof r.default&&(e.attributes[n.attrName]=n)}))},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(n){var r=t.attributes[n].value(t.domNode);e.format(n,r)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}();t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(12);function o(e,t){var n=e.getAttribute("class")||"";return n.split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){var t=o(e,this.keyName);t.forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=o(e,this.keyName)[0]||"",n=t.slice(this.keyName.length+1);return this.canAdd(e,n)?n:""},t}(i.default);t.default=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(12);function o(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){var t=e.split(":");return t[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[o(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[o(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[o(this.keyName)];return this.canAdd(e,t)?t:""},t}(i.default);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;nr&&this.stack.undo.length>0){var i=this.stack.undo.pop();n=n.compose(i.undo),e=i.redo.compose(e)}else this.lastRecorded=r;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})),this.stack.redo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(c.default);function m(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"===typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some((function(e){return null!=o.default.query(e,o.default.Scope.BLOCK)})))}function g(e){var t=e.reduce((function(e,t){return e+=t.delete||0,e}),0),n=e.length()-t;return m(e)&&(n-=1),n}p.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=p,t.getLastChangeIndex=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var t=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,u.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,u.default.sources.USER)),this.quill.root.scrollTop=t;break;case"video":e=I(e);case"formula":if(!e)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),e,u.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",u.default.sources.USER),this.quill.setSelection(r+2,u.default.sources.USER)}break;default:}this.textbox.value="",this.hide()}}]),t}(k.default);function I(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return t?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e}function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach((function(t){var r=document.createElement("option");t===n?r.setAttribute("selected","selected"):r.setAttribute("value",t),e.appendChild(r)}))}t.BaseTooltip=P,t.default=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){var t,n=this.iterator();while(t=n())if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){var t=0,n=this.head;while(null!=n){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);var n,r=this.iterator();while(n=r()){var i=n.length();if(es?n(r,e-s,Math.min(t,s+c-e)):n(r,0,Math.min(c,e+t-s)),s+=c}}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){var n,r=this.iterator();while(n=r())t=e(t,n);return t},e}();t.default=r},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(17),o=n(1),a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},s=100,l=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver((function(e){n.update(e)})),n.observer.observe(n.domNode,a),n.attach(),n}return r(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,r,i){this.update(),e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.insertAt=function(t,n,r){this.update(),e.prototype.insertAt.call(this,t,n,r)},t.prototype.optimize=function(t,n){var r=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);var a=[].slice.call(this.observer.takeRecords());while(a.length>0)t.push(a.pop());for(var l=function(e,t){void 0===t&&(t=!0),null!=e&&e!==r&&null!=e.domNode.parentNode&&(null==e.domNode[o.DATA_KEY].mutations&&(e.domNode[o.DATA_KEY].mutations=[]),t&&l(e.parent))},c=function(e){null!=e.domNode[o.DATA_KEY]&&null!=e.domNode[o.DATA_KEY].mutations&&(e instanceof i.default&&e.children.forEach(c),e.optimize(n))},u=t,h=0;u.length>0;h+=1){if(h>=s)throw new Error("[Parchment] Maximum optimize iterations reached");u.forEach((function(e){var t=o.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(l(o.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=o.find(e,!1);l(t,!1),t instanceof i.default&&t.children.forEach((function(e){l(e,!1)}))}))):"attributes"===e.type&&l(t.prev)),l(t))})),this.children.forEach(c),u=[].slice.call(this.observer.takeRecords()),a=u.slice();while(a.length>0)t.push(a.pop())}},t.prototype.update=function(t,n){var r=this;void 0===n&&(n={}),t=t||this.observer.takeRecords(),t.map((function(e){var t=o.find(e.target,!0);return null==t?null:null==t.domNode[o.DATA_KEY].mutations?(t.domNode[o.DATA_KEY].mutations=[e],t):(t.domNode[o.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==r&&null!=e.domNode[o.DATA_KEY]&&e.update(e.domNode[o.DATA_KEY].mutations||[],n)})),null!=this.domNode[o.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[o.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=o.Scope.BLOCK_BLOT,t.tagName="DIV",t}(i.default);t.default=l},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),o=n(1);function a(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):(this.children.forEach((function(e){e instanceof i.default||(e=e.wrap(t.blotName,!0)),o.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,n,r,i){if(null!=this.formats()[r]||o.query(r,o.Scope.ATTRIBUTE)){var a=this.isolate(t,n);a.format(r,i)}else e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var i=this.next;i instanceof t&&i.prev===this&&a(r,i.formats())&&(i.moveChildren(this),i.remove())},t.blotName="inline",t.scope=o.Scope.INLINE_BLOT,t.tagName="SPAN",t}(i.default);t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),o=n(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){var r=o.query(t.blotName).tagName;if(n.tagName!==r)return e.formats.call(this,n)},t.prototype.format=function(n,r){null!=o.query(n,o.Scope.BLOCK)&&(n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,r,i){null!=o.query(r,o.Scope.BLOCK)?this.format(r,i):e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.insertAt=function(t,n,r){if(null==r||null!=o.query(n,o.Scope.INLINE))e.prototype.insertAt.call(this,t,n,r);else{var i=this.split(t),a=o.create(n,r);i.parent.insertBefore(a,i)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=o.Scope.BLOCK_BLOT,t.tagName="P",t}(i.default);t.default=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,r,i){0===t&&n===this.length()?this.format(r,i):e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(i.default);t.default=o},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),o=n(1),a=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return r(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t["normalize"]&&(t=t["normalize"]()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,r){null==r?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,r)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=o.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=o.Scope.INLINE_BLOT,t}(i.default);t.default=a},function(e,t,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)===!t?t:i.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!==typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var r=n.indexOf(e,t);return-1!==r&&r===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,i=arguments[1],o=0;ot.length?e:t,c=e.length>t.length?t:e,u=l.indexOf(c);if(-1!=u)return a=[[r,l.substring(0,u)],[i,c],[r,l.substring(u+c.length)]],e.length>t.length&&(a[0][0]=a[2][0]=n),a;if(1==c.length)return[[n,e],[r,t]];var d=h(e,t);if(d){var f=d[0],p=d[1],m=d[2],g=d[3],v=d[4],b=o(f,m),y=o(p,g);return b.concat([[i,v]],y)}return s(e,t)}function s(e,t){for(var i=e.length,o=t.length,a=Math.ceil((i+o)/2),s=a,c=2*a,u=new Array(c),h=new Array(c),d=0;di)g+=2;else if(k>o)m+=2;else if(p){var C=s+f-w;if(C>=0&&C=A)return l(e,t,E,k)}}}for(var T=-y+v;T<=y-b;T+=2){C=s+T;A=T==-y||T!=y&&h[C-1]i)b+=2;else if(S>o)v+=2;else if(!p){x=s+f-T;if(x>=0&&x=A)return l(e,t,E,k)}}}}return[[n,e],[r,t]]}function l(e,t,n,r){var i=e.substring(0,n),a=t.substring(0,r),s=e.substring(n),l=t.substring(r),c=o(i,a),u=o(s,l);return c.concat(u)}function c(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;var n=0,r=Math.min(e.length,t.length),i=r,o=0;while(nt.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length=e.length?[r,i,o,a,h]:null}var o,a,s,l,h,d=i(n,r,Math.ceil(n.length/4)),f=i(n,r,Math.ceil(n.length/2));if(!d&&!f)return null;o=f?d&&d[4].length>f[4].length?d:f:d,e.length>t.length?(a=o[0],s=o[1],l=o[2],h=o[3]):(l=o[0],h=o[1],a=o[2],s=o[3]);var p=o[4];return[a,s,l,h,p]}function d(e){e.push([i,""]);var t,o=0,a=0,s=0,l="",h="";while(o1?(0!==a&&0!==s&&(t=c(h,l),0!==t&&(o-a-s>0&&e[o-a-s-1][0]==i?e[o-a-s-1][1]+=h.substring(0,t):(e.splice(0,0,[i,h.substring(0,t)]),o++),h=h.substring(t),l=l.substring(t)),t=u(h,l),0!==t&&(e[o][1]=h.substring(h.length-t)+e[o][1],h=h.substring(0,h.length-t),l=l.substring(0,l.length-t))),0===a?e.splice(o-s,a+s,[r,h]):0===s?e.splice(o-a,a+s,[n,l]):e.splice(o-a-s,a+s,[n,l],[r,h]),o=o-a-s+(a?1:0)+(s?1:0)+1):0!==o&&e[o-1][0]==i?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,s=0,a=0,l="",h="";break}""===e[e.length-1][1]&&e.pop();var f=!1;o=1;while(o0&&r.splice(o+2,0,[s[0],l]),v(r,o,3)}return e}function g(e){for(var t=!1,o=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},a=function(e){return e.charCodeAt(e.length-1)>=55296&&e.charCodeAt(e.length-1)<=56319},s=2;s0&&l.push(e[s]);return l}function v(e,t,n){for(var r=t+n-1;r>=0&&r>=t-1;r--)if(r+1\r?\n +\<"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[x.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new c.default).insert(n,E({},x.default.blotName,t[x.default.blotName]))}var r=this.prepareMatching(),o=i(r,2),a=o[0],s=o[1],l=U(this.container,a,s);return j(l,"\n")&&null==l.ops[l.ops.length-1].attributes&&(l=l.compose((new c.default).retain(l.length()-1).delete(1))),L.log("convert",this.container.innerHTML,l),this.container.innerHTML="",l}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.default.sources.API;if("string"===typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,f.default.sources.SILENT);else{var r=this.convert(t);this.quill.updateContents((new c.default).retain(e).concat(r),n),this.quill.setSelection(e+r.length(),f.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new c.default).retain(n.index),i=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(f.default.sources.SILENT),setTimeout((function(){r=r.concat(t.convert()).delete(n.length),t.quill.updateContents(r,f.default.sources.USER),t.quill.setSelection(r.length()-n.length,f.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=i,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach((function(r){var o=i(r,2),a=o[0],s=o[1];switch(a){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:t.push(s);break;default:[].forEach.call(e.container.querySelectorAll(a),(function(e){e[D]=e[D]||[],e[D].push(s)}));break}})),[t,n]}}]),t}(v.default);function z(e,t,n){return"object"===("undefined"===typeof t?"undefined":r(t))?Object.keys(t).reduce((function(e,n){return z(e,n,t[n])}),e):e.reduce((function(e,r){return r.attributes&&r.attributes[t]?e.push(r):e.insert(r.insert,(0,s.default)({},E({},t,n),r.attributes))}),new c.default)}function B(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function j(e,t){for(var n="",r=e.ops.length-1;r>=0&&n.length-1}function U(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce((function(t,n){return n(e,t)}),new c.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(r,i){var o=U(i,t,n);return i.nodeType===e.ELEMENT_NODE&&(o=t.reduce((function(e,t){return t(i,e)}),o),o=(i[D]||[]).reduce((function(e,t){return t(i,e)}),o)),r.concat(o)}),new c.default):new c.default}function q(e,t,n){return z(n,e,!0)}function W(e,t){var n=h.default.Attributor.Attribute.keys(e),r=h.default.Attributor.Class.keys(e),i=h.default.Attributor.Style.keys(e),o={};return n.concat(r).concat(i).forEach((function(t){var n=h.default.query(t,h.default.Scope.ATTRIBUTE);null!=n&&(o[n.attrName]=n.value(e),o[n.attrName])||(n=I[t],null==n||n.attrName!==t&&n.keyName!==t||(o[n.attrName]=n.value(e)||void 0),n=R[t],null==n||n.attrName!==t&&n.keyName!==t||(n=R[t],o[n.attrName]=n.value(e)||void 0))})),Object.keys(o).length>0&&(t=z(t,o)),t}function G(e,t){var n=h.default.query(e);if(null==n)return t;if(n.prototype instanceof h.default.Embed){var r={},i=n.value(e);null!=i&&(r[n.blotName]=i,t=(new c.default).insert(r,n.formats(e)))}else"function"===typeof n.formats&&(t=z(t,n.blotName,n.formats(e)));return t}function V(e,t){return j(t,"\n")||t.insert("\n"),t}function Y(){return new c.default}function K(e,t){var n=h.default.query(e);if(null==n||"list-item"!==n.blotName||!j(t,"\n"))return t;var r=-1,i=e.parentNode;while(!i.classList.contains("ql-clipboard"))"list"===(h.default.query(i)||{}).blotName&&(r+=1),i=i.parentNode;return r<=0?t:t.compose((new c.default).retain(t.length()-1).retain(1,{indent:r}))}function Z(e,t){return j(t,"\n")||(H(e)||t.length()>0&&e.nextSibling&&H(e.nextSibling))&&t.insert("\n"),t}function X(e,t){if(H(e)&&null!=e.nextElementSibling&&!j(t,"\n\n")){var n=e.offsetHeight+parseFloat(B(e).marginTop)+parseFloat(B(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function J(e,t){var n={},r=e.style||{};return r.fontStyle&&"italic"===B(e).fontStyle&&(n.italic=!0),r.fontWeight&&(B(e).fontWeight.startsWith("bold")||parseInt(B(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=z(t,n)),parseFloat(r.textIndent||0)>0&&(t=(new c.default).insert("\t").concat(t)),t}function Q(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!B(e.parentNode).whiteSpace.startsWith("pre")){var r=function(e,t){return t=t.replace(/[^\u00a0]/g,""),t.length<1&&e?" ":t};n=n.replace(/\r\n/g," ").replace(/\n/g," "),n=n.replace(/\s\s+/g,r.bind(r,!0)),(null==e.previousSibling&&H(e.parentNode)||null!=e.previousSibling&&H(e.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==e.nextSibling&&H(e.parentNode)||null!=e.nextSibling&&H(e.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return t.insert(n)}F.DEFAULTS={matchers:[],matchVisual:!0},t.default=F,t.matchAttributor=W,t.matchBlot=G,t.matchNewline=Z,t.matchSpacing=X,t.matchText=Q},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n '},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;nr.right&&(o=r.right-i.right,this.root.style.left=t+o+"px"),i.leftr.bottom){var a=i.bottom-i.top,s=e.bottom-e.top+a;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return o}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=function(){function e(e,t){for(var n=0;n','','',''].join(""),t.default=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),i=ne(r),o=n(36),a=n(38),s=n(64),l=n(65),c=ne(l),u=n(66),h=ne(u),d=n(67),f=ne(d),p=n(37),m=n(26),g=n(39),v=n(40),b=n(56),y=ne(b),w=n(68),x=ne(w),k=n(27),C=ne(k),A=n(69),T=ne(A),S=n(70),E=ne(S),M=n(71),O=ne(M),N=n(72),L=ne(N),D=n(73),P=ne(D),I=n(13),R=ne(I),F=n(74),z=ne(F),B=n(75),j=ne(B),H=n(57),U=ne(H),q=n(41),W=ne(q),G=n(28),V=ne(G),Y=n(59),K=ne(Y),Z=n(60),X=ne(Z),J=n(61),Q=ne(J),_=n(108),$=ne(_),ee=n(62),te=ne(ee);function ne(e){return e&&e.__esModule?e:{default:e}}i.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":p.BackgroundClass,"attributors/class/color":m.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":g.FontClass,"attributors/class/size":v.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":p.BackgroundStyle,"attributors/style/color":m.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":g.FontStyle,"attributors/style/size":v.SizeStyle},!0),i.default.register({"formats/align":o.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":s.IndentClass,"formats/background":p.BackgroundStyle,"formats/color":m.ColorStyle,"formats/font":g.FontClass,"formats/size":v.SizeClass,"formats/blockquote":c.default,"formats/code-block":R.default,"formats/header":h.default,"formats/list":f.default,"formats/bold":y.default,"formats/code":I.Code,"formats/italic":x.default,"formats/link":C.default,"formats/script":T.default,"formats/strike":E.default,"formats/underline":O.default,"formats/image":L.default,"formats/video":P.default,"formats/list/item":d.ListItem,"modules/formula":z.default,"modules/syntax":j.default,"modules/toolbar":U.default,"themes/bubble":$.default,"themes/snow":te.default,"ui/icons":W.default,"ui/picker":V.default,"ui/icon-picker":X.default,"ui/color-picker":K.default,"ui/tooltip":Q.default},!0),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var r=function(){function e(e,t){for(var n=0;n0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return d({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(e,n){if(e instanceof g)i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var r=null==n?this.length():n.offset(this),o=this.split(r);o.parent.insertBefore(e,o)}}},{key:"optimize",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=a.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(u.default);v.blotName="list",v.scope=a.default.Scope.BLOCK_BLOT,v.tagName=["OL","UL"],v.defaultChild="list-item",v.allowedChildren=[g],t.ListItem=g,t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(56),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=function(e){function t(){return a(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),t}(i.default);c.blotName="italic",c.tagName=["EM","I"],t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"===typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return d.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,s.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(a.default.Embed);f.blotName="image",f.tagName="IMG",t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return d.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"sanitize",value:function(e){return s.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(o.BlockEmbed);f.blotName="video",f.className="ql-video",f.tagName="IFRAME",t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var r=function(){function e(e,t){for(var n=0;n0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(d.default);v.className="ql-syntax";var b=new a.default.Attributor.Class("token","hljs",{scope:a.default.Scope.INLINE}),y=function(e){function t(e,n){p(this,t);var r=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!==typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var i=null;return r.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(i),i=setTimeout((function(){r.highlight(),i=null}),r.options.interval)})),r.highlight(),r}return g(t,e),r(t,null,[{key:"register",value:function(){l.default.register(b,!0),l.default.register(v,!0)}}]),r(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(l.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(v).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(l.default.sources.SILENT),null!=t&&this.quill.setSelection(t,l.default.sources.SILENT)}}}]),t}(u.default);y.DEFAULTS={highlight:function(){return null==window.hljs?null:function(e){var t=window.hljs.highlightAuto(e);return t.value}}(),interval:1e3},t.CodeBlock=v,t.CodeToken=b,t.default=y},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var r=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},i=function(){function e(e,t){for(var n=0;n0&&i===l.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var o=r.quill.getLines(t.index,t.length);if(1===o.length)r.position(r.quill.getBounds(t));else{var a=o[o.length-1],s=r.quill.getIndex(a),c=Math.min(a.length()-1,t.index+t.length-s),u=r.quill.getBounds(new h.Range(s,c));r.position(u)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()})),r}return v(t,e),i(t,[{key:"listen",value:function(){var e=this;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){e.root.classList.remove("ql-editing")})),this.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),i=this.root.querySelector(".ql-tooltip-arrow");if(i.style.marginLeft="",0===n)return n;i.style.marginLeft=-1*n-i.offsetWidth/2+"px"}}]),t}(c.BaseTooltip);w.TEMPLATE=['','
','','',"
"].join(""),t.BubbleTooltip=w,t.default=y},function(e,t,n){e.exports=n(63)}])["default"]}))}).call(this,n("b639").Buffer)},5023:function(e,t,n){e.exports=n.p+"img/ertongjie.svg"},5082:function(e,t,n){e.exports=n.p+"img/a-10-yiliaoxiang.svg"},5227:function(e,t,n){e.exports=n.p+"img/zuche.svg"},"528d":function(e,t,n){e.exports=n.p+"img/xiaoheiban.svg"},"56b3":function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\//.test(e),c=l&&/Qt\/\d+\.\d+/.test(e),u=!o&&/Chrome\/(\d+)/.exec(e),h=u&&+u[1],d=/Opera\//.test(e),f=/Apple Computer/.test(navigator.vendor),p=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),m=/PhantomJS/.test(e),g=f&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),v=/Android/.test(e),b=g||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=g||/Mac/.test(t),w=/\bCrOS\b/.test(e),x=/win/i.test(t),k=d&&e.match(/Version\/(\d*\.\d*)/);k&&(k=Number(k[1])),k&&k>=15&&(d=!1,l=!0);var C=y&&(c||d&&(null==k||k<12.11)),A=n||a&&s>=9;function T(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var S,E=function(e,t){var n=e.className,r=T(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function M(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function O(e,t){return M(e).appendChild(t)}function N(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}g?F=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(F=function(e){try{e.select()}catch(t){}});var G=function(){this.id=null,this.f=null,this.time=0,this.handler=U(this.onTimeout,this)};function V(e,t){for(var n=0;n=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}var _=[""];function $(e){while(_.length<=e)_.push(ee(_)+" ");return _[e]}function ee(e){return e[e.length-1]}function te(e,t){for(var n=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||oe.test(e))}function se(e,t){return t?!!(t.source.indexOf("\\w")>-1&&ae(e))||t.test(e):ae(e)}function le(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ce=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ue(e){return e.charCodeAt(0)>=768&&ce.test(e)}function he(e,t,n){while((n<0?t>0:tn?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function fe(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;ot||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}var pe=null;function me(e,t,n){var r;pe=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:pe=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:pe=i)}return null!=r?r:pe}var ge=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,a=/[Lb1n]/,s=/[1n]/;function l(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var c="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!r.test(e))return!1;for(var u=e.length,h=[],d=0;d-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function ke(e,t){var n=we(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function Se(e){e.prototype.on=function(e,t){ye(this,e,t)},e.prototype.off=function(e,t){xe(this,e,t)}}function Ee(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Me(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Oe(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Ne(e){Ee(e),Me(e)}function Le(e){return e.target||e.srcElement}function De(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var Pe,Ie,Re=function(){if(a&&s<9)return!1;var e=N("div");return"draggable"in e||"dragDrop"in e}();function Fe(e){if(null==Pe){var t=N("span","​");O(e,N("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Pe=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=Pe?N("span","​"):N("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function ze(e){if(null!=Ie)return Ie;var t=O(e,document.createTextNode("AخA")),n=S(t,0,1).getBoundingClientRect(),r=S(t,1,2).getBoundingClientRect();return M(e),!(!n||n.left==n.right)&&(Ie=r.right-n.right<3)}var Be=3!="\n\nb".split(/\n/).length?function(e){var t=0,n=[],r=e.length;while(t<=r){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},je=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(n){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},He=function(){var e=N("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Ue=null;function qe(e){if(null!=Ue)return Ue;var t=O(e,N("span","x")),n=t.getBoundingClientRect(),r=S(t,0,1).getBoundingClientRect();return Ue=Math.abs(n.left-r.left)>1}var We={},Ge={};function Ve(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),We[e]=t}function Ye(e,t){Ge[e]=t}function Ke(e){if("string"==typeof e&&Ge.hasOwnProperty(e))e=Ge[e];else if(e&&"string"==typeof e.name&&Ge.hasOwnProperty(e.name)){var t=Ge[e.name];"string"==typeof t&&(t={name:t}),e=ie(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Ke("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Ke("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ze(e,t){t=Ke(t);var n=We[t.name];if(!n)return Ze(e,"text/plain");var r=n(e,t);if(Xe.hasOwnProperty(t.name)){var i=Xe[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Xe={};function Je(e,t){var n=Xe.hasOwnProperty(e)?Xe[e]:Xe[e]={};q(t,n)}function Qe(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function _e(e,t){var n;while(e.innerMode){if(n=e.innerMode(t),!n||n.mode==e)break;t=n.state,e=n.mode}return n||{mode:e,state:t}}function $e(e,t,n){return!e.startState||e.startState(t,n)}var et=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function tt(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");var n=e;while(!n.lines)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t=e.first&&tn?ct(n,tt(e,n).text.length):vt(t,tt(e,t.line).text.length)}function vt(e,t){var n=e.ch;return null==n||n>t?ct(e.line,t):n<0?ct(e.line,0):e}function bt(e,t){for(var n=[],r=0;r=this.string.length},et.prototype.sol=function(){return this.pos==this.lineStart},et.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},et.prototype.next=function(){if(this.post},et.prototype.eatSpace=function(){var e=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos)))++this.pos;return this.pos>e},et.prototype.skipToEnd=function(){this.pos=this.string.length},et.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},et.prototype.backUp=function(e){this.pos-=e},et.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);if(i(o)==i(e))return!1!==t&&(this.pos+=e.length),!0},et.prototype.current=function(){return this.string.slice(this.start,this.pos)},et.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},et.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},et.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var yt=function(e,t){this.state=e,this.lookAhead=t},wt=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function xt(e,t,n,r){var i=[e.state.modeGen],o={};Nt(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,c=0;n.state=!0,Nt(e,t.text,s.mode,n,(function(e,t){var n=l;while(ce&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;ne.options.maxHighlightLength&&Qe(e.doc.mode,r.state),o=xt(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Ct(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new wt(r,!0,t);var o=Lt(e,t,n),a=o>r.first&&tt(r,o-1).stateAfter,s=a?wt.fromSaved(r,a,o):new wt(r,$e(r.mode),o);return r.iter(o,t,(function(n){At(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&rt.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}wt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},wt.prototype.baseToken=function(e){if(!this.baseTokens)return null;while(this.baseTokens[this.baseTokenPos]<=e)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},wt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},wt.fromSaved=function(e,t,n){return t instanceof yt?new wt(e,Qe(e.mode,t.state),n,t.lookAhead):new wt(e,Qe(e.mode,t),n)},wt.prototype.save=function(e){var t=!1!==e?Qe(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new yt(t,this.maxLookAhead):t};var Et=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function Mt(e,t,n,r){var i,o=e.doc,a=o.mode;t=gt(o,t);var s,l=tt(o,t.line),c=Ct(e,t.line,n),u=new et(l.text,e.options.tabSize,c);r&&(s=[]);while((r||u.pose.options.maxHighlightLength?(s=!1,a&&At(e,t,r,h.pos),h.pos=t.length,l=null):l=Ot(St(n,h,r.state,d),o),d){var f=d[0].name;f&&(l="m-"+(l?f+" "+l:f))}if(!s||u!=l){while(ca;--s){if(s<=o.first)return o.first;var l=tt(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof yt?c.lookAhead:0)<=o.modeFrontier))return s;var u=W(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}function Dt(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=tt(e,r).stateAfter;if(i&&(!(i instanceof yt)||r+i.lookAhead=t:o.to>t);(r||(r=[])).push(new zt(a,o.from,l?null:o.to))}}return r}function qt(e,t,n){var r;if(e)for(var i=0;i=t:o.to>t);if(s||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(a.inclusiveLeft?o.from<=t:o.from0&&s)for(var w=0;w0)){var u=[l,1],h=ut(c.from,s.from),d=ut(c.to,s.to);(h<0||!a.inclusiveLeft&&!h)&&u.push({from:c.from,to:s.from}),(d>0||!a.inclusiveRight&&!d)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}function Yt(e){var t=e.markedSpans;if(t){for(var n=0;nt)&&(!n||Jt(n,o.marker)<0)&&(n=o.marker)}return n}function tn(e,t,n,r,i){var o=tt(e,t),a=It&&o.markedSpans;if(a)for(var s=0;s=0&&h<=0||u<=0&&h>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ut(c.to,n)>=0:ut(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ut(c.from,r)<=0:ut(c.from,r)<0)))return!0}}}function nn(e){var t;while(t=_t(e))e=t.find(-1,!0).line;return e}function rn(e){var t;while(t=$t(e))e=t.find(1,!0).line;return e}function on(e){var t,n;while(t=$t(e))e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function an(e,t){var n=tt(e,t),r=nn(n);return n==r?t:ot(r)}function sn(e,t){if(t>e.lastLine())return t;var n,r=tt(e,t);if(!ln(e,r))return t;while(n=$t(r))r=n.find(1,!0).line;return ot(r)+1}function ln(e,t){var n=It&&t.markedSpans;if(n)for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var fn=function(e,t,n){this.text=e,Kt(this,t),this.height=n?n(this):1};function pn(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Yt(e),Kt(e,n);var i=r?r(e):1;i!=e.height&&it(e,i)}function mn(e){e.parent=null,Yt(e)}fn.prototype.lineNo=function(){return ot(this)},Se(fn);var gn={},vn={};function bn(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?vn:gn;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function yn(e,t){var n=L("span",null,null,l?"padding-right: .1px":null),r={pre:L("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=xn,ze(e.display.measure)&&(a=ve(o,e.doc.direction))&&(r.addToken=Cn(r.addToken,a)),r.map=[];var s=t!=e.display.externalMeasured&&ot(o);Tn(o,r,kt(e,o,s)),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=R(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=R(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Fe(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var c=r.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return ke(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=R(r.pre.className,r.textClass||"")),r}function wn(e){var t=N("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function xn(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?kn(t,e.trailingSpace):t,h=e.cm.state.specialChars,d=!1;if(h.test(t)){c=document.createDocumentFragment();var f=0;while(1){h.lastIndex=f;var p=h.exec(t),m=p?p.index-f:t.length-f;if(m){var g=document.createTextNode(u.slice(f,f+m));a&&s<9?c.appendChild(N("span",[g])):c.appendChild(g),e.map.push(e.pos,e.pos+m,g),e.col+=m,e.pos+=m}if(!p)break;f+=m+1;var v=void 0;if("\t"==p[0]){var b=e.cm.options.tabSize,y=b-e.col%b;v=c.appendChild(N("span",$(y),"cm-tab")),v.setAttribute("role","presentation"),v.setAttribute("cm-text","\t"),e.col+=y}else"\r"==p[0]||"\n"==p[0]?(v=c.appendChild(N("span","\r"==p[0]?"␍":"␤","cm-invalidchar")),v.setAttribute("cm-text",p[0]),e.col+=1):(v=e.cm.options.specialCharPlaceholder(p[0]),v.setAttribute("cm-text",p[0]),a&&s<9?c.appendChild(N("span",[v])):c.appendChild(v),e.col+=1);e.map.push(e.pos,e.pos+1,v),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(d=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),n||r||i||d||o||l){var w=n||"";r&&(w+=r),i&&(w+=i);var x=N("span",[c],w,o);if(l)for(var k in l)l.hasOwnProperty(k)&&"style"!=k&&"class"!=k&&x.setAttribute(k,l[k]);return e.content.appendChild(x)}e.content.appendChild(c)}}function kn(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;ic&&h.from<=c)break;if(h.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,h.to-c),i,o,null,s,l),o=null,r=r.slice(h.to-c),c=h.to}}}function An(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function Tn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,h,d,f=i.length,p=0,m=1,g="",v=0;;){if(v==p){l=c=u=s="",d=null,h=null,v=1/0;for(var b=[],y=void 0,w=0;wp||k.collapsed&&x.to==p&&x.from==p)){if(null!=x.to&&x.to!=p&&v>x.to&&(v=x.to,c=""),k.className&&(l+=" "+k.className),k.css&&(s=(s?s+";":"")+k.css),k.startStyle&&x.from==p&&(u+=" "+k.startStyle),k.endStyle&&x.to==v&&(y||(y=[])).push(k.endStyle,x.to),k.title&&((d||(d={})).title=k.title),k.attributes)for(var C in k.attributes)(d||(d={}))[C]=k.attributes[C];k.collapsed&&(!h||Jt(h.marker,k)<0)&&(h=x)}else x.from>p&&v>x.from&&(v=x.from)}if(y)for(var A=0;A=f)break;var S=Math.min(f,v);while(1){if(g){var E=p+g.length;if(!h){var M=E>S?g.slice(0,S-p):g;t.addToken(t,M,a?a+l:l,u,p+M.length==v?c:"",s,d)}if(E>=S){g=g.slice(S-p),p=S;break}p=E,u=""}g=i.slice(o,o=n[m++]),a=bn(n[m++],t.cm.options)}}else for(var O=1;O2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}function nr(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var r=0;rn)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}}function rr(e,t){t=nn(t);var n=ot(t),r=e.display.externalMeasured=new Sn(e.doc,t,n);r.lineN=n;var i=r.built=yn(e,r);return r.text=i.pre,O(e.display.lineMeasure,i.pre),r}function ir(e,t,n,r){return sr(e,ar(e,t),n,r)}function or(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt)&&(o=l-s,i=o-1,t>=l&&(a="right")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)while(c&&e[c-2]==e[c-3]&&e[c-1].insertLeft)r=e[2+(c-=3)],a="left";if("right"==n&&i==l-s)while(c=0;i--)if((n=e[i]).left!=n.right)break;return n}function dr(e,t,n,r){var i,o=ur(t.map,n,r),l=o.node,c=o.start,u=o.end,h=o.collapse;if(3==l.nodeType){for(var d=0;d<4;d++){while(c&&ue(t.line.text.charAt(o.coverStart+c)))--c;while(o.coverStart+u0&&(h=r="right"),i=e.options.lineWrapping&&(f=l.getClientRects()).length>1?f["right"==r?f.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var p=l.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+Ir(e.display),top:p.top,bottom:p.bottom}:cr}for(var m=i.top-t.rect.top,g=i.bottom-t.rect.top,v=(m+g)/2,b=t.view.measure.heights,y=0;y=r.text.length?(l=r.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return a("before"==c?l-1:l,"before"==c);function u(e,t,n){var r=s[t],i=1==r.level;return a(n?e-1:e,i!=n)}var h=me(s,l,c),d=pe,f=u(l,h,"before"==c);return null!=d&&(f.other=u(l,d,"before"!=c)),f}function Ar(e,t){var n=0;t=gt(e.doc,t),e.options.lineWrapping||(n=Ir(e.display)*t.ch);var r=tt(e.doc,t.line),i=un(r)+Xn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Tr(e,t,n,r,i){var o=ct(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Sr(e,t,n){var r=e.doc;if(n+=e.display.viewOffset,n<0)return Tr(r.first,0,null,-1,-1);var i=at(r,n),o=r.first+r.size-1;if(i>o)return Tr(r.first+r.size-1,tt(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=tt(r,i);;){var s=Nr(e,a,i,t,n),l=en(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=tt(r,i=c.line)}}function Er(e,t,n,r){r-=yr(t);var i=t.text.length,o=de((function(t){return sr(e,n,t-1).bottom<=r}),i,0);return i=de((function(t){return sr(e,n,t).top>r}),o,i),{begin:o,end:i}}function Mr(e,t,n,r){n||(n=ar(e,t));var i=wr(e,t,sr(e,n,r),"line").top;return Er(e,t,n,i)}function Or(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Nr(e,t,n,r,i){i-=un(t);var o=ar(e,t),a=yr(t),s=0,l=t.text.length,c=!0,u=ve(t,e.doc.direction);if(u){var h=(e.options.lineWrapping?Dr:Lr)(e,t,n,o,u,r,i);c=1!=h.level,s=c?h.from:h.to-1,l=c?h.to:h.from-1}var d,f,p=null,m=null,g=de((function(t){var n=sr(e,o,t);return n.top+=a,n.bottom+=a,!!Or(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(p=t,m=n),!0)}),s,l),v=!1;if(m){var b=r-m.left=w.bottom?1:0}return g=he(t.text,g,1),Tr(n,g,f,v,r-d)}function Lr(e,t,n,r,i,o,a){var s=de((function(s){var l=i[s],c=1!=l.level;return Or(Cr(e,ct(n,c?l.to:l.from,c?"before":"after"),"line",t,r),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=Cr(e,ct(n,c?l.from:l.to,c?"after":"before"),"line",t,r);Or(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l}function Dr(e,t,n,r,i,o,a){var s=Er(e,t,r,a),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,h=null,d=0;d=c||f.to<=l)){var p=1!=f.level,m=sr(e,r,p?Math.min(c,f.to)-1:Math.max(l,f.from)).right,g=mg)&&(u=f,h=g)}}return u||(u=i[i.length-1]),u.fromc&&(u={from:u.from,to:c,level:u.level}),u}function Pr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==lr){lr=N("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)lr.appendChild(document.createTextNode("x")),lr.appendChild(N("br"));lr.appendChild(document.createTextNode("x"))}O(e.measure,lr);var n=lr.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),M(e.measure),n||1}function Ir(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=N("span","xxxxxxxxxx"),n=N("pre",[t],"CodeMirror-line-like");O(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function Rr(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:Fr(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Fr(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function zr(e){var t=Pr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/Ir(e.display)-3);return function(i){if(ln(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a0&&(l=tt(e.doc,c.line).text).length==c.ch){var u=W(l,l.length,e.options.tabSize)-l.length;c=ct(c.line,Math.max(0,Math.round((o-Qn(e.display).left)/Ir(e.display))-u))}return c}function Hr(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var n=e.display.view,r=0;rt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)It&&an(e.doc,t)i.viewFrom?Wr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Wr(e);else if(t<=i.viewFrom){var o=Gr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Wr(e)}else if(n>=i.viewTo){var a=Gr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):Wr(e)}else{var s=Gr(e,t,t,-1),l=Gr(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(En(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):Wr(e)}var c=i.externalMeasured;c&&(n=i.lineN&&t=r.viewTo)){var o=r.view[Hr(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==V(a,n)&&a.push(n)}}}function Wr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Gr(e,t,n,r){var i,o=Hr(e,t),a=e.display.view;if(!It||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}while(an(e.doc,n)!=n){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function Vr(e,t,n){var r=e.display,i=r.view;0==i.length||t>=r.viewTo||n<=r.viewFrom?(r.view=En(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=En(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,Hr(e,n)))),r.viewTo=n}function Yr(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo||l.to().line0?a:e.defaultCharWidth())+"px"}if(r.other){var s=n.appendChild(N("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));s.style.display="",s.style.left=r.other.left+"px",s.style.top=r.other.top+"px",s.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Jr(e,t){return e.top-t.top||e.left-t.left}function Qr(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=Qn(e.display),s=a.left,l=Math.max(r.sizerWidth,$n(e)-r.sizer.offsetLeft)-a.right,c="ltr"==i.direction;function u(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(N("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?l-e:n)+"px;\n height: "+(r-t)+"px"))}function h(t,n,r){var o,a,h=tt(i,t),d=h.text.length;function f(n,r){return kr(e,ct(t,n),"div",h,r)}function p(t,n,r){var i=Mr(e,h,null,t),o="ltr"==n==("after"==r)?"left":"right",a="after"==r?i.begin:i.end-(/\s/.test(h.text.charAt(i.end-1))?2:1);return f(a,o)[o]}var m=ve(h,i.direction);return fe(m,n||0,null==r?d:r,(function(e,t,i,h){var g="ltr"==i,v=f(e,g?"left":"right"),b=f(t-1,g?"right":"left"),y=null==n&&0==e,w=null==r&&t==d,x=0==h,k=!m||h==m.length-1;if(b.top-v.top<=3){var C=(c?y:w)&&x,A=(c?w:y)&&k,T=C?s:(g?v:b).left,S=A?l:(g?b:v).right;u(T,v.top,S-T,v.bottom)}else{var E,M,O,N;g?(E=c&&y&&x?s:v.left,M=c?l:p(e,i,"before"),O=c?s:p(t,i,"after"),N=c&&w&&k?l:b.right):(E=c?p(e,i,"before"):s,M=!c&&y&&x?l:v.right,O=!c&&w&&k?s:b.left,N=c?p(t,i,"after"):l),u(E,v.top,M-E,v.bottom),v.bottom0?t.blinker=setInterval((function(){e.hasFocus()||ni(e),t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function $r(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||ti(e))}function ei(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&ni(e))}),100)}function ti(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(ke(e,"focus",e,t),e.state.focused=!0,I(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),_r(e))}function ni(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ke(e,"blur",e,t),e.state.focused=!1,E(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function ri(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=Math.max(0,t.scroller.getBoundingClientRect().top),i=t.lineDiv.getBoundingClientRect().top,o=0,l=0;l.005||m<-.005)&&(ie.display.sizerWidth){var v=Math.ceil(d/Ir(e.display));v>e.display.maxLineLength&&(e.display.maxLineLength=v,e.display.maxLine=c.line,e.display.maxLineChanged=!0)}}}Math.abs(o)>2&&(t.scroller.scrollTop+=o)}function ii(e){if(e.widgets)for(var t=0;t=a&&(o=at(t,un(tt(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function ai(e,t){if(!Ce(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null,o=n.wrapper.ownerDocument;if(t.top+r.top<0?i=!0:t.bottom+r.top>(o.defaultView.innerHeight||o.documentElement.clientHeight)&&(i=!1),null!=i&&!m){var a=N("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Xn(e.display))+"px;\n height: "+(t.bottom-t.top+_n(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(a),a.scrollIntoView(i),e.display.lineSpace.removeChild(a)}}}function si(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n="before"==t.sticky?ct(t.line,t.ch+1,"before"):t,t=t.ch?ct(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t);for(var o=0;o<5;o++){var a=!1,s=Cr(e,t),l=n&&n!=t?Cr(e,n):s;i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r};var c=ci(e,i),u=e.doc.scrollTop,h=e.doc.scrollLeft;if(null!=c.scrollTop&&(gi(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(bi(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-h)>1&&(a=!0)),!a)break}return i}function li(e,t){var n=ci(e,t);null!=n.scrollTop&&gi(e,n.scrollTop),null!=n.scrollLeft&&bi(e,n.scrollLeft)}function ci(e,t){var n=e.display,r=Pr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=er(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Jn(n),l=t.tops-r;if(t.topi+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var h=e.options.fixedGutter?0:n.gutters.offsetWidth,d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-h,f=$n(e)-n.gutters.offsetWidth,p=t.right-t.left>f;return p&&(t.right=t.left+f),t.left<10?a.scrollLeft=0:t.leftf+d-3&&(a.scrollLeft=t.right+(p?0:10)-f),a}function ui(e,t){null!=t&&(pi(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function hi(e){pi(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function di(e,t,n){null==t&&null==n||pi(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function fi(e,t){pi(e),e.curOp.scrollToPos=t}function pi(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=Ar(e,t.from),r=Ar(e,t.to);mi(e,n,r,t.margin)}}function mi(e,t,n,r){var i=ci(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});di(e,i.scrollLeft,i.scrollTop)}function gi(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||Ki(e,{top:t}),vi(e,t,!0),n&&Ki(e),ji(e,100))}function vi(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function bi(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,Qi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function yi(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Jn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+_n(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var wi=function(e,t,n){this.cm=n;var r=this.vert=N("div",[N("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=N("div",[N("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),ye(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),ye(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};wi.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},wi.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},wi.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},wi.prototype.zeroWidthHack=function(){var e=y&&!p?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new G,this.disableVert=new G},wi.prototype.enableZeroWidthBar=function(e,t,n){function r(){var i=e.getBoundingClientRect(),o="vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1);o!=e?e.style.visibility="hidden":t.set(1e3,r)}e.style.visibility="",t.set(1e3,r)},wi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var xi=function(){};function ki(e,t){t||(t=yi(e));var n=e.display.barWidth,r=e.display.barHeight;Ci(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&ri(e),Ci(e,yi(e)),n=e.display.barWidth,r=e.display.barHeight}function Ci(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}xi.prototype.update=function(){return{bottom:0,right:0}},xi.prototype.setScrollLeft=function(){},xi.prototype.setScrollTop=function(){},xi.prototype.clear=function(){};var Ai={native:wi,null:xi};function Ti(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&E(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Ai[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),ye(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?bi(e,t):gi(e,t)}),e),e.display.scrollbars.addClass&&I(e.display.wrapper,e.display.scrollbars.addClass)}var Si=0;function Ei(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Si,markArrays:null},On(e.curOp)}function Mi(e){var t=e.curOp;t&&Ln(t,(function(e){for(var t=0;t=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Ui(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Li(e){e.updatedDisplay=e.mustUpdate&&Vi(e.cm,e.update)}function Di(e){var t=e.cm,n=t.display;e.updatedDisplay&&ri(t),e.barMeasure=yi(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=ir(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+_n(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-$n(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Pi(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft=e.display.viewTo)){var n=+new Date+e.options.workTime,r=Ct(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Qe(t.mode,r.state):null,l=xt(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var h=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),d=0;!h&&dn)return ji(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Ri(e,(function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==Yr(e))return!1;_i(e)&&(Wr(e),t.dims=Rr(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),It&&(o=an(e.doc,o),a=sn(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;Vr(e,o,a),n.viewOffset=un(tt(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=Yr(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=Wi(e);return l>4&&(n.lineDiv.style.display="none"),Zi(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Gi(c),M(n.cursorDiv),M(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ji(e,400)),n.updateLineNumbers=null,!0}function Yi(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=$n(e))r&&(t.visible=oi(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Jn(e.display)-er(e),n.top)}),t.visible=oi(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!Vi(e,t))break;ri(e);var i=yi(e);Kr(e),ki(e,i),Ji(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Ki(e,t){var n=new Ui(e,t);if(Vi(e,n)){ri(e),Yi(e,n);var r=yi(e);Kr(e),ki(e,r),Ji(e,r),n.finish()}}function Zi(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=r.view,u=r.viewFrom,h=0;h-1&&(f=!1),Rn(e,d,u,n)),f&&(M(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(lt(e.options,u)))),a=d.node.nextSibling}else{var p=Wn(e,d,u,n);o.insertBefore(p,a)}u+=d.size}while(a)a=s(a)}function Xi(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",Pn(e,"gutterChanged",e)}function Ji(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+_n(e)+"px"}function Qi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=Fr(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a=105&&(o.wrapper.style.clipPath="inset(0px)"),o.wrapper.setAttribute("translate","no"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&b||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=$i(i.gutters,i.lineNumbers),eo(o),r.init(o)}Ui.prototype.signal=function(e,t){Te(e,t)&&this.events.push(arguments)},Ui.prototype.finish=function(){for(var e=0;ec.clientWidth,p=c.scrollHeight>c.clientHeight;if(i&&f||o&&p){if(o&&y&&l)e:for(var m=t.target,g=s.view;m!=c;m=m.parentNode)for(var v=0;v=0&&ut(e,r.to())<=0)return n}return-1};var co=function(e,t){this.anchor=e,this.head=t};function uo(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return ut(e.from(),t.from())})),n=V(t,i);for(var o=1;o0:l>=0){var c=pt(s.from(),a.from()),u=ft(s.to(),a.to()),h=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new co(h?u:c,h?c:u))}}return new lo(t,n)}function ho(e,t){return new lo([new co(e,t||e)],0)}function fo(e){return e.text?ct(e.from.line+e.text.length-1,ee(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function po(e,t){if(ut(e,t.from)<0)return e;if(ut(e,t.to)<=0)return fo(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=fo(t).ch-t.to.ch),ct(n,r)}function mo(e,t){for(var n=[],r=0;r1&&e.remove(s.line+1,p-1),e.insert(s.line+1,v)}Pn(e,"change",e,t)}function ko(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a1&&!e.done[e.done.length-2].ranges?(e.done.pop(),ee(e.done)):void 0}function No(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=Oo(i,i.lastOp==r)))a=ee(o.changes),0==ut(t.from,t.to)&&0==ut(t.from,a.to)?a.to=fo(t):o.changes.push(Eo(e,t));else{var l=ee(i.done);l&&l.ranges||Po(e.sel,i.done),o={changes:[Eo(e,t)],generation:i.generation},i.done.push(o);while(i.done.length>i.undoDepth)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||ke(e,"historyAdded")}function Lo(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Do(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||Lo(e,o,ee(i.done),t))?i.done[i.done.length-1]=t:Po(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Mo(i.undone)}function Po(e,t){var n=ee(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Io(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function Ro(e){if(!e)return null;for(var t,n=0;n-1&&(ee(s)[h]=c[h],delete c[h])}}}return r}function jo(e,t,n,r){if(r){var i=e.anchor;if(n){var o=ut(t,i)<0;o!=ut(n,i)<0?(i=t,t=n):o!=ut(t,n)<0&&(t=n)}return new co(i,t)}return new co(n||t,t)}function Ho(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Yo(e,new lo([jo(e.sel.primary(),t,n,i)],0),r)}function Uo(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:s.to>t.ch))){if(i&&(ke(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var h=l.find(r<0?1:-1),d=void 0;if((r<0?u:c)&&(h=$o(e,h,-r,h&&h.line==t.line?o:null)),h&&h.line==t.line&&(d=ut(h,n))&&(r<0?d<0:d>0))return Qo(e,h,t,r,i)}var f=l.find(r<0?-1:1);return(r<0?c:u)&&(f=$o(e,f,r,f.line==t.line?o:null)),f?Qo(e,f,t,r,i):null}}return t}function _o(e,t,n,r,i){var o=r||1,a=Qo(e,t,n,o,i)||!i&&Qo(e,t,n,o,!0)||Qo(e,t,n,-o,i)||!i&&Qo(e,t,n,-o,!0);return a||(e.cantEdit=!0,ct(e.first,0))}function $o(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?gt(e,ct(t.line-1)):null:n>0&&t.ch==(r||tt(e,t.line)).text.length?t.line=0;--i)ra(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else ra(e,t)}}function ra(e,t){if(1!=t.text.length||""!=t.text[0]||0!=ut(t.from,t.to)){var n=mo(e,t);No(e,t,n,e.cm?e.cm.curOp.id:NaN),aa(e,t,n,Wt(e,t));var r=[];ko(e,(function(e,n){n||-1!=V(r,e.history)||(ha(e.history,t),r.push(e.history)),aa(e,t,null,Wt(e,t))}))}}function ia(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,c=0;c=0;--f){var p=d(f);if(p)return p.v}}}}function oa(e,t){if(0!=t&&(e.first+=t,e.sel=new lo(te(e.sel.ranges,(function(e){return new co(ct(e.anchor.line+t,e.anchor.ch),ct(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){Ur(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:ct(o,tt(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=nt(e,t.from,t.to),n||(n=mo(e,t)),e.cm?sa(e.cm,t,r):xo(e,t,r),Ko(e,n,Z),e.cantEdit&&_o(e,ct(e.firstLine(),0))&&(e.cantEdit=!1)}}function sa(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=ot(nn(tt(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&Ae(e),xo(r,t,n,zr(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=hn(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),Dt(r,o.line),ji(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?Ur(e):o.line!=a.line||1!=t.text.length||wo(e.doc,t)?Ur(e,o.line,a.line+1,c):qr(e,o.line,"text");var u=Te(e,"changes"),h=Te(e,"change");if(h||u){var d={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};h&&Pn(e,"change",e,d),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(d)}e.display.selForContextMenu=null}function la(e,t,n,r,i){var o;r||(r=n),ut(r,n)<0&&(o=[r,n],n=o[0],r=o[1]),"string"==typeof t&&(t=e.splitLines(t)),na(e,{from:n,to:r,text:t,origin:i})}function ca(e,t,n,r){n1||!(this.children[0]instanceof fa))){var s=[];this.collapse(s),this.children=[new fa(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var a=i.lines.length%25+25,s=a;s10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=L("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(tn(e,t.line,t,n,o)||t.line!=n.line&&tn(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ft()}o.addToHistory&&No(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(r){c&&o.collapsed&&!c.options.lineWrapping&&nn(r)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&it(r,0),Ht(r,new zt(o,l==t.line?t.ch:null,l==n.line?n.ch:null),e.cm&&e.cm.curOp),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){ln(e,t)&&it(t,0)})),o.clearOnEnter&&ye(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(Rt(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++ba,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)Ur(c,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=n.line;u++)qr(c,u,"text");o.atomic&&Xo(c.doc),Pn(c,"markerAdded",c,o)}return o}ya.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Ei(e),Te(this,"clear")){var n=this.find();n&&Pn(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;oe.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Ur(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Xo(e.doc)),e&&Pn(e,"markerCleared",e,this,r,i),t&&Mi(e),this.parent&&this.parent.clear()}},ya.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i=0;l--)na(this,r[l]);s?Vo(this,s):this.cm&&hi(this.cm)})),undo:Bi((function(){ia(this,"undo")})),redo:Bi((function(){ia(this,"redo")})),undoSelection:Bi((function(){ia(this,"undo",!0)})),redoSelection:Bi((function(){ia(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=gt(this,e),t=gt(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=o,++n})),gt(this,ct(n,t))},indexFromPos:function(e){e=gt(this,e);var t=e.ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var h=e.dataTransfer.getData("Text");if(h){var d;if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),Ko(t.doc,ho(n,n)),d)for(var f=0;f=0;t--)la(e.doc,"",r[t].from,r[t].to,"+delete");hi(e)}))}function Qa(e,t,n){var r=he(e.text,t+n,n);return r<0||r>e.text.length?null:r}function _a(e,t,n){var r=Qa(e,t.ch,n);return null==r?null:new ct(t.line,r,n<0?"after":"before")}function $a(e,t,n,r,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=ve(n,t.doc.direction);if(o){var a,s=i<0?ee(o):o[0],l=i<0==(1==s.level),c=l?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var u=ar(t,n);a=i<0?n.text.length-1:0;var h=sr(t,u,a).top;a=de((function(e){return sr(t,u,e).top==h}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==c&&(a=Qa(n,a,1))}else a=i<0?s.to:s.from;return new ct(r,a,c)}}return new ct(r,i<0?n.text.length:0,i<0?"before":"after")}function es(e,t,n,r){var i=ve(t,e.doc.direction);if(!i)return _a(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=me(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&d>=u.begin)){var f=h?"before":"after";return new ct(n.line,d,f)}}var p=function(e,t,r){for(var o=function(e,t){return t?new ct(n.line,l(e,1),"before"):new ct(n.line,e,"after")};e>=0&&e0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c0?u.end:l(u.begin,-1);return null==g||r>0&&g==t.text.length||(m=p(r>0?0:i.length-1,r,c(g)),!m)?null:m}qa.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},qa.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},qa.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},qa.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},qa["default"]=y?qa.macDefault:qa.pcDefault;var ts={selectAll:ea,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Z)},killLine:function(e){return Ja(e,(function(t){if(t.empty()){var n=tt(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)i=new ct(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),ct(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=tt(e.doc,i.line-1).text;a&&(i=new ct(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),ct(i.line-1,a.length-1),i,"+transpose"))}n.push(new co(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Ri(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r-1&&(ut((i=s.ranges[i]).from(),t)<0||t.xRel>0)&&(ut(i.to(),t)>0||t.xRel<0)?Ss(e,r,t,o):Ms(e,r,t,o)}function Ss(e,t,n,r){var i=e.display,o=!1,c=Fi(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:ei(e)),xe(i.wrapper.ownerDocument,"mouseup",c),xe(i.wrapper.ownerDocument,"mousemove",u),xe(i.scroller,"dragstart",h),xe(i.scroller,"drop",c),o||(Ee(t),r.addNew||Ho(e.doc,n,null,null,r.extend),l&&!f||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},h=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,ye(i.wrapper.ownerDocument,"mouseup",c),ye(i.wrapper.ownerDocument,"mousemove",u),ye(i.scroller,"dragstart",h),ye(i.scroller,"drop",c),e.state.delayingBlurEvent=!0,setTimeout((function(){return i.input.focus()}),20),i.scroller.dragDrop&&i.scroller.dragDrop()}function Es(e,t,n){if("char"==n)return new co(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new co(ct(t.line,0),gt(e.doc,ct(t.line+1,0)));var r=n(e,t);return new co(r.from,r.to)}function Ms(e,t,n,r){a&&ei(e);var i=e.display,o=e.doc;Ee(t);var s,l,c=o.sel,u=c.ranges;if(r.addNew&&!r.extend?(l=o.sel.contains(n),s=l>-1?u[l]:new co(n,n)):(s=o.sel.primary(),l=o.sel.primIndex),"rectangle"==r.unit)r.addNew||(s=new co(n,n)),n=jr(e,t,!0,!0),l=-1;else{var h=Es(e,n,r.unit);s=r.extend?jo(s,h.anchor,h.head,r.extend):h}r.addNew?-1==l?(l=u.length,Yo(o,uo(e,u.concat([s]),l),{scroll:!1,origin:"*mouse"})):u.length>1&&u[l].empty()&&"char"==r.unit&&!r.extend?(Yo(o,uo(e,u.slice(0,l).concat(u.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),c=o.sel):qo(o,l,s,X):(l=0,Yo(o,new lo([s],0),X),c=o.sel);var d=n;function f(t){if(0!=ut(d,t))if(d=t,"rectangle"==r.unit){for(var i=[],a=e.options.tabSize,u=W(tt(o,n.line).text,n.ch,a),h=W(tt(o,t.line).text,t.ch,a),f=Math.min(u,h),p=Math.max(u,h),m=Math.min(n.line,t.line),g=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=g;m++){var v=tt(o,m).text,b=Q(v,f,a);f==p?i.push(new co(ct(m,b),ct(m,b))):v.length>b&&i.push(new co(ct(m,b),ct(m,Q(v,p,a))))}i.length||i.push(new co(n,n)),Yo(o,uo(e,c.ranges.slice(0,l).concat(i),l),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var y,w=s,x=Es(e,t,r.unit),k=w.anchor;ut(x.anchor,k)>0?(y=x.head,k=pt(w.from(),x.anchor)):(y=x.anchor,k=ft(w.to(),x.head));var C=c.ranges.slice(0);C[l]=Os(e,new co(gt(o,k),y)),Yo(o,uo(e,C,l),X)}}var p=i.wrapper.getBoundingClientRect(),m=0;function g(t){var n=++m,a=jr(e,t,!0,"rectangle"==r.unit);if(a)if(0!=ut(a,d)){e.curOp.focus=P(B(e)),f(a);var s=oi(i,o);(a.line>=s.to||a.linep.bottom?20:0;l&&setTimeout(Fi(e,(function(){m==n&&(i.scroller.scrollTop+=l,g(t))})),50)}}function v(t){e.state.selectingText=!1,m=1/0,t&&(Ee(t),i.input.focus()),xe(i.wrapper.ownerDocument,"mousemove",b),xe(i.wrapper.ownerDocument,"mouseup",y),o.history.lastSelOrigin=null}var b=Fi(e,(function(e){0!==e.buttons&&De(e)?g(e):v(e)})),y=Fi(e,v);e.state.selectingText=y,ye(i.wrapper.ownerDocument,"mousemove",b),ye(i.wrapper.ownerDocument,"mouseup",y)}function Os(e,t){var n=t.anchor,r=t.head,i=tt(e.doc,n.line);if(0==ut(n,r)&&n.sticky==r.sticky)return t;var o=ve(i);if(!o)return t;var a=me(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=me(o,r.ch,r.sticky),h=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?h<0:h>0}var d=o[c+(l?-1:0)],f=l==(1==d.level),p=f?d.from:d.to,m=f?"after":"before";return n.ch==p&&n.sticky==m?t:new co(new ct(n.line,p,m),r)}function Ns(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(d){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&Ee(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!Te(e,n))return Oe(t);o-=s.top-a.viewOffset;for(var l=0;l=i){var u=at(e.doc,o),h=e.display.gutterSpecs[l];return ke(e,n,e,u,h.className,t),Oe(t)}}}function Ls(e,t){return Ns(e,t,"gutterClick",!0)}function Ds(e,t){Zn(e.display,t)||Ps(e,t)||Ce(e,t,"contextmenu")||A||e.display.input.onContextMenu(t)}function Ps(e,t){return!!Te(e,"gutterContextMenu")&&Ns(e,t,"gutterContextMenu",!1)}function Is(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),gr(e)}ws.prototype.compare=function(e,t,n){return this.time+ys>e&&0==ut(t,this.pos)&&n==this.button};var Rs={toString:function(){return"CodeMirror.Init"}},Fs={},zs={};function Bs(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Rs&&i(e,t,n)}:i)}e.defineOption=n,e.Init=Rs,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,bo(e)}),!0),n("indentUnit",2,bo,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){yo(e),gr(e),Ur(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(ct(r,o))}r++}));for(var i=n.length-1;i>=0;i--)la(e.doc,t,n[i],ct(n[i].line,n[i].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Rs&&e.refresh()})),n("specialCharPlaceholder",wn,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",b?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n("rtlMoveVisually",!x),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){Is(e),to(e)}),!0),n("keyMap","default",(function(e,t,n){var r=Xa(t),i=n!=Rs&&Xa(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Hs,!0),n("gutters",[],(function(e,t){e.display.gutterSpecs=$i(t,e.options.lineNumbers),to(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?Fr(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return ki(e)}),!0),n("scrollbarStyle","native",(function(e){Ti(e),ki(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=$i(e.options.gutters,t),to(e)}),!0),n("firstLineNumber",1,to,!0),n("lineNumberFormatter",(function(e){return e}),to,!0),n("showCursorWhenSelecting",!1,Kr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(e,t){"nocursor"==t&&(ni(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,js),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,Kr,!0),n("singleCursorHeightPerLine",!0,Kr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,yo,!0),n("addModeClass",!1,yo,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,yo,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),n("phrases",null)}function js(e,t,n){var r=n&&n!=Rs;if(!t!=!r){var i=e.display.dragFunctions,o=t?ye:xe;o(e.display.scroller,"dragstart",i.start),o(e.display.scroller,"dragenter",i.enter),o(e.display.scroller,"dragover",i.over),o(e.display.scroller,"dragleave",i.leave),o(e.display.scroller,"drop",i.drop)}}function Hs(e){e.options.lineWrapping?(I(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(E(e.display.wrapper,"CodeMirror-wrap"),dn(e)),Br(e),Ur(e),gr(e),setTimeout((function(){return ki(e)}),100)}function Us(e,t){var n=this;if(!(this instanceof Us))return new Us(e,t);this.options=t=t?q(t):{},q(Fs,t,!1);var r=t.value;"string"==typeof r?r=new Ea(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Us.inputStyles[t.inputStyle](this),o=this.display=new no(e,r,i,t);for(var c in o.wrapper.CodeMirror=this,Is(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ti(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new G,keySeq:null,specialChars:null},t.autofocus&&!b&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),qs(this),Ra(),Ei(this),this.curOp.forceUpdate=!0,Co(this,r),t.autofocus&&!b||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&ti(n)}),20):ni(this),zs)zs.hasOwnProperty(c)&&zs[c](this,t[c],Rs);_i(this),t.finishInit&&t.finishInit(this);for(var u=0;u400}ye(t.scroller,"touchstart",(function(i){if(!Ce(e,i)&&!o(i)&&!Ls(e,i)){t.input.ensurePolled(),clearTimeout(n);var a=+new Date;t.activeTouch={start:a,moved:!1,prev:a-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),ye(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),ye(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!Zn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,a=e.coordsChar(t.activeTouch,"page");o=!r.prev||l(r,r.prev)?new co(a,a):!r.prev.prev||l(r,r.prev.prev)?e.findWordAt(a):new co(ct(a.line,0),gt(e.doc,ct(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),Ee(n)}i()})),ye(t.scroller,"touchcancel",i),ye(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(gi(e,t.scroller.scrollTop),bi(e,t.scroller.scrollLeft,!0),ke(e,"scroll",e))})),ye(t.scroller,"mousewheel",(function(t){return so(e,t)})),ye(t.scroller,"DOMMouseScroll",(function(t){return so(e,t)})),ye(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){Ce(e,t)||Ne(t)},over:function(t){Ce(e,t)||(La(e,t),Ne(t))},start:function(t){return Na(e,t)},drop:Fi(e,Oa),leave:function(t){Ce(e,t)||Da(e)}};var c=t.input.getField();ye(c,"keyup",(function(t){return ms.call(e,t)})),ye(c,"keydown",Fi(e,fs)),ye(c,"keypress",Fi(e,gs)),ye(c,"focus",(function(t){return ti(e,t)})),ye(c,"blur",(function(t){return ni(e,t)}))}Us.defaults=Fs,Us.optionHandlers=zs;var Ws=[];function Gs(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=Ct(e,t).state:n="prev");var a=e.options.tabSize,s=tt(o,t),l=W(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&(c=o.mode.indent(i,s.text.slice(u.length),s.text),c==K||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?W(tt(o,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var h="",d=0;if(e.options.indentWithTabs)for(var f=Math.floor(c/a);f;--f)d+=a,h+="\t";if(da,l=Be(t),c=null;if(s&&r.ranges.length>1)if(Vs&&Vs.text.join("\n")==t){if(r.ranges.length%Vs.text.length==0){c=[];for(var u=0;u=0;d--){var f=r.ranges[d],p=f.from(),m=f.to();f.empty()&&(n&&n>0?p=ct(p.line,p.ch-n):e.state.overwrite&&!s?m=ct(m.line,Math.min(tt(o,m.line).text.length,m.ch+ee(l).length)):s&&Vs&&Vs.lineWise&&Vs.text.join("\n")==l.join("\n")&&(p=m=ct(p.line,0)));var g={from:p,to:m,text:c?c[d%c.length]:l,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};na(e.doc,g),Pn(e,"inputRead",e,g)}t&&!s&&Xs(e,t),hi(e),e.curOp.updateInput<2&&(e.curOp.updateInput=h),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Zs(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||!t.hasFocus()||Ri(t,(function(){return Ks(t,n,0,null,"paste")})),!0}function Xs(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s-1){a=Gs(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(tt(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Gs(e,i.head.line,"smart"));a&&Pn(e,"electricInput",e,i.head.line)}}}function Js(e){for(var t=[],n=[],r=0;rn&&(Gs(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&hi(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l0&&qo(this.doc,r,new co(o,c[r].to()),Z)}}})),getTokenAt:function(e,t){return Mt(this,e,t)},getLineTokens:function(e,t){return Mt(this,ct(e),t,!0)},getTokenTypeAt:function(e){e=gt(this.doc,e);var t,n=kt(this,tt(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]o&&(e=o,i=!0),r=tt(this.doc,e)}else r=e;return wr(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-un(r):0)},defaultTextHeight:function(){return Pr(this.display)},defaultCharWidth:function(){return Ir(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display;e=Cr(this,gt(this.doc,e));var a=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&li(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:zi(fs),triggerOnKeyPress:zi(gs),triggerOnKeyUp:ms,triggerOnMouseDown:zi(ks),execCommand:function(e){if(ts.hasOwnProperty(e))return ts[e].call(null,this)},triggerElectric:zi((function(e){Xs(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=gt(this.doc,e),a=0;a0&&s(n.charAt(r-1)))--r;while(i.5||this.options.lineWrapping)&&Br(this),ke(this,"refresh",this)})),swapDoc:zi((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Co(this,e),gr(this),this.display.input.reset(),di(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Pn(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Se(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}function el(e,t,n,r,i){var o=t,a=n,s=tt(e,t.line),l=i&&"rtl"==e.direction?-n:n;function c(){var n=t.line+l;return!(n=e.first+e.size)&&(t=new ct(n,t.ch,t.sticky),s=tt(e,n))}function u(o){var a;if("codepoint"==r){var u=s.text.charCodeAt(t.ch+(n>0?0:-1));if(isNaN(u))a=null;else{var h=n>0?u>=55296&&u<56320:u>=56320&&u<57343;a=new ct(t.line,Math.max(0,Math.min(s.text.length,t.ch+n*(h?2:1))),-n)}}else a=i?es(e.cm,s,t,n):_a(s,t,n);if(null==a){if(o||!c())return!1;t=$a(i,e.cm,s,t.line,l)}else t=a;return!0}if("char"==r||"codepoint"==r)u();else if("column"==r)u(!0);else if("word"==r||"group"==r)for(var h=null,d="group"==r,f=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;;p=!1){if(n<0&&!u(!p))break;var m=s.text.charAt(t.ch)||"\n",g=se(m,f)?"w":d&&"\n"==m?"n":!d||/\s/.test(m)?null:"p";if(!d||p||g||(g="s"),h&&h!=g){n<0&&(n=1,u(),t.sticky="after");break}if(g&&(h=g),n>0&&!u(!p))break}var v=_o(e,t,o,a,!0);return ht(o,v)&&(v.hitSide=!0),v}function tl(e,t,n,r){var i,o,a=e.doc,s=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,H(e).innerHeight||a(e).documentElement.clientHeight),c=Math.max(l-.5*Pr(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;;){if(o=Sr(e,s,i),!o.outside)break;if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var nl=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new G,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function rl(e,t){var n=or(e,t.line);if(!n||n.hidden)return null;var r=tt(e.doc,t.line),i=nr(n,r,t.line),o=ve(r,e.doc.direction),a="left";if(o){var s=me(o,t.ch);a=s%2?"right":"left"}var l=ur(i.map,t.ch,a);return l.offset="right"==l.collapse?l.end:l.start,l}function il(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function ol(e,t){return t&&(e.bad=!0),e}function al(e,t,n,r,i){var o="",a=!1,s=e.doc.lineSeparator(),l=!1;function c(e){return function(t){return t.id==e}}function u(){a&&(o+=s,l&&(o+=s),a=l=!1)}function h(e){e&&(u(),o+=e)}function d(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void h(n);var o,f=t.getAttribute("cm-marker");if(f){var p=e.findMarks(ct(r,0),ct(i+1,0),c(+f));return void(p.length&&(o=p[0].find(0))&&h(nt(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var m=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;m&&u();for(var g=0;g=t.display.viewTo||o.line=t.display.viewFrom&&rl(t,i)||{node:l[0].measure.map[2],offset:0},u=o.liner.firstLine()&&(a=ct(a.line-1,tt(r.doc,a.line-1).length)),s.ch==tt(r.doc,s.line).text.length&&s.linei.viewTo-1)return!1;a.line==i.viewFrom||0==(e=Hr(r,a.line))?(t=ot(i.view[0].line),n=i.view[0].node):(t=ot(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,c,u=Hr(r,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=ot(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!n)return!1;var h=r.doc.splitLines(al(r,n,c,t,l)),d=nt(r.doc,ct(t,0),ct(l,tt(r.doc,l).text.length));while(h.length>1&&d.length>1)if(ee(h)==ee(d))h.pop(),d.pop(),l--;else{if(h[0]!=d[0])break;h.shift(),d.shift(),t++}var f=0,p=0,m=h[0],g=d[0],v=Math.min(m.length,g.length);while(fa.ch&&b.charCodeAt(b.length-p-1)==y.charCodeAt(y.length-p-1))f--,p++;h[h.length-1]=b.slice(0,b.length-p).replace(/^\u200b+/,""),h[0]=h[0].slice(f).replace(/\u200b+$/,"");var x=ct(t,f),k=ct(l,d.length?ee(d).length-p:0);return h.length>1||h[0]||ut(x,k)?(la(r.doc,h,x,k,"+input"),!0):void 0},nl.prototype.ensurePolled=function(){this.forceCompositionEnd()},nl.prototype.reset=function(){this.forceCompositionEnd()},nl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},nl.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},nl.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Ri(this.cm,(function(){return Ur(e.cm)}))},nl.prototype.setUneditable=function(e){e.contentEditable="false"},nl.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Fi(this.cm,Ks)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},nl.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},nl.prototype.onContextMenu=function(){},nl.prototype.resetPosition=function(){},nl.prototype.needsContentAttribute=!0;var cl=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new G,this.hasSelection=!1,this.composing=null,this.resetting=!1};function ul(e,t){if(t=t?q(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=P(j(e));t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(ye(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(l){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(xe(e.form,"submit",r),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=Us((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s}function hl(e){e.off=xe,e.on=ye,e.wheelEventPixels=ao,e.Doc=Ea,e.splitLines=Be,e.countColumn=W,e.findColumn=Q,e.isWordChar=ae,e.Pass=K,e.signal=ke,e.Line=fn,e.changeEnd=fo,e.scrollbarModel=Ai,e.Pos=ct,e.cmpPos=ut,e.modes=We,e.mimeModes=Ge,e.resolveMode=Ke,e.getMode=Ze,e.modeExtensions=Xe,e.extendMode=Je,e.copyState=Qe,e.startState=$e,e.innerMode=_e,e.commands=ts,e.keyMap=qa,e.keyName=Za,e.isModifierKey=Ya,e.lookupKey=Va,e.normalizeKeyMap=Ga,e.StringStream=et,e.SharedTextMarker=xa,e.TextMarker=ya,e.LineWidget=ma,e.e_preventDefault=Ee,e.e_stopPropagation=Me,e.e_stop=Ne,e.addClass=I,e.contains=D,e.rmClass=E,e.keyNames=Ba}cl.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!Ce(r,e)){if(r.somethingSelected())Ys({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Js(r);Ys({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,Z):(n.prevInput="",i.value=t.text.join("\n"),F(i))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(i.style.width="0px"),ye(i,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),ye(i,"paste",(function(e){Ce(r,e)||Zs(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),ye(i,"cut",o),ye(i,"copy",o),ye(e.scroller,"paste",(function(t){if(!Zn(e,t)&&!Ce(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),ye(e.lineSpace,"selectstart",(function(t){Zn(e,t)||Ee(t)})),ye(i,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),ye(i,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},cl.prototype.createField=function(e){this.wrapper=_s(),this.textarea=this.wrapper.firstChild;var t=this.cm.options;Qs(this.textarea,t.spellcheck,t.autocorrect,t.autocapitalize)},cl.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},cl.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=Zr(e);if(e.options.moveInputWithCursor){var i=Cr(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},cl.prototype.showSelection=function(e){var t=this.cm,n=t.display;O(n.cursorDiv,e.cursors),O(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},cl.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing&&e)){var t=this.cm;if(this.resetting=!0,t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&F(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null));this.resetting=!1}},cl.prototype.getField=function(){return this.textarea},cl.prototype.supportsTouch=function(){return!1},cl.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!b||P(j(this.textarea))!=this.textarea))try{this.textarea.focus()}catch(e){}},cl.prototype.blur=function(){this.textarea.blur()},cl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},cl.prototype.receivedFocus=function(){this.slowPoll()},cl.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},cl.prototype.fastPoll=function(){var e=!1,t=this;function n(){var r=t.poll();r||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}t.pollingFast=!0,t.polling.set(20,n)},cl.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||this.resetting||!t.state.focused||je(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}var l=0,c=Math.min(r.length,i.length);while(l1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},cl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},cl.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},cl.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=jr(n,e),c=r.scroller.scrollTop;if(o&&!d){var u=n.options.resetSelectionOnContextMenu;u&&-1==n.doc.sel.contains(o)&&Fi(n,Yo)(n.doc,ho(o),Z);var h,f=i.style.cssText,p=t.wrapper.style.cssText,m=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-m.top-5)+"px; left: "+(e.clientX-m.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(h=i.ownerDocument.defaultView.scrollY),r.input.focus(),l&&i.ownerDocument.defaultView.scrollTo(null,h),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=b,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&v(),A){Ne(e);var g=function(){xe(window,"mouseup",g),setTimeout(b,20)};ye(window,"mouseup",g)}else setTimeout(b,50)}function v(){if(null!=i.selectionStart){var e=n.somethingSelected(),o="​"+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"​",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function b(){if(t.contextMenuPending==b&&(t.contextMenuPending=!1,t.wrapper.style.cssText=p,i.style.cssText=f,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&v();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"​"==t.prevInput?Fi(n,ea)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},cl.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},cl.prototype.setUneditable=function(){},cl.prototype.needsContentAttribute=!1,Bs(Us),$s(Us);var dl="iter insert remove copy getEditor constructor".split(" ");for(var fl in Ea.prototype)Ea.prototype.hasOwnProperty(fl)&&V(dl,fl)<0&&(Us.prototype[fl]=function(e){return function(){return e.apply(this.doc,arguments)}}(Ea.prototype[fl]));return Se(Ea),Us.inputStyles={textarea:cl,contenteditable:nl},Us.defineMode=function(e){Us.defaults.mode||"null"==e||(Us.defaults.mode=e),Ve.apply(this,arguments)},Us.defineMIME=Ye,Us.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),Us.defineMIME("text/plain","null"),Us.defineExtension=function(e,t){Us.prototype[e]=t},Us.defineDocExtension=function(e,t){Ea.prototype[e]=t},Us.fromTextArea=ul,hl(Us),Us.version="5.65.16",Us}))},"56d3":function(e,t,n){e.exports=n.p+"img/ziyuan_4.svg"},5703:function(e,t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(){"use strict";var e={};!function(){e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})}}(),function(){e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();var t={};e.d(t,{default:function(){return wo}});var n=function e(t,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r,i,o="KaTeX parse error: "+t,a=n&&n.loc;if(a&&a.start<=a.end){var s=a.lexer.input;r=a.start,i=a.end,r===s.length?o+=" at end of input: ":o+=" at position "+(r+1)+": ";var l,c,u=s.slice(r,i).replace(/[^]/g,"$&̲");l=r>15?"…"+s.slice(r-15,r):s.slice(0,r),c=i+15":">","<":"<",'"':""","'":"'"},c=/[&><"']/g;function u(e){return String(e).replace(c,(function(e){return l[e]}))}var h=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},d=function(e){var t=h(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},f=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},p=function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"},m={contains:i,deflt:o,escape:u,hyphenate:s,getBaseElem:h,isCharacterBox:d,protocolFromUrl:p},g={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:function(e){return"#"+e}},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:function(e,t){return t.push(e),t}},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:function(e){return Math.max(0,e)},cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:function(e){return Math.max(0,e)},cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:function(e){return Math.max(0,e)},cli:"-e, --max-expand ",cliProcessor:function(e){return"Infinity"===e?1/0:parseInt(e)}},globalGroup:{type:"boolean",cli:!1}};function v(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;if("string"!==typeof n)return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var b=function(){function e(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},g)if(g.hasOwnProperty(t)){var n=g[t];this[t]=void 0!==e[t]?n.processor?n.processor(e[t]):e[t]:v(n)}}var t=e.prototype;return t.reportNonstrict=function(e,t,n){var i=this.strict;if("function"===typeof i&&(i=i(e,t,n)),i&&"ignore"!==i){if(!0===i||"error"===i)throw new r("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===i?"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+i+"': "+t+" ["+e+"]")}},t.useStrictBehavior=function(e,t,n){var r=this.strict;if("function"===typeof r)try{r=r(e,t,n)}catch(i){r="error"}return!(!r||"ignore"===r)&&(!0===r||"error"===r||("warn"===r?("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),!1):("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]"),!1)))},t.isTrusted=function(e){e.url&&!e.protocol&&(e.protocol=m.protocolFromUrl(e.url));var t="function"===typeof this.trust?this.trust(e):this.trust;return Boolean(t)},e}(),y=function(){function e(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}var t=e.prototype;return t.sup=function(){return M[O[this.id]]},t.sub=function(){return M[N[this.id]]},t.fracNum=function(){return M[L[this.id]]},t.fracDen=function(){return M[D[this.id]]},t.cramp=function(){return M[P[this.id]]},t.text=function(){return M[I[this.id]]},t.isTight=function(){return this.size>=2},e}(),w=0,x=1,k=2,C=3,A=4,T=5,S=6,E=7,M=[new y(w,0,!1),new y(x,0,!0),new y(k,1,!1),new y(C,1,!0),new y(A,2,!1),new y(T,2,!0),new y(S,3,!1),new y(E,3,!0)],O=[A,T,A,T,S,E,S,E],N=[T,T,T,T,E,E,E,E],L=[k,C,A,T,S,E,S,E],D=[C,C,T,T,E,E,E,E],P=[x,x,C,C,T,T,E,E],I=[w,x,k,C,k,C,k,C],R={DISPLAY:M[w],TEXT:M[k],SCRIPT:M[A],SCRIPTSCRIPT:M[S]},F=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function z(e){for(var t=0;t=i[0]&&e<=i[1])return n.name}return null}var B=[];function j(e){for(var t=0;t=B[t]&&e<=B[t+1])return!0;return!1}F.forEach((function(e){return e.blocks.forEach((function(e){return B.push.apply(B,e)}))}));var H=80,U=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},q=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},W=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},G=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"},V=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},Y=function(e){var t=e/2;return"M400000 "+e+" H0 L"+t+" 0 l65 45 L145 "+(e-80)+" H400000z"},K=function(e,t,n){var r=n-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+r+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"},Z=function(e,t,n){t*=1e3;var r="";switch(e){case"sqrtMain":r=U(t,H);break;case"sqrtSize1":r=q(t,H);break;case"sqrtSize2":r=W(t,H);break;case"sqrtSize3":r=G(t,H);break;case"sqrtSize4":r=V(t,H);break;case"sqrtTall":r=K(t,H,n)}return r},X=function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}},J={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},Q=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}},_=function(){function e(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var t=e.prototype;return t.hasClass=function(e){return m.contains(this.classes,e)},t.toNode=function(){for(var e=document.createDocumentFragment(),t=0;t=5?0:e>=3?1:2,!ie[t]){var n=ie[t]={cssEmPerMu:ee.quad[t]/18};for(var r in ee)ee.hasOwnProperty(r)&&(n[r]=ee[r][t])}return ie[t]}var ae=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],se=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],le=function(e,t){return t.size<2?e:ae[e-1][t.size-1]},ce=function(){function e(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=se[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}var t=e.prototype;return t.extend=function(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new e(n)},t.havingStyle=function(e){return this.style===e?this:this.extend({style:e,size:le(this.textSize,e)})},t.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},t.havingSize=function(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:se[e-1]})},t.havingBaseStyle=function(t){t=t||this.style.text();var n=le(e.BASESIZE,t);return this.size===n&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})},t.havingBaseSizing=function(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})},t.withColor=function(e){return this.extend({color:e})},t.withPhantom=function(){return this.extend({phantom:!0})},t.withFont=function(e){return this.extend({font:e})},t.withTextFontFamily=function(e){return this.extend({fontFamily:e,font:""})},t.withTextFontWeight=function(e){return this.extend({fontWeight:e,font:""})},t.withTextFontShape=function(e){return this.extend({fontShape:e,font:""})},t.sizingClasses=function(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]},t.baseSizingClasses=function(){return this.size!==e.BASESIZE?["sizing","reset-size"+this.size,"size"+e.BASESIZE]:[]},t.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=oe(this.size)),this._fontMetrics},t.getColor=function(){return this.phantom?"transparent":this.color},e}();ce.BASESIZE=6;var ue=ce,he={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},de={ex:!0,em:!0,mu:!0},fe=function(e){return"string"!==typeof e&&(e=e.unit),e in he||e in de||"ex"===e},pe=function(e,t){var n;if(e.unit in he)n=he[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{var i;if(i=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=i.fontMetrics().xHeight;else{if("em"!==e.unit)throw new r("Invalid unit: '"+e.unit+"'");n=i.fontMetrics().quad}i!==t&&(n*=i.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},me=function(e){return+e.toFixed(4)+"em"},ge=function(e){return e.filter((function(e){return e})).join(" ")},ve=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");var r=t.getColor();r&&(this.style.color=r)}},be=function(e){var t=document.createElement(e);for(var n in t.className=ge(this.classes),this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(var r in this.attributes)this.attributes.hasOwnProperty(r)&&t.setAttribute(r,this.attributes[r]);for(var i=0;i",t},we=function(){function e(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,ve.call(this,e,n,r),this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return m.contains(this.classes,e)},t.toNode=function(){return be.call(this,"span")},t.toMarkup=function(){return ye.call(this,"span")},e}(),xe=function(){function e(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,ve.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return m.contains(this.classes,e)},t.toNode=function(){return be.call(this,"a")},t.toMarkup=function(){return ye.call(this,"a")},e}(),ke=function(){function e(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=n}var t=e.prototype;return t.hasClass=function(e){return m.contains(this.classes,e)},t.toNode=function(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e},t.toMarkup=function(){var e=""+this.alt+"0&&(t=document.createElement("span"),t.style.marginRight=me(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=ge(this.classes)),this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e},t.toMarkup=function(){var e=!1,t="0&&(n+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(r)&&(n+=m.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+m.escape(n)+'"');var i=m.escape(this.text);return e?(t+=">",t+=i,t+="",t):i},e}(),Te=function(){function e(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}var t=e.prototype;return t.toNode=function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);for(var r=0;r":""},e}(),Ee=function(){function e(e){this.attributes=void 0,this.attributes=e||{}}var t=e.prototype;return t.toNode=function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);return t},t.toMarkup=function(){var e=" but got "+String(e)+".")}var Ne={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Le={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},De={math:{},text:{}},Pe=De;function Ie(e,t,n,r,i,o){De[e][i]={font:t,group:n,replace:r},o&&r&&(De[e][r]=De[e][i])}var Re="math",Fe="text",ze="main",Be="ams",je="accent-token",He="bin",Ue="close",qe="inner",We="mathord",Ge="op-token",Ve="open",Ye="punct",Ke="rel",Ze="spacing",Xe="textord";Ie(Re,ze,Ke,"≡","\\equiv",!0),Ie(Re,ze,Ke,"≺","\\prec",!0),Ie(Re,ze,Ke,"≻","\\succ",!0),Ie(Re,ze,Ke,"∼","\\sim",!0),Ie(Re,ze,Ke,"⊥","\\perp"),Ie(Re,ze,Ke,"⪯","\\preceq",!0),Ie(Re,ze,Ke,"⪰","\\succeq",!0),Ie(Re,ze,Ke,"≃","\\simeq",!0),Ie(Re,ze,Ke,"∣","\\mid",!0),Ie(Re,ze,Ke,"≪","\\ll",!0),Ie(Re,ze,Ke,"≫","\\gg",!0),Ie(Re,ze,Ke,"≍","\\asymp",!0),Ie(Re,ze,Ke,"∥","\\parallel"),Ie(Re,ze,Ke,"⋈","\\bowtie",!0),Ie(Re,ze,Ke,"⌣","\\smile",!0),Ie(Re,ze,Ke,"⊑","\\sqsubseteq",!0),Ie(Re,ze,Ke,"⊒","\\sqsupseteq",!0),Ie(Re,ze,Ke,"≐","\\doteq",!0),Ie(Re,ze,Ke,"⌢","\\frown",!0),Ie(Re,ze,Ke,"∋","\\ni",!0),Ie(Re,ze,Ke,"∝","\\propto",!0),Ie(Re,ze,Ke,"⊢","\\vdash",!0),Ie(Re,ze,Ke,"⊣","\\dashv",!0),Ie(Re,ze,Ke,"∋","\\owns"),Ie(Re,ze,Ye,".","\\ldotp"),Ie(Re,ze,Ye,"⋅","\\cdotp"),Ie(Re,ze,Xe,"#","\\#"),Ie(Fe,ze,Xe,"#","\\#"),Ie(Re,ze,Xe,"&","\\&"),Ie(Fe,ze,Xe,"&","\\&"),Ie(Re,ze,Xe,"ℵ","\\aleph",!0),Ie(Re,ze,Xe,"∀","\\forall",!0),Ie(Re,ze,Xe,"ℏ","\\hbar",!0),Ie(Re,ze,Xe,"∃","\\exists",!0),Ie(Re,ze,Xe,"∇","\\nabla",!0),Ie(Re,ze,Xe,"♭","\\flat",!0),Ie(Re,ze,Xe,"ℓ","\\ell",!0),Ie(Re,ze,Xe,"♮","\\natural",!0),Ie(Re,ze,Xe,"♣","\\clubsuit",!0),Ie(Re,ze,Xe,"℘","\\wp",!0),Ie(Re,ze,Xe,"♯","\\sharp",!0),Ie(Re,ze,Xe,"♢","\\diamondsuit",!0),Ie(Re,ze,Xe,"ℜ","\\Re",!0),Ie(Re,ze,Xe,"♡","\\heartsuit",!0),Ie(Re,ze,Xe,"ℑ","\\Im",!0),Ie(Re,ze,Xe,"♠","\\spadesuit",!0),Ie(Re,ze,Xe,"§","\\S",!0),Ie(Fe,ze,Xe,"§","\\S"),Ie(Re,ze,Xe,"¶","\\P",!0),Ie(Fe,ze,Xe,"¶","\\P"),Ie(Re,ze,Xe,"†","\\dag"),Ie(Fe,ze,Xe,"†","\\dag"),Ie(Fe,ze,Xe,"†","\\textdagger"),Ie(Re,ze,Xe,"‡","\\ddag"),Ie(Fe,ze,Xe,"‡","\\ddag"),Ie(Fe,ze,Xe,"‡","\\textdaggerdbl"),Ie(Re,ze,Ue,"⎱","\\rmoustache",!0),Ie(Re,ze,Ve,"⎰","\\lmoustache",!0),Ie(Re,ze,Ue,"⟯","\\rgroup",!0),Ie(Re,ze,Ve,"⟮","\\lgroup",!0),Ie(Re,ze,He,"∓","\\mp",!0),Ie(Re,ze,He,"⊖","\\ominus",!0),Ie(Re,ze,He,"⊎","\\uplus",!0),Ie(Re,ze,He,"⊓","\\sqcap",!0),Ie(Re,ze,He,"∗","\\ast"),Ie(Re,ze,He,"⊔","\\sqcup",!0),Ie(Re,ze,He,"◯","\\bigcirc",!0),Ie(Re,ze,He,"∙","\\bullet",!0),Ie(Re,ze,He,"‡","\\ddagger"),Ie(Re,ze,He,"≀","\\wr",!0),Ie(Re,ze,He,"⨿","\\amalg"),Ie(Re,ze,He,"&","\\And"),Ie(Re,ze,Ke,"⟵","\\longleftarrow",!0),Ie(Re,ze,Ke,"⇐","\\Leftarrow",!0),Ie(Re,ze,Ke,"⟸","\\Longleftarrow",!0),Ie(Re,ze,Ke,"⟶","\\longrightarrow",!0),Ie(Re,ze,Ke,"⇒","\\Rightarrow",!0),Ie(Re,ze,Ke,"⟹","\\Longrightarrow",!0),Ie(Re,ze,Ke,"↔","\\leftrightarrow",!0),Ie(Re,ze,Ke,"⟷","\\longleftrightarrow",!0),Ie(Re,ze,Ke,"⇔","\\Leftrightarrow",!0),Ie(Re,ze,Ke,"⟺","\\Longleftrightarrow",!0),Ie(Re,ze,Ke,"↦","\\mapsto",!0),Ie(Re,ze,Ke,"⟼","\\longmapsto",!0),Ie(Re,ze,Ke,"↗","\\nearrow",!0),Ie(Re,ze,Ke,"↩","\\hookleftarrow",!0),Ie(Re,ze,Ke,"↪","\\hookrightarrow",!0),Ie(Re,ze,Ke,"↘","\\searrow",!0),Ie(Re,ze,Ke,"↼","\\leftharpoonup",!0),Ie(Re,ze,Ke,"⇀","\\rightharpoonup",!0),Ie(Re,ze,Ke,"↙","\\swarrow",!0),Ie(Re,ze,Ke,"↽","\\leftharpoondown",!0),Ie(Re,ze,Ke,"⇁","\\rightharpoondown",!0),Ie(Re,ze,Ke,"↖","\\nwarrow",!0),Ie(Re,ze,Ke,"⇌","\\rightleftharpoons",!0),Ie(Re,Be,Ke,"≮","\\nless",!0),Ie(Re,Be,Ke,"","\\@nleqslant"),Ie(Re,Be,Ke,"","\\@nleqq"),Ie(Re,Be,Ke,"⪇","\\lneq",!0),Ie(Re,Be,Ke,"≨","\\lneqq",!0),Ie(Re,Be,Ke,"","\\@lvertneqq"),Ie(Re,Be,Ke,"⋦","\\lnsim",!0),Ie(Re,Be,Ke,"⪉","\\lnapprox",!0),Ie(Re,Be,Ke,"⊀","\\nprec",!0),Ie(Re,Be,Ke,"⋠","\\npreceq",!0),Ie(Re,Be,Ke,"⋨","\\precnsim",!0),Ie(Re,Be,Ke,"⪹","\\precnapprox",!0),Ie(Re,Be,Ke,"≁","\\nsim",!0),Ie(Re,Be,Ke,"","\\@nshortmid"),Ie(Re,Be,Ke,"∤","\\nmid",!0),Ie(Re,Be,Ke,"⊬","\\nvdash",!0),Ie(Re,Be,Ke,"⊭","\\nvDash",!0),Ie(Re,Be,Ke,"⋪","\\ntriangleleft"),Ie(Re,Be,Ke,"⋬","\\ntrianglelefteq",!0),Ie(Re,Be,Ke,"⊊","\\subsetneq",!0),Ie(Re,Be,Ke,"","\\@varsubsetneq"),Ie(Re,Be,Ke,"⫋","\\subsetneqq",!0),Ie(Re,Be,Ke,"","\\@varsubsetneqq"),Ie(Re,Be,Ke,"≯","\\ngtr",!0),Ie(Re,Be,Ke,"","\\@ngeqslant"),Ie(Re,Be,Ke,"","\\@ngeqq"),Ie(Re,Be,Ke,"⪈","\\gneq",!0),Ie(Re,Be,Ke,"≩","\\gneqq",!0),Ie(Re,Be,Ke,"","\\@gvertneqq"),Ie(Re,Be,Ke,"⋧","\\gnsim",!0),Ie(Re,Be,Ke,"⪊","\\gnapprox",!0),Ie(Re,Be,Ke,"⊁","\\nsucc",!0),Ie(Re,Be,Ke,"⋡","\\nsucceq",!0),Ie(Re,Be,Ke,"⋩","\\succnsim",!0),Ie(Re,Be,Ke,"⪺","\\succnapprox",!0),Ie(Re,Be,Ke,"≆","\\ncong",!0),Ie(Re,Be,Ke,"","\\@nshortparallel"),Ie(Re,Be,Ke,"∦","\\nparallel",!0),Ie(Re,Be,Ke,"⊯","\\nVDash",!0),Ie(Re,Be,Ke,"⋫","\\ntriangleright"),Ie(Re,Be,Ke,"⋭","\\ntrianglerighteq",!0),Ie(Re,Be,Ke,"","\\@nsupseteqq"),Ie(Re,Be,Ke,"⊋","\\supsetneq",!0),Ie(Re,Be,Ke,"","\\@varsupsetneq"),Ie(Re,Be,Ke,"⫌","\\supsetneqq",!0),Ie(Re,Be,Ke,"","\\@varsupsetneqq"),Ie(Re,Be,Ke,"⊮","\\nVdash",!0),Ie(Re,Be,Ke,"⪵","\\precneqq",!0),Ie(Re,Be,Ke,"⪶","\\succneqq",!0),Ie(Re,Be,Ke,"","\\@nsubseteqq"),Ie(Re,Be,He,"⊴","\\unlhd"),Ie(Re,Be,He,"⊵","\\unrhd"),Ie(Re,Be,Ke,"↚","\\nleftarrow",!0),Ie(Re,Be,Ke,"↛","\\nrightarrow",!0),Ie(Re,Be,Ke,"⇍","\\nLeftarrow",!0),Ie(Re,Be,Ke,"⇏","\\nRightarrow",!0),Ie(Re,Be,Ke,"↮","\\nleftrightarrow",!0),Ie(Re,Be,Ke,"⇎","\\nLeftrightarrow",!0),Ie(Re,Be,Ke,"△","\\vartriangle"),Ie(Re,Be,Xe,"ℏ","\\hslash"),Ie(Re,Be,Xe,"▽","\\triangledown"),Ie(Re,Be,Xe,"◊","\\lozenge"),Ie(Re,Be,Xe,"Ⓢ","\\circledS"),Ie(Re,Be,Xe,"®","\\circledR"),Ie(Fe,Be,Xe,"®","\\circledR"),Ie(Re,Be,Xe,"∡","\\measuredangle",!0),Ie(Re,Be,Xe,"∄","\\nexists"),Ie(Re,Be,Xe,"℧","\\mho"),Ie(Re,Be,Xe,"Ⅎ","\\Finv",!0),Ie(Re,Be,Xe,"⅁","\\Game",!0),Ie(Re,Be,Xe,"‵","\\backprime"),Ie(Re,Be,Xe,"▲","\\blacktriangle"),Ie(Re,Be,Xe,"▼","\\blacktriangledown"),Ie(Re,Be,Xe,"■","\\blacksquare"),Ie(Re,Be,Xe,"⧫","\\blacklozenge"),Ie(Re,Be,Xe,"★","\\bigstar"),Ie(Re,Be,Xe,"∢","\\sphericalangle",!0),Ie(Re,Be,Xe,"∁","\\complement",!0),Ie(Re,Be,Xe,"ð","\\eth",!0),Ie(Fe,ze,Xe,"ð","ð"),Ie(Re,Be,Xe,"╱","\\diagup"),Ie(Re,Be,Xe,"╲","\\diagdown"),Ie(Re,Be,Xe,"□","\\square"),Ie(Re,Be,Xe,"□","\\Box"),Ie(Re,Be,Xe,"◊","\\Diamond"),Ie(Re,Be,Xe,"¥","\\yen",!0),Ie(Fe,Be,Xe,"¥","\\yen",!0),Ie(Re,Be,Xe,"✓","\\checkmark",!0),Ie(Fe,Be,Xe,"✓","\\checkmark"),Ie(Re,Be,Xe,"ℶ","\\beth",!0),Ie(Re,Be,Xe,"ℸ","\\daleth",!0),Ie(Re,Be,Xe,"ℷ","\\gimel",!0),Ie(Re,Be,Xe,"ϝ","\\digamma",!0),Ie(Re,Be,Xe,"ϰ","\\varkappa"),Ie(Re,Be,Ve,"┌","\\@ulcorner",!0),Ie(Re,Be,Ue,"┐","\\@urcorner",!0),Ie(Re,Be,Ve,"└","\\@llcorner",!0),Ie(Re,Be,Ue,"┘","\\@lrcorner",!0),Ie(Re,Be,Ke,"≦","\\leqq",!0),Ie(Re,Be,Ke,"⩽","\\leqslant",!0),Ie(Re,Be,Ke,"⪕","\\eqslantless",!0),Ie(Re,Be,Ke,"≲","\\lesssim",!0),Ie(Re,Be,Ke,"⪅","\\lessapprox",!0),Ie(Re,Be,Ke,"≊","\\approxeq",!0),Ie(Re,Be,He,"⋖","\\lessdot"),Ie(Re,Be,Ke,"⋘","\\lll",!0),Ie(Re,Be,Ke,"≶","\\lessgtr",!0),Ie(Re,Be,Ke,"⋚","\\lesseqgtr",!0),Ie(Re,Be,Ke,"⪋","\\lesseqqgtr",!0),Ie(Re,Be,Ke,"≑","\\doteqdot"),Ie(Re,Be,Ke,"≓","\\risingdotseq",!0),Ie(Re,Be,Ke,"≒","\\fallingdotseq",!0),Ie(Re,Be,Ke,"∽","\\backsim",!0),Ie(Re,Be,Ke,"⋍","\\backsimeq",!0),Ie(Re,Be,Ke,"⫅","\\subseteqq",!0),Ie(Re,Be,Ke,"⋐","\\Subset",!0),Ie(Re,Be,Ke,"⊏","\\sqsubset",!0),Ie(Re,Be,Ke,"≼","\\preccurlyeq",!0),Ie(Re,Be,Ke,"⋞","\\curlyeqprec",!0),Ie(Re,Be,Ke,"≾","\\precsim",!0),Ie(Re,Be,Ke,"⪷","\\precapprox",!0),Ie(Re,Be,Ke,"⊲","\\vartriangleleft"),Ie(Re,Be,Ke,"⊴","\\trianglelefteq"),Ie(Re,Be,Ke,"⊨","\\vDash",!0),Ie(Re,Be,Ke,"⊪","\\Vvdash",!0),Ie(Re,Be,Ke,"⌣","\\smallsmile"),Ie(Re,Be,Ke,"⌢","\\smallfrown"),Ie(Re,Be,Ke,"≏","\\bumpeq",!0),Ie(Re,Be,Ke,"≎","\\Bumpeq",!0),Ie(Re,Be,Ke,"≧","\\geqq",!0),Ie(Re,Be,Ke,"⩾","\\geqslant",!0),Ie(Re,Be,Ke,"⪖","\\eqslantgtr",!0),Ie(Re,Be,Ke,"≳","\\gtrsim",!0),Ie(Re,Be,Ke,"⪆","\\gtrapprox",!0),Ie(Re,Be,He,"⋗","\\gtrdot"),Ie(Re,Be,Ke,"⋙","\\ggg",!0),Ie(Re,Be,Ke,"≷","\\gtrless",!0),Ie(Re,Be,Ke,"⋛","\\gtreqless",!0),Ie(Re,Be,Ke,"⪌","\\gtreqqless",!0),Ie(Re,Be,Ke,"≖","\\eqcirc",!0),Ie(Re,Be,Ke,"≗","\\circeq",!0),Ie(Re,Be,Ke,"≜","\\triangleq",!0),Ie(Re,Be,Ke,"∼","\\thicksim"),Ie(Re,Be,Ke,"≈","\\thickapprox"),Ie(Re,Be,Ke,"⫆","\\supseteqq",!0),Ie(Re,Be,Ke,"⋑","\\Supset",!0),Ie(Re,Be,Ke,"⊐","\\sqsupset",!0),Ie(Re,Be,Ke,"≽","\\succcurlyeq",!0),Ie(Re,Be,Ke,"⋟","\\curlyeqsucc",!0),Ie(Re,Be,Ke,"≿","\\succsim",!0),Ie(Re,Be,Ke,"⪸","\\succapprox",!0),Ie(Re,Be,Ke,"⊳","\\vartriangleright"),Ie(Re,Be,Ke,"⊵","\\trianglerighteq"),Ie(Re,Be,Ke,"⊩","\\Vdash",!0),Ie(Re,Be,Ke,"∣","\\shortmid"),Ie(Re,Be,Ke,"∥","\\shortparallel"),Ie(Re,Be,Ke,"≬","\\between",!0),Ie(Re,Be,Ke,"⋔","\\pitchfork",!0),Ie(Re,Be,Ke,"∝","\\varpropto"),Ie(Re,Be,Ke,"◀","\\blacktriangleleft"),Ie(Re,Be,Ke,"∴","\\therefore",!0),Ie(Re,Be,Ke,"∍","\\backepsilon"),Ie(Re,Be,Ke,"▶","\\blacktriangleright"),Ie(Re,Be,Ke,"∵","\\because",!0),Ie(Re,Be,Ke,"⋘","\\llless"),Ie(Re,Be,Ke,"⋙","\\gggtr"),Ie(Re,Be,He,"⊲","\\lhd"),Ie(Re,Be,He,"⊳","\\rhd"),Ie(Re,Be,Ke,"≂","\\eqsim",!0),Ie(Re,ze,Ke,"⋈","\\Join"),Ie(Re,Be,Ke,"≑","\\Doteq",!0),Ie(Re,Be,He,"∔","\\dotplus",!0),Ie(Re,Be,He,"∖","\\smallsetminus"),Ie(Re,Be,He,"⋒","\\Cap",!0),Ie(Re,Be,He,"⋓","\\Cup",!0),Ie(Re,Be,He,"⩞","\\doublebarwedge",!0),Ie(Re,Be,He,"⊟","\\boxminus",!0),Ie(Re,Be,He,"⊞","\\boxplus",!0),Ie(Re,Be,He,"⋇","\\divideontimes",!0),Ie(Re,Be,He,"⋉","\\ltimes",!0),Ie(Re,Be,He,"⋊","\\rtimes",!0),Ie(Re,Be,He,"⋋","\\leftthreetimes",!0),Ie(Re,Be,He,"⋌","\\rightthreetimes",!0),Ie(Re,Be,He,"⋏","\\curlywedge",!0),Ie(Re,Be,He,"⋎","\\curlyvee",!0),Ie(Re,Be,He,"⊝","\\circleddash",!0),Ie(Re,Be,He,"⊛","\\circledast",!0),Ie(Re,Be,He,"⋅","\\centerdot"),Ie(Re,Be,He,"⊺","\\intercal",!0),Ie(Re,Be,He,"⋒","\\doublecap"),Ie(Re,Be,He,"⋓","\\doublecup"),Ie(Re,Be,He,"⊠","\\boxtimes",!0),Ie(Re,Be,Ke,"⇢","\\dashrightarrow",!0),Ie(Re,Be,Ke,"⇠","\\dashleftarrow",!0),Ie(Re,Be,Ke,"⇇","\\leftleftarrows",!0),Ie(Re,Be,Ke,"⇆","\\leftrightarrows",!0),Ie(Re,Be,Ke,"⇚","\\Lleftarrow",!0),Ie(Re,Be,Ke,"↞","\\twoheadleftarrow",!0),Ie(Re,Be,Ke,"↢","\\leftarrowtail",!0),Ie(Re,Be,Ke,"↫","\\looparrowleft",!0),Ie(Re,Be,Ke,"⇋","\\leftrightharpoons",!0),Ie(Re,Be,Ke,"↶","\\curvearrowleft",!0),Ie(Re,Be,Ke,"↺","\\circlearrowleft",!0),Ie(Re,Be,Ke,"↰","\\Lsh",!0),Ie(Re,Be,Ke,"⇈","\\upuparrows",!0),Ie(Re,Be,Ke,"↿","\\upharpoonleft",!0),Ie(Re,Be,Ke,"⇃","\\downharpoonleft",!0),Ie(Re,ze,Ke,"⊶","\\origof",!0),Ie(Re,ze,Ke,"⊷","\\imageof",!0),Ie(Re,Be,Ke,"⊸","\\multimap",!0),Ie(Re,Be,Ke,"↭","\\leftrightsquigarrow",!0),Ie(Re,Be,Ke,"⇉","\\rightrightarrows",!0),Ie(Re,Be,Ke,"⇄","\\rightleftarrows",!0),Ie(Re,Be,Ke,"↠","\\twoheadrightarrow",!0),Ie(Re,Be,Ke,"↣","\\rightarrowtail",!0),Ie(Re,Be,Ke,"↬","\\looparrowright",!0),Ie(Re,Be,Ke,"↷","\\curvearrowright",!0),Ie(Re,Be,Ke,"↻","\\circlearrowright",!0),Ie(Re,Be,Ke,"↱","\\Rsh",!0),Ie(Re,Be,Ke,"⇊","\\downdownarrows",!0),Ie(Re,Be,Ke,"↾","\\upharpoonright",!0),Ie(Re,Be,Ke,"⇂","\\downharpoonright",!0),Ie(Re,Be,Ke,"⇝","\\rightsquigarrow",!0),Ie(Re,Be,Ke,"⇝","\\leadsto"),Ie(Re,Be,Ke,"⇛","\\Rrightarrow",!0),Ie(Re,Be,Ke,"↾","\\restriction"),Ie(Re,ze,Xe,"‘","`"),Ie(Re,ze,Xe,"$","\\$"),Ie(Fe,ze,Xe,"$","\\$"),Ie(Fe,ze,Xe,"$","\\textdollar"),Ie(Re,ze,Xe,"%","\\%"),Ie(Fe,ze,Xe,"%","\\%"),Ie(Re,ze,Xe,"_","\\_"),Ie(Fe,ze,Xe,"_","\\_"),Ie(Fe,ze,Xe,"_","\\textunderscore"),Ie(Re,ze,Xe,"∠","\\angle",!0),Ie(Re,ze,Xe,"∞","\\infty",!0),Ie(Re,ze,Xe,"′","\\prime"),Ie(Re,ze,Xe,"△","\\triangle"),Ie(Re,ze,Xe,"Γ","\\Gamma",!0),Ie(Re,ze,Xe,"Δ","\\Delta",!0),Ie(Re,ze,Xe,"Θ","\\Theta",!0),Ie(Re,ze,Xe,"Λ","\\Lambda",!0),Ie(Re,ze,Xe,"Ξ","\\Xi",!0),Ie(Re,ze,Xe,"Π","\\Pi",!0),Ie(Re,ze,Xe,"Σ","\\Sigma",!0),Ie(Re,ze,Xe,"Υ","\\Upsilon",!0),Ie(Re,ze,Xe,"Φ","\\Phi",!0),Ie(Re,ze,Xe,"Ψ","\\Psi",!0),Ie(Re,ze,Xe,"Ω","\\Omega",!0),Ie(Re,ze,Xe,"A","Α"),Ie(Re,ze,Xe,"B","Β"),Ie(Re,ze,Xe,"E","Ε"),Ie(Re,ze,Xe,"Z","Ζ"),Ie(Re,ze,Xe,"H","Η"),Ie(Re,ze,Xe,"I","Ι"),Ie(Re,ze,Xe,"K","Κ"),Ie(Re,ze,Xe,"M","Μ"),Ie(Re,ze,Xe,"N","Ν"),Ie(Re,ze,Xe,"O","Ο"),Ie(Re,ze,Xe,"P","Ρ"),Ie(Re,ze,Xe,"T","Τ"),Ie(Re,ze,Xe,"X","Χ"),Ie(Re,ze,Xe,"¬","\\neg",!0),Ie(Re,ze,Xe,"¬","\\lnot"),Ie(Re,ze,Xe,"⊤","\\top"),Ie(Re,ze,Xe,"⊥","\\bot"),Ie(Re,ze,Xe,"∅","\\emptyset"),Ie(Re,Be,Xe,"∅","\\varnothing"),Ie(Re,ze,We,"α","\\alpha",!0),Ie(Re,ze,We,"β","\\beta",!0),Ie(Re,ze,We,"γ","\\gamma",!0),Ie(Re,ze,We,"δ","\\delta",!0),Ie(Re,ze,We,"ϵ","\\epsilon",!0),Ie(Re,ze,We,"ζ","\\zeta",!0),Ie(Re,ze,We,"η","\\eta",!0),Ie(Re,ze,We,"θ","\\theta",!0),Ie(Re,ze,We,"ι","\\iota",!0),Ie(Re,ze,We,"κ","\\kappa",!0),Ie(Re,ze,We,"λ","\\lambda",!0),Ie(Re,ze,We,"μ","\\mu",!0),Ie(Re,ze,We,"ν","\\nu",!0),Ie(Re,ze,We,"ξ","\\xi",!0),Ie(Re,ze,We,"ο","\\omicron",!0),Ie(Re,ze,We,"π","\\pi",!0),Ie(Re,ze,We,"ρ","\\rho",!0),Ie(Re,ze,We,"σ","\\sigma",!0),Ie(Re,ze,We,"τ","\\tau",!0),Ie(Re,ze,We,"υ","\\upsilon",!0),Ie(Re,ze,We,"ϕ","\\phi",!0),Ie(Re,ze,We,"χ","\\chi",!0),Ie(Re,ze,We,"ψ","\\psi",!0),Ie(Re,ze,We,"ω","\\omega",!0),Ie(Re,ze,We,"ε","\\varepsilon",!0),Ie(Re,ze,We,"ϑ","\\vartheta",!0),Ie(Re,ze,We,"ϖ","\\varpi",!0),Ie(Re,ze,We,"ϱ","\\varrho",!0),Ie(Re,ze,We,"ς","\\varsigma",!0),Ie(Re,ze,We,"φ","\\varphi",!0),Ie(Re,ze,He,"∗","*",!0),Ie(Re,ze,He,"+","+"),Ie(Re,ze,He,"−","-",!0),Ie(Re,ze,He,"⋅","\\cdot",!0),Ie(Re,ze,He,"∘","\\circ",!0),Ie(Re,ze,He,"÷","\\div",!0),Ie(Re,ze,He,"±","\\pm",!0),Ie(Re,ze,He,"×","\\times",!0),Ie(Re,ze,He,"∩","\\cap",!0),Ie(Re,ze,He,"∪","\\cup",!0),Ie(Re,ze,He,"∖","\\setminus",!0),Ie(Re,ze,He,"∧","\\land"),Ie(Re,ze,He,"∨","\\lor"),Ie(Re,ze,He,"∧","\\wedge",!0),Ie(Re,ze,He,"∨","\\vee",!0),Ie(Re,ze,Xe,"√","\\surd"),Ie(Re,ze,Ve,"⟨","\\langle",!0),Ie(Re,ze,Ve,"∣","\\lvert"),Ie(Re,ze,Ve,"∥","\\lVert"),Ie(Re,ze,Ue,"?","?"),Ie(Re,ze,Ue,"!","!"),Ie(Re,ze,Ue,"⟩","\\rangle",!0),Ie(Re,ze,Ue,"∣","\\rvert"),Ie(Re,ze,Ue,"∥","\\rVert"),Ie(Re,ze,Ke,"=","="),Ie(Re,ze,Ke,":",":"),Ie(Re,ze,Ke,"≈","\\approx",!0),Ie(Re,ze,Ke,"≅","\\cong",!0),Ie(Re,ze,Ke,"≥","\\ge"),Ie(Re,ze,Ke,"≥","\\geq",!0),Ie(Re,ze,Ke,"←","\\gets"),Ie(Re,ze,Ke,">","\\gt",!0),Ie(Re,ze,Ke,"∈","\\in",!0),Ie(Re,ze,Ke,"","\\@not"),Ie(Re,ze,Ke,"⊂","\\subset",!0),Ie(Re,ze,Ke,"⊃","\\supset",!0),Ie(Re,ze,Ke,"⊆","\\subseteq",!0),Ie(Re,ze,Ke,"⊇","\\supseteq",!0),Ie(Re,Be,Ke,"⊈","\\nsubseteq",!0),Ie(Re,Be,Ke,"⊉","\\nsupseteq",!0),Ie(Re,ze,Ke,"⊨","\\models"),Ie(Re,ze,Ke,"←","\\leftarrow",!0),Ie(Re,ze,Ke,"≤","\\le"),Ie(Re,ze,Ke,"≤","\\leq",!0),Ie(Re,ze,Ke,"<","\\lt",!0),Ie(Re,ze,Ke,"→","\\rightarrow",!0),Ie(Re,ze,Ke,"→","\\to"),Ie(Re,Be,Ke,"≱","\\ngeq",!0),Ie(Re,Be,Ke,"≰","\\nleq",!0),Ie(Re,ze,Ze," ","\\ "),Ie(Re,ze,Ze," ","\\space"),Ie(Re,ze,Ze," ","\\nobreakspace"),Ie(Fe,ze,Ze," ","\\ "),Ie(Fe,ze,Ze," "," "),Ie(Fe,ze,Ze," ","\\space"),Ie(Fe,ze,Ze," ","\\nobreakspace"),Ie(Re,ze,Ze,null,"\\nobreak"),Ie(Re,ze,Ze,null,"\\allowbreak"),Ie(Re,ze,Ye,",",","),Ie(Re,ze,Ye,";",";"),Ie(Re,Be,He,"⊼","\\barwedge",!0),Ie(Re,Be,He,"⊻","\\veebar",!0),Ie(Re,ze,He,"⊙","\\odot",!0),Ie(Re,ze,He,"⊕","\\oplus",!0),Ie(Re,ze,He,"⊗","\\otimes",!0),Ie(Re,ze,Xe,"∂","\\partial",!0),Ie(Re,ze,He,"⊘","\\oslash",!0),Ie(Re,Be,He,"⊚","\\circledcirc",!0),Ie(Re,Be,He,"⊡","\\boxdot",!0),Ie(Re,ze,He,"△","\\bigtriangleup"),Ie(Re,ze,He,"▽","\\bigtriangledown"),Ie(Re,ze,He,"†","\\dagger"),Ie(Re,ze,He,"⋄","\\diamond"),Ie(Re,ze,He,"⋆","\\star"),Ie(Re,ze,He,"◃","\\triangleleft"),Ie(Re,ze,He,"▹","\\triangleright"),Ie(Re,ze,Ve,"{","\\{"),Ie(Fe,ze,Xe,"{","\\{"),Ie(Fe,ze,Xe,"{","\\textbraceleft"),Ie(Re,ze,Ue,"}","\\}"),Ie(Fe,ze,Xe,"}","\\}"),Ie(Fe,ze,Xe,"}","\\textbraceright"),Ie(Re,ze,Ve,"{","\\lbrace"),Ie(Re,ze,Ue,"}","\\rbrace"),Ie(Re,ze,Ve,"[","\\lbrack",!0),Ie(Fe,ze,Xe,"[","\\lbrack",!0),Ie(Re,ze,Ue,"]","\\rbrack",!0),Ie(Fe,ze,Xe,"]","\\rbrack",!0),Ie(Re,ze,Ve,"(","\\lparen",!0),Ie(Re,ze,Ue,")","\\rparen",!0),Ie(Fe,ze,Xe,"<","\\textless",!0),Ie(Fe,ze,Xe,">","\\textgreater",!0),Ie(Re,ze,Ve,"⌊","\\lfloor",!0),Ie(Re,ze,Ue,"⌋","\\rfloor",!0),Ie(Re,ze,Ve,"⌈","\\lceil",!0),Ie(Re,ze,Ue,"⌉","\\rceil",!0),Ie(Re,ze,Xe,"\\","\\backslash"),Ie(Re,ze,Xe,"∣","|"),Ie(Re,ze,Xe,"∣","\\vert"),Ie(Fe,ze,Xe,"|","\\textbar",!0),Ie(Re,ze,Xe,"∥","\\|"),Ie(Re,ze,Xe,"∥","\\Vert"),Ie(Fe,ze,Xe,"∥","\\textbardbl"),Ie(Fe,ze,Xe,"~","\\textasciitilde"),Ie(Fe,ze,Xe,"\\","\\textbackslash"),Ie(Fe,ze,Xe,"^","\\textasciicircum"),Ie(Re,ze,Ke,"↑","\\uparrow",!0),Ie(Re,ze,Ke,"⇑","\\Uparrow",!0),Ie(Re,ze,Ke,"↓","\\downarrow",!0),Ie(Re,ze,Ke,"⇓","\\Downarrow",!0),Ie(Re,ze,Ke,"↕","\\updownarrow",!0),Ie(Re,ze,Ke,"⇕","\\Updownarrow",!0),Ie(Re,ze,Ge,"∐","\\coprod"),Ie(Re,ze,Ge,"⋁","\\bigvee"),Ie(Re,ze,Ge,"⋀","\\bigwedge"),Ie(Re,ze,Ge,"⨄","\\biguplus"),Ie(Re,ze,Ge,"⋂","\\bigcap"),Ie(Re,ze,Ge,"⋃","\\bigcup"),Ie(Re,ze,Ge,"∫","\\int"),Ie(Re,ze,Ge,"∫","\\intop"),Ie(Re,ze,Ge,"∬","\\iint"),Ie(Re,ze,Ge,"∭","\\iiint"),Ie(Re,ze,Ge,"∏","\\prod"),Ie(Re,ze,Ge,"∑","\\sum"),Ie(Re,ze,Ge,"⨂","\\bigotimes"),Ie(Re,ze,Ge,"⨁","\\bigoplus"),Ie(Re,ze,Ge,"⨀","\\bigodot"),Ie(Re,ze,Ge,"∮","\\oint"),Ie(Re,ze,Ge,"∯","\\oiint"),Ie(Re,ze,Ge,"∰","\\oiiint"),Ie(Re,ze,Ge,"⨆","\\bigsqcup"),Ie(Re,ze,Ge,"∫","\\smallint"),Ie(Fe,ze,qe,"…","\\textellipsis"),Ie(Re,ze,qe,"…","\\mathellipsis"),Ie(Fe,ze,qe,"…","\\ldots",!0),Ie(Re,ze,qe,"…","\\ldots",!0),Ie(Re,ze,qe,"⋯","\\@cdots",!0),Ie(Re,ze,qe,"⋱","\\ddots",!0),Ie(Re,ze,Xe,"⋮","\\varvdots"),Ie(Re,ze,je,"ˊ","\\acute"),Ie(Re,ze,je,"ˋ","\\grave"),Ie(Re,ze,je,"¨","\\ddot"),Ie(Re,ze,je,"~","\\tilde"),Ie(Re,ze,je,"ˉ","\\bar"),Ie(Re,ze,je,"˘","\\breve"),Ie(Re,ze,je,"ˇ","\\check"),Ie(Re,ze,je,"^","\\hat"),Ie(Re,ze,je,"⃗","\\vec"),Ie(Re,ze,je,"˙","\\dot"),Ie(Re,ze,je,"˚","\\mathring"),Ie(Re,ze,We,"","\\@imath"),Ie(Re,ze,We,"","\\@jmath"),Ie(Re,ze,Xe,"ı","ı"),Ie(Re,ze,Xe,"ȷ","ȷ"),Ie(Fe,ze,Xe,"ı","\\i",!0),Ie(Fe,ze,Xe,"ȷ","\\j",!0),Ie(Fe,ze,Xe,"ß","\\ss",!0),Ie(Fe,ze,Xe,"æ","\\ae",!0),Ie(Fe,ze,Xe,"œ","\\oe",!0),Ie(Fe,ze,Xe,"ø","\\o",!0),Ie(Fe,ze,Xe,"Æ","\\AE",!0),Ie(Fe,ze,Xe,"Œ","\\OE",!0),Ie(Fe,ze,Xe,"Ø","\\O",!0),Ie(Fe,ze,je,"ˊ","\\'"),Ie(Fe,ze,je,"ˋ","\\`"),Ie(Fe,ze,je,"ˆ","\\^"),Ie(Fe,ze,je,"˜","\\~"),Ie(Fe,ze,je,"ˉ","\\="),Ie(Fe,ze,je,"˘","\\u"),Ie(Fe,ze,je,"˙","\\."),Ie(Fe,ze,je,"¸","\\c"),Ie(Fe,ze,je,"˚","\\r"),Ie(Fe,ze,je,"ˇ","\\v"),Ie(Fe,ze,je,"¨",'\\"'),Ie(Fe,ze,je,"˝","\\H"),Ie(Fe,ze,je,"◯","\\textcircled");var Je={"--":!0,"---":!0,"``":!0,"''":!0};Ie(Fe,ze,Xe,"–","--",!0),Ie(Fe,ze,Xe,"–","\\textendash"),Ie(Fe,ze,Xe,"—","---",!0),Ie(Fe,ze,Xe,"—","\\textemdash"),Ie(Fe,ze,Xe,"‘","`",!0),Ie(Fe,ze,Xe,"‘","\\textquoteleft"),Ie(Fe,ze,Xe,"’","'",!0),Ie(Fe,ze,Xe,"’","\\textquoteright"),Ie(Fe,ze,Xe,"“","``",!0),Ie(Fe,ze,Xe,"“","\\textquotedblleft"),Ie(Fe,ze,Xe,"”","''",!0),Ie(Fe,ze,Xe,"”","\\textquotedblright"),Ie(Re,ze,Xe,"°","\\degree",!0),Ie(Fe,ze,Xe,"°","\\degree"),Ie(Fe,ze,Xe,"°","\\textdegree",!0),Ie(Re,ze,Xe,"£","\\pounds"),Ie(Re,ze,Xe,"£","\\mathsterling",!0),Ie(Fe,ze,Xe,"£","\\pounds"),Ie(Fe,ze,Xe,"£","\\textsterling",!0),Ie(Re,Be,Xe,"✠","\\maltese"),Ie(Fe,Be,Xe,"✠","\\maltese");for(var Qe='0123456789/@."',_e=0;_e0)return bt(i,l,r,t,o.concat(c));if(s){var h,d;if("boldsymbol"===s){var f=wt(i,r,t,o,n);h=f.fontName,d=[f.fontClass]}else a?(h=Rt[s].fontName,d=[s]):(h=It(s,t.fontWeight,t.fontShape),d=[s,t.fontWeight,t.fontShape]);if(vt(i,h,r).metrics)return bt(i,h,r,t,o.concat(d));if(Je.hasOwnProperty(i)&&"Typewriter"===h.slice(0,10)){for(var p=[],m=0;mt&&(t=o.height),o.depth>n&&(n=o.depth),o.maxFontSize>r&&(r=o.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},Tt=function(e,t,n,r){var i=new we(e,t,n,r);return At(i),i},St=function(e,t,n,r){return new we(e,t,n,r)},Et=function(e,t,n){var r=Tt([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=me(r.height),r.maxFontSize=1,r},Mt=function(e,t,n,r){var i=new xe(e,t,n,r);return At(i),i},Ot=function(e){var t=new _(e);return At(t),t},Nt=function(e,t){return e instanceof _?Tt([],[e],t):e},Lt=function(e){if("individualShift"===e.positionType){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,i=r,o=1;o0&&(a.push(un(s,t)),s=[]),a.push(i[l]));s.length>0&&a.push(un(s,t)),n?(o=un(nn(n,t,!0)),o.classes=["tag"],a.push(o)):r&&a.push(r);var u=Qt(["katex-html"],a);if(u.setAttribute("aria-hidden","true"),o){var h=o.children[0];h.style.height=me(u.height+u.depth),u.depth&&(h.style.verticalAlign=me(-u.depth))}return u}function dn(e){return new _(e)}var fn=function(){function e(e,t,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=n||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.getAttribute=function(e){return this.attributes[e]},t.toNode=function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=ge(this.classes));for(var n=0;n0&&(e+=' class ="'+m.escape(ge(this.classes))+'"'),e+=">";for(var n=0;n",e},t.toText=function(){return this.children.map((function(e){return e.toText()})).join("")},e}(),pn=function(){function e(e){this.text=void 0,this.text=e}var t=e.prototype;return t.toNode=function(){return document.createTextNode(this.text)},t.toMarkup=function(){return m.escape(this.toText())},t.toText=function(){return this.text},e}(),mn=function(){function e(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?"  ":e>=-.05556&&e<=-.05555?" ⁣":e>=-.1667&&e<=-.1666?" ⁣":e>=-.2223&&e<=-.2222?" ⁣":e>=-.2778&&e<=-.2777?" ⁣":null}var t=e.prototype;return t.toNode=function(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",me(this.width)),e},t.toMarkup=function(){return this.character?""+this.character+"":''},t.toText=function(){return this.character?this.character:" "},e}(),gn={MathNode:fn,TextNode:pn,SpaceNode:mn,newDocumentFragment:dn},vn=function(e,t,n){return!Pe[t][e]||!Pe[t][e].replace||55349===e.charCodeAt(0)||Je.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.slice(4,6)||n.font&&"tt"===n.font.slice(4,6))||(e=Pe[t][e].replace),new gn.TextNode(e)},bn=function(e){return 1===e.length?e[0]:new gn.MathNode("mrow",e)},yn=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var n=t.font;if(!n||"mathnormal"===n)return null;var r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";var i=e.text;if(m.contains(["\\imath","\\jmath"],i))return null;Pe[r][i]&&Pe[r][i].replace&&(i=Pe[r][i].replace);var o=Bt.fontMap[n].fontName;return re(i,o,r)?Bt.fontMap[n].variant:null},wn=function(e,t,n){if(1===e.length){var r=kn(e[0],t);return n&&r instanceof fn&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var i,o=[],a=0;a0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),o.pop())}}}o.push(s),i=s}return o},xn=function(e,t,n){return bn(wn(e,t,n))},kn=function(e,t){if(!e)return new gn.MathNode("mrow");if(Yt[e.type]){var n=Yt[e.type](e,t);return n}throw new r("Got group of unknown type: '"+e.type+"'")};function Cn(e,t,n,r,i){var o,a=wn(e,n);o=1===a.length&&a[0]instanceof fn&&m.contains(["mrow","mtable"],a[0].type)?a[0]:new gn.MathNode("mrow",a);var s=new gn.MathNode("annotation",[new gn.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new gn.MathNode("semantics",[o,s]),c=new gn.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");var u=i?"katex":"katex-mathml";return Bt.makeSpan([u],[c])}var An=function(e){return new ue({style:e.displayMode?R.DISPLAY:R.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Tn=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Bt.makeSpan(n,[e])}return e},Sn=function(e,t,n){var r,i=An(n);if("mathml"===n.output)return Cn(e,t,i,n.displayMode,!0);if("html"===n.output){var o=hn(e,i);r=Bt.makeSpan(["katex"],[o])}else{var a=Cn(e,t,i,n.displayMode,!1),s=hn(e,i);r=Bt.makeSpan(["katex"],[a,s])}return Tn(r,n)},En=function(e,t,n){var r=An(n),i=hn(e,r),o=Bt.makeSpan(["katex"],[i]);return Tn(o,n)},Mn={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},On=function(e){var t=new gn.MathNode("mo",[new gn.TextNode(Mn[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Nn={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Ln=function(e){return"ordgroup"===e.type?e.body.length:1},Dn=function(e,t){function n(){var n=4e5,r=e.label.slice(1);if(m.contains(["widehat","widecheck","widetilde","utilde"],r)){var i,o,a,s=e,l=Ln(s.base);if(l>5)"widehat"===r||"widecheck"===r?(i=420,n=2364,a=.42,o=r+"4"):(i=312,n=2340,a=.34,o="tilde4");else{var c=[1,1,2,2,3,3][l];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][c],i=[0,239,300,360,420][c],a=[0,.24,.3,.3,.36,.42][c],o=r+c):(n=[0,600,1033,2339,2340][c],i=[0,260,286,306,312][c],a=[0,.26,.286,.3,.306,.34][c],o="tilde"+c)}var u=new Se(o),h=new Te([u],{width:"100%",height:me(a),viewBox:"0 0 "+n+" "+i,preserveAspectRatio:"none"});return{span:Bt.makeSvgSpan([],[h],t),minWidth:0,height:a}}var d,f,p=[],g=Nn[r],v=g[0],b=g[1],y=g[2],w=y/1e3,x=v.length;if(1===x){var k=g[3];d=["hide-tail"],f=[k]}else if(2===x)d=["halfarrow-left","halfarrow-right"],f=["xMinYMin","xMaxYMin"];else{if(3!==x)throw new Error("Correct katexImagesData or update code here to support\n "+x+" children.");d=["brace-left","brace-center","brace-right"],f=["xMinYMin","xMidYMin","xMaxYMin"]}for(var C=0;C0&&(i.style.minWidth=me(o)),i},Pn=function(e,t,n,r,i){var o,a=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(o=Bt.makeSpan(["stretchy",t],[],i),"fbox"===t){var s=i.color&&i.getColor();s&&(o.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new Ee({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new Ee({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new Te(l,{width:"100%",height:me(a)});o=Bt.makeSvgSpan([],[c],i)}return o.height=a,o.style.height=me(a),o},In={encloseSpan:Pn,mathMLnode:On,svgSpan:Dn};function Rn(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Fn(e){var t=zn(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function zn(e){return e&&("atom"===e.type||Le.hasOwnProperty(e.type))?e:null}var Bn=function(e,t){var n,r,i;e&&"supsub"===e.type?(r=Rn(e.base,"accent"),n=r.base,e.base=n,i=Oe(cn(e,t)),e.base=r):(r=Rn(e,"accent"),n=r.base);var o=cn(n,t.havingCrampedStyle()),a=r.isShifty&&m.isCharacterBox(n),s=0;if(a){var l=m.getBaseElem(n),c=cn(l,t.havingCrampedStyle());s=Me(c).skew}var u,h="\\c"===r.label,d=h?o.height+o.depth:Math.min(o.height,t.fontMetrics().xHeight);if(r.isStretchy)u=In.svgSpan(r,t),u=Bt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:u,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+me(2*s)+")",marginLeft:me(2*s)}:void 0}]},t);else{var f,p;"\\vec"===r.label?(f=Bt.staticSvg("vec",t),p=Bt.svgData.vec[1]):(f=Bt.makeOrd({mode:r.mode,text:r.label},t,"textord"),f=Me(f),f.italic=0,p=f.width,h&&(d+=f.depth)),u=Bt.makeSpan(["accent-body"],[f]);var g="\\textcircled"===r.label;g&&(u.classes.push("accent-full"),d=o.height);var v=s;g||(v-=p/2),u.style.left=me(v),"\\textcircled"===r.label&&(u.style.top=".2em"),u=Bt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-d},{type:"elem",elem:u}]},t)}var b=Bt.makeSpan(["mord","accent"],[u],t);return i?(i.children[0]=b,i.height=Math.max(b.height,i.height),i.classes[0]="mord",i):b},jn=function(e,t){var n=e.isStretchy?In.mathMLnode(e.label):new gn.MathNode("mo",[vn(e.label,e.mode)]),r=new gn.MathNode("mover",[kn(e.base,t),n]);return r.setAttribute("accent","true"),r},Hn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(e){return"\\"+e})).join("|"));Kt({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(e,t){var n=Xt(t[0]),r=!Hn.test(e.funcName),i=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:Bn,mathmlBuilder:jn}),Kt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:function(e,t){var n=t[0],r=e.parser.mode;return"math"===r&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Bn,mathmlBuilder:jn}),Kt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:function(e,t){var n=cn(e.base,t),r=In.svgSpan(e,t),i="\\utilde"===e.label?.12:0,o=Bt.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},t);return Bt.makeSpan(["mord","accentunder"],[o],t)},mathmlBuilder:function(e,t){var n=In.mathMLnode(e.label),r=new gn.MathNode("munder",[kn(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var Un=function(e){var t=new gn.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Kt({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,n){var r=e.parser,i=e.funcName;return{type:"xArrow",mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder:function(e,t){var n,r=t.style,i=t.havingStyle(r.sup()),o=Bt.wrapFragment(cn(e.body,i,t),t),a="\\x"===e.label.slice(0,2)?"x":"cd";o.classes.push(a+"-arrow-pad"),e.below&&(i=t.havingStyle(r.sub()),n=Bt.wrapFragment(cn(e.below,i,t),t),n.classes.push(a+"-arrow-pad"));var s,l=In.svgSpan(e,t),c=-t.fontMetrics().axisHeight+.5*l.height,u=-t.fontMetrics().axisHeight-.5*l.height-.111;if((o.depth>.25||"\\xleftequilibrium"===e.label)&&(u-=o.depth),n){var h=-t.fontMetrics().axisHeight+n.height+.5*l.height+.111;s=Bt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:u},{type:"elem",elem:l,shift:c},{type:"elem",elem:n,shift:h}]},t)}else s=Bt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:u},{type:"elem",elem:l,shift:c}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),Bt.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder:function(e,t){var n,r=In.mathMLnode(e.label);if(r.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var i=Un(kn(e.body,t));if(e.below){var o=Un(kn(e.below,t));n=new gn.MathNode("munderover",[r,o,i])}else n=new gn.MathNode("mover",[r,i])}else if(e.below){var a=Un(kn(e.below,t));n=new gn.MathNode("munder",[r,a])}else n=Un(),n=new gn.MathNode("mover",[r,n]);return n}});var qn=Bt.makeSpan;function Wn(e,t){var n=nn(e.body,t,!0);return qn([e.mclass],n,t)}function Gn(e,t){var n,r=wn(e.body,t);return"minner"===e.mclass?n=new gn.MathNode("mpadded",r):"mord"===e.mclass?e.isCharacterBox?(n=r[0],n.type="mi"):n=new gn.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new gn.MathNode("mo",r),"mbin"===e.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0em"):"minner"===e.mclass&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}Kt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:Jt(i),isCharacterBox:m.isCharacterBox(i)}},htmlBuilder:Wn,mathmlBuilder:Gn});var Vn=function(e){var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};Kt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(e,t){var n=e.parser;return{type:"mclass",mode:n.mode,mclass:Vn(t[0]),body:Jt(t[1]),isCharacterBox:m.isCharacterBox(t[1])}}}),Kt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(e,t){var n,r=e.parser,i=e.funcName,o=t[1],a=t[0];n="\\stackrel"!==i?Vn(o):"mrel";var s={type:"op",mode:o.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==i,body:Jt(o)},l={type:"supsub",mode:a.mode,base:s,sup:"\\underset"===i?null:a,sub:"\\underset"===i?a:null};return{type:"mclass",mode:r.mode,mclass:n,body:[l],isCharacterBox:m.isCharacterBox(l)}},htmlBuilder:Wn,mathmlBuilder:Gn}),Kt({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser;return{type:"pmb",mode:n.mode,mclass:Vn(t[0]),body:Jt(t[0])}},htmlBuilder:function(e,t){var n=nn(e.body,t,!0),r=Bt.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder:function(e,t){var n=wn(e.body,t),r=new gn.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var Yn={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Kn=function(){return{type:"styling",body:[],mode:"math",style:"display"}},Zn=function(e){return"textord"===e.type&&"@"===e.text},Xn=function(e,t){return("mathord"===e.type||"atom"===e.type)&&e.text===t};function Jn(e,t,n){var r=Yn[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var i=n.callFunction("\\\\cdleft",[t[0]],[]),o={type:"atom",text:r,mode:"math",family:"rel"},a=n.callFunction("\\Big",[o],[]),s=n.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[i,a,s]};return n.callFunction("\\\\cdparent",[l],[]);case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":var c={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[c],[]);default:return{type:"textord",text:" ",mode:"math"}}}function Qn(e){var t=[];e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();while(1){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if("&"!==n&&"\\\\"!==n){if("\\end"===n){0===t[t.length-1].length&&t.pop();break}throw new r("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var i=[],o=[i],a=0;a-1);else{if(!("<>AV".indexOf(u)>-1))throw new r('Expected one of "<>AV=|." after @',s[c]);for(var d=0;d<2;d++){for(var f=!0,p=c+1;p=1114111)throw new r("\\@char with invalid code point "+a);return u<=65535?c=String.fromCharCode(u):(u-=65536,c=String.fromCharCode(55296+(u>>10),56320+(1023&u))),{type:"textord",mode:n.mode,text:c}}});var _n=function(e,t){var n=nn(e.body,t.withColor(e.color),!1);return Bt.makeFragment(n)},$n=function(e,t){var n=wn(e.body,t.withColor(e.color)),r=new gn.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Kt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler:function(e,t){var n=e.parser,r=Rn(t[0],"color-token").color,i=t[1];return{type:"color",mode:n.mode,color:r,body:Jt(i)}},htmlBuilder:_n,mathmlBuilder:$n}),Kt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler:function(e,t){var n=e.parser,r=e.breakOnTokenText,i=Rn(t[0],"color-token").color;n.gullet.macros.set("\\current@color",i);var o=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:o}},htmlBuilder:_n,mathmlBuilder:$n}),Kt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler:function(e,t,n){var r=e.parser,i="["===r.gullet.future().text?r.parseSizeGroup(!0):null,o=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:o,size:i&&Rn(i,"size").value}},htmlBuilder:function(e,t){var n=Bt.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=me(pe(e.size,t)))),n},mathmlBuilder:function(e,t){var n=new gn.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",me(pe(e.size,t)))),n}});var er={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},tr=function(e){var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new r("Expected a control sequence",e);return t},nr=function(e){var t=e.gullet.popToken();return"="===t.text&&(t=e.gullet.popToken()," "===t.text&&(t=e.gullet.popToken())),t},rr=function(e,t,n,r){var i=e.gullet.macros.get(n.text);null==i&&(n.noexpand=!0,i={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};Kt({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler:function(e){var t=e.parser,n=e.funcName;t.consumeSpaces();var i=t.fetch();if(er[i.text])return"\\global"!==n&&"\\\\globallong"!==n||(i.text=er[i.text]),Rn(t.parseFunction(),"internal");throw new r("Invalid token after macro prefix",i)}}),Kt({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var t=e.parser,n=e.funcName,i=t.gullet.popToken(),o=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new r("Expected a control sequence",i);var a,s=0,l=[[]];while("{"!==t.gullet.future().text)if(i=t.gullet.popToken(),"#"===i.text){if("{"===t.gullet.future().text){a=t.gullet.future(),l[s].push("{");break}if(i=t.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new r('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==s+1)throw new r('Argument number "'+i.text+'" out of order');s++,l.push([])}else{if("EOF"===i.text)throw new r("Expected a macro definition");l[s].push(i.text)}var c=t.gullet.consumeArg(),u=c.tokens;return a&&u.unshift(a),"\\edef"!==n&&"\\xdef"!==n||(u=t.gullet.expandTokens(u),u.reverse()),t.gullet.macros.set(o,{tokens:u,numArgs:s,delimiters:l},n===er[n]),{type:"internal",mode:t.mode}}}),Kt({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var t=e.parser,n=e.funcName,r=tr(t.gullet.popToken());t.gullet.consumeSpaces();var i=nr(t);return rr(t,r,i,"\\\\globallet"===n),{type:"internal",mode:t.mode}}}),Kt({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var t=e.parser,n=e.funcName,r=tr(t.gullet.popToken()),i=t.gullet.popToken(),o=t.gullet.popToken();return rr(t,r,o,"\\\\globalfuture"===n),t.gullet.pushToken(o),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var ir=function(e,t,n){var r=Pe.math[e]&&Pe.math[e].replace,i=re(r||e,t,n);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return i},or=function(e,t,n,r){var i=n.havingBaseStyle(t),o=Bt.makeSpan(r.concat(i.sizingClasses(n)),[e],n),a=i.sizeMultiplier/n.sizeMultiplier;return o.height*=a,o.depth*=a,o.maxFontSize=i.sizeMultiplier,o},ar=function(e,t,n){var r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=me(i),e.height-=i,e.depth+=i},sr=function(e,t,n,r,i,o){var a=Bt.makeSymbol(e,"Main-Regular",i,r),s=or(a,t,r,o);return n&&ar(s,r,t),s},lr=function(e,t,n,r){return Bt.makeSymbol(e,"Size"+t+"-Regular",n,r)},cr=function(e,t,n,r,i,o){var a=lr(e,t,i,r),s=or(Bt.makeSpan(["delimsizing","size"+t],[a],r),R.TEXT,r,o);return n&&ar(s,r,R.TEXT),s},ur=function(e,t,n){var r;r="Size1-Regular"===t?"delim-size1":"delim-size4";var i=Bt.makeSpan(["delimsizinginner",r],[Bt.makeSpan([],[Bt.makeSymbol(e,t,n)])]);return{type:"elem",elem:i}},hr=function(e,t,n){var r=$["Size4-Regular"][e.charCodeAt(0)]?$["Size4-Regular"][e.charCodeAt(0)][4]:$["Size1-Regular"][e.charCodeAt(0)][4],i=new Se("inner",X(e,Math.round(1e3*t))),o=new Te([i],{width:me(r),height:me(t),style:"width:"+me(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),a=Bt.makeSvgSpan([],[o],n);return a.height=t,a.style.height=me(t),a.style.width=me(r),{type:"elem",elem:a}},dr=.008,fr={type:"kern",size:-1*dr},pr=["|","\\lvert","\\rvert","\\vert"],mr=["\\|","\\lVert","\\rVert","\\Vert"],gr=function(e,t,n,r,i,o){var a,s,l,c,u="",h=0;a=l=c=e,s=null;var d="Size1-Regular";"\\uparrow"===e?l=c="⏐":"\\Uparrow"===e?l=c="‖":"\\downarrow"===e?a=l="⏐":"\\Downarrow"===e?a=l="‖":"\\updownarrow"===e?(a="\\uparrow",l="⏐",c="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",l="‖",c="\\Downarrow"):m.contains(pr,e)?(l="∣",u="vert",h=333):m.contains(mr,e)?(l="∥",u="doublevert",h=556):"["===e||"\\lbrack"===e?(a="⎡",l="⎢",c="⎣",d="Size4-Regular",u="lbrack",h=667):"]"===e||"\\rbrack"===e?(a="⎤",l="⎥",c="⎦",d="Size4-Regular",u="rbrack",h=667):"\\lfloor"===e||"⌊"===e?(l=a="⎢",c="⎣",d="Size4-Regular",u="lfloor",h=667):"\\lceil"===e||"⌈"===e?(a="⎡",l=c="⎢",d="Size4-Regular",u="lceil",h=667):"\\rfloor"===e||"⌋"===e?(l=a="⎥",c="⎦",d="Size4-Regular",u="rfloor",h=667):"\\rceil"===e||"⌉"===e?(a="⎤",l=c="⎥",d="Size4-Regular",u="rceil",h=667):"("===e||"\\lparen"===e?(a="⎛",l="⎜",c="⎝",d="Size4-Regular",u="lparen",h=875):")"===e||"\\rparen"===e?(a="⎞",l="⎟",c="⎠",d="Size4-Regular",u="rparen",h=875):"\\{"===e||"\\lbrace"===e?(a="⎧",s="⎨",c="⎩",l="⎪",d="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="⎫",s="⎬",c="⎭",l="⎪",d="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(a="⎧",c="⎩",l="⎪",d="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(a="⎫",c="⎭",l="⎪",d="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(a="⎧",c="⎭",l="⎪",d="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(a="⎫",c="⎩",l="⎪",d="Size4-Regular");var f=ir(a,d,i),p=f.height+f.depth,g=ir(l,d,i),v=g.height+g.depth,b=ir(c,d,i),y=b.height+b.depth,w=0,x=1;if(null!==s){var k=ir(s,d,i);w=k.height+k.depth,x=2}var C=p+y+w,A=Math.max(0,Math.ceil((t-C)/(x*v))),T=C+A*x*v,S=r.fontMetrics().axisHeight;n&&(S*=r.sizeMultiplier);var E=T/2-S,M=[];if(u.length>0){var O=T-p-y,N=Math.round(1e3*T),L=Q(u,Math.round(1e3*O)),D=new Se(u,L),P=(h/1e3).toFixed(3)+"em",I=(N/1e3).toFixed(3)+"em",F=new Te([D],{width:P,height:I,viewBox:"0 0 "+h+" "+N}),z=Bt.makeSvgSpan([],[F],r);z.height=N/1e3,z.style.width=P,z.style.height=I,M.push({type:"elem",elem:z})}else{if(M.push(ur(c,d,i)),M.push(fr),null===s){var B=T-p-y+2*dr;M.push(hr(l,B,r))}else{var j=(T-p-y-w)/2+2*dr;M.push(hr(l,j,r)),M.push(fr),M.push(ur(s,d,i)),M.push(fr),M.push(hr(l,j,r))}M.push(fr),M.push(ur(a,d,i))}var H=r.havingBaseStyle(R.TEXT),U=Bt.makeVList({positionType:"bottom",positionData:E,children:M},H);return or(Bt.makeSpan(["delimsizing","mult"],[U],H),R.TEXT,r,o)},vr=80,br=.08,yr=function(e,t,n,r,i){var o=Z(e,r,n),a=new Se(e,o),s=new Te([a],{width:"400em",height:me(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Bt.makeSvgSpan(["hide-tail"],[s],i)},wr=function(e,t){var n,r,i=t.havingBaseSizing(),o=Nr("\\surd",e*i.sizeMultiplier,Mr,i),a=i.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,c=0,u=0;return"small"===o.type?(u=1e3+1e3*s+vr,e<1?a=1:e<1.4&&(a=.7),l=(1+s+br)/a,c=(1+s)/a,n=yr("sqrtMain",l,u,s,t),n.style.minWidth="0.853em",r=.833/a):"large"===o.type?(u=(1e3+vr)*Ar[o.size],c=(Ar[o.size]+s)/a,l=(Ar[o.size]+s+br)/a,n=yr("sqrtSize"+o.size,l,u,s,t),n.style.minWidth="1.02em",r=1/a):(l=e+s+br,c=e+s,u=Math.floor(1e3*e+s)+vr,n=yr("sqrtTall",l,u,s,t),n.style.minWidth="0.742em",r=1.056),n.height=c,n.style.height=me(l),{span:n,advanceWidth:r,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*a}},xr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],kr=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Cr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ar=[0,1.2,1.8,2.4,3],Tr=function(e,t,n,i,o){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),m.contains(xr,e)||m.contains(Cr,e))return cr(e,t,!1,n,i,o);if(m.contains(kr,e))return gr(e,Ar[t],!1,n,i,o);throw new r("Illegal delimiter: '"+e+"'")},Sr=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Er=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"stack"}],Mr=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Or=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},Nr=function(e,t,n,r){for(var i=Math.min(2,3-r.style.size),o=i;ot)return n[o]}return n[n.length-1]},Lr=function(e,t,n,r,i,o){var a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=m.contains(Cr,e)?Sr:m.contains(xr,e)?Mr:Er;var s=Nr(e,t,a,r);return"small"===s.type?sr(e,s.style,n,r,i,o):"large"===s.type?cr(e,s.size,n,r,i,o):gr(e,t,n,r,i,o)},Dr=function(e,t,n,r,i,o){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,s=901,l=5/r.fontMetrics().ptPerEm,c=Math.max(t-a,n+a),u=Math.max(c/500*s,2*c-l);return Lr(e,u,!0,r,i,o)},Pr={sqrtImage:wr,sizedDelim:Tr,sizeToMaxHeight:Ar,customSizedDelim:Lr,leftRightDelim:Dr},Ir={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Rr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Fr(e,t){var n=zn(e);if(n&&m.contains(Rr,n.text))return n;throw new r(n?"Invalid delimiter '"+n.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function zr(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Kt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:function(e,t){var n=Fr(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Ir[e.funcName].size,mclass:Ir[e.funcName].mclass,delim:n.text}},htmlBuilder:function(e,t){return"."===e.delim?Bt.makeSpan([e.mclass]):Pr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.delim&&t.push(vn(e.delim,e.mode));var n=new gn.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=me(Pr.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}}),Kt({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:function(e,t){var n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!==typeof n)throw new r("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Fr(t[0],e).text,color:n}}}),Kt({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:function(e,t){var n=Fr(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var o=Rn(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:o.delim,rightColor:o.color}},htmlBuilder:function(e,t){zr(e);for(var n,r,i=nn(e.body,t,!0,["mopen","mclose"]),o=0,a=0,s=!1,l=0;l-1?"mpadded":"menclose",[kn(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Kt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler:function(e,t,n){var r=e.parser,i=e.funcName,o=Rn(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,body:a}},htmlBuilder:Br,mathmlBuilder:jr}),Kt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler:function(e,t,n){var r=e.parser,i=e.funcName,o=Rn(t[0],"color-token").color,a=Rn(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:a,borderColor:o,body:s}},htmlBuilder:Br,mathmlBuilder:jr}),Kt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(e,t){var n=e.parser;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),Kt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:Br,mathmlBuilder:jr}),Kt({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler:function(e,t){var n=e.parser;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var Hr={};function Ur(e){for(var t=e.type,n=e.names,r=e.props,i=e.handler,o=e.htmlBuilder,a=e.mathmlBuilder,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l1||!h)&&g.pop(),b.length0&&(w+=.25),c.push({pos:w,isDashed:e[t]})}for(x(a[0]),n=0;n0&&(M+=y,A=s)){var V=void 0;(i>0||e.hskipBeforeAndAfter)&&(V=m.deflt(H.pregap,d),0!==V&&(O=Bt.makeSpan(["arraycolsep"],[]),O.style.width=me(V),P.push(O)));var Y=[];for(n=0;n0){var J=Bt.makeLineSpan("hline",t,u),Q=Bt.makeLineSpan("hdashline",t,u),_=[{type:"elem",elem:l,shift:0}];while(c.length>0){var $=c.pop(),ee=$.pos-L;$.isDashed?_.push({type:"elem",elem:Q,shift:ee}):_.push({type:"elem",elem:J,shift:ee})}l=Bt.makeVList({positionType:"individualShift",children:_},t)}if(0===I.length)return Bt.makeSpan(["mord"],[l],t);var te=Bt.makeVList({positionType:"individualShift",children:I},t);return te=Bt.makeSpan(["tag"],[te],t),Bt.makeFragment([l,te])},_r={c:"center ",l:"left ",r:"right "},$r=function(e,t){for(var n=[],r=new gn.MathNode("mtd",[],["mtr-glue"]),i=new gn.MathNode("mtd",[],["mml-eqn-num"]),o=0;o0){var f=e.cols,p="",m=!1,g=0,v=f.length;"separator"===f[0].type&&(h+="top ",g=1),"separator"===f[f.length-1].type&&(h+="bottom ",v-=1);for(var b=g;b0?"left ":"",h+=C[C.length-1].length>0?"right ":"";for(var A=1;A-1?"alignat":"align",a="split"===e.envName,s=Xr(e.parser,{cols:i,addJot:!0,autoTag:a?void 0:Zr(e.envName),emptySingleRow:!0,colSeparationType:o,maxNumCols:a?2:void 0,leqno:e.parser.settings.leqno},"display"),l=0,c={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var u="",h=0;h0&&f&&(g=1),i[p]={type:"align",align:m,pregap:g,postgap:0}}return s.colSeparationType=f?"align":"alignat",s};Ur({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var n=zn(t[0]),i=n?[t[0]]:Rn(t[0],"ordgroup").body,o=i.map((function(e){var t=Fn(e),n=t.text;if(-1!=="lcr".indexOf(n))return{type:"align",align:n};if("|"===n)return{type:"separator",separator:"|"};if(":"===n)return{type:"separator",separator:":"};throw new r("Unknown column alignment: "+n,e)})),a={cols:o,hskipBeforeAndAfter:!0,maxNumCols:o.length};return Xr(e.parser,a,Jr(e.envName))},htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],n="c",i={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if("*"===e.envName.charAt(e.envName.length-1)){var o=e.parser;if(o.consumeSpaces(),"["===o.fetch().text){if(o.consume(),o.consumeSpaces(),n=o.fetch().text,-1==="lcr".indexOf(n))throw new r("Expected l or c or r",o.nextToken);o.consume(),o.consumeSpaces(),o.expect("]"),o.consume(),i.cols=[{type:"align",align:n}]}}var a=Xr(e.parser,i,Jr(e.envName)),s=Math.max.apply(Math,[0].concat(a.body.map((function(e){return e.length}))));return a.cols=new Array(s).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(e){var t={arraystretch:.5},n=Xr(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["subarray"],props:{numArgs:1},handler:function(e,t){var n=zn(t[0]),i=n?[t[0]]:Rn(t[0],"ordgroup").body,o=i.map((function(e){var t=Fn(e),n=t.text;if(-1!=="lc".indexOf(n))return{type:"align",align:n};throw new r("Unknown column alignment: "+n,e)}));if(o.length>1)throw new r("{subarray} can contain only one column");var a={cols:o,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=Xr(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new r("{subarray} can contain only one column");return a},htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler:function(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=Xr(e.parser,t,Jr(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:ei,htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler:function(e){m.contains(["gather","gather*"],e.envName)&&Kr(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Zr(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Xr(e.parser,t,"display")},htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:ei,htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["equation","equation*"],props:{numArgs:0},handler:function(e){Kr(e);var t={autoTag:Zr(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Xr(e.parser,t,"display")},htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["CD"],props:{numArgs:0},handler:function(e){return Kr(e),Qn(e.parser)},htmlBuilder:Qr,mathmlBuilder:$r}),Wr("\\nonumber","\\gdef\\@eqnsw{0}"),Wr("\\notag","\\nonumber"),Kt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(e,t){throw new r(e.funcName+" valid only within array environment")}});var ti=Hr,ni=ti;Kt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(e,t){var n=e.parser,i=e.funcName,o=t[0];if("ordgroup"!==o.type)throw new r("Invalid environment name",o);for(var a="",s=0;s=R.SCRIPT.id?n.text():R.DISPLAY:"text"===e&&n.size===R.DISPLAY.size?n=R.TEXT:"script"===e?n=R.SCRIPT:"scriptscript"===e&&(n=R.SCRIPTSCRIPT),n},si=function(e,t){var n,r=ai(e.size,t.style),i=r.fracNum(),o=r.fracDen();n=t.havingStyle(i);var a=cn(e.numer,n,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;a.height=a.height0?3*h:7*h,p=t.fontMetrics().denom1):(u>0?(d=t.fontMetrics().num2,f=h):(d=t.fontMetrics().num3,f=3*h),p=t.fontMetrics().denom2),c){var w=t.fontMetrics().axisHeight;d-a.depth-(w+.5*u)0&&(t=e,t="."===t?null:t),t};Kt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler:function(e,t){var n,r=e.parser,i=t[4],o=t[5],a=Xt(t[0]),s="atom"===a.type&&"open"===a.family?ui(a.text):null,l=Xt(t[1]),c="atom"===l.type&&"close"===l.family?ui(l.text):null,u=Rn(t[2],"size"),h=null;u.isBlank?n=!0:(h=u.value,n=h.number>0);var d="auto",f=t[3];if("ordgroup"===f.type){if(f.body.length>0){var p=Rn(f.body[0],"textord");d=ci[Number(p.text)]}}else f=Rn(f,"textord"),d=ci[Number(f.text)];return{type:"genfrac",mode:r.mode,numer:i,denom:o,continued:!1,hasBarLine:n,barSize:h,leftDelim:s,rightDelim:c,size:d}},htmlBuilder:si,mathmlBuilder:li}),Kt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(e,t){var n=e.parser,r=(e.funcName,e.token);return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Rn(t[0],"size").value,token:r}}}),Kt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(e,t){var n=e.parser,r=(e.funcName,t[0]),i=f(Rn(t[1],"infix").size),o=t[2],a=i.number>0;return{type:"genfrac",mode:n.mode,numer:r,denom:o,continued:!1,hasBarLine:a,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:si,mathmlBuilder:li});var hi=function(e,t){var n,r,i=t.style;"supsub"===e.type?(n=e.sup?cn(e.sup,t.havingStyle(i.sup()),t):cn(e.sub,t.havingStyle(i.sub()),t),r=Rn(e.base,"horizBrace")):r=Rn(e,"horizBrace");var o,a=cn(r.base,t.havingBaseStyle(R.DISPLAY)),s=In.svgSpan(r,t);if(r.isOver?(o=Bt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t),o.children[0].children[0].children[1].classes.push("svg-align")):(o=Bt.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t),o.children[0].children[0].children[0].classes.push("svg-align")),n){var l=Bt.makeSpan(["mord",r.isOver?"mover":"munder"],[o],t);o=r.isOver?Bt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},t):Bt.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return Bt.makeSpan(["mord",r.isOver?"mover":"munder"],[o],t)},di=function(e,t){var n=In.mathMLnode(e.label);return new gn.MathNode(e.isOver?"mover":"munder",[kn(e.base,t),n])};Kt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:hi,mathmlBuilder:di}),Kt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[1],i=Rn(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:Jt(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:function(e,t){var n=nn(e.body,t,!1);return Bt.makeAnchor(e.href,[],n,t)},mathmlBuilder:function(e,t){var n=xn(e.body,t);return n instanceof fn||(n=new fn("mrow",[n])),n.setAttribute("href",e.href),n}}),Kt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=Rn(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var i=[],o=0;o0&&(r=pe(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=pe(e.width,t));var o={height:me(n+r)};i>0&&(o.width=me(i)),r>0&&(o.verticalAlign=me(-r));var a=new ke(e.src,e.alt,o);return a.height=n,a.depth=r,a},mathmlBuilder:function(e,t){var n=new gn.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=pe(e.height,t),i=0;if(e.totalheight.number>0&&(i=pe(e.totalheight,t)-r,n.setAttribute("valign",me(-i))),n.setAttribute("height",me(r+i)),e.width.number>0){var o=pe(e.width,t);n.setAttribute("width",me(o))}return n.setAttribute("src",e.src),n}}),Kt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=Rn(t[0],"size");if(n.settings.strict){var o="m"===r[1],a="mu"===i.value.unit;o?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+i.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder:function(e,t){return Bt.makeGlue(e.dimension,t)},mathmlBuilder:function(e,t){var n=pe(e.dimension,t);return new gn.SpaceNode(n)}}),Kt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:function(e,t){var n;"clap"===e.alignment?(n=Bt.makeSpan([],[cn(e.body,t)]),n=Bt.makeSpan(["inner"],[n],t)):n=Bt.makeSpan(["inner"],[cn(e.body,t)]);var r=Bt.makeSpan(["fix"],[]),i=Bt.makeSpan([e.alignment],[n,r],t),o=Bt.makeSpan(["strut"]);return o.style.height=me(i.height+i.depth),i.depth&&(o.style.verticalAlign=me(-i.depth)),i.children.unshift(o),i=Bt.makeSpan(["thinbox"],[i],t),Bt.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:function(e,t){var n=new gn.MathNode("mpadded",[kn(e.body,t)]);if("rlap"!==e.alignment){var r="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}}),Kt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=e.funcName,r=e.parser,i=r.mode;r.switchMode("math");var o="\\("===n?"\\)":"$",a=r.parseExpression(!1,o);return r.expect(o),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:a}}}),Kt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){throw new r("Mismatched "+e.funcName)}});var pi=function(e,t){switch(t.style.size){case R.DISPLAY.size:return e.display;case R.TEXT.size:return e.text;case R.SCRIPT.size:return e.script;case R.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Kt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:function(e,t){var n=e.parser;return{type:"mathchoice",mode:n.mode,display:Jt(t[0]),text:Jt(t[1]),script:Jt(t[2]),scriptscript:Jt(t[3])}},htmlBuilder:function(e,t){var n=pi(e,t),r=nn(n,t,!1);return Bt.makeFragment(r)},mathmlBuilder:function(e,t){var n=pi(e,t);return xn(n,t)}});var mi=function(e,t,n,r,i,o,a){e=Bt.makeSpan([],[e]);var s,l,c,u=n&&m.isCharacterBox(n);if(t){var h=cn(t,r.havingStyle(i.sup()),r);l={elem:h,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-h.depth)}}if(n){var d=cn(n,r.havingStyle(i.sub()),r);s={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-d.height)}}if(l&&s){var f=r.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;c=Bt.makeVList({positionType:"bottom",positionData:f,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:me(-o)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:me(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(s){var p=e.height-a;c=Bt.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:me(-o)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},r)}else{if(!l)return e;var g=e.depth+a;c=Bt.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:me(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}var v=[c];if(s&&0!==o&&!u){var b=Bt.makeSpan(["mspace"],[],r);b.style.marginRight=me(o),v.unshift(b)}return Bt.makeSpan(["mop","op-limits"],v,r)},gi=["\\smallint"],vi=function(e,t){var n,r,i,o=!1;"supsub"===e.type?(n=e.sup,r=e.sub,i=Rn(e.base,"op"),o=!0):i=Rn(e,"op");var a,s=t.style,l=!1;if(s.size===R.DISPLAY.size&&i.symbol&&!m.contains(gi,i.name)&&(l=!0),i.symbol){var c=l?"Size2-Regular":"Size1-Regular",u="";if("\\oiint"!==i.name&&"\\oiiint"!==i.name||(u=i.name.slice(1),i.name="oiint"===u?"\\iint":"\\iiint"),a=Bt.makeSymbol(i.name,c,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),u.length>0){var h=a.italic,d=Bt.staticSvg(u+"Size"+(l?"2":"1"),t);a=Bt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:d,shift:l?.08:0}]},t),i.name="\\"+u,a.classes.unshift("mop"),a.italic=h}}else if(i.body){var f=nn(i.body,t,!0);1===f.length&&f[0]instanceof Ae?(a=f[0],a.classes[0]="mop"):a=Bt.makeSpan(["mop"],f,t)}else{for(var p=[],g=1;g0){for(var s=i.body.map((function(e){var t=e.text;return"string"===typeof t?{type:"textord",mode:e.mode,text:t}:e})),l=nn(s,t.withFont("mathrm"),!0),c=0;c=0?s.setAttribute("height",me(i)):(s.setAttribute("height",me(i)),s.setAttribute("depth",me(-i))),s.setAttribute("voffset",me(i)),s}});var Ai=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Ti=function(e,t){var n=t.havingSize(e.size);return Ci(e.body,n,t)};Kt({type:"sizing",names:Ai,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser,o=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:Ai.indexOf(r)+1,body:o}},htmlBuilder:Ti,mathmlBuilder:function(e,t){var n=t.havingSize(e.size),r=wn(e.body,n),i=new gn.MathNode("mstyle",r);return i.setAttribute("mathsize",me(n.sizeMultiplier)),i}}),Kt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,n){var r=e.parser,i=!1,o=!1,a=n[0]&&Rn(n[0],"ordgroup");if(a)for(var s="",l=0;ln.height+n.depth+a&&(a=(a+d-n.height-n.depth)/2);var f=c.height-n.height-a-u;n.style.paddingLeft=me(h);var p=Bt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+f)},{type:"elem",elem:c},{type:"kern",size:u}]},t);if(e.index){var m=t.havingStyle(R.SCRIPTSCRIPT),g=cn(e.index,m,t),v=.6*(p.height-p.depth),b=Bt.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:g}]},t),y=Bt.makeSpan(["root"],[b]);return Bt.makeSpan(["mord","sqrt"],[y,p],t)}return Bt.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder:function(e,t){var n=e.body,r=e.index;return r?new gn.MathNode("mroot",[kn(n,t),kn(r,t)]):new gn.MathNode("msqrt",[kn(n,t)])}});var Si={display:R.DISPLAY,text:R.TEXT,script:R.SCRIPT,scriptscript:R.SCRIPTSCRIPT};Kt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser,o=i.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:a,body:o}},htmlBuilder:function(e,t){var n=Si[e.style],r=t.havingStyle(n).withFont("");return Ci(e.body,r,t)},mathmlBuilder:function(e,t){var n=Si[e.style],r=t.havingStyle(n),i=wn(e.body,r),o=new gn.MathNode("mstyle",i),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=a[e.style];return o.setAttribute("scriptlevel",s[0]),o.setAttribute("displaystyle",s[1]),o}});var Ei=function(e,t){var n=e.base;if(n){if("op"===n.type){var r=n.limits&&(t.style.size===R.DISPLAY.size||n.alwaysHandleSupSub);return r?vi:null}if("operatorname"===n.type){var i=n.alwaysHandleSupSub&&(t.style.size===R.DISPLAY.size||n.limits);return i?xi:null}if("accent"===n.type)return m.isCharacterBox(n.base)?Bn:null;if("horizBrace"===n.type){var o=!e.sub;return o===n.isOver?hi:null}return null}return null};Zt({type:"supsub",htmlBuilder:function(e,t){var n=Ei(e,t);if(n)return n(e,t);var r,i,o,a=e.base,s=e.sup,l=e.sub,c=cn(a,t),u=t.fontMetrics(),h=0,d=0,f=a&&m.isCharacterBox(a);if(s){var p=t.havingStyle(t.style.sup());r=cn(s,p,t),f||(h=c.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(l){var g=t.havingStyle(t.style.sub());i=cn(l,g,t),f||(d=c.depth+g.fontMetrics().subDrop*g.sizeMultiplier/t.sizeMultiplier)}o=t.style===R.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2;var v,b=t.sizeMultiplier,y=me(.5/u.ptPerEm/b),w=null;if(i){var x=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(c instanceof Ae||x)&&(w=me(-c.italic))}if(r&&i){h=Math.max(h,o,r.depth+.25*u.xHeight),d=Math.max(d,u.sub2);var k=u.defaultRuleThickness,C=4*k;if(h-r.depth-(i.height-d)0&&(h+=A,d-=A)}var T=[{type:"elem",elem:i,shift:d,marginRight:y,marginLeft:w},{type:"elem",elem:r,shift:-h,marginRight:y}];v=Bt.makeVList({positionType:"individualShift",children:T},t)}else if(i){d=Math.max(d,u.sub1,i.height-.8*u.xHeight);var S=[{type:"elem",elem:i,marginLeft:w,marginRight:y}];v=Bt.makeVList({positionType:"shift",positionData:d,children:S},t)}else{if(!r)throw new Error("supsub must have either sup or sub.");h=Math.max(h,o,r.depth+.25*u.xHeight),v=Bt.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:r,marginRight:y}]},t)}var E=sn(c,"right")||"mord";return Bt.makeSpan([E],[c,Bt.makeSpan(["msupsub"],[v])],t)},mathmlBuilder:function(e,t){var n,r,i=!1;e.base&&"horizBrace"===e.base.type&&(r=!!e.sup,r===e.base.isOver&&(i=!0,n=e.base.isOver)),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var o,a=[kn(e.base,t)];if(e.sub&&a.push(kn(e.sub,t)),e.sup&&a.push(kn(e.sup,t)),i)o=n?"mover":"munder";else if(e.sub)if(e.sup){var s=e.base;o=s&&"op"===s.type&&s.limits&&t.style===R.DISPLAY||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(t.style===R.DISPLAY||s.limits)?"munderover":"msubsup"}else{var l=e.base;o=l&&"op"===l.type&&l.limits&&(t.style===R.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===R.DISPLAY)?"munder":"msub"}else{var c=e.base;o=c&&"op"===c.type&&c.limits&&(t.style===R.DISPLAY||c.alwaysHandleSupSub)||c&&"operatorname"===c.type&&c.alwaysHandleSupSub&&(c.limits||t.style===R.DISPLAY)?"mover":"msup"}return new gn.MathNode(o,a)}}),Zt({type:"atom",htmlBuilder:function(e,t){return Bt.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder:function(e,t){var n=new gn.MathNode("mo",[vn(e.text,e.mode)]);if("bin"===e.family){var r=yn(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});var Mi={mi:"italic",mn:"normal",mtext:"normal"};Zt({type:"mathord",htmlBuilder:function(e,t){return Bt.makeOrd(e,t,"mathord")},mathmlBuilder:function(e,t){var n=new gn.MathNode("mi",[vn(e.text,e.mode,t)]),r=yn(e,t)||"italic";return r!==Mi[n.type]&&n.setAttribute("mathvariant",r),n}}),Zt({type:"textord",htmlBuilder:function(e,t){return Bt.makeOrd(e,t,"textord")},mathmlBuilder:function(e,t){var n,r=vn(e.text,e.mode,t),i=yn(e,t)||"normal";return n="text"===e.mode?new gn.MathNode("mtext",[r]):/[0-9]/.test(e.text)?new gn.MathNode("mn",[r]):"\\prime"===e.text?new gn.MathNode("mo",[r]):new gn.MathNode("mi",[r]),i!==Mi[n.type]&&n.setAttribute("mathvariant",i),n}});var Oi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ni={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Zt({type:"spacing",htmlBuilder:function(e,t){if(Ni.hasOwnProperty(e.text)){var n=Ni[e.text].className||"";if("text"===e.mode){var i=Bt.makeOrd(e,t,"textord");return i.classes.push(n),i}return Bt.makeSpan(["mspace",n],[Bt.mathsym(e.text,e.mode,t)],t)}if(Oi.hasOwnProperty(e.text))return Bt.makeSpan(["mspace",Oi[e.text]],[],t);throw new r('Unknown type of space "'+e.text+'"')},mathmlBuilder:function(e,t){var n;if(!Ni.hasOwnProperty(e.text)){if(Oi.hasOwnProperty(e.text))return new gn.MathNode("mspace");throw new r('Unknown type of space "'+e.text+'"')}return n=new gn.MathNode("mtext",[new gn.TextNode(" ")]),n}});var Li=function(){var e=new gn.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Zt({type:"tag",mathmlBuilder:function(e,t){var n=new gn.MathNode("mtable",[new gn.MathNode("mtr",[Li(),new gn.MathNode("mtd",[xn(e.body,t)]),Li(),new gn.MathNode("mtd",[xn(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var Di={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Pi={"\\textbf":"textbf","\\textmd":"textmd"},Ii={"\\textit":"textit","\\textup":"textup"},Ri=function(e,t){var n=e.font;return n?Di[n]?t.withTextFontFamily(Di[n]):Pi[n]?t.withTextFontWeight(Pi[n]):t.withTextFontShape(Ii[n]):t};Kt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"text",mode:n.mode,body:Jt(i),font:r}},htmlBuilder:function(e,t){var n=Ri(e,t),r=nn(e.body,n,!0);return Bt.makeSpan(["mord","text"],r,n)},mathmlBuilder:function(e,t){var n=Ri(e,t);return xn(e.body,n)}}),Kt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder:function(e,t){var n=cn(e.body,t),r=Bt.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,o=Bt.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},t);return Bt.makeSpan(["mord","underline"],[o],t)},mathmlBuilder:function(e,t){var n=new gn.MathNode("mo",[new gn.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new gn.MathNode("munder",[kn(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),Kt({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler:function(e,t){var n=e.parser;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder:function(e,t){var n=cn(e.body,t),r=t.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return Bt.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(e,t){return new gn.MathNode("mpadded",[kn(e.body,t)],["vcenter"])}}),Kt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,n){throw new r("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var n=Fi(e),r=[],i=t.havingStyle(t.style.text()),o=0;o0)this.endGroup()},t.has=function(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)},t.get=function(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]},t.set=function(e,t,n){if(void 0===n&&(n=!1),n){for(var r=0;r0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t},e}(),Xi=qr,Ji=Xi;Wr("\\noexpand",(function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Wr("\\expandafter",(function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Wr("\\@firstoftwo",(function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}})),Wr("\\@secondoftwo",(function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}})),Wr("\\@ifnextchar",(function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Wr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Wr("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var Qi={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Wr("\\char",(function(e){var t,n=e.popToken(),i="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if(n=e.popToken(),"\\"===n.text[0])i=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new r("\\char` missing argument");i=n.text.charCodeAt(0)}else t=10;if(t){if(i=Qi[n.text],null==i||i>=t)throw new r("Invalid base-"+t+" digit "+n.text);var o;while(null!=(o=Qi[e.future().text])&&o":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Wr("\\dots",(function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in $i?t=$i[n]:("\\not"===n.slice(0,4)||n in Pe.math&&m.contains(["bin","rel"],Pe.math[n].group))&&(t="\\dotsb"),t}));var eo={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Wr("\\dotso",(function(e){var t=e.future().text;return t in eo?"\\ldots\\,":"\\ldots"})),Wr("\\dotsc",(function(e){var t=e.future().text;return t in eo&&","!==t?"\\ldots\\,":"\\ldots"})),Wr("\\cdots",(function(e){var t=e.future().text;return t in eo?"\\@cdots\\,":"\\@cdots"})),Wr("\\dotsb","\\cdots"),Wr("\\dotsm","\\cdots"),Wr("\\dotsi","\\!\\cdots"),Wr("\\dotsx","\\ldots\\,"),Wr("\\DOTSI","\\relax"),Wr("\\DOTSB","\\relax"),Wr("\\DOTSX","\\relax"),Wr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Wr("\\,","\\tmspace+{3mu}{.1667em}"),Wr("\\thinspace","\\,"),Wr("\\>","\\mskip{4mu}"),Wr("\\:","\\tmspace+{4mu}{.2222em}"),Wr("\\medspace","\\:"),Wr("\\;","\\tmspace+{5mu}{.2777em}"),Wr("\\thickspace","\\;"),Wr("\\!","\\tmspace-{3mu}{.1667em}"),Wr("\\negthinspace","\\!"),Wr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Wr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Wr("\\enspace","\\kern.5em "),Wr("\\enskip","\\hskip.5em\\relax"),Wr("\\quad","\\hskip1em\\relax"),Wr("\\qquad","\\hskip2em\\relax"),Wr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Wr("\\tag@paren","\\tag@literal{({#1})}"),Wr("\\tag@literal",(function(e){if(e.macros.get("\\df@tag"))throw new r("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Wr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Wr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Wr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Wr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Wr("\\newline","\\\\\\relax"),Wr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var to=me($["Main-Regular"]["T".charCodeAt(0)][1]-.7*$["Main-Regular"]["A".charCodeAt(0)][1]);Wr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+to+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Wr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+to+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Wr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Wr("\\@hspace","\\hskip #1\\relax"),Wr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Wr("\\ordinarycolon",":"),Wr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Wr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Wr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Wr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Wr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Wr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Wr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Wr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Wr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Wr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Wr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Wr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Wr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Wr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Wr("∷","\\dblcolon"),Wr("∹","\\eqcolon"),Wr("≔","\\coloneqq"),Wr("≕","\\eqqcolon"),Wr("⩴","\\Coloneqq"),Wr("\\ratio","\\vcentcolon"),Wr("\\coloncolon","\\dblcolon"),Wr("\\colonequals","\\coloneqq"),Wr("\\coloncolonequals","\\Coloneqq"),Wr("\\equalscolon","\\eqqcolon"),Wr("\\equalscoloncolon","\\Eqqcolon"),Wr("\\colonminus","\\coloneq"),Wr("\\coloncolonminus","\\Coloneq"),Wr("\\minuscolon","\\eqcolon"),Wr("\\minuscoloncolon","\\Eqcolon"),Wr("\\coloncolonapprox","\\Colonapprox"),Wr("\\coloncolonsim","\\Colonsim"),Wr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Wr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Wr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Wr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Wr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Wr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Wr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Wr("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Wr("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Wr("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Wr("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Wr("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Wr("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Wr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Wr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Wr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Wr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Wr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Wr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Wr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Wr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Wr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Wr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Wr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Wr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Wr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Wr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Wr("\\imath","\\html@mathml{\\@imath}{ı}"),Wr("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Wr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Wr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Wr("⟦","\\llbracket"),Wr("⟧","\\rrbracket"),Wr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Wr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Wr("⦃","\\lBrace"),Wr("⦄","\\rBrace"),Wr("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Wr("⦵","\\minuso"),Wr("\\darr","\\downarrow"),Wr("\\dArr","\\Downarrow"),Wr("\\Darr","\\Downarrow"),Wr("\\lang","\\langle"),Wr("\\rang","\\rangle"),Wr("\\uarr","\\uparrow"),Wr("\\uArr","\\Uparrow"),Wr("\\Uarr","\\Uparrow"),Wr("\\N","\\mathbb{N}"),Wr("\\R","\\mathbb{R}"),Wr("\\Z","\\mathbb{Z}"),Wr("\\alef","\\aleph"),Wr("\\alefsym","\\aleph"),Wr("\\Alpha","\\mathrm{A}"),Wr("\\Beta","\\mathrm{B}"),Wr("\\bull","\\bullet"),Wr("\\Chi","\\mathrm{X}"),Wr("\\clubs","\\clubsuit"),Wr("\\cnums","\\mathbb{C}"),Wr("\\Complex","\\mathbb{C}"),Wr("\\Dagger","\\ddagger"),Wr("\\diamonds","\\diamondsuit"),Wr("\\empty","\\emptyset"),Wr("\\Epsilon","\\mathrm{E}"),Wr("\\Eta","\\mathrm{H}"),Wr("\\exist","\\exists"),Wr("\\harr","\\leftrightarrow"),Wr("\\hArr","\\Leftrightarrow"),Wr("\\Harr","\\Leftrightarrow"),Wr("\\hearts","\\heartsuit"),Wr("\\image","\\Im"),Wr("\\infin","\\infty"),Wr("\\Iota","\\mathrm{I}"),Wr("\\isin","\\in"),Wr("\\Kappa","\\mathrm{K}"),Wr("\\larr","\\leftarrow"),Wr("\\lArr","\\Leftarrow"),Wr("\\Larr","\\Leftarrow"),Wr("\\lrarr","\\leftrightarrow"),Wr("\\lrArr","\\Leftrightarrow"),Wr("\\Lrarr","\\Leftrightarrow"),Wr("\\Mu","\\mathrm{M}"),Wr("\\natnums","\\mathbb{N}"),Wr("\\Nu","\\mathrm{N}"),Wr("\\Omicron","\\mathrm{O}"),Wr("\\plusmn","\\pm"),Wr("\\rarr","\\rightarrow"),Wr("\\rArr","\\Rightarrow"),Wr("\\Rarr","\\Rightarrow"),Wr("\\real","\\Re"),Wr("\\reals","\\mathbb{R}"),Wr("\\Reals","\\mathbb{R}"),Wr("\\Rho","\\mathrm{P}"),Wr("\\sdot","\\cdot"),Wr("\\sect","\\S"),Wr("\\spades","\\spadesuit"),Wr("\\sub","\\subset"),Wr("\\sube","\\subseteq"),Wr("\\supe","\\supseteq"),Wr("\\Tau","\\mathrm{T}"),Wr("\\thetasym","\\vartheta"),Wr("\\weierp","\\wp"),Wr("\\Zeta","\\mathrm{Z}"),Wr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Wr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Wr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Wr("\\bra","\\mathinner{\\langle{#1}|}"),Wr("\\ket","\\mathinner{|{#1}\\rangle}"),Wr("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Wr("\\Bra","\\left\\langle#1\\right|"),Wr("\\Ket","\\left|#1\\right\\rangle");var no=function(e){return function(t){var n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.consumeArg().tokens,a=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=function(t){return function(n){e&&(n.macros.set("|",a),i.length&&n.macros.set("\\|",s));var o=t;if(!t&&i.length){var l=n.future();"|"===l.text&&(n.popToken(),o=!0)}return{tokens:o?i:r,numArgs:0}}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));var c=t.consumeArg().tokens,u=t.expandTokens([].concat(o,c,n));return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}}};Wr("\\bra@ket",no(!1)),Wr("\\bra@set",no(!0)),Wr("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Wr("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Wr("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Wr("\\angln","{\\angl n}"),Wr("\\blue","\\textcolor{##6495ed}{#1}"),Wr("\\orange","\\textcolor{##ffa500}{#1}"),Wr("\\pink","\\textcolor{##ff00af}{#1}"),Wr("\\red","\\textcolor{##df0030}{#1}"),Wr("\\green","\\textcolor{##28ae7b}{#1}"),Wr("\\gray","\\textcolor{gray}{#1}"),Wr("\\purple","\\textcolor{##9d38bd}{#1}"),Wr("\\blueA","\\textcolor{##ccfaff}{#1}"),Wr("\\blueB","\\textcolor{##80f6ff}{#1}"),Wr("\\blueC","\\textcolor{##63d9ea}{#1}"),Wr("\\blueD","\\textcolor{##11accd}{#1}"),Wr("\\blueE","\\textcolor{##0c7f99}{#1}"),Wr("\\tealA","\\textcolor{##94fff5}{#1}"),Wr("\\tealB","\\textcolor{##26edd5}{#1}"),Wr("\\tealC","\\textcolor{##01d1c1}{#1}"),Wr("\\tealD","\\textcolor{##01a995}{#1}"),Wr("\\tealE","\\textcolor{##208170}{#1}"),Wr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Wr("\\greenB","\\textcolor{##8af281}{#1}"),Wr("\\greenC","\\textcolor{##74cf70}{#1}"),Wr("\\greenD","\\textcolor{##1fab54}{#1}"),Wr("\\greenE","\\textcolor{##0d923f}{#1}"),Wr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Wr("\\goldB","\\textcolor{##ffbb71}{#1}"),Wr("\\goldC","\\textcolor{##ff9c39}{#1}"),Wr("\\goldD","\\textcolor{##e07d10}{#1}"),Wr("\\goldE","\\textcolor{##a75a05}{#1}"),Wr("\\redA","\\textcolor{##fca9a9}{#1}"),Wr("\\redB","\\textcolor{##ff8482}{#1}"),Wr("\\redC","\\textcolor{##f9685d}{#1}"),Wr("\\redD","\\textcolor{##e84d39}{#1}"),Wr("\\redE","\\textcolor{##bc2612}{#1}"),Wr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Wr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Wr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Wr("\\maroonD","\\textcolor{##ca337c}{#1}"),Wr("\\maroonE","\\textcolor{##9e034e}{#1}"),Wr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Wr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Wr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Wr("\\purpleD","\\textcolor{##7854ab}{#1}"),Wr("\\purpleE","\\textcolor{##543b78}{#1}"),Wr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Wr("\\mintB","\\textcolor{##edf2df}{#1}"),Wr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Wr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Wr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Wr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Wr("\\grayD","\\textcolor{##d6d8da}{#1}"),Wr("\\grayE","\\textcolor{##babec2}{#1}"),Wr("\\grayF","\\textcolor{##888d93}{#1}"),Wr("\\grayG","\\textcolor{##626569}{#1}"),Wr("\\grayH","\\textcolor{##3b3e40}{#1}"),Wr("\\grayI","\\textcolor{##21242c}{#1}"),Wr("\\kaBlue","\\textcolor{##314453}{#1}"),Wr("\\kaGreen","\\textcolor{##71B307}{#1}");var ro={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},io=function(){function e(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Zi(Ji,t.macros),this.mode=n,this.stack=[]}var t=e.prototype;return t.feed=function(e){this.lexer=new Ki(e,this.settings)},t.switchMode=function(e){this.mode=e},t.beginGroup=function(){this.macros.beginGroup()},t.endGroup=function(){this.macros.endGroup()},t.endGroups=function(){this.macros.endGroups()},t.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},t.popToken=function(){return this.future(),this.stack.pop()},t.pushToken=function(e){this.stack.push(e)},t.pushTokens=function(e){var t;(t=this.stack).push.apply(t,e)},t.scanArgument=function(e){var t,n,r;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken();var i=this.consumeArg(["]"]);r=i.tokens,n=i.end}else{var o=this.consumeArg();r=o.tokens,t=o.start,n=o.end}return this.pushToken(new Vr("EOF",n.loc)),this.pushTokens(r),t.range(n,"")},t.consumeSpaces=function(){for(;;){var e=this.future();if(" "!==e.text)break;this.stack.pop()}},t.consumeArg=function(e){var t=[],n=e&&e.length>0;n||this.consumeSpaces();var i,o=this.future(),a=0,s=0;do{if(i=this.popToken(),t.push(i),"{"===i.text)++a;else if("}"===i.text){if(--a,-1===a)throw new r("Extra }",i)}else if("EOF"===i.text)throw new r("Unexpected end of input in a macro argument, expected '"+(e&&n?e[s]:"}")+"'",i);if(e&&n)if((0===a||1===a&&"{"===e[s])&&i.text===e[s]){if(++s,s===e.length){t.splice(-s,s);break}}else s=0}while(0!==a||n);return"{"===o.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:o,end:i}},t.consumeArgs=function(e,t){if(t){if(t.length!==e+1)throw new r("The length of delimiters doesn't match the number of args!");for(var n=t[0],i=0;ithis.settings.maxExpand)throw new r("Too many expansions: infinite loop or need to increase maxExpand setting");var o=i.tokens,a=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){o=o.slice();for(var s=o.length-1;s>=0;--s){var l=o[s];if("#"===l.text){if(0===s)throw new r("Incomplete placeholder at end of macro body",l);if(l=o[--s],"#"===l.text)o.splice(s+1,1);else{if(!/^[1-9]$/.test(l.text))throw new r("Not a valid argument number",l);var c;(c=o).splice.apply(c,[s,2].concat(a[+l.text-1]))}}}}return this.pushTokens(o),o.length},t.expandAfterFuture=function(){return this.expandOnce(),this.future()},t.expandNextToken=function(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error},t.expandMacro=function(e){return this.macros.has(e)?this.expandTokens([new Vr(e)]):void 0},t.expandTokens=function(e){var t=[],n=this.stack.length;this.pushTokens(e);while(this.stack.length>n)if(!1===this.expandOnce(!0)){var r=this.stack.pop();r.treatAsRelax&&(r.noexpand=!1,r.treatAsRelax=!1),t.push(r)}return t},t.expandMacroAsText=function(e){var t=this.expandMacro(e);return t?t.map((function(e){return e.text})).join(""):t},t._getExpansion=function(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var n=this.lexer.catcodes[e];if(null!=n&&13!==n)return}var r="function"===typeof t?t(this):t;if("string"===typeof r){var i=0;if(-1!==r.indexOf("#")){var o=r.replace(/##/g,"");while(-1!==o.indexOf("#"+(i+1)))++i}var a=new Ki(r,this.settings),s=[],l=a.lex();while("EOF"!==l.text)s.push(l),l=a.lex();s.reverse();var c={tokens:s,numArgs:i};return c}return r},t.isDefined=function(e){return this.macros.has(e)||Bi.hasOwnProperty(e)||Pe.math.hasOwnProperty(e)||Pe.text.hasOwnProperty(e)||ro.hasOwnProperty(e)},t.isExpandable=function(e){var t=this.macros.get(e);return null!=t?"string"===typeof t||"function"===typeof t||!t.unexpandable:Bi.hasOwnProperty(e)&&!Bi[e].primitive},e}(),oo=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,ao=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g","ʰ":"h","ⁱ":"i","ʲ":"j","ᵏ":"k","ˡ":"l","ᵐ":"m","ⁿ":"n","ᵒ":"o","ᵖ":"p","ʳ":"r","ˢ":"s","ᵗ":"t","ᵘ":"u","ᵛ":"v","ʷ":"w","ˣ":"x","ʸ":"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),so={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},lo={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"},co=function(){function e(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new io(e,t,this.mode),this.settings=t,this.leftrightDepth=0}var t=e.prototype;return t.expect=function(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new r("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()},t.consume=function(){this.nextToken=null},t.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},t.switchMode=function(e){this.mode=e,this.gullet.switchMode(e)},t.parse=function(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}},t.subparse=function(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new Vr("}")),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,n},t.parseExpression=function(t,n){var r=[];while(1){"math"===this.mode&&this.consumeSpaces();var i=this.fetch();if(-1!==e.endOfExpression.indexOf(i.text))break;if(n&&i.text===n)break;if(t&&Bi[i.text]&&Bi[i.text].infix)break;var o=this.parseAtom(n);if(!o)break;"internal"!==o.type&&r.push(o)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)},t.handleInfixNodes=function(e){for(var t,n=-1,i=0;i=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var s,l=Pe[this.mode][t].group,c=Gr.range(e);if(Ne.hasOwnProperty(l)){var u=l;s={type:"atom",mode:this.mode,family:u,loc:c,text:t}}else s={type:l,mode:this.mode,loc:c,text:t};o=s}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(j(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:Gr.range(e),text:t}}if(this.consume(),a)for(var h=0;h0&&"number"!==typeof e[0]))}function f(e,t,n){var o,f;if(typeof e!==typeof t)return!1;if(h(e)||h(t))return!1;if(e.prototype!==t.prototype)return!1;if(i(e)!==i(t))return!1;var p=a(e),m=a(t);if(p!==m)return!1;if(p||m)return e.source===t.source&&s(e)===s(t);if(l(e)&&l(t))return c.call(e)===c.call(t);var g=d(e),v=d(t);if(g!==v)return!1;if(g||v){if(e.length!==t.length)return!1;for(o=0;o=0;o--)if(b[o]!=y[o])return!1;for(o=b.length-1;o>=0;o--)if(f=b[o],!u(e[f],t[f],n))return!1;return!0}e.exports=u},5843:function(e,t,n){e.exports=n.p+"img/romanticPurple.jpg"},5865:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return h5}));var r=n("6f27"),i=n("703f"),o=n("b923"),a=n("6ffb"),s=n("e3da"),l=n("442c"),c=n("72a8"),u=n("f201"),h=function(e,t){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},h(e,t)};function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var f=function(){return f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0&&rpe}function ge(e,t){var n="https://www.google-analytics.com/collect",r=location.hostname,i="event",o="use",a="TOAST UI "+e+" for "+r+": Statistics",s=window.localStorage.getItem(a);(de(window.tui)||!1!==window.tui.usageStatistics)&&(s&&!me(s)||(window.localStorage.setItem(a,(new Date).getTime()),setTimeout((function(){"interactive"!==document.readyState&&"complete"!==document.readyState||fe(n,{v:1,t:i,tid:t,cid:r,dp:r,dh:e,el:e,ec:o})}),1e3)))}var ve=ge;/Mac/.test(navigator.platform);var be=/[\u0020]+/g,ye=/[>(){}[\]+-.!#|]/g,we=/<([a-zA-Z_][a-zA-Z0-9\-._]*)(\s|[^\\>])*\/?>|<(\/)([a-zA-Z_][a-zA-Z0-9\-._]*)\s*\/?>||<([a-zA-Z_][a-zA-Z0-9\-.:/]*)>/g,xe=/\\[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~\\]/g,ke=/[*_~`]/g,Ce=/!\[.*\]\(.*\)/g,Ae=/[[\]]/g,Te=/(?:^|[^\\])\\(?!\\)/g,Se='[&<>"]',Ee=new RegExp(Se,"g");function Me(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return e}}function Oe(e){return Ee.test(e)?e.replace(Ee,Me):e}function Ne(){ve("editor","UA-129966929-1")}function Le(e,t){return-1!==e.indexOf(t)}var De=["rel","target","hreflang","type"],Pe={codeblock:/(^ {4}[^\n]+\n*)+/,thematicBreak:/^ *((\* *){3,}|(- *){3,} *|(_ *){3,}) */,atxHeading:/^(#{1,6}) +[\s\S]+/,seTextheading:/^([^\n]+)\n *(=|-){2,} */,blockquote:/^( *>[^\n]+.*)+/,list:/^ *(\*+|-+|\d+\.) [\s\S]+/,def:/^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\n]+)[")])? */,link:/!?\[.*\]\(.*\)/,reflink:/!?\[.*\]\s*\[([^\]]*)\]/,verticalBar:/\u007C/,fencedCodeblock:/^((`|~){3,})/};function Ie(e){if(!e)return null;var t={};return De.forEach((function(n){j(e[n])||(t[n]=e[n])})),t}function Re(e,t){for(var n="",r=0;re[0]&&n=t&&e<=n}function Ge(e){return"object"===typeof e&&null!==e}function Ve(e,t){var n=f({},e);return e&&t&&Object.keys(t).forEach((function(e){Ge(n[e])?Array.isArray(t[e])?n[e]=Ye(t[e]):n.hasOwnProperty(e)?n[e]=Ve(n[e],t[e]):n[e]=Ke(t[e]):n[e]=t[e]})),n}function Ye(e){return e.map((function(e){return Ge(e)?Array.isArray(e)?Ye(e):Ke(e):e}))}function Ke(e){var t=Object.keys(e);return t.length?t.reduce((function(t,n){return Ge(e[n])?t[n]=Array.isArray(e[n])?Ye(e[n]):Ke(e[n]):t[n]=e[n],t}),{}):e}function Ze(e,t){return void 0===t&&(t={}),Object.keys(t).forEach((function(n){e.hasOwnProperty(n)&&"object"===typeof e[n]?Array.isArray(t[n])?e[n]=t[n]:Ze(e[n],t[n]):e[n]=t[n]})),e}function Xe(e,t){return e>t?[t,e]:[e,t]}var Je=T;function Qe(e){var t;try{t=Array.prototype.slice.call(e)}catch(n){t=[],Je(e,(function(e){t.push(e)}))}return t}var _e=Qe;function $e(e,t){var n=e.nodes.paragraph;return t?n.create(null,x(t)?e.text(t):t):n.createAndFill()}function et(e,t,n){return e.text(t,n)}function tt(e,t,n){void 0===n&&(n=t);var r=e.doc.content.size,i=r>0?r-1:1;return a["TextSelection"].create(e.doc,Math.min(t,i),Math.min(n,i))}function nt(e,t,n){var r=t.pos;return e.replaceWith(r,r,$e(n)),e.setSelection(tt(e,r+1))}function rt(e){for(var t=e.state,n=e.from,i=e.startIndex,o=e.endIndex,a=e.createText,s=t.tr,l=t.doc,c=t.schema,u=i;u<=o;u+=1){var h=l.child(u),d=h.nodeSize,f=h.textContent,p=h.content,m=a(f),g=m?et(c,m):r["Fragment"].empty,v=s.mapping.map(n),b=v+p.size;s.replaceWith(v,b,g),n+=d}return s}function it(e,t,n,r){var i=n.length;e.split(t).delete(t-i,t).insert(e.mapping.map(t),r).setSelection(tt(e,e.mapping.map(t)-i))}function ot(e){return e.sourcepos[0][0]}function at(e){return e.sourcepos[1][0]}function st(e){return e.sourcepos[0][1]}function lt(e){return e.sourcepos[1][1]}function ct(e){var t=e.type;return"htmlBlock"===t||"htmlInline"===t}function ut(e){var t=e.type;return"strike"===t||"strong"===t||"emph"===t||"code"===t||"link"===t||"image"===t}function ht(e){return e&&"codeBlock"===e.type}function dt(e){return e&&("item"===e.type||"list"===e.type)}function ft(e){return dt(e)&&"ordered"===e.listData.type}function pt(e){return dt(e)&&"ordered"!==e.listData.type}function mt(e){return e&&("tableCell"===e.type||"tableDelimCell"===e.type)}function gt(e){switch(e.type){case"code":case"text":case"emph":case"strong":case"strike":case"link":case"image":case"htmlInline":case"linebreak":case"softbreak":case"customInline":return!0;default:return!1}}function vt(e,t,n){void 0===n&&(n=!0),e=n?e:e.parent;while(e&&"document"!==e.type){if(t(e))return e;e=e.parent}return null}function bt(e,t,n){void 0===n&&(n=!0),e=n?e:e.parent;while(e&&"document"!==e.type)t(e),e=e.parent}function yt(e,t){return[e[0],e[1]+t]}function wt(e,t){return[e[0],t]}function xt(e){var t=e.firstChild.literal;switch(e.type){case"emph":return"*"+t+"*";case"strong":return"**"+t+"**";case"strike":return"~~"+t+"~~";case"code":return"`"+t+"`";case"link":case"image":var n=e,r=n.destination,i=n.title,o="link"===e.type?"":"!";return o+"["+t+"]("+r+(i?' "'+i+'"':"")+")";default:return null}}function kt(e){switch(e.type){case"document":case"blockQuote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"strike":case"link":case"image":case"table":case"tableHead":case"tableBody":case"tableRow":case"tableCell":case"tableDelimRow":case"customInline":return!0;default:return!1}}function Ct(e){var t=[],n=e.walker(),r=null;while(r=n.next()){var i=r.node;"text"===i.type&&t.push(i.literal)}return t.join("")}var At=[],Tt={},St=/\$\$widget\d+\s/;function Et(e){var t=e.search(St);if(-1!==t){var n=e.substring(t),r=n.replace(St,"").replace("$$","");e=e.substring(0,t),e+=Et(r)}return e}function Mt(e,t){return"$$"+e+" "+t+"$$"}function Ot(e,t){var n=Tt[e],r=n.rule,i=n.toDOM,o=Et(t).match(r);return o&&(t=o[0]),i(t)}function Nt(){return At}function Lt(e){At=e,At.forEach((function(e,t){Tt["widget"+t]=e}))}function Dt(e,t,n,r){return e.concat(Pt(t,n,r))}function Pt(e,t,n){void 0===n&&(n=0);var r=[],i=(At[n]||{}).rule,o=n+1;if(e=Et(e),i&&i.test(e)){var a=void 0;while(-1!==(a=e.search(i))){var s=e.substring(0,a);s&&(r=Dt(r,s,t,o)),e=e.substring(a);var l=e.match(i)[0],c="widget"+n;r.push(t.nodes.widget.create({info:c},t.text(Mt(c,l)))),e=e.substring(l.length)}e&&(r=Dt(r,e,t,o))}else e&&(r=n-1)}var Ht=jt,Ut=z,qt=_e,Wt=Element.prototype,Gt=Wt.matches||Wt.webkitMatchesSelector||Wt.mozMatchesSelector||Wt.msMatchesSelector||function(e){var t=this.document||this.ownerDocument;return Ut(this,qt(t.querySelectorAll(e)))>-1};function Vt(e,t){return Gt.call(e,t)}var Yt=Vt,Kt="[A-Za-z][A-Za-z0-9-]*",Zt="[a-zA-Z_:][a-zA-Z0-9:._-]*",Xt="[^\"'=<>`\\x00-\\x20]+",Jt="'[^']*'",Qt='"[^"]*"',_t="(?:"+Xt+"|"+Jt+"|"+Qt+")",$t="(?:\\s*=\\s*"+_t+")",en="(?:\\s+"+Zt+$t+"?)",tn="<("+Kt+")("+en+")*\\s*/?>",nn="]",rn="(?:"+tn+"|"+nn+")",on=new RegExp("^"+rn,"i"),an=//i,sn=/|/,ln="

";function cn(e,t,n){var r=parseInt(e.left,10),i=parseInt(e.top,10),o=parseInt(e.width,10)+parseInt(e.paddingLeft,10)+parseInt(e.paddingRight,10),a=parseInt(e.height,10)+parseInt(e.paddingTop,10)+parseInt(e.paddingBottom,10);return t>=r&&t<=r+o&&n>=i&&n<=i+a}var un="toastui-editor-";function hn(){for(var e=[],t=0;t<\/p>/gi,"

"),n=new RegExp(rn,"ig"),r=t.match(n);return null===r||void 0===r||r.forEach((function(e,n){if(an.test(e)){var i=ln;if(n){var o=r[n-1],a=o.match(tn);if(a&&!/br/i.test(a[1])){var s=a[1];i="<"+s+">"}}t=t.replace(an,i)}})),t}function En(e){var t=//g,n=/ class="ProseMirror-trailingBreak"/g,r=e;return r=r.replace(t,""),r=r.replace(n,""),r}var Mn=new a["PluginKey"]("widget"),On=5,Nn=function(){function e(e,t){var n=this;this.popup=null,this.removeWidget=function(){n.popup&&(n.rootEl.removeChild(n.popup),n.popup=null)},this.rootEl=e.dom.parentElement,this.eventEmitter=t,this.eventEmitter.listen("blur",this.removeWidget),this.eventEmitter.listen("loadUI",(function(){n.rootEl=Cn(e.dom.parentElement,"."+hn("defaultUI"))})),this.eventEmitter.listen("removePopupWidget",this.removeWidget)}return e.prototype.update=function(e){var t=Mn.getState(e.state);if(this.removeWidget(),t){var n=t.node,r=t.style,i=e.coordsAtPos(t.pos),o=i.top,a=i.left,s=i.bottom,l=s-o,c=this.rootEl.getBoundingClientRect(),u=o-c.top;I(n,{opacity:"0"}),this.rootEl.appendChild(n),I(n,{position:"absolute",left:a-c.left+On+"px",top:("bottom"===r?u+l-On:u-l)+"px",opacity:"1"}),this.popup=n,e.focus()}},e.prototype.destroy=function(){this.eventEmitter.removeEventHandler("blur",this.removeWidget)},e}();function Ln(e){return new a["Plugin"]({key:Mn,state:{init:function(){return null},apply:function(e){return e.getMeta("widget")}},view:function(t){return new Nn(t,e)}})}function Dn(e){e.listen("addImageBlobHook",(function(e,t){var n=new FileReader;n.onload=function(e){var n=e.target;return t(n.result)},n.readAsDataURL(e)}))}function Pn(e,t,n){var r=function(n,r){e.emit("command","addImage",{imageUrl:n,altText:r||t.name||"image"})};e.emit("addImageBlobHook",t,r,n)}function In(e){var t=_e(e).filter((function(e){var t=e.type;return-1!==t.indexOf("image")}));if(1===t.length){var n=t[0];if(n)return n.getAsFile()}return null}function Rn(e){var t=e.eventEmitter;return new a["Plugin"]({props:{handleDOMEvents:{drop:function(e,n){var r,i=null===(r=n.dataTransfer)||void 0===r?void 0:r.files;return i&&T(i,(function(e){return-1===e.type.indexOf("image")||(n.preventDefault(),n.stopPropagation(),Pn(t,e,n.type),!1)})),!0}}}})}var Fn=function(){function e(){}return Object.defineProperty(e.prototype,"type",{get:function(){return"node"},enumerable:!1,configurable:!0}),e.prototype.setContext=function(e){this.context=e},e}();function zn(e){var t=document.createElement("span"),n=Ot(e.attrs.info,e.textContent);return t.className="tui-widget",t.appendChild(n),{dom:t}}function Bn(e){return"widget"===e.type.name}var jn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"widget"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{attrs:{info:{default:null}},group:"inline",inline:!0,content:"text*",selectable:!1,atom:!0,toDOM:function(){return["span",{class:"tui-widget"},0]},parseDOM:[{tag:"span.tui-widget",getAttrs:function(e){var t=e.textContent,n=t.match(/\$\$(widget\d+)/),r=n[1];return{info:r}}}]}},enumerable:!1,configurable:!0}),t}(Fn),Hn=function(){function e(e){this.timer=null,this.el=document.createElement("div"),this.el.className="toastui-editor",this.eventEmitter=e,this.placeholder={text:""}}return e.prototype.createState=function(){return a["EditorState"].create({schema:this.schema,plugins:this.createPlugins()})},e.prototype.initEvent=function(){var e=this,t=e.eventEmitter,n=e.view,r=e.editorType;n.dom.addEventListener("focus",(function(){return t.emit("focus",r)})),n.dom.addEventListener("blur",(function(){return t.emit("blur",r)}))},e.prototype.emitChangeEvent=function(e){this.eventEmitter.emit("caretChange",this.editorType),e.docChanged&&this.eventEmitter.emit("change",this.editorType)},Object.defineProperty(e.prototype,"defaultPlugins",{get:function(){var e=this.createInputRules(),t=p(p([],this.keymaps),[Object(s["keymap"])(f({"Shift-Enter":l["a"].Enter},l["a"])),Object(u["a"])(),Ft(this.placeholder),Ln(this.eventEmitter),Rn(this.context)]);return e?t.concat(e):t},enumerable:!1,configurable:!0}),e.prototype.createInputRules=function(){var e=Nt(),t=e.map((function(e){var t=e.rule;return new c["InputRule"](t,(function(e,n,r,i){var o=e.schema,a=e.tr,s=e.doc,l=n.input.match(new RegExp(t,"g")),c=s.resolve(r),u=c.parent,h=0;if(Bn(u)&&(u=c.node(c.depth-1)),u.forEach((function(e){return Bn(e)&&(h+=1)})),l.length>h){var d=qe(l),f=Pt(d,o);return a.replaceWith(i-d.length+1,i,f)}return null}))}));return t.length?Object(c["inputRules"])({rules:t}):null},e.prototype.clearTimer=function(){this.timer&&(clearTimeout(this.timer),this.timer=null)},e.prototype.createSchema=function(){return new r["Schema"]({nodes:this.specs.nodes,marks:this.specs.marks})},e.prototype.createKeymaps=function(e){var t=Rt(),n=t.undo,r=t.redo,i=this.specs.keymaps(e),o={"Mod-z":n(),"Shift-Mod-z":r()};return e?i.concat(Object(s["keymap"])(o)):i},e.prototype.createCommands=function(){return this.specs.commands(this.view)},e.prototype.createPluginProps=function(){var e=this;return this.extraPlugins.map((function(t){return t(e.eventEmitter)}))},e.prototype.focus=function(){var e=this;this.clearTimer(),this.timer=setTimeout((function(){e.view.focus(),e.view.dispatch(e.view.state.tr.scrollIntoView())}))},e.prototype.blur=function(){this.view.dom.blur()},e.prototype.destroy=function(){var e=this;this.clearTimer(),this.view.destroy(),Object.keys(this).forEach((function(t){delete e[t]}))},e.prototype.moveCursorToStart=function(e){var t=this.view.state.tr;this.view.dispatch(t.setSelection(tt(t,1)).scrollIntoView()),e&&this.focus()},e.prototype.moveCursorToEnd=function(e){var t=this.view.state.tr;this.view.dispatch(t.setSelection(tt(t,t.doc.content.size-1)).scrollIntoView()),e&&this.focus()},e.prototype.setScrollTop=function(e){this.view.dom.scrollTop=e},e.prototype.getScrollTop=function(){return this.view.dom.scrollTop},e.prototype.setPlaceholder=function(e){this.placeholder.text=e,this.view.dispatch(this.view.state.tr.scrollIntoView())},e.prototype.setHeight=function(e){I(this.el,{height:e+"px"})},e.prototype.setMinHeight=function(e){I(this.el,{minHeight:e+"px"})},e.prototype.getElement=function(){return this.el},e}();function Un(e){return e instanceof Function}var qn=Un,Wn=["Enter","Shift-Enter","Mod-Enter","Tab","Shift-Tab","Delete","Backspace","Mod-Delete","Mod-Backspace","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Mod-d","Mod-D","Alt-ArrowUp","Alt-ArrowDown"];function Gn(e,t,n){return e.focus(),t(n)(e.state,e.dispatch,e)}var Vn=function(){function e(e){this.specs=e}return Object.defineProperty(e.prototype,"nodes",{get:function(){return this.specs.filter((function(e){return"node"===e.type})).reduce((function(e,t){var n,r=t.name,i=t.schema;return f(f({},e),(n={},n[r]=i,n))}),{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"marks",{get:function(){return this.specs.filter((function(e){return"mark"===e.type})).reduce((function(e,t){var n,r=t.name,i=t.schema;return f(f({},e),(n={},n[r]=i,n))}),{})},enumerable:!1,configurable:!0}),e.prototype.commands=function(e,t){var n=this.specs.filter((function(e){var t=e.commands;return t})).reduce((function(t,n){var r={},i=n.commands();return qn(i)?r[n.name]=function(t){return Gn(e,i,t)}:Object.keys(i).forEach((function(t){r[t]=function(n){return Gn(e,i[t],n)}})),f(f({},t),r)}),{}),r=Rt();return Object.keys(r).forEach((function(t){n[t]=function(n){return Gn(e,r[t],n)}})),t&&Object.keys(t).forEach((function(r){n[r]=function(n){return Gn(e,t[r],n)}})),n},e.prototype.keymaps=function(e){var t=this.specs.filter((function(e){return e.keymaps})).map((function(e){return e.keymaps()}));return t.map((function(t){return e||Object.keys(t).forEach((function(e){Le(Wn,e)||delete t[e]})),Object(s["keymap"])(t)}))},e.prototype.setContext=function(e){this.specs.forEach((function(t){t.setContext(e)}))},e}();function Yn(e){var t=e.from,n=e.to;return e instanceof a["AllSelection"]?[t+1,n-1]:[t,n]}function Kn(e){return e.index(0)+1}function Zn(e,t,n){void 0===n&&(n=1);var r=0;return e.forEach((function(e,i){Bn(e)&&i+2 ?/,_r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"blockQuote"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:dn("block-quote")},0]}}},enumerable:!1,configurable:!0}),t.prototype.createBlockQuoteText=function(e,t){return t?e.replace(Qr,"").trim():"> "+e.trim()},t.prototype.extendBlockQuote=function(){var e=this;return function(t,n){var r=t.selection,i=t.doc,o=t.tr,a=t.schema,s=_n(r),l=s.endFromOffset,c=s.endToOffset,u=s.endIndex,h=s.to,d=Jr(i,u),f=Qr.test(d);if(f&&h>l&&r.empty){var p=!d.replace(Qr,"").trim();if(p)o.deleteRange(l,c).split(o.mapping.map(c));else{var m=d.slice(h-l).trim(),g=et(a,e.createBlockQuoteText(m));it(o,c,m,g)}return n(o),!0}return!1}},t.prototype.commands=function(){var e=this;return function(){return function(t,n){var r=t.selection,i=t.doc,o=_n(r),a=o.startFromOffset,s=o.endToOffset,l=o.startIndex,c=o.endIndex,u=Qr.test(Jr(i,l)),h=rt({state:t,startIndex:l,endIndex:c,from:a,createText:function(t){return e.createBlockQuoteText(t,u)}});return n(h.setSelection(tt(h,h.mapping.map(s)))),!0}}},t.prototype.keymaps=function(){var e=this.commands()();return{"alt-q":e,"alt-Q":e,Enter:this.extendBlockQuote()}},t}(Zr),$r=/(^\s*)([-*+] |[\d]+\. )/,ei=/(^\s*)([\d])+\.( \[[ xX]])? /,ti=/^(\s*)((\d+)([.)]\s(?:\[(?:x|\s)\]\s)?))(.*)/,ni=/(^\s*)([-*+]|[\d]+\.)( \[[ xX]])? /,ri=/^(\s*)([-*+]+(\s(?:\[(?:x|\s)\]\s)?))(.*)/,ii=/(^\s*)([-*+] |[\d]+\. )(\[[ xX]] )/,oi=/(^\s*)([-*+])( \[[ xX]]) /;function ai(e){return ei.test(e)?"ordered":"bullet"}function si(e){var t=0;while(e&&"document"!==e.type)"list"===e.type&&(t+=1),e=e.parent;return t}function li(e,t,n,r){var i=e.getLineTexts(),o=i.length,a=[],s=t;while(r?s1){s=r?s+1:s-1;var l=e.findFirstNodeAtLine(s),c=si(l);if(c===n)a.push({line:s,depth:n,mdNode:l});else if(c0;c-=1){var u=t.findFirstNodeAtLine(c),h=Xr(n,c),d=h&&!!vt(u,(function(e){return dt(e)})),f=ti.exec(Xr(n,c));if(!f&&!d)break;if(f||!d){var p=f,m=p[1],g=p[3];if(!m){a=Number(g),s=c;break}}else l+=1}var v=a+r-s-l,b=[{text:v+". "+o,line:r}];return{changedResults:b}},task:function(e){var t=e.doc,n=e.line,r=Xr(t,n),i=[{text:"* [ ] "+r,line:n}];return{changedResults:i}}},gi={bullet:function(e){var t=e.line,n=e.doc,r=Xr(n,t),i=ri.exec(r),o=i[1],a=i[2];return{listSyntax:""+o+a}},ordered:function(e){var t=e.toastMark,n=e.line,r=e.mdNode,i=e.doc,o=si(r),a=Xr(i,n),s=ti.exec(a),l=s[1],c=s[3],u=s[4],h=Number(c)+1,d=""+l+h+u,p=li(t,n,o,!0),m=p.filter((function(e){var t=ti.exec(Xr(i,e.line));return t&&t[1].length===l.length&&!!vt(e.mdNode,(function(e){return ft(e)}))}));return f({listSyntax:d},di(i,m,"ordered",h))}};function vi(e,t,n,r,i){var o=[],a=Xr(e,n),s=ti.exec(a);while(s){var l=s[1],c=s[4],u=s[5],h=l.length;if(h===i)o.push(et(t,""+l+r+c+u)),r+=1,n+=1;else if(h>i){var d=vi(e,t,n,1,h);n=d.line,o=o.concat(d.nodes)}if(he.childCount)break;a=Xr(e,n),s=ti.exec(a)}return{nodes:o,line:n}}var bi=/(^\s{1,4})(.*)/;function yi(e,t,n){return e0){var u=r.child(c-1),h=u.nodeSize,d=u.textContent;return n.delete(s-h,s).split(n.mapping.map(l)).insert(n.mapping.map(l),et(o,d)),t(n),!0}return!1}},t.prototype.commands=function(){return{indent:this.indent(),outdent:this.outdent()}},t.prototype.keymaps=function(){return{Tab:this.indent(!0)(),"Shift-Tab":this.outdent(!0)(),"Mod-d":this.deleteLines(),"Mod-D":this.deleteLines(),"Alt-ArrowUp":this.moveUp(),"Alt-ArrowDown":this.moveDown()}},t}(Fn),Ci=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"text"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{group:"inline"}},enumerable:!1,configurable:!0}),t}(Fn),Ai=/^#{1,6}\s/,Ti=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"heading"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{attrs:{level:{default:1},seText:{default:!1}},toDOM:function(e){var t=e.attrs,n=t.level,r=t.seText,i="heading|heading"+n;return r&&(i+="|delimiter|setext"),["span",{class:dn.apply(void 0,i.split("|"))},0]}}},enumerable:!1,configurable:!0}),t.prototype.createHeadingText=function(e,t,n){var r=t.replace(n,"").trim(),i="";while(e>0)i+="#",e-=1;return i+" "+r},t.prototype.commands=function(){var e=this;return function(t){return function(n,r){var i=t.level,o=_n(n.selection),a=o.startFromOffset,s=o.endToOffset,l=o.startIndex,c=o.endIndex,u=rt({state:n,from:a,startIndex:l,endIndex:c,createText:function(t){var n=t.match(Ai),r=n?n[0]:"";return e.createHeadingText(i,t,r)}});return r(u.setSelection(tt(u,u.mapping.map(s)))),!0}}},t}(Zr),Si="```",Ei=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"codeBlock"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:dn("code-block")},0]}}},enumerable:!1,configurable:!0}),t.prototype.commands=function(){return function(){return function(e,t){var n=e.selection,r=e.schema,i=e.tr,o=_n(n),a=o.startFromOffset,s=o.endToOffset,l=et(r,Si);return i.insert(a,l).split(a+Si.length),i.split(i.mapping.map(s)).insert(i.mapping.map(s),l),t(i.setSelection(tt(i,i.mapping.map(s)-(Si.length+2)))),!0}}},t.prototype.keepIndentation=function(){var e=this;return function(t,n){var r=t.selection,i=t.tr,o=t.doc,a=t.schema,s=e.context.toastMark,l=_n(r),c=l.startFromOffset,u=l.endToOffset,h=l.endIndex,d=l.from,f=l.to,p=Jr(o,h);if(d===f&&p.trim()){var m=p.match(/^\s+/),g=s.findFirstNodeAtLine(h+1);if(ht(g)&&m){var v=m[0],b=p.slice(f-c),y=et(a,v+b);return it(i,u,b,y),n(i),!0}}return!1}},t.prototype.keymaps=function(){var e=this.commands()();return{"Shift-Mod-p":e,"Shift-Mod-P":e,Enter:this.keepIndentation()}},t}(Zr),Mi=/\||\s/g;function Oi(e){return[Li(e),Li(e,!0)]}function Ni(e,t){for(var n=[],r=0;r0&&(t+="\n")})),t},t.prototype.setSelection=function(e,t){void 0===t&&(t=e);var n=this.view.state.tr,r=Qn(n.doc,e,t),i=r[0],o=r[1];this.view.dispatch(n.setSelection(tt(n,i,o)).scrollIntoView())},t.prototype.replaceSelection=function(e,t,n){var i,o=this.view.state,a=o.tr,s=o.schema,l=o.doc,c=e.split(uo),u=c.map((function(e){return $e(s,Pt(e,s))})),h=new r["Slice"](r["Fragment"].from(u),1,1);if(this.focus(),t&&n){var d=Qn(l,t,n),f=d[0],p=d[1];i=a.replaceRange(f,p,h)}else i=a.replaceSelection(h);this.view.dispatch(i.scrollIntoView())},t.prototype.deleteSelection=function(e,t){var n,r=this.view.state,i=r.tr,o=r.doc;if(e&&t){var a=Qn(o,e,t),s=a[0],l=a[1];n=i.deleteRange(s,l)}else n=i.deleteSelection();this.view.dispatch(n.scrollIntoView())},t.prototype.getSelectedText=function(e,t){var n=this.view.state,r=n.doc,i=n.selection,o=i.from,a=i.to;if(e&&t){var s=Qn(r,e,t);o=s[0],a=s[1]}return r.textBetween(o,a,"\n")},t.prototype.getSelection=function(){var e=this.view.state.selection,t=e.from,n=e.to;return Xn(this.view.state.tr.doc,t,n)},t.prototype.setMarkdown=function(e,t){void 0===t&&(t=!0);var n=e.split(uo),r=this.view.state,i=r.tr,o=r.doc,a=r.schema,s=n.map((function(e){return $e(a,Pt(e,a))}));this.view.dispatch(i.replaceWith(0,o.content.size,s)),t&&this.moveCursorToEnd(!0)},t.prototype.addWidget=function(e,t,n){var r=this.view.state,i=r.tr,o=r.doc,a=r.selection,s=n?Qn(o,n,n)[0]:a.to;this.view.dispatch(i.setMeta("widget",{pos:s,node:e,style:t}))},t.prototype.replaceWithWidget=function(e,t,n){var r=this.view.state,i=r.tr,o=r.schema,a=r.doc,s=Qn(a,e,t),l=Pt(n,o);this.view.dispatch(i.replaceWith(s[0],s[1],l))},t.prototype.getRangeInfoOfNode=function(e){var t=this.view.state,n=t.doc,r=t.selection,i=e||Xn(n,r.from)[0],o=this.toastMark.findNodeAtPosition(i);return"text"===o.type&&"paragraph"!==o.parent.type&&(o=o.parent),o.sourcepos[1][1]+=1,{range:o.sourcepos,type:o.type}},t.prototype.getMarkdown=function(){return this.toastMark.getLineTexts().map((function(e){return Et(e)})).join("\n")},t.prototype.getToastMark=function(){return this.toastMark},t}(Hn),fo="_feEventKey";function po(e,t){var n,r=e[fo];return r||(r=e[fo]={}),n=r[t],n||(n=r[t]=[]),n}var mo=po,go=x,vo=N,bo=mo;function yo(e,t,n){go(t)?vo(t.split(/\s+/g),(function(t){wo(e,t,n)})):vo(t,(function(t,n){wo(e,n,t)}))}function wo(e,t,n){var r,i=bo(e,t);n?(vo(i,(function(i,o){return n!==i.handler||(xo(e,t,i.wrappedHandler),r=o,!1)})),i.splice(r,1)):(vo(i,(function(n){xo(e,t,n.wrappedHandler)})),i.splice(0,i.length))}function xo(e,t,n){"removeEventListener"in e?e.removeEventListener(t,n):"detachEvent"in e&&e.detachEvent("on"+t,n)}var ko=yo,Co=x,Ao=N,To=mo;function So(e,t,n,r){Co(t)?Ao(t.split(/\s+/g),(function(t){Eo(e,t,n,r)})):Ao(t,(function(t,r){Eo(e,r,t,n)}))}function Eo(e,t,n,r){function i(t){n.call(r||e,t||window.event)}"addEventListener"in e?e.addEventListener(t,i):"attachEvent"in e&&e.attachEvent("on"+t,i),Mo(e,t,n,i)}function Mo(e,t,n,r){var i=To(e,t),o=!1;Ao(i,(function(e){return e.handler!==n||(o=!0,!1)})),o||i.push({handler:n,wrappedHandler:r})}var Oo=So,No=function(e,t){return No=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},No(e,t)}; +(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return 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,{configurable:!1,enumerable:!0,get: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="",n(n.s=109)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),i=n(18),o=n(19),a=n(45),s=n(46),l=n(47),c=n(48),u=n(49),h=n(12),d=n(32),f=n(33),p=n(31),m=n(1),g={Scope:m.Scope,create:m.create,find:m.find,query:m.query,register:m.register,Container:r.default,Format:i.default,Leaf:o.default,Embed:c.default,Scroll:a.default,Block:l.default,Inline:s.default,Text:u.default,Attributor:{Attribute:h.default,Class:d.default,Style:f.default,Store:p.default}};t.default=g},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){var n=this;return t="[Parchment] "+t,n=e.call(this,t)||this,n.message=t,n.name=n.constructor.name,n}return r(t,e),t}(Error);t.ParchmentError=i;var o,a={},s={},l={},c={};function u(e,t){var n=d(e);if(null==n)throw new i("Unable to create "+e+" blot");var r=n,o=e instanceof Node||e["nodeType"]===Node.TEXT_NODE?e:r.create(t);return new r(o,t)}function h(e,n){return void 0===n&&(n=!1),null==e?null:null!=e[t.DATA_KEY]?e[t.DATA_KEY].blot:n?h(e.parentNode,n):null}function d(e,t){var n;if(void 0===t&&(t=o.ANY),"string"===typeof e)n=c[e]||a[e];else if(e instanceof Text||e["nodeType"]===Node.TEXT_NODE)n=c["text"];else if("number"===typeof e)e&o.LEVEL&o.BLOCK?n=c["block"]:e&o.LEVEL&o.INLINE&&(n=c["inline"]);else if(e instanceof HTMLElement){var r=(e.getAttribute("class")||"").split(/\s+/);for(var i in r)if(n=s[r[i]],n)break;n=n||l[e.tagName]}return null==n?null:t&o.LEVEL&n.scope&&t&o.TYPE&n.scope?n:null}function f(){for(var e=[],t=0;t1)return e.map((function(e){return f(e)}));var n=e[0];if("string"!==typeof n.blotName&&"string"!==typeof n.attrName)throw new i("Invalid definition");if("abstract"===n.blotName)throw new i("Cannot register abstract class");if(c[n.blotName||n.attrName]=n,"string"===typeof n.keyName)a[n.keyName]=n;else if(null!=n.className&&(s[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map((function(e){return e.toUpperCase()})):n.tagName=n.tagName.toUpperCase();var r=Array.isArray(n.tagName)?n.tagName:[n.tagName];r.forEach((function(e){null!=l[e]&&null!=n.className||(l[e]=n)}))}return n}t.DATA_KEY="__blot",function(e){e[e["TYPE"]=3]="TYPE",e[e["LEVEL"]=12]="LEVEL",e[e["ATTRIBUTE"]=13]="ATTRIBUTE",e[e["BLOT"]=14]="BLOT",e[e["INLINE"]=7]="INLINE",e[e["BLOCK"]=11]="BLOCK",e[e["BLOCK_BLOT"]=10]="BLOCK_BLOT",e[e["INLINE_BLOT"]=6]="INLINE_BLOT",e[e["BLOCK_ATTRIBUTE"]=9]="BLOCK_ATTRIBUTE",e[e["INLINE_ATTRIBUTE"]=5]="INLINE_ATTRIBUTE",e[e["ANY"]=15]="ANY"}(o=t.Scope||(t.Scope={})),t.create=u,t.find=h,t.query=d,t.register=f},function(e,t,n){var r=n(51),i=n(11),o=n(3),a=n(20),s=String.fromCharCode(0),l=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};l.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},l.prototype["delete"]=function(e){return e<=0?this:this.push({delete:e})},l.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},l.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=o(!0,{},e),"object"===typeof n){if("number"===typeof e["delete"]&&"number"===typeof n["delete"])return this.ops[t-1]={delete:n["delete"]+e["delete"]},this;if("number"===typeof n["delete"]&&null!=e.insert&&(t-=1,n=this.ops[t-1],"object"!==typeof n))return this.ops.unshift(e),this;if(i(e.attributes,n.attributes)){if("string"===typeof e.insert&&"string"===typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"===typeof e.retain&&"number"===typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},l.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},l.prototype.filter=function(e){return this.ops.filter(e)},l.prototype.forEach=function(e){this.ops.forEach(e)},l.prototype.map=function(e){return this.ops.map(e)},l.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(r){var i=e(r)?t:n;i.push(r)})),[t,n]},l.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},l.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+a.length(t):t.delete?e-t.delete:e}),0)},l.prototype.length=function(){return this.reduce((function(e,t){return e+a.length(t)}),0)},l.prototype.slice=function(e,t){e=e||0,"number"!==typeof t&&(t=1/0);var n=[],r=a.iterator(this.ops),i=0;while(i0&&n.next(o.retain-s)}var c=new l(r);while(t.hasNext()||n.hasNext())if("insert"===n.peekType())c.push(n.next());else if("delete"===t.peekType())c.push(t.next());else{var u=Math.min(t.peekLength(),n.peekLength()),h=t.next(u),d=n.next(u);if("number"===typeof d.retain){var f={};"number"===typeof h.retain?f.retain=u:f.insert=h.insert;var p=a.attributes.compose(h.attributes,d.attributes,"number"===typeof h.retain);if(p&&(f.attributes=p),c.push(f),!n.hasNext()&&i(c.ops[c.ops.length-1],f)){var m=new l(t.rest());return c.concat(m).chop()}}else"number"===typeof d["delete"]&&"number"===typeof h.retain&&c.push(d)}return c.chop()},l.prototype.concat=function(e){var t=new l(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},l.prototype.diff=function(e,t){if(this.ops===e.ops)return new l;var n=[this,e].map((function(t){return t.map((function(n){if(null!=n.insert)return"string"===typeof n.insert?n.insert:s;var r=t===e?"on":"with";throw new Error("diff() called "+r+" non-document")})).join("")})),o=new l,c=r(n[0],n[1],t),u=a.iterator(this.ops),h=a.iterator(e.ops);return c.forEach((function(e){var t=e[1].length;while(t>0){var n=0;switch(e[0]){case r.INSERT:n=Math.min(h.peekLength(),t),o.push(h.next(n));break;case r.DELETE:n=Math.min(t,u.peekLength()),u.next(n),o["delete"](n);break;case r.EQUAL:n=Math.min(u.peekLength(),h.peekLength(),t);var s=u.next(n),l=h.next(n);i(s.insert,l.insert)?o.retain(n,a.attributes.diff(s.attributes,l.attributes)):o.push(l)["delete"](n);break}t-=n}})),o.chop()},l.prototype.eachLine=function(e,t){t=t||"\n";var n=a.iterator(this.ops),r=new l,i=0;while(n.hasNext()){if("insert"!==n.peekType())return;var o=n.peek(),s=a.length(o)-n.peekLength(),c="string"===typeof o.insert?o.insert.indexOf(t,s)-s:-1;if(c<0)r.push(n.next());else if(c>0)r.push(n.next(c));else{if(!1===e(r,n.next(1).attributes||{},i))return;i+=1,r=new l}}r.length()>0&&e(r,{},i)},l.prototype.transform=function(e,t){if(t=!!t,"number"===typeof e)return this.transformPosition(e,t);var n=a.iterator(this.ops),r=a.iterator(e.ops),i=new l;while(n.hasNext()||r.hasNext())if("insert"!==n.peekType()||!t&&"insert"===r.peekType())if("insert"===r.peekType())i.push(r.next());else{var o=Math.min(n.peekLength(),r.peekLength()),s=n.next(o),c=r.next(o);if(s["delete"])continue;c["delete"]?i.push(c):i.retain(o,a.attributes.transform(s.attributes,c.attributes,t))}else i.retain(a.length(n.next()));return i.chop()},l.prototype.transformPosition=function(e,t){t=!!t;var n=a.iterator(this.ops),r=0;while(n.hasNext()&&r<=e){var i=n.peekLength(),o=n.peekType();n.next(),"delete"!==o?("insert"===o&&(r0&&(e1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-x)){var r=this.clone();return 0===e?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var o=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},o}}]),t}(u.default.Block);function A(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"===typeof e.formats&&(t=(0,a.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:A(e.parent,t))}C.blotName="block",C.tagName="P",C.defaultChild="break",C.allowedChildren=[p.default,u.default.Embed,g.default],t.bubbleFormats=A,t.BlockEmbed=k,t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(S(this,e),this.options=O(t,r),this.container=this.options.container,null==this.container)return E.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var i=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new h.default,this.scroll=m.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new c.default(this.scroll),this.selection=new v.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(h.default.events.EDITOR_CHANGE,(function(e){e===h.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(h.default.events.SCROLL_UPDATE,(function(e,t){var r=n.selection.lastRange,i=r&&0===r.length?r.index:void 0;N.call(n,(function(){return n.editor.update(null,t,i)}),e)}));var o=this.clipboard.convert("
"+i+"


");this.setContents(o),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return o(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),x.default.level(e)}},{key:"find",value:function(e){return e.__quill||m.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&E.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof e){var i=e.attrName||e.blotName;"string"===typeof i?this.register("formats/"+i,e,t):Object.keys(e).forEach((function(r){n.register(r,e[r],t)}))}else null==this.imports[e]||r||E.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?m.default.register(t):e.startsWith("modules")&&"function"===typeof t.register&&t.register()}}]),o(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof e){var n=e;e=document.createElement("div"),e.classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var r=this,o=L(e,t,n),a=i(o,4);return e=a[0],t=a[1],n=a[3],N.call(this,(function(){return r.editor.deleteText(e,t)}),n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.default.sources.API;return N.call(this,(function(){var r=n.getSelection(!0),i=new s.default;if(null==r)return i;if(m.default.query(e,m.default.Scope.BLOCK))i=n.editor.formatLine(r.index,r.length,T({},e,t));else{if(0===r.length)return n.selection.format(e,t),i;i=n.editor.formatText(r.index,r.length,T({},e,t))}return n.setSelection(r,h.default.sources.SILENT),i}),r)}},{key:"formatLine",value:function(e,t,n,r,o){var a=this,s=void 0,l=L(e,t,n,r,o),c=i(l,4);return e=c[0],t=c[1],s=c[2],o=c[3],N.call(this,(function(){return a.editor.formatLine(e,t,s)}),o,e,0)}},{key:"formatText",value:function(e,t,n,r,o){var a=this,s=void 0,l=L(e,t,n,r,o),c=i(l,4);return e=c[0],t=c[1],s=c[2],o=c[3],N.call(this,(function(){return a.editor.formatText(e,t,s)}),o,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"===typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=L(e,t),r=i(n,2);return e=r[0],t=r[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=L(e,t),r=i(n,2);return e=r[0],t=r[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return N.call(this,(function(){return i.editor.insertEmbed(t,n,r)}),o,t)}},{key:"insertText",value:function(e,t,n,r,o){var a=this,s=void 0,l=L(e,0,n,r,o),c=i(l,4);return e=c[0],s=c[2],o=c[3],N.call(this,(function(){return a.editor.insertText(e,t,s)}),o,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var r=this,o=L(e,t,n),a=i(o,4);return e=a[0],t=a[1],n=a[3],N.call(this,(function(){return r.editor.removeFormat(e,t)}),n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.default.sources.API;return N.call(this,(function(){e=new s.default(e);var n=t.getLength(),r=t.editor.deleteText(0,n),i=t.editor.applyDelta(e),o=i.ops[i.ops.length-1];null!=o&&"string"===typeof o.insert&&"\n"===o.insert[o.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),i.delete(1));var a=r.compose(i);return a}),n)}},{key:"setSelection",value:function(t,n,r){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var o=L(t,n,r),a=i(o,4);t=a[0],n=a[1],r=a[3],this.selection.setRange(new g.Range(t,n),r),r!==h.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.default.sources.API,n=(new s.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.default.sources.API;return N.call(this,(function(){return e=new s.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();function O(e,t){if(t=(0,y.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t),t.theme&&t.theme!==M.DEFAULTS.theme){if(t.theme=M.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=C.default;var n=(0,y.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach((function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var r=Object.keys(n.modules).concat(Object.keys(t.modules)),i=r.reduce((function(e,t){var n=M.import("modules/"+t);return null==n?E.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e}),{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,y.default)(!0,{},M.DEFAULTS,{modules:i},n,t),["bounds","container","scrollingContainer"].forEach((function(e){"string"===typeof t[e]&&(t[e]=document.querySelector(t[e]))})),t.modules=Object.keys(t.modules).reduce((function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e}),{}),t}function N(e,t,n,r){if(this.options.strict&&!this.isEnabled()&&t===h.default.sources.USER)return new s.default;var i=null==n?null:this.getSelection(),o=this.editor.delta,a=e();if(null!=i&&(!0===n&&(n=i.index),null==r?i=D(i,a,t):0!==r&&(i=D(i,n,r,t)),this.setSelection(i,h.default.sources.SILENT)),a.length()>0){var l,c,u=[h.default.events.TEXT_CHANGE,a,o,t];if((l=this.emitter).emit.apply(l,[h.default.events.EDITOR_CHANGE].concat(u)),t!==h.default.sources.SILENT)(c=this.emitter).emit.apply(c,u)}return a}function L(e,t,n,i,o){var a={};return"number"===typeof e.index&&"number"===typeof e.length?"number"!==typeof t?(o=i,i=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!==typeof t&&(o=i,i=n,n=t,t=0),"object"===("undefined"===typeof n?"undefined":r(n))?(a=n,o=i):"string"===typeof n&&(null!=i?a[n]=i:o=n),o=o||h.default.sources.API,[e,t,a,o]}function D(e,t,n,r){if(null==e)return null;var o=void 0,a=void 0;if(t instanceof s.default){var l=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,r!==h.default.sources.USER)})),c=i(l,2);o=c[0],a=c[1]}else{var u=[e.index,e.index+e.length].map((function(e){return e=0?e+n:Math.max(t,e+n)})),d=i(u,2);o=d[0],a=d[1]}return new g.Range(o,a-o)}M.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},M.events=h.default.events,M.sources=h.default.sources,M.version="1.3.7",M.imports={delta:s.default,parchment:m.default,"core/module":f.default,"core/theme":C.default},t.expandConfig=O,t.overload=L,t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var r=t.order.indexOf(e),i=t.order.indexOf(n);return r>=0||i>=0?r-i:e===n?0:e1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{};r(this,e),this.quill=t,this.options=n};i.DEFAULTS={},t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=["error","warn","log","info"],i="warn";function o(e){if(r.indexOf(e)<=r.indexOf(i)){for(var t,n=arguments.length,o=Array(n>1?n-1:0),a=1;a0&&"number"!==typeof e[0]))}function c(e,t,n){var c,u;if(s(e)||s(t))return!1;if(e.prototype!==t.prototype)return!1;if(o(e))return!!o(t)&&(e=r.call(e),t=r.call(t),a(e,t,n));if(l(e)){if(!l(t))return!1;if(e.length!==t.length)return!1;for(c=0;c=0;c--)if(h[c]!=d[c])return!1;for(c=h.length-1;c>=0;c--)if(u=h[c],!a(e[u],t[u],n))return!1;return typeof e===typeof t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var i=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|i:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,(function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){var n=r.query(e,r.Scope.BLOT&(this.scope|r.Scope.TYPE));return null!=n&&(null==this.whitelist||("string"===typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function e(e,t){for(var n=0;n=e+n)){var a=this.newlineIndex(e,!0)+1,s=o-a+1,l=this.isolate(a,s),u=l.next;l.format(r,i),u instanceof t&&u.formatAt(0,e-a+n-s,r,i)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var i=this.descendant(m.default,e),o=r(i,2),a=o[0],s=o[1];a.insertAt(s,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var n=this.domNode.textContent.slice(e).indexOf("\n");return n>-1?e+n:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(c.default.create("text","\n")),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(e){var t=c.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof c.default.Embed?t.remove():t.unwrap()}))}}],[{key:"create",value:function(e){var n=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(h.default);x.blotName="code-block",x.tagName="PRE",x.TAB=" ",t.Code=w,t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n=o&&!u.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,u);var d=t.scroll.line(e),f=i(d,2),p=f[0],m=f[1],b=(0,T.default)({},(0,g.bubbleFormats)(p));if(p instanceof v.default){var y=p.descendant(h.default.Leaf,m),w=i(y,1),x=w[0];b=(0,T.default)(b,(0,g.bubbleFormats)(x))}l=c.default.attributes.diff(b,l)||{}}else if("object"===r(a.insert)){var k=Object.keys(a.insert)[0];if(null==k)return e;t.scroll.insertAt(e,k,a.insert[k])}o+=s}return Object.keys(l).forEach((function(n){t.scroll.formatAt(e,s,n,l[n])})),e+s}),0),e.reduce((function(e,n){return"number"===typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new s.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach((function(i){if(null==n.scroll.whitelist||n.scroll.whitelist[i]){var o=n.scroll.lines(e,Math.max(t,1)),a=t;o.forEach((function(t){var o=t.length();if(t instanceof f.default){var s=e-t.offset(n.scroll),l=t.newlineIndex(s+a)-s+1;t.formatAt(s,l,i,r[i])}else t.format(i,r[i]);a-=o}))}})),this.scroll.optimize(),this.update((new s.default).retain(e).retain(t,(0,x.default)(r)))}},{key:"formatText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach((function(i){n.scroll.formatAt(e,t,i,r[i])})),this.update((new s.default).retain(e).retain(t,(0,x.default)(r)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(e,t){return e.concat(t.delta())}),new s.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===t?this.scroll.path(e).forEach((function(e){var t=i(e,1),o=t[0];o instanceof v.default?n.push(o):o instanceof h.default.Leaf&&r.push(o)})):(n=this.scroll.lines(e,t),r=this.scroll.descendants(h.default.Leaf,e,t));var o=[n,r].map((function(e){if(0===e.length)return{};var t=(0,g.bubbleFormats)(e.shift());while(Object.keys(t).length>0){var n=e.shift();if(null==n)return t;t=L((0,g.bubbleFormats)(n),t)}return t}));return T.default.apply(T.default,o)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter((function(e){return"string"===typeof e.insert})).map((function(e){return e.insert})).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new s.default).retain(e).insert(E({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(r).forEach((function(i){n.scroll.formatAt(e,t.length,i,r[i])})),this.update((new s.default).retain(e).insert(t,(0,x.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===v.default.blotName&&(!(e.children.length>1)&&e.children.head instanceof y.default)}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),r=this.scroll.line(e+t),o=i(r,2),a=o[0],l=o[1],c=0,u=new s.default;null!=a&&(c=a instanceof f.default?a.newlineIndex(l)-l+1:a.length()-l,u=a.delta().slice(l,l+c-1).insert("\n"));var h=this.getContents(e,t+c),d=h.diff((new s.default).insert(n).concat(u)),p=(new s.default).retain(e).concat(d);return this.applyDelta(p)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(O)&&h.default.find(t[0].target)){var i=h.default.find(t[0].target),o=(0,g.bubbleFormats)(i),a=i.offset(this.scroll),l=t[0].oldValue.replace(m.default.CONTENTS,""),c=(new s.default).insert(l),u=(new s.default).insert(i.value()),d=(new s.default).retain(a).concat(c.diff(u,n));e=d.reduce((function(e,t){return t.insert?e.insert(t.insert,o):e.push(t)}),new s.default),this.delta=r.compose(e)}else this.delta=this.getDelta(),e&&(0,C.default)(r.compose(e),this.delta)||(e=r.diff(this.delta,n));return e}}]),e}();function L(e,t){return Object.keys(t).reduce((function(n,r){return null==e[r]||(t[r]===e[r]?n[r]=t[r]:Array.isArray(t[r])?t[r].indexOf(e[r])<0&&(n[r]=t[r].concat([e[r]])):n[r]=[t[r],e[r]]),n}),{})}function D(e){return e.reduce((function(e,t){if(1===t.insert){var n=(0,x.default)(t.attributes);return delete n["image"],e.insert({image:t.attributes.image},n)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||(t=(0,x.default)(t),t.attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"===typeof t.insert){var r=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(r,t.attributes)}return e.push(t)}),new s.default)}t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0;v(this,e),this.index=t,this.length=n},w=function(){function e(t,n){var r=this;v(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=a.default.create("cursor",this),this.lastRange=this.savedRange=new y(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){r.mouseDown||setTimeout(r.update.bind(r,d.default.sources.USER),1)})),this.emitter.on(d.default.events.EDITOR_CHANGE,(function(e,t){e===d.default.events.TEXT_CHANGE&&t.length()>0&&r.update(d.default.sources.SILENT)})),this.emitter.on(d.default.events.SCROLL_BEFORE_UPDATE,(function(){if(r.hasFocus()){var e=r.getNativeRange();null!=e&&e.start.node!==r.cursor.textNode&&r.emitter.once(d.default.events.SCROLL_UPDATE,(function(){try{r.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(t){}}))}})),this.emitter.on(d.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,i=n.startNode,o=n.startOffset,a=n.endNode,s=n.endOffset;r.setNativeRange(i,o,a,s)}})),this.update(d.default.sources.SILENT)}return i(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0})),this.root.addEventListener("compositionend",(function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,(function(){e.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){e.mouseDown=!1,e.update(d.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!a.default.query(e,a.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=a.default.find(n.start.node,!1);if(null==r)return;if(r instanceof a.default.Leaf){var i=r.split(n.start.offset);r.parent.insertBefore(this.cursor,i)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var i=void 0,o=this.scroll.leaf(e),a=r(o,2),s=a[0],l=a[1];if(null==s)return null;var c=s.position(l,!0),u=r(c,2);i=u[0],l=u[1];var h=document.createRange();if(t>0){h.setStart(i,l);var d=this.scroll.leaf(e+t),f=r(d,2);if(s=f[0],l=f[1],null==s)return null;var p=s.position(l,!0),m=r(p,2);return i=m[0],l=m[1],h.setEnd(i,l),h.getBoundingClientRect()}var g="left",v=void 0;return i instanceof Text?(l0&&(g="right")),{bottom:v.top+v.height,height:v.height,left:v[g],right:v[g],top:v.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return b.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();if(null==e)return[null,null];var t=this.normalizedToRange(e);return[t,e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var i=n.map((function(e){var n=r(e,2),i=n[0],o=n[1],s=a.default.find(i,!0),l=s.offset(t.scroll);return 0===o?l:s instanceof a.default.Container?l+s.length():l+s.index(i,o)})),o=Math.min(Math.max.apply(Math,g(i)),this.scroll.length()-1),s=Math.min.apply(Math,[o].concat(g(i)));return new y(s,o-s)}},{key:"normalizeNative",value:function(e){if(!x(this.root,e.startContainer)||!e.collapsed&&!x(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach((function(e){var t=e.node,n=e.offset;while(!(t instanceof Text)&&t.childNodes.length>0)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;t=t.lastChild,n=t instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n})),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],i=[],o=this.scroll.length();return n.forEach((function(e,n){e=Math.min(o-1,e);var a=void 0,s=t.scroll.leaf(e),l=r(s,2),c=l[0],u=l[1],h=c.position(u,0!==n),d=r(h,2);a=d[0],u=d[1],i.push(a,u)})),i.length<2&&(i=i.concat(i)),i}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var i=this.scroll.length()-1,o=this.scroll.line(Math.min(t.index,i)),a=r(o,1),s=a[0],l=s;if(t.length>0){var c=this.scroll.line(Math.min(t.index+t.length,i)),u=r(c,1);l=u[0]}if(null!=s&&null!=l){var h=e.getBoundingClientRect();n.toph.bottom&&(e.scrollTop+=n.bottom-h.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(b.info("setNativeRange",e,t,n,r),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var o=document.getSelection();if(null!=o)if(null!=e){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||i||e!==a.startContainer||t!==a.startOffset||n!==a.endContainer||r!==a.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(e,t),s.setEnd(n,r),o.removeAllRanges(),o.addRange(s)}}else o.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;if("string"===typeof t&&(n=t,t=!1),b.info("setRange",e),null!=e){var r=this.rangeToNative(e);this.setNativeRange.apply(this,g(r).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default.sources.USER,t=this.lastRange,n=this.getRange(),i=r(n,2),o=i[0],a=i[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,u.default)(t,this.lastRange)){var s;!this.composing&&null!=a&&a.native.collapsed&&a.start.node!==this.cursor.textNode&&this.cursor.restore();var c,h=[d.default.events.SELECTION_CHANGE,(0,l.default)(this.lastRange),(0,l.default)(t),e];if((s=this.emitter).emit.apply(s,[d.default.events.EDITOR_CHANGE].concat(h)),e!==d.default.sources.SILENT)(c=this.emitter).emit.apply(c,h)}}}]),e}();function x(e,t){try{t.parentNode}catch(n){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=y,t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return e={},e[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=o.Scope.INLINE_BLOT,t}(i.default);t.default=a},function(e,t,n){var r=n(11),i=n(3),o={attributes:{compose:function(e,t,n){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var r=i(!0,{},t);for(var o in n||(r=Object.keys(r).reduce((function(e,t){return null!=r[t]&&(e[t]=r[t]),e}),{})),e)void 0!==e[o]&&void 0===t[o]&&(r[o]=e[o]);return Object.keys(r).length>0?r:void 0},diff:function(e,t){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,i){return r(e[i],t[i])||(n[i]=void 0===t[i]?null:t[i]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!==typeof e)return t;if("object"===typeof t){if(!n)return t;var r=Object.keys(t).reduce((function(n,r){return void 0===e[r]&&(n[r]=t[r]),n}),{});return Object.keys(r).length>0?r:void 0}}},iterator:function(e){return new a(e)},length:function(e){return"number"===typeof e["delete"]?e["delete"]:"number"===typeof e.retain?e.retain:"string"===typeof e.insert?e.insert.length:1}};function a(e){this.ops=e,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,r=o.length(t);if(e>=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,"number"===typeof t["delete"])return{delete:e};var i={};return t.attributes&&(i.attributes=t.attributes),"number"===typeof t.retain?i.retain=e:"string"===typeof t.insert?i.insert=t.insert.substr(n,e):i.insert=t.insert,i}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index]["delete"]?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}return[]},e.exports=o},function(e,n){var r=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var n,r,i;try{n=Map}catch(h){n=function(){}}try{r=Set}catch(h){r=function(){}}try{i=Promise}catch(h){i=function(){}}function o(a,s,l,c,h){"object"===typeof s&&(l=s.depth,c=s.prototype,h=s.includeNonEnumerable,s=s.circular);var d=[],f=[],p="undefined"!=typeof t;function m(a,l){if(null===a)return null;if(0===l)return a;var g,v;if("object"!=typeof a)return a;if(e(a,n))g=new n;else if(e(a,r))g=new r;else if(e(a,i))g=new i((function(e,t){a.then((function(t){e(m(t,l-1))}),(function(e){t(m(e,l-1))}))}));else if(o.__isArray(a))g=[];else if(o.__isRegExp(a))g=new RegExp(a.source,u(a)),a.lastIndex&&(g.lastIndex=a.lastIndex);else if(o.__isDate(a))g=new Date(a.getTime());else{if(p&&t.isBuffer(a))return g=t.allocUnsafe?t.allocUnsafe(a.length):new t(a.length),a.copy(g),g;e(a,Error)?g=Object.create(a):"undefined"==typeof c?(v=Object.getPrototypeOf(a),g=Object.create(v)):(g=Object.create(c),v=c)}if(s){var b=d.indexOf(a);if(-1!=b)return f[b];d.push(a),f.push(g)}for(var y in e(a,n)&&a.forEach((function(e,t){var n=m(t,l-1),r=m(e,l-1);g.set(n,r)})),e(a,r)&&a.forEach((function(e){var t=m(e,l-1);g.add(t)})),a){var w;v&&(w=Object.getOwnPropertyDescriptor(v,y)),w&&null==w.set||(g[y]=m(a[y],l-1))}if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(a);for(y=0;y0){if(s instanceof u.BlockEmbed||d instanceof u.BlockEmbed)return void this.optimize();if(s instanceof m.default){var p=s.newlineIndex(s.length(),!0);if(p>-1&&(s=s.split(p+1),s===d))return void this.optimize()}else if(d instanceof m.default){var g=d.newlineIndex(0);g>-1&&d.split(g+1)}var v=d.children.head instanceof f.default?null:d.children.head;s.moveChildren(d,v),s.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,r,i){(null==this.whitelist||this.whitelist[r])&&(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,i),this.optimize())}},{key:"insertAt",value:function(e,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==r||null==s.default.query(n,s.default.Scope.BLOCK)){var i=s.default.create(this.statics.defaultChild);this.appendChild(i),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),i.insertAt(0,n,r)}else{var a=s.default.create(n,r);this.appendChild(a)}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===s.default.Scope.INLINE_BLOT){var r=s.default.create(this.statics.defaultChild);r.appendChild(e),e=r}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(k,e)}},{key:"lines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function e(t,n,r){var i=[],o=r;return t.children.forEachAt(n,r,(function(t,n,r){k(t)?i.push(t):t instanceof s.default.Container&&(i=i.concat(e(t,n,o))),o-=r})),i};return n(this,e,t)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(c.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=c.default.sources.USER;"string"===typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(c.default.events.SCROLL_BEFORE_UPDATE,n,e),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(c.default.events.SCROLL_UPDATE,n,e)}}}]),t}(s.default.Scroll);C.blotName="scroll",C.className="ql-editor",C.tagName="DIV",C.defaultChild="block",C.allowedChildren=[h.default,u.BlockEmbed,v.default],t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=j(e);if(null==r||null==r.key)return O.warn("Attempted to add invalid keyboard binding",r);"function"===typeof t&&(t={handler:t}),"function"===typeof n&&(n={handler:n}),r=(0,h.default)(r,t,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var o=n.which||n.keyCode,a=(e.bindings[o]||[]).filter((function(e){return t.match(n,e)}));if(0!==a.length){var s=e.quill.getSelection();if(null!=s&&e.quill.hasFocus()){var l=e.quill.getLine(s.index),u=i(l,2),h=u[0],d=u[1],f=e.quill.getLeaf(s.index),p=i(f,2),m=p[0],g=p[1],b=0===s.length?[m,g]:e.quill.getLeaf(s.index+s.length),y=i(b,2),w=y[0],x=y[1],k=m instanceof v.default.Text?m.value().slice(0,g):"",C=w instanceof v.default.Text?w.value().slice(x):"",A={collapsed:0===s.length,empty:0===s.length&&h.length()<=1,format:e.quill.getFormat(s),offset:d,prefix:k,suffix:C},T=a.some((function(t){if(null!=t.collapsed&&t.collapsed!==A.collapsed)return!1;if(null!=t.empty&&t.empty!==A.empty)return!1;if(null!=t.offset&&t.offset!==A.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==A.format[e]})))return!1}else if("object"===r(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=A.format[e]:!1===t.format[e]?null==A.format[e]:(0,c.default)(t.format[e],A.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(A.prefix))&&(!(null!=t.suffix&&!t.suffix.test(A.suffix))&&!0!==t.handler.call(e,s,A))}));T&&n.preventDefault()}}}}))}}]),t}(C.default);function D(e,t){var n,r=e===L.keys.LEFT?"prefix":"suffix";return n={key:e,shiftKey:t,altKey:null},T(n,r,/^$/),T(n,"handler",(function(n){var r=n.index;e===L.keys.RIGHT&&(r+=n.length+1);var o=this.quill.getLeaf(r),a=i(o,1),s=a[0];return!(s instanceof v.default.Embed)||(e===L.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,y.default.sources.USER):this.quill.setSelection(n.index-1,y.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,y.default.sources.USER):this.quill.setSelection(n.index+n.length+1,y.default.sources.USER),!1)})),n}function P(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),r=i(n,1),o=r[0],a={};if(0===t.offset){var s=this.quill.getLine(e.index-1),l=i(s,1),c=l[0];if(null!=c&&c.length()>1){var u=o.formats(),h=this.quill.getFormat(e.index-1,1);a=m.default.attributes.diff(u,h)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-d,d,y.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(e.index-d,d,a,y.default.sources.USER),this.quill.focus()}}function I(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var r={},o=0,a=this.quill.getLine(e.index),s=i(a,1),l=s[0];if(t.offset>=l.length()-1){var c=this.quill.getLine(e.index+1),u=i(c,1),h=u[0];if(h){var d=l.formats(),f=this.quill.getFormat(e.index,1);r=m.default.attributes.diff(d,f)||{},o=h.length()}}this.quill.deleteText(e.index,n,y.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index+o-1,n,r,y.default.sources.USER)}}function R(e){var t=this.quill.getLines(e),n={};if(t.length>1){var r=t[0].formats(),i=t[t.length-1].formats();n=m.default.attributes.diff(i,r)||{}}this.quill.deleteText(e,y.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,y.default.sources.USER),this.quill.setSelection(e.index,y.default.sources.SILENT),this.quill.focus()}function F(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var r=Object.keys(t.format).reduce((function(e,n){return v.default.query(n,v.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",r,y.default.sources.USER),this.quill.setSelection(e.index+1,y.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==r[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],y.default.sources.USER))}))}function z(e){return{key:L.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=v.default.query("code-block"),r=t.index,o=t.length,a=this.quill.scroll.descendant(n,r),s=i(a,2),l=s[0],c=s[1];if(null!=l){var u=this.quill.getIndex(l),h=l.newlineIndex(c,!0)+1,d=l.newlineIndex(u+c+o),f=l.domNode.textContent.slice(h,d).split("\n");c=0,f.forEach((function(t,i){e?(l.insertAt(h+c,n.TAB),c+=n.TAB.length,0===i?r+=n.TAB.length:o+=n.TAB.length):t.startsWith(n.TAB)&&(l.deleteAt(h+c,n.TAB.length),c-=n.TAB.length,0===i?r-=n.TAB.length:o-=n.TAB.length),c+=t.length+1})),this.quill.update(y.default.sources.USER),this.quill.setSelection(r,o,y.default.sources.SILENT)}}}}function B(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],y.default.sources.USER)}}}function j(e){if("string"===typeof e||"number"===typeof e)return j({key:e});if("object"===("undefined"===typeof e?"undefined":r(e))&&(e=(0,s.default)(e,!1)),"string"===typeof e.key)if(null!=L.keys[e.key.toUpperCase()])e.key=L.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[N]=e.shortKey,delete e.shortKey),e}L.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},L.DEFAULTS={bindings:{bold:B("bold"),italic:B("italic"),underline:B("underline"),indent:{key:L.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",y.default.sources.USER)}},outdent:{key:L.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",y.default.sources.USER)}},"outdent backspace":{key:L.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",y.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,y.default.sources.USER)}},"indent code-block":z(!0),"outdent code-block":z(!1),"remove tab":{key:L.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,y.default.sources.USER)}},tab:{key:L.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new f.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,y.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,y.default.sources.SILENT)}},"list empty enter":{key:L.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,y.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,y.default.sources.USER)}},"checklist enter":{key:L.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=i(t,2),r=n[0],o=n[1],a=(0,h.default)({},r.formats(),{list:"checked"}),s=(new f.default).retain(e.index).insert("\n",a).retain(r.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,y.default.sources.USER),this.quill.setSelection(e.index+1,y.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:L.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),r=i(n,2),o=r[0],a=r[1],s=(new f.default).retain(e.index).insert("\n",t.format).retain(o.length()-a-1).retain(1,{header:null});this.quill.updateContents(s,y.default.sources.USER),this.quill.setSelection(e.index+1,y.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,r=this.quill.getLine(e.index),o=i(r,2),a=o[0],s=o[1];if(s>n)return!0;var l=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(e.index," ",y.default.sources.USER),this.quill.history.cutoff();var c=(new f.default).retain(e.index-s).delete(n+1).retain(a.length()-2-s).retain(1,{list:l});this.quill.updateContents(c,y.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,y.default.sources.SILENT)}},"code exit":{key:L.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=i(t,2),r=n[0],o=n[1],a=(new f.default).retain(e.index+r.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,y.default.sources.USER)}},"embed left":D(L.keys.LEFT,!1),"embed left shift":D(L.keys.LEFT,!0),"embed right":D(L.keys.RIGHT,!1),"embed right shift":D(L.keys.RIGHT,!0)}},t.default=L,t.SHORTKEY=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=function(){function e(e,t){for(var n=0;n-1}h.blotName="link",h.tagName="A",h.SANITIZED_URL="about:blank",h.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=h,t.sanitize=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":r(Event))){var i=document.createEvent("Event");i.initEvent("change",!0,!0),this.select.dispatchEvent(i)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=O(r),o=n(5),a=O(o),s=n(4),l=O(s),c=n(16),u=O(c),h=n(25),d=O(h),f=n(24),p=O(f),m=n(35),g=O(m),v=n(6),b=O(v),y=n(22),w=O(y),x=n(7),k=O(x),C=n(55),A=O(C),T=n(42),S=O(T),E=n(23),M=O(E);function O(e){return e&&e.__esModule?e:{default:e}}a.default.register({"blots/block":l.default,"blots/block/embed":s.BlockEmbed,"blots/break":u.default,"blots/container":d.default,"blots/cursor":p.default,"blots/embed":g.default,"blots/inline":b.default,"blots/scroll":w.default,"blots/text":k.default,"modules/clipboard":A.default,"modules/history":S.default,"modules/keyboard":M.default}),i.default.register(l.default,u.default,p.default,b.default,w.default,k.default),t.default=a.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(e){this.domNode=e,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"===typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"===typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return r.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},e.prototype.deleteAt=function(e,t){var n=this.isolate(e,t);n.remove()},e.prototype.formatAt=function(e,t,n,i){var o=this.isolate(e,t);if(null!=r.query(n,r.Scope.BLOT)&&i)o.wrap(n,i);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var a=r.create(this.statics.scope);o.wrap(a),a.format(n,i)}},e.prototype.insertAt=function(e,t,n){var i=null==n?r.create("text",t):r.create(t,n),o=this.split(e);this.parent.insertBefore(i,o)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"===typeof e?r.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"===typeof e?r.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),i=n(32),o=n(33),a=n(1),s=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=r.default.keys(this.domNode),n=i.default.keys(this.domNode),s=o.default.keys(this.domNode);t.concat(n).concat(s).forEach((function(t){var n=a.query(t,a.Scope.ATTRIBUTE);n instanceof r.default&&(e.attributes[n.attrName]=n)}))},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(n){var r=t.attributes[n].value(t.domNode);e.format(n,r)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}();t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(12);function o(e,t){var n=e.getAttribute("class")||"";return n.split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){var t=o(e,this.keyName);t.forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=o(e,this.keyName)[0]||"",n=t.slice(this.keyName.length+1);return this.canAdd(e,n)?n:""},t}(i.default);t.default=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(12);function o(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){var t=e.split(":");return t[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[o(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[o(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[o(this.keyName)];return this.canAdd(e,t)?t:""},t}(i.default);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;nr&&this.stack.undo.length>0){var i=this.stack.undo.pop();n=n.compose(i.undo),e=i.redo.compose(e)}else this.lastRecorded=r;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})),this.stack.redo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(c.default);function m(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"===typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some((function(e){return null!=o.default.query(e,o.default.Scope.BLOCK)})))}function g(e){var t=e.reduce((function(e,t){return e+=t.delete||0,e}),0),n=e.length()-t;return m(e)&&(n-=1),n}p.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=p,t.getLastChangeIndex=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var t=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,u.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,u.default.sources.USER)),this.quill.root.scrollTop=t;break;case"video":e=I(e);case"formula":if(!e)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),e,u.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",u.default.sources.USER),this.quill.setSelection(r+2,u.default.sources.USER)}break;default:}this.textbox.value="",this.hide()}}]),t}(k.default);function I(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return t?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e}function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach((function(t){var r=document.createElement("option");t===n?r.setAttribute("selected","selected"):r.setAttribute("value",t),e.appendChild(r)}))}t.BaseTooltip=P,t.default=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){var t,n=this.iterator();while(t=n())if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){var t=0,n=this.head;while(null!=n){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);var n,r=this.iterator();while(n=r()){var i=n.length();if(es?n(r,e-s,Math.min(t,s+c-e)):n(r,0,Math.min(c,e+t-s)),s+=c}}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){var n,r=this.iterator();while(n=r())t=e(t,n);return t},e}();t.default=r},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(17),o=n(1),a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},s=100,l=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver((function(e){n.update(e)})),n.observer.observe(n.domNode,a),n.attach(),n}return r(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,r,i){this.update(),e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.insertAt=function(t,n,r){this.update(),e.prototype.insertAt.call(this,t,n,r)},t.prototype.optimize=function(t,n){var r=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);var a=[].slice.call(this.observer.takeRecords());while(a.length>0)t.push(a.pop());for(var l=function(e,t){void 0===t&&(t=!0),null!=e&&e!==r&&null!=e.domNode.parentNode&&(null==e.domNode[o.DATA_KEY].mutations&&(e.domNode[o.DATA_KEY].mutations=[]),t&&l(e.parent))},c=function(e){null!=e.domNode[o.DATA_KEY]&&null!=e.domNode[o.DATA_KEY].mutations&&(e instanceof i.default&&e.children.forEach(c),e.optimize(n))},u=t,h=0;u.length>0;h+=1){if(h>=s)throw new Error("[Parchment] Maximum optimize iterations reached");u.forEach((function(e){var t=o.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(l(o.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=o.find(e,!1);l(t,!1),t instanceof i.default&&t.children.forEach((function(e){l(e,!1)}))}))):"attributes"===e.type&&l(t.prev)),l(t))})),this.children.forEach(c),u=[].slice.call(this.observer.takeRecords()),a=u.slice();while(a.length>0)t.push(a.pop())}},t.prototype.update=function(t,n){var r=this;void 0===n&&(n={}),t=t||this.observer.takeRecords(),t.map((function(e){var t=o.find(e.target,!0);return null==t?null:null==t.domNode[o.DATA_KEY].mutations?(t.domNode[o.DATA_KEY].mutations=[e],t):(t.domNode[o.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==r&&null!=e.domNode[o.DATA_KEY]&&e.update(e.domNode[o.DATA_KEY].mutations||[],n)})),null!=this.domNode[o.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[o.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=o.Scope.BLOCK_BLOT,t.tagName="DIV",t}(i.default);t.default=l},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),o=n(1);function a(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):(this.children.forEach((function(e){e instanceof i.default||(e=e.wrap(t.blotName,!0)),o.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,n,r,i){if(null!=this.formats()[r]||o.query(r,o.Scope.ATTRIBUTE)){var a=this.isolate(t,n);a.format(r,i)}else e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var i=this.next;i instanceof t&&i.prev===this&&a(r,i.formats())&&(i.moveChildren(this),i.remove())},t.blotName="inline",t.scope=o.Scope.INLINE_BLOT,t.tagName="SPAN",t}(i.default);t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),o=n(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){var r=o.query(t.blotName).tagName;if(n.tagName!==r)return e.formats.call(this,n)},t.prototype.format=function(n,r){null!=o.query(n,o.Scope.BLOCK)&&(n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,r,i){null!=o.query(r,o.Scope.BLOCK)?this.format(r,i):e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.insertAt=function(t,n,r){if(null==r||null!=o.query(n,o.Scope.INLINE))e.prototype.insertAt.call(this,t,n,r);else{var i=this.split(t),a=o.create(n,r);i.parent.insertBefore(a,i)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=o.Scope.BLOCK_BLOT,t.tagName="P",t}(i.default);t.default=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,r,i){0===t&&n===this.length()?this.format(r,i):e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(i.default);t.default=o},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),o=n(1),a=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return r(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t["normalize"]&&(t=t["normalize"]()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,r){null==r?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,r)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=o.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=o.Scope.INLINE_BLOT,t}(i.default);t.default=a},function(e,t,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)===!t?t:i.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!==typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var r=n.indexOf(e,t);return-1!==r&&r===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,i=arguments[1],o=0;ot.length?e:t,c=e.length>t.length?t:e,u=l.indexOf(c);if(-1!=u)return a=[[r,l.substring(0,u)],[i,c],[r,l.substring(u+c.length)]],e.length>t.length&&(a[0][0]=a[2][0]=n),a;if(1==c.length)return[[n,e],[r,t]];var d=h(e,t);if(d){var f=d[0],p=d[1],m=d[2],g=d[3],v=d[4],b=o(f,m),y=o(p,g);return b.concat([[i,v]],y)}return s(e,t)}function s(e,t){for(var i=e.length,o=t.length,a=Math.ceil((i+o)/2),s=a,c=2*a,u=new Array(c),h=new Array(c),d=0;di)g+=2;else if(k>o)m+=2;else if(p){var C=s+f-w;if(C>=0&&C=A)return l(e,t,E,k)}}}for(var T=-y+v;T<=y-b;T+=2){C=s+T;A=T==-y||T!=y&&h[C-1]i)b+=2;else if(S>o)v+=2;else if(!p){x=s+f-T;if(x>=0&&x=A)return l(e,t,E,k)}}}}return[[n,e],[r,t]]}function l(e,t,n,r){var i=e.substring(0,n),a=t.substring(0,r),s=e.substring(n),l=t.substring(r),c=o(i,a),u=o(s,l);return c.concat(u)}function c(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;var n=0,r=Math.min(e.length,t.length),i=r,o=0;while(nt.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length=e.length?[r,i,o,a,h]:null}var o,a,s,l,h,d=i(n,r,Math.ceil(n.length/4)),f=i(n,r,Math.ceil(n.length/2));if(!d&&!f)return null;o=f?d&&d[4].length>f[4].length?d:f:d,e.length>t.length?(a=o[0],s=o[1],l=o[2],h=o[3]):(l=o[0],h=o[1],a=o[2],s=o[3]);var p=o[4];return[a,s,l,h,p]}function d(e){e.push([i,""]);var t,o=0,a=0,s=0,l="",h="";while(o1?(0!==a&&0!==s&&(t=c(h,l),0!==t&&(o-a-s>0&&e[o-a-s-1][0]==i?e[o-a-s-1][1]+=h.substring(0,t):(e.splice(0,0,[i,h.substring(0,t)]),o++),h=h.substring(t),l=l.substring(t)),t=u(h,l),0!==t&&(e[o][1]=h.substring(h.length-t)+e[o][1],h=h.substring(0,h.length-t),l=l.substring(0,l.length-t))),0===a?e.splice(o-s,a+s,[r,h]):0===s?e.splice(o-a,a+s,[n,l]):e.splice(o-a-s,a+s,[n,l],[r,h]),o=o-a-s+(a?1:0)+(s?1:0)+1):0!==o&&e[o-1][0]==i?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,s=0,a=0,l="",h="";break}""===e[e.length-1][1]&&e.pop();var f=!1;o=1;while(o0&&r.splice(o+2,0,[s[0],l]),v(r,o,3)}return e}function g(e){for(var t=!1,o=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},a=function(e){return e.charCodeAt(e.length-1)>=55296&&e.charCodeAt(e.length-1)<=56319},s=2;s0&&l.push(e[s]);return l}function v(e,t,n){for(var r=t+n-1;r>=0&&r>=t-1;r--)if(r+1\r?\n +\<"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[x.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new c.default).insert(n,E({},x.default.blotName,t[x.default.blotName]))}var r=this.prepareMatching(),o=i(r,2),a=o[0],s=o[1],l=U(this.container,a,s);return j(l,"\n")&&null==l.ops[l.ops.length-1].attributes&&(l=l.compose((new c.default).retain(l.length()-1).delete(1))),L.log("convert",this.container.innerHTML,l),this.container.innerHTML="",l}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.default.sources.API;if("string"===typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,f.default.sources.SILENT);else{var r=this.convert(t);this.quill.updateContents((new c.default).retain(e).concat(r),n),this.quill.setSelection(e+r.length(),f.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new c.default).retain(n.index),i=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(f.default.sources.SILENT),setTimeout((function(){r=r.concat(t.convert()).delete(n.length),t.quill.updateContents(r,f.default.sources.USER),t.quill.setSelection(r.length()-n.length,f.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=i,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach((function(r){var o=i(r,2),a=o[0],s=o[1];switch(a){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:t.push(s);break;default:[].forEach.call(e.container.querySelectorAll(a),(function(e){e[D]=e[D]||[],e[D].push(s)}));break}})),[t,n]}}]),t}(v.default);function z(e,t,n){return"object"===("undefined"===typeof t?"undefined":r(t))?Object.keys(t).reduce((function(e,n){return z(e,n,t[n])}),e):e.reduce((function(e,r){return r.attributes&&r.attributes[t]?e.push(r):e.insert(r.insert,(0,s.default)({},E({},t,n),r.attributes))}),new c.default)}function B(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function j(e,t){for(var n="",r=e.ops.length-1;r>=0&&n.length-1}function U(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce((function(t,n){return n(e,t)}),new c.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(r,i){var o=U(i,t,n);return i.nodeType===e.ELEMENT_NODE&&(o=t.reduce((function(e,t){return t(i,e)}),o),o=(i[D]||[]).reduce((function(e,t){return t(i,e)}),o)),r.concat(o)}),new c.default):new c.default}function q(e,t,n){return z(n,e,!0)}function W(e,t){var n=h.default.Attributor.Attribute.keys(e),r=h.default.Attributor.Class.keys(e),i=h.default.Attributor.Style.keys(e),o={};return n.concat(r).concat(i).forEach((function(t){var n=h.default.query(t,h.default.Scope.ATTRIBUTE);null!=n&&(o[n.attrName]=n.value(e),o[n.attrName])||(n=I[t],null==n||n.attrName!==t&&n.keyName!==t||(o[n.attrName]=n.value(e)||void 0),n=R[t],null==n||n.attrName!==t&&n.keyName!==t||(n=R[t],o[n.attrName]=n.value(e)||void 0))})),Object.keys(o).length>0&&(t=z(t,o)),t}function G(e,t){var n=h.default.query(e);if(null==n)return t;if(n.prototype instanceof h.default.Embed){var r={},i=n.value(e);null!=i&&(r[n.blotName]=i,t=(new c.default).insert(r,n.formats(e)))}else"function"===typeof n.formats&&(t=z(t,n.blotName,n.formats(e)));return t}function V(e,t){return j(t,"\n")||t.insert("\n"),t}function Y(){return new c.default}function K(e,t){var n=h.default.query(e);if(null==n||"list-item"!==n.blotName||!j(t,"\n"))return t;var r=-1,i=e.parentNode;while(!i.classList.contains("ql-clipboard"))"list"===(h.default.query(i)||{}).blotName&&(r+=1),i=i.parentNode;return r<=0?t:t.compose((new c.default).retain(t.length()-1).retain(1,{indent:r}))}function Z(e,t){return j(t,"\n")||(H(e)||t.length()>0&&e.nextSibling&&H(e.nextSibling))&&t.insert("\n"),t}function X(e,t){if(H(e)&&null!=e.nextElementSibling&&!j(t,"\n\n")){var n=e.offsetHeight+parseFloat(B(e).marginTop)+parseFloat(B(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function J(e,t){var n={},r=e.style||{};return r.fontStyle&&"italic"===B(e).fontStyle&&(n.italic=!0),r.fontWeight&&(B(e).fontWeight.startsWith("bold")||parseInt(B(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=z(t,n)),parseFloat(r.textIndent||0)>0&&(t=(new c.default).insert("\t").concat(t)),t}function Q(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!B(e.parentNode).whiteSpace.startsWith("pre")){var r=function(e,t){return t=t.replace(/[^\u00a0]/g,""),t.length<1&&e?" ":t};n=n.replace(/\r\n/g," ").replace(/\n/g," "),n=n.replace(/\s\s+/g,r.bind(r,!0)),(null==e.previousSibling&&H(e.parentNode)||null!=e.previousSibling&&H(e.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==e.nextSibling&&H(e.parentNode)||null!=e.nextSibling&&H(e.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return t.insert(n)}F.DEFAULTS={matchers:[],matchVisual:!0},t.default=F,t.matchAttributor=W,t.matchBlot=G,t.matchNewline=Z,t.matchSpacing=X,t.matchText=Q},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n '},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;nr.right&&(o=r.right-i.right,this.root.style.left=t+o+"px"),i.leftr.bottom){var a=i.bottom-i.top,s=e.bottom-e.top+a;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return o}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=function(){function e(e,t){for(var n=0;n','','',''].join(""),t.default=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),i=ne(r),o=n(36),a=n(38),s=n(64),l=n(65),c=ne(l),u=n(66),h=ne(u),d=n(67),f=ne(d),p=n(37),m=n(26),g=n(39),v=n(40),b=n(56),y=ne(b),w=n(68),x=ne(w),k=n(27),C=ne(k),A=n(69),T=ne(A),S=n(70),E=ne(S),M=n(71),O=ne(M),N=n(72),L=ne(N),D=n(73),P=ne(D),I=n(13),R=ne(I),F=n(74),z=ne(F),B=n(75),j=ne(B),H=n(57),U=ne(H),q=n(41),W=ne(q),G=n(28),V=ne(G),Y=n(59),K=ne(Y),Z=n(60),X=ne(Z),J=n(61),Q=ne(J),_=n(108),$=ne(_),ee=n(62),te=ne(ee);function ne(e){return e&&e.__esModule?e:{default:e}}i.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":p.BackgroundClass,"attributors/class/color":m.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":g.FontClass,"attributors/class/size":v.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":p.BackgroundStyle,"attributors/style/color":m.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":g.FontStyle,"attributors/style/size":v.SizeStyle},!0),i.default.register({"formats/align":o.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":s.IndentClass,"formats/background":p.BackgroundStyle,"formats/color":m.ColorStyle,"formats/font":g.FontClass,"formats/size":v.SizeClass,"formats/blockquote":c.default,"formats/code-block":R.default,"formats/header":h.default,"formats/list":f.default,"formats/bold":y.default,"formats/code":I.Code,"formats/italic":x.default,"formats/link":C.default,"formats/script":T.default,"formats/strike":E.default,"formats/underline":O.default,"formats/image":L.default,"formats/video":P.default,"formats/list/item":d.ListItem,"modules/formula":z.default,"modules/syntax":j.default,"modules/toolbar":U.default,"themes/bubble":$.default,"themes/snow":te.default,"ui/icons":W.default,"ui/picker":V.default,"ui/icon-picker":X.default,"ui/color-picker":K.default,"ui/tooltip":Q.default},!0),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var r=function(){function e(e,t){for(var n=0;n0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return d({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(e,n){if(e instanceof g)i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var r=null==n?this.length():n.offset(this),o=this.split(r);o.parent.insertBefore(e,o)}}},{key:"optimize",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=a.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(u.default);v.blotName="list",v.scope=a.default.Scope.BLOCK_BLOT,v.tagName=["OL","UL"],v.defaultChild="list-item",v.allowedChildren=[g],t.ListItem=g,t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(56),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=function(e){function t(){return a(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),t}(i.default);c.blotName="italic",c.tagName=["EM","I"],t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"===typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return d.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,s.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(a.default.Embed);f.blotName="image",f.tagName="IMG",t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return d.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"sanitize",value:function(e){return s.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(o.BlockEmbed);f.blotName="video",f.className="ql-video",f.tagName="IFRAME",t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var r=function(){function e(e,t){for(var n=0;n0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(d.default);v.className="ql-syntax";var b=new a.default.Attributor.Class("token","hljs",{scope:a.default.Scope.INLINE}),y=function(e){function t(e,n){p(this,t);var r=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!==typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var i=null;return r.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(i),i=setTimeout((function(){r.highlight(),i=null}),r.options.interval)})),r.highlight(),r}return g(t,e),r(t,null,[{key:"register",value:function(){l.default.register(b,!0),l.default.register(v,!0)}}]),r(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(l.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(v).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(l.default.sources.SILENT),null!=t&&this.quill.setSelection(t,l.default.sources.SILENT)}}}]),t}(u.default);y.DEFAULTS={highlight:function(){return null==window.hljs?null:function(e){var t=window.hljs.highlightAuto(e);return t.value}}(),interval:1e3},t.CodeBlock=v,t.CodeToken=b,t.default=y},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var r=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},i=function(){function e(e,t){for(var n=0;n0&&i===l.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var o=r.quill.getLines(t.index,t.length);if(1===o.length)r.position(r.quill.getBounds(t));else{var a=o[o.length-1],s=r.quill.getIndex(a),c=Math.min(a.length()-1,t.index+t.length-s),u=r.quill.getBounds(new h.Range(s,c));r.position(u)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()})),r}return v(t,e),i(t,[{key:"listen",value:function(){var e=this;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){e.root.classList.remove("ql-editing")})),this.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),i=this.root.querySelector(".ql-tooltip-arrow");if(i.style.marginLeft="",0===n)return n;i.style.marginLeft=-1*n-i.offsetWidth/2+"px"}}]),t}(c.BaseTooltip);w.TEMPLATE=['','
','','',"
"].join(""),t.BubbleTooltip=w,t.default=y},function(e,t,n){e.exports=n(63)}])["default"]}))}).call(this,n("b639").Buffer)},5023:function(e,t,n){e.exports=n.p+"img/ertongjie.svg"},5082:function(e,t,n){e.exports=n.p+"img/a-10-yiliaoxiang.svg"},"518d":function(e,t,n){"use strict";n("2d86")},5227:function(e,t,n){e.exports=n.p+"img/zuche.svg"},"528d":function(e,t,n){e.exports=n.p+"img/xiaoheiban.svg"},"56b3":function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\//.test(e),c=l&&/Qt\/\d+\.\d+/.test(e),u=!o&&/Chrome\/(\d+)/.exec(e),h=u&&+u[1],d=/Opera\//.test(e),f=/Apple Computer/.test(navigator.vendor),p=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),m=/PhantomJS/.test(e),g=f&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),v=/Android/.test(e),b=g||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=g||/Mac/.test(t),w=/\bCrOS\b/.test(e),x=/win/i.test(t),k=d&&e.match(/Version\/(\d*\.\d*)/);k&&(k=Number(k[1])),k&&k>=15&&(d=!1,l=!0);var C=y&&(c||d&&(null==k||k<12.11)),A=n||a&&s>=9;function T(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var S,E=function(e,t){var n=e.className,r=T(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function M(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function O(e,t){return M(e).appendChild(t)}function N(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}g?F=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(F=function(e){try{e.select()}catch(t){}});var G=function(){this.id=null,this.f=null,this.time=0,this.handler=U(this.onTimeout,this)};function V(e,t){for(var n=0;n=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}var _=[""];function $(e){while(_.length<=e)_.push(ee(_)+" ");return _[e]}function ee(e){return e[e.length-1]}function te(e,t){for(var n=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||oe.test(e))}function se(e,t){return t?!!(t.source.indexOf("\\w")>-1&&ae(e))||t.test(e):ae(e)}function le(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ce=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ue(e){return e.charCodeAt(0)>=768&&ce.test(e)}function he(e,t,n){while((n<0?t>0:tn?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function fe(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;ot||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}var pe=null;function me(e,t,n){var r;pe=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:pe=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:pe=i)}return null!=r?r:pe}var ge=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,a=/[Lb1n]/,s=/[1n]/;function l(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var c="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!r.test(e))return!1;for(var u=e.length,h=[],d=0;d-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function ke(e,t){var n=we(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function Se(e){e.prototype.on=function(e,t){ye(this,e,t)},e.prototype.off=function(e,t){xe(this,e,t)}}function Ee(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Me(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Oe(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Ne(e){Ee(e),Me(e)}function Le(e){return e.target||e.srcElement}function De(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var Pe,Ie,Re=function(){if(a&&s<9)return!1;var e=N("div");return"draggable"in e||"dragDrop"in e}();function Fe(e){if(null==Pe){var t=N("span","​");O(e,N("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Pe=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=Pe?N("span","​"):N("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function ze(e){if(null!=Ie)return Ie;var t=O(e,document.createTextNode("AخA")),n=S(t,0,1).getBoundingClientRect(),r=S(t,1,2).getBoundingClientRect();return M(e),!(!n||n.left==n.right)&&(Ie=r.right-n.right<3)}var Be=3!="\n\nb".split(/\n/).length?function(e){var t=0,n=[],r=e.length;while(t<=r){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},je=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(n){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},He=function(){var e=N("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Ue=null;function qe(e){if(null!=Ue)return Ue;var t=O(e,N("span","x")),n=t.getBoundingClientRect(),r=S(t,0,1).getBoundingClientRect();return Ue=Math.abs(n.left-r.left)>1}var We={},Ge={};function Ve(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),We[e]=t}function Ye(e,t){Ge[e]=t}function Ke(e){if("string"==typeof e&&Ge.hasOwnProperty(e))e=Ge[e];else if(e&&"string"==typeof e.name&&Ge.hasOwnProperty(e.name)){var t=Ge[e.name];"string"==typeof t&&(t={name:t}),e=ie(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Ke("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Ke("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ze(e,t){t=Ke(t);var n=We[t.name];if(!n)return Ze(e,"text/plain");var r=n(e,t);if(Xe.hasOwnProperty(t.name)){var i=Xe[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Xe={};function Je(e,t){var n=Xe.hasOwnProperty(e)?Xe[e]:Xe[e]={};q(t,n)}function Qe(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function _e(e,t){var n;while(e.innerMode){if(n=e.innerMode(t),!n||n.mode==e)break;t=n.state,e=n.mode}return n||{mode:e,state:t}}function $e(e,t,n){return!e.startState||e.startState(t,n)}var et=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function tt(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");var n=e;while(!n.lines)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t=e.first&&tn?ct(n,tt(e,n).text.length):vt(t,tt(e,t.line).text.length)}function vt(e,t){var n=e.ch;return null==n||n>t?ct(e.line,t):n<0?ct(e.line,0):e}function bt(e,t){for(var n=[],r=0;r=this.string.length},et.prototype.sol=function(){return this.pos==this.lineStart},et.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},et.prototype.next=function(){if(this.post},et.prototype.eatSpace=function(){var e=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos)))++this.pos;return this.pos>e},et.prototype.skipToEnd=function(){this.pos=this.string.length},et.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},et.prototype.backUp=function(e){this.pos-=e},et.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);if(i(o)==i(e))return!1!==t&&(this.pos+=e.length),!0},et.prototype.current=function(){return this.string.slice(this.start,this.pos)},et.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},et.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},et.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var yt=function(e,t){this.state=e,this.lookAhead=t},wt=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function xt(e,t,n,r){var i=[e.state.modeGen],o={};Nt(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,c=0;n.state=!0,Nt(e,t.text,s.mode,n,(function(e,t){var n=l;while(ce&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;ne.options.maxHighlightLength&&Qe(e.doc.mode,r.state),o=xt(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Ct(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new wt(r,!0,t);var o=Lt(e,t,n),a=o>r.first&&tt(r,o-1).stateAfter,s=a?wt.fromSaved(r,a,o):new wt(r,$e(r.mode),o);return r.iter(o,t,(function(n){At(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&rt.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}wt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},wt.prototype.baseToken=function(e){if(!this.baseTokens)return null;while(this.baseTokens[this.baseTokenPos]<=e)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},wt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},wt.fromSaved=function(e,t,n){return t instanceof yt?new wt(e,Qe(e.mode,t.state),n,t.lookAhead):new wt(e,Qe(e.mode,t),n)},wt.prototype.save=function(e){var t=!1!==e?Qe(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new yt(t,this.maxLookAhead):t};var Et=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function Mt(e,t,n,r){var i,o=e.doc,a=o.mode;t=gt(o,t);var s,l=tt(o,t.line),c=Ct(e,t.line,n),u=new et(l.text,e.options.tabSize,c);r&&(s=[]);while((r||u.pose.options.maxHighlightLength?(s=!1,a&&At(e,t,r,h.pos),h.pos=t.length,l=null):l=Ot(St(n,h,r.state,d),o),d){var f=d[0].name;f&&(l="m-"+(l?f+" "+l:f))}if(!s||u!=l){while(ca;--s){if(s<=o.first)return o.first;var l=tt(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof yt?c.lookAhead:0)<=o.modeFrontier))return s;var u=W(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}function Dt(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=tt(e,r).stateAfter;if(i&&(!(i instanceof yt)||r+i.lookAhead=t:o.to>t);(r||(r=[])).push(new zt(a,o.from,l?null:o.to))}}return r}function qt(e,t,n){var r;if(e)for(var i=0;i=t:o.to>t);if(s||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(a.inclusiveLeft?o.from<=t:o.from0&&s)for(var w=0;w0)){var u=[l,1],h=ut(c.from,s.from),d=ut(c.to,s.to);(h<0||!a.inclusiveLeft&&!h)&&u.push({from:c.from,to:s.from}),(d>0||!a.inclusiveRight&&!d)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}function Yt(e){var t=e.markedSpans;if(t){for(var n=0;nt)&&(!n||Jt(n,o.marker)<0)&&(n=o.marker)}return n}function tn(e,t,n,r,i){var o=tt(e,t),a=It&&o.markedSpans;if(a)for(var s=0;s=0&&h<=0||u<=0&&h>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ut(c.to,n)>=0:ut(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ut(c.from,r)<=0:ut(c.from,r)<0)))return!0}}}function nn(e){var t;while(t=_t(e))e=t.find(-1,!0).line;return e}function rn(e){var t;while(t=$t(e))e=t.find(1,!0).line;return e}function on(e){var t,n;while(t=$t(e))e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function an(e,t){var n=tt(e,t),r=nn(n);return n==r?t:ot(r)}function sn(e,t){if(t>e.lastLine())return t;var n,r=tt(e,t);if(!ln(e,r))return t;while(n=$t(r))r=n.find(1,!0).line;return ot(r)+1}function ln(e,t){var n=It&&t.markedSpans;if(n)for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var fn=function(e,t,n){this.text=e,Kt(this,t),this.height=n?n(this):1};function pn(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Yt(e),Kt(e,n);var i=r?r(e):1;i!=e.height&&it(e,i)}function mn(e){e.parent=null,Yt(e)}fn.prototype.lineNo=function(){return ot(this)},Se(fn);var gn={},vn={};function bn(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?vn:gn;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function yn(e,t){var n=L("span",null,null,l?"padding-right: .1px":null),r={pre:L("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=xn,ze(e.display.measure)&&(a=ve(o,e.doc.direction))&&(r.addToken=Cn(r.addToken,a)),r.map=[];var s=t!=e.display.externalMeasured&&ot(o);Tn(o,r,kt(e,o,s)),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=R(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=R(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Fe(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var c=r.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return ke(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=R(r.pre.className,r.textClass||"")),r}function wn(e){var t=N("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function xn(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?kn(t,e.trailingSpace):t,h=e.cm.state.specialChars,d=!1;if(h.test(t)){c=document.createDocumentFragment();var f=0;while(1){h.lastIndex=f;var p=h.exec(t),m=p?p.index-f:t.length-f;if(m){var g=document.createTextNode(u.slice(f,f+m));a&&s<9?c.appendChild(N("span",[g])):c.appendChild(g),e.map.push(e.pos,e.pos+m,g),e.col+=m,e.pos+=m}if(!p)break;f+=m+1;var v=void 0;if("\t"==p[0]){var b=e.cm.options.tabSize,y=b-e.col%b;v=c.appendChild(N("span",$(y),"cm-tab")),v.setAttribute("role","presentation"),v.setAttribute("cm-text","\t"),e.col+=y}else"\r"==p[0]||"\n"==p[0]?(v=c.appendChild(N("span","\r"==p[0]?"␍":"␤","cm-invalidchar")),v.setAttribute("cm-text",p[0]),e.col+=1):(v=e.cm.options.specialCharPlaceholder(p[0]),v.setAttribute("cm-text",p[0]),a&&s<9?c.appendChild(N("span",[v])):c.appendChild(v),e.col+=1);e.map.push(e.pos,e.pos+1,v),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(d=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),n||r||i||d||o||l){var w=n||"";r&&(w+=r),i&&(w+=i);var x=N("span",[c],w,o);if(l)for(var k in l)l.hasOwnProperty(k)&&"style"!=k&&"class"!=k&&x.setAttribute(k,l[k]);return e.content.appendChild(x)}e.content.appendChild(c)}}function kn(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;ic&&h.from<=c)break;if(h.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,h.to-c),i,o,null,s,l),o=null,r=r.slice(h.to-c),c=h.to}}}function An(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function Tn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,h,d,f=i.length,p=0,m=1,g="",v=0;;){if(v==p){l=c=u=s="",d=null,h=null,v=1/0;for(var b=[],y=void 0,w=0;wp||k.collapsed&&x.to==p&&x.from==p)){if(null!=x.to&&x.to!=p&&v>x.to&&(v=x.to,c=""),k.className&&(l+=" "+k.className),k.css&&(s=(s?s+";":"")+k.css),k.startStyle&&x.from==p&&(u+=" "+k.startStyle),k.endStyle&&x.to==v&&(y||(y=[])).push(k.endStyle,x.to),k.title&&((d||(d={})).title=k.title),k.attributes)for(var C in k.attributes)(d||(d={}))[C]=k.attributes[C];k.collapsed&&(!h||Jt(h.marker,k)<0)&&(h=x)}else x.from>p&&v>x.from&&(v=x.from)}if(y)for(var A=0;A=f)break;var S=Math.min(f,v);while(1){if(g){var E=p+g.length;if(!h){var M=E>S?g.slice(0,S-p):g;t.addToken(t,M,a?a+l:l,u,p+M.length==v?c:"",s,d)}if(E>=S){g=g.slice(S-p),p=S;break}p=E,u=""}g=i.slice(o,o=n[m++]),a=bn(n[m++],t.cm.options)}}else for(var O=1;O2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}function nr(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var r=0;rn)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}}function rr(e,t){t=nn(t);var n=ot(t),r=e.display.externalMeasured=new Sn(e.doc,t,n);r.lineN=n;var i=r.built=yn(e,r);return r.text=i.pre,O(e.display.lineMeasure,i.pre),r}function ir(e,t,n,r){return sr(e,ar(e,t),n,r)}function or(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt)&&(o=l-s,i=o-1,t>=l&&(a="right")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)while(c&&e[c-2]==e[c-3]&&e[c-1].insertLeft)r=e[2+(c-=3)],a="left";if("right"==n&&i==l-s)while(c=0;i--)if((n=e[i]).left!=n.right)break;return n}function dr(e,t,n,r){var i,o=ur(t.map,n,r),l=o.node,c=o.start,u=o.end,h=o.collapse;if(3==l.nodeType){for(var d=0;d<4;d++){while(c&&ue(t.line.text.charAt(o.coverStart+c)))--c;while(o.coverStart+u0&&(h=r="right"),i=e.options.lineWrapping&&(f=l.getClientRects()).length>1?f["right"==r?f.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var p=l.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+Ir(e.display),top:p.top,bottom:p.bottom}:cr}for(var m=i.top-t.rect.top,g=i.bottom-t.rect.top,v=(m+g)/2,b=t.view.measure.heights,y=0;y=r.text.length?(l=r.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return a("before"==c?l-1:l,"before"==c);function u(e,t,n){var r=s[t],i=1==r.level;return a(n?e-1:e,i!=n)}var h=me(s,l,c),d=pe,f=u(l,h,"before"==c);return null!=d&&(f.other=u(l,d,"before"!=c)),f}function Ar(e,t){var n=0;t=gt(e.doc,t),e.options.lineWrapping||(n=Ir(e.display)*t.ch);var r=tt(e.doc,t.line),i=un(r)+Xn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Tr(e,t,n,r,i){var o=ct(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Sr(e,t,n){var r=e.doc;if(n+=e.display.viewOffset,n<0)return Tr(r.first,0,null,-1,-1);var i=at(r,n),o=r.first+r.size-1;if(i>o)return Tr(r.first+r.size-1,tt(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=tt(r,i);;){var s=Nr(e,a,i,t,n),l=en(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=tt(r,i=c.line)}}function Er(e,t,n,r){r-=yr(t);var i=t.text.length,o=de((function(t){return sr(e,n,t-1).bottom<=r}),i,0);return i=de((function(t){return sr(e,n,t).top>r}),o,i),{begin:o,end:i}}function Mr(e,t,n,r){n||(n=ar(e,t));var i=wr(e,t,sr(e,n,r),"line").top;return Er(e,t,n,i)}function Or(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Nr(e,t,n,r,i){i-=un(t);var o=ar(e,t),a=yr(t),s=0,l=t.text.length,c=!0,u=ve(t,e.doc.direction);if(u){var h=(e.options.lineWrapping?Dr:Lr)(e,t,n,o,u,r,i);c=1!=h.level,s=c?h.from:h.to-1,l=c?h.to:h.from-1}var d,f,p=null,m=null,g=de((function(t){var n=sr(e,o,t);return n.top+=a,n.bottom+=a,!!Or(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(p=t,m=n),!0)}),s,l),v=!1;if(m){var b=r-m.left=w.bottom?1:0}return g=he(t.text,g,1),Tr(n,g,f,v,r-d)}function Lr(e,t,n,r,i,o,a){var s=de((function(s){var l=i[s],c=1!=l.level;return Or(Cr(e,ct(n,c?l.to:l.from,c?"before":"after"),"line",t,r),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=Cr(e,ct(n,c?l.from:l.to,c?"after":"before"),"line",t,r);Or(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l}function Dr(e,t,n,r,i,o,a){var s=Er(e,t,r,a),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,h=null,d=0;d=c||f.to<=l)){var p=1!=f.level,m=sr(e,r,p?Math.min(c,f.to)-1:Math.max(l,f.from)).right,g=mg)&&(u=f,h=g)}}return u||(u=i[i.length-1]),u.fromc&&(u={from:u.from,to:c,level:u.level}),u}function Pr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==lr){lr=N("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)lr.appendChild(document.createTextNode("x")),lr.appendChild(N("br"));lr.appendChild(document.createTextNode("x"))}O(e.measure,lr);var n=lr.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),M(e.measure),n||1}function Ir(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=N("span","xxxxxxxxxx"),n=N("pre",[t],"CodeMirror-line-like");O(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function Rr(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:Fr(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Fr(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function zr(e){var t=Pr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/Ir(e.display)-3);return function(i){if(ln(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a0&&(l=tt(e.doc,c.line).text).length==c.ch){var u=W(l,l.length,e.options.tabSize)-l.length;c=ct(c.line,Math.max(0,Math.round((o-Qn(e.display).left)/Ir(e.display))-u))}return c}function Hr(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var n=e.display.view,r=0;rt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)It&&an(e.doc,t)i.viewFrom?Wr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Wr(e);else if(t<=i.viewFrom){var o=Gr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Wr(e)}else if(n>=i.viewTo){var a=Gr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):Wr(e)}else{var s=Gr(e,t,t,-1),l=Gr(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(En(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):Wr(e)}var c=i.externalMeasured;c&&(n=i.lineN&&t=r.viewTo)){var o=r.view[Hr(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==V(a,n)&&a.push(n)}}}function Wr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Gr(e,t,n,r){var i,o=Hr(e,t),a=e.display.view;if(!It||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}while(an(e.doc,n)!=n){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function Vr(e,t,n){var r=e.display,i=r.view;0==i.length||t>=r.viewTo||n<=r.viewFrom?(r.view=En(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=En(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,Hr(e,n)))),r.viewTo=n}function Yr(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo||l.to().line0?a:e.defaultCharWidth())+"px"}if(r.other){var s=n.appendChild(N("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));s.style.display="",s.style.left=r.other.left+"px",s.style.top=r.other.top+"px",s.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Jr(e,t){return e.top-t.top||e.left-t.left}function Qr(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=Qn(e.display),s=a.left,l=Math.max(r.sizerWidth,$n(e)-r.sizer.offsetLeft)-a.right,c="ltr"==i.direction;function u(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(N("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?l-e:n)+"px;\n height: "+(r-t)+"px"))}function h(t,n,r){var o,a,h=tt(i,t),d=h.text.length;function f(n,r){return kr(e,ct(t,n),"div",h,r)}function p(t,n,r){var i=Mr(e,h,null,t),o="ltr"==n==("after"==r)?"left":"right",a="after"==r?i.begin:i.end-(/\s/.test(h.text.charAt(i.end-1))?2:1);return f(a,o)[o]}var m=ve(h,i.direction);return fe(m,n||0,null==r?d:r,(function(e,t,i,h){var g="ltr"==i,v=f(e,g?"left":"right"),b=f(t-1,g?"right":"left"),y=null==n&&0==e,w=null==r&&t==d,x=0==h,k=!m||h==m.length-1;if(b.top-v.top<=3){var C=(c?y:w)&&x,A=(c?w:y)&&k,T=C?s:(g?v:b).left,S=A?l:(g?b:v).right;u(T,v.top,S-T,v.bottom)}else{var E,M,O,N;g?(E=c&&y&&x?s:v.left,M=c?l:p(e,i,"before"),O=c?s:p(t,i,"after"),N=c&&w&&k?l:b.right):(E=c?p(e,i,"before"):s,M=!c&&y&&x?l:v.right,O=!c&&w&&k?s:b.left,N=c?p(t,i,"after"):l),u(E,v.top,M-E,v.bottom),v.bottom0?t.blinker=setInterval((function(){e.hasFocus()||ni(e),t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function $r(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||ti(e))}function ei(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&ni(e))}),100)}function ti(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(ke(e,"focus",e,t),e.state.focused=!0,I(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),_r(e))}function ni(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ke(e,"blur",e,t),e.state.focused=!1,E(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function ri(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=Math.max(0,t.scroller.getBoundingClientRect().top),i=t.lineDiv.getBoundingClientRect().top,o=0,l=0;l.005||m<-.005)&&(ie.display.sizerWidth){var v=Math.ceil(d/Ir(e.display));v>e.display.maxLineLength&&(e.display.maxLineLength=v,e.display.maxLine=c.line,e.display.maxLineChanged=!0)}}}Math.abs(o)>2&&(t.scroller.scrollTop+=o)}function ii(e){if(e.widgets)for(var t=0;t=a&&(o=at(t,un(tt(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function ai(e,t){if(!Ce(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null,o=n.wrapper.ownerDocument;if(t.top+r.top<0?i=!0:t.bottom+r.top>(o.defaultView.innerHeight||o.documentElement.clientHeight)&&(i=!1),null!=i&&!m){var a=N("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Xn(e.display))+"px;\n height: "+(t.bottom-t.top+_n(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(a),a.scrollIntoView(i),e.display.lineSpace.removeChild(a)}}}function si(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n="before"==t.sticky?ct(t.line,t.ch+1,"before"):t,t=t.ch?ct(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t);for(var o=0;o<5;o++){var a=!1,s=Cr(e,t),l=n&&n!=t?Cr(e,n):s;i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r};var c=ci(e,i),u=e.doc.scrollTop,h=e.doc.scrollLeft;if(null!=c.scrollTop&&(gi(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(bi(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-h)>1&&(a=!0)),!a)break}return i}function li(e,t){var n=ci(e,t);null!=n.scrollTop&&gi(e,n.scrollTop),null!=n.scrollLeft&&bi(e,n.scrollLeft)}function ci(e,t){var n=e.display,r=Pr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=er(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Jn(n),l=t.tops-r;if(t.topi+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var h=e.options.fixedGutter?0:n.gutters.offsetWidth,d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-h,f=$n(e)-n.gutters.offsetWidth,p=t.right-t.left>f;return p&&(t.right=t.left+f),t.left<10?a.scrollLeft=0:t.leftf+d-3&&(a.scrollLeft=t.right+(p?0:10)-f),a}function ui(e,t){null!=t&&(pi(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function hi(e){pi(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function di(e,t,n){null==t&&null==n||pi(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function fi(e,t){pi(e),e.curOp.scrollToPos=t}function pi(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=Ar(e,t.from),r=Ar(e,t.to);mi(e,n,r,t.margin)}}function mi(e,t,n,r){var i=ci(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});di(e,i.scrollLeft,i.scrollTop)}function gi(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||Ki(e,{top:t}),vi(e,t,!0),n&&Ki(e),ji(e,100))}function vi(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function bi(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,Qi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function yi(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Jn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+_n(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var wi=function(e,t,n){this.cm=n;var r=this.vert=N("div",[N("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=N("div",[N("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),ye(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),ye(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};wi.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},wi.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},wi.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},wi.prototype.zeroWidthHack=function(){var e=y&&!p?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new G,this.disableVert=new G},wi.prototype.enableZeroWidthBar=function(e,t,n){function r(){var i=e.getBoundingClientRect(),o="vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1);o!=e?e.style.visibility="hidden":t.set(1e3,r)}e.style.visibility="",t.set(1e3,r)},wi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var xi=function(){};function ki(e,t){t||(t=yi(e));var n=e.display.barWidth,r=e.display.barHeight;Ci(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&ri(e),Ci(e,yi(e)),n=e.display.barWidth,r=e.display.barHeight}function Ci(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}xi.prototype.update=function(){return{bottom:0,right:0}},xi.prototype.setScrollLeft=function(){},xi.prototype.setScrollTop=function(){},xi.prototype.clear=function(){};var Ai={native:wi,null:xi};function Ti(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&E(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Ai[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),ye(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?bi(e,t):gi(e,t)}),e),e.display.scrollbars.addClass&&I(e.display.wrapper,e.display.scrollbars.addClass)}var Si=0;function Ei(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Si,markArrays:null},On(e.curOp)}function Mi(e){var t=e.curOp;t&&Ln(t,(function(e){for(var t=0;t=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Ui(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Li(e){e.updatedDisplay=e.mustUpdate&&Vi(e.cm,e.update)}function Di(e){var t=e.cm,n=t.display;e.updatedDisplay&&ri(t),e.barMeasure=yi(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=ir(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+_n(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-$n(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Pi(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft=e.display.viewTo)){var n=+new Date+e.options.workTime,r=Ct(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Qe(t.mode,r.state):null,l=xt(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var h=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),d=0;!h&&dn)return ji(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Ri(e,(function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==Yr(e))return!1;_i(e)&&(Wr(e),t.dims=Rr(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),It&&(o=an(e.doc,o),a=sn(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;Vr(e,o,a),n.viewOffset=un(tt(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=Yr(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=Wi(e);return l>4&&(n.lineDiv.style.display="none"),Zi(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Gi(c),M(n.cursorDiv),M(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ji(e,400)),n.updateLineNumbers=null,!0}function Yi(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=$n(e))r&&(t.visible=oi(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Jn(e.display)-er(e),n.top)}),t.visible=oi(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!Vi(e,t))break;ri(e);var i=yi(e);Kr(e),ki(e,i),Ji(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Ki(e,t){var n=new Ui(e,t);if(Vi(e,n)){ri(e),Yi(e,n);var r=yi(e);Kr(e),ki(e,r),Ji(e,r),n.finish()}}function Zi(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=r.view,u=r.viewFrom,h=0;h-1&&(f=!1),Rn(e,d,u,n)),f&&(M(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(lt(e.options,u)))),a=d.node.nextSibling}else{var p=Wn(e,d,u,n);o.insertBefore(p,a)}u+=d.size}while(a)a=s(a)}function Xi(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",Pn(e,"gutterChanged",e)}function Ji(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+_n(e)+"px"}function Qi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=Fr(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a=105&&(o.wrapper.style.clipPath="inset(0px)"),o.wrapper.setAttribute("translate","no"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&b||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=$i(i.gutters,i.lineNumbers),eo(o),r.init(o)}Ui.prototype.signal=function(e,t){Te(e,t)&&this.events.push(arguments)},Ui.prototype.finish=function(){for(var e=0;ec.clientWidth,p=c.scrollHeight>c.clientHeight;if(i&&f||o&&p){if(o&&y&&l)e:for(var m=t.target,g=s.view;m!=c;m=m.parentNode)for(var v=0;v=0&&ut(e,r.to())<=0)return n}return-1};var co=function(e,t){this.anchor=e,this.head=t};function uo(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return ut(e.from(),t.from())})),n=V(t,i);for(var o=1;o0:l>=0){var c=pt(s.from(),a.from()),u=ft(s.to(),a.to()),h=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new co(h?u:c,h?c:u))}}return new lo(t,n)}function ho(e,t){return new lo([new co(e,t||e)],0)}function fo(e){return e.text?ct(e.from.line+e.text.length-1,ee(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function po(e,t){if(ut(e,t.from)<0)return e;if(ut(e,t.to)<=0)return fo(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=fo(t).ch-t.to.ch),ct(n,r)}function mo(e,t){for(var n=[],r=0;r1&&e.remove(s.line+1,p-1),e.insert(s.line+1,v)}Pn(e,"change",e,t)}function ko(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a1&&!e.done[e.done.length-2].ranges?(e.done.pop(),ee(e.done)):void 0}function No(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=Oo(i,i.lastOp==r)))a=ee(o.changes),0==ut(t.from,t.to)&&0==ut(t.from,a.to)?a.to=fo(t):o.changes.push(Eo(e,t));else{var l=ee(i.done);l&&l.ranges||Po(e.sel,i.done),o={changes:[Eo(e,t)],generation:i.generation},i.done.push(o);while(i.done.length>i.undoDepth)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||ke(e,"historyAdded")}function Lo(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Do(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||Lo(e,o,ee(i.done),t))?i.done[i.done.length-1]=t:Po(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Mo(i.undone)}function Po(e,t){var n=ee(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Io(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function Ro(e){if(!e)return null;for(var t,n=0;n-1&&(ee(s)[h]=c[h],delete c[h])}}}return r}function jo(e,t,n,r){if(r){var i=e.anchor;if(n){var o=ut(t,i)<0;o!=ut(n,i)<0?(i=t,t=n):o!=ut(t,n)<0&&(t=n)}return new co(i,t)}return new co(n||t,t)}function Ho(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Yo(e,new lo([jo(e.sel.primary(),t,n,i)],0),r)}function Uo(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:s.to>t.ch))){if(i&&(ke(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var h=l.find(r<0?1:-1),d=void 0;if((r<0?u:c)&&(h=$o(e,h,-r,h&&h.line==t.line?o:null)),h&&h.line==t.line&&(d=ut(h,n))&&(r<0?d<0:d>0))return Qo(e,h,t,r,i)}var f=l.find(r<0?-1:1);return(r<0?c:u)&&(f=$o(e,f,r,f.line==t.line?o:null)),f?Qo(e,f,t,r,i):null}}return t}function _o(e,t,n,r,i){var o=r||1,a=Qo(e,t,n,o,i)||!i&&Qo(e,t,n,o,!0)||Qo(e,t,n,-o,i)||!i&&Qo(e,t,n,-o,!0);return a||(e.cantEdit=!0,ct(e.first,0))}function $o(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?gt(e,ct(t.line-1)):null:n>0&&t.ch==(r||tt(e,t.line)).text.length?t.line=0;--i)ra(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else ra(e,t)}}function ra(e,t){if(1!=t.text.length||""!=t.text[0]||0!=ut(t.from,t.to)){var n=mo(e,t);No(e,t,n,e.cm?e.cm.curOp.id:NaN),aa(e,t,n,Wt(e,t));var r=[];ko(e,(function(e,n){n||-1!=V(r,e.history)||(ha(e.history,t),r.push(e.history)),aa(e,t,null,Wt(e,t))}))}}function ia(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,c=0;c=0;--f){var p=d(f);if(p)return p.v}}}}function oa(e,t){if(0!=t&&(e.first+=t,e.sel=new lo(te(e.sel.ranges,(function(e){return new co(ct(e.anchor.line+t,e.anchor.ch),ct(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){Ur(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:ct(o,tt(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=nt(e,t.from,t.to),n||(n=mo(e,t)),e.cm?sa(e.cm,t,r):xo(e,t,r),Ko(e,n,Z),e.cantEdit&&_o(e,ct(e.firstLine(),0))&&(e.cantEdit=!1)}}function sa(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=ot(nn(tt(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&Ae(e),xo(r,t,n,zr(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=hn(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),Dt(r,o.line),ji(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?Ur(e):o.line!=a.line||1!=t.text.length||wo(e.doc,t)?Ur(e,o.line,a.line+1,c):qr(e,o.line,"text");var u=Te(e,"changes"),h=Te(e,"change");if(h||u){var d={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};h&&Pn(e,"change",e,d),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(d)}e.display.selForContextMenu=null}function la(e,t,n,r,i){var o;r||(r=n),ut(r,n)<0&&(o=[r,n],n=o[0],r=o[1]),"string"==typeof t&&(t=e.splitLines(t)),na(e,{from:n,to:r,text:t,origin:i})}function ca(e,t,n,r){n1||!(this.children[0]instanceof fa))){var s=[];this.collapse(s),this.children=[new fa(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var a=i.lines.length%25+25,s=a;s10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=L("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(tn(e,t.line,t,n,o)||t.line!=n.line&&tn(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ft()}o.addToHistory&&No(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(r){c&&o.collapsed&&!c.options.lineWrapping&&nn(r)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&it(r,0),Ht(r,new zt(o,l==t.line?t.ch:null,l==n.line?n.ch:null),e.cm&&e.cm.curOp),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){ln(e,t)&&it(t,0)})),o.clearOnEnter&&ye(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(Rt(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++ba,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)Ur(c,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=n.line;u++)qr(c,u,"text");o.atomic&&Xo(c.doc),Pn(c,"markerAdded",c,o)}return o}ya.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Ei(e),Te(this,"clear")){var n=this.find();n&&Pn(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;oe.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Ur(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Xo(e.doc)),e&&Pn(e,"markerCleared",e,this,r,i),t&&Mi(e),this.parent&&this.parent.clear()}},ya.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i=0;l--)na(this,r[l]);s?Vo(this,s):this.cm&&hi(this.cm)})),undo:Bi((function(){ia(this,"undo")})),redo:Bi((function(){ia(this,"redo")})),undoSelection:Bi((function(){ia(this,"undo",!0)})),redoSelection:Bi((function(){ia(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=gt(this,e),t=gt(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=o,++n})),gt(this,ct(n,t))},indexFromPos:function(e){e=gt(this,e);var t=e.ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var h=e.dataTransfer.getData("Text");if(h){var d;if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),Ko(t.doc,ho(n,n)),d)for(var f=0;f=0;t--)la(e.doc,"",r[t].from,r[t].to,"+delete");hi(e)}))}function Qa(e,t,n){var r=he(e.text,t+n,n);return r<0||r>e.text.length?null:r}function _a(e,t,n){var r=Qa(e,t.ch,n);return null==r?null:new ct(t.line,r,n<0?"after":"before")}function $a(e,t,n,r,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=ve(n,t.doc.direction);if(o){var a,s=i<0?ee(o):o[0],l=i<0==(1==s.level),c=l?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var u=ar(t,n);a=i<0?n.text.length-1:0;var h=sr(t,u,a).top;a=de((function(e){return sr(t,u,e).top==h}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==c&&(a=Qa(n,a,1))}else a=i<0?s.to:s.from;return new ct(r,a,c)}}return new ct(r,i<0?n.text.length:0,i<0?"before":"after")}function es(e,t,n,r){var i=ve(t,e.doc.direction);if(!i)return _a(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=me(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&d>=u.begin)){var f=h?"before":"after";return new ct(n.line,d,f)}}var p=function(e,t,r){for(var o=function(e,t){return t?new ct(n.line,l(e,1),"before"):new ct(n.line,e,"after")};e>=0&&e0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c0?u.end:l(u.begin,-1);return null==g||r>0&&g==t.text.length||(m=p(r>0?0:i.length-1,r,c(g)),!m)?null:m}qa.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},qa.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},qa.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},qa.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},qa["default"]=y?qa.macDefault:qa.pcDefault;var ts={selectAll:ea,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Z)},killLine:function(e){return Ja(e,(function(t){if(t.empty()){var n=tt(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)i=new ct(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),ct(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=tt(e.doc,i.line-1).text;a&&(i=new ct(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),ct(i.line-1,a.length-1),i,"+transpose"))}n.push(new co(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Ri(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r-1&&(ut((i=s.ranges[i]).from(),t)<0||t.xRel>0)&&(ut(i.to(),t)>0||t.xRel<0)?Ss(e,r,t,o):Ms(e,r,t,o)}function Ss(e,t,n,r){var i=e.display,o=!1,c=Fi(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:ei(e)),xe(i.wrapper.ownerDocument,"mouseup",c),xe(i.wrapper.ownerDocument,"mousemove",u),xe(i.scroller,"dragstart",h),xe(i.scroller,"drop",c),o||(Ee(t),r.addNew||Ho(e.doc,n,null,null,r.extend),l&&!f||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},h=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,ye(i.wrapper.ownerDocument,"mouseup",c),ye(i.wrapper.ownerDocument,"mousemove",u),ye(i.scroller,"dragstart",h),ye(i.scroller,"drop",c),e.state.delayingBlurEvent=!0,setTimeout((function(){return i.input.focus()}),20),i.scroller.dragDrop&&i.scroller.dragDrop()}function Es(e,t,n){if("char"==n)return new co(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new co(ct(t.line,0),gt(e.doc,ct(t.line+1,0)));var r=n(e,t);return new co(r.from,r.to)}function Ms(e,t,n,r){a&&ei(e);var i=e.display,o=e.doc;Ee(t);var s,l,c=o.sel,u=c.ranges;if(r.addNew&&!r.extend?(l=o.sel.contains(n),s=l>-1?u[l]:new co(n,n)):(s=o.sel.primary(),l=o.sel.primIndex),"rectangle"==r.unit)r.addNew||(s=new co(n,n)),n=jr(e,t,!0,!0),l=-1;else{var h=Es(e,n,r.unit);s=r.extend?jo(s,h.anchor,h.head,r.extend):h}r.addNew?-1==l?(l=u.length,Yo(o,uo(e,u.concat([s]),l),{scroll:!1,origin:"*mouse"})):u.length>1&&u[l].empty()&&"char"==r.unit&&!r.extend?(Yo(o,uo(e,u.slice(0,l).concat(u.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),c=o.sel):qo(o,l,s,X):(l=0,Yo(o,new lo([s],0),X),c=o.sel);var d=n;function f(t){if(0!=ut(d,t))if(d=t,"rectangle"==r.unit){for(var i=[],a=e.options.tabSize,u=W(tt(o,n.line).text,n.ch,a),h=W(tt(o,t.line).text,t.ch,a),f=Math.min(u,h),p=Math.max(u,h),m=Math.min(n.line,t.line),g=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=g;m++){var v=tt(o,m).text,b=Q(v,f,a);f==p?i.push(new co(ct(m,b),ct(m,b))):v.length>b&&i.push(new co(ct(m,b),ct(m,Q(v,p,a))))}i.length||i.push(new co(n,n)),Yo(o,uo(e,c.ranges.slice(0,l).concat(i),l),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var y,w=s,x=Es(e,t,r.unit),k=w.anchor;ut(x.anchor,k)>0?(y=x.head,k=pt(w.from(),x.anchor)):(y=x.anchor,k=ft(w.to(),x.head));var C=c.ranges.slice(0);C[l]=Os(e,new co(gt(o,k),y)),Yo(o,uo(e,C,l),X)}}var p=i.wrapper.getBoundingClientRect(),m=0;function g(t){var n=++m,a=jr(e,t,!0,"rectangle"==r.unit);if(a)if(0!=ut(a,d)){e.curOp.focus=P(B(e)),f(a);var s=oi(i,o);(a.line>=s.to||a.linep.bottom?20:0;l&&setTimeout(Fi(e,(function(){m==n&&(i.scroller.scrollTop+=l,g(t))})),50)}}function v(t){e.state.selectingText=!1,m=1/0,t&&(Ee(t),i.input.focus()),xe(i.wrapper.ownerDocument,"mousemove",b),xe(i.wrapper.ownerDocument,"mouseup",y),o.history.lastSelOrigin=null}var b=Fi(e,(function(e){0!==e.buttons&&De(e)?g(e):v(e)})),y=Fi(e,v);e.state.selectingText=y,ye(i.wrapper.ownerDocument,"mousemove",b),ye(i.wrapper.ownerDocument,"mouseup",y)}function Os(e,t){var n=t.anchor,r=t.head,i=tt(e.doc,n.line);if(0==ut(n,r)&&n.sticky==r.sticky)return t;var o=ve(i);if(!o)return t;var a=me(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=me(o,r.ch,r.sticky),h=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?h<0:h>0}var d=o[c+(l?-1:0)],f=l==(1==d.level),p=f?d.from:d.to,m=f?"after":"before";return n.ch==p&&n.sticky==m?t:new co(new ct(n.line,p,m),r)}function Ns(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(d){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&Ee(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!Te(e,n))return Oe(t);o-=s.top-a.viewOffset;for(var l=0;l=i){var u=at(e.doc,o),h=e.display.gutterSpecs[l];return ke(e,n,e,u,h.className,t),Oe(t)}}}function Ls(e,t){return Ns(e,t,"gutterClick",!0)}function Ds(e,t){Zn(e.display,t)||Ps(e,t)||Ce(e,t,"contextmenu")||A||e.display.input.onContextMenu(t)}function Ps(e,t){return!!Te(e,"gutterContextMenu")&&Ns(e,t,"gutterContextMenu",!1)}function Is(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),gr(e)}ws.prototype.compare=function(e,t,n){return this.time+ys>e&&0==ut(t,this.pos)&&n==this.button};var Rs={toString:function(){return"CodeMirror.Init"}},Fs={},zs={};function Bs(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Rs&&i(e,t,n)}:i)}e.defineOption=n,e.Init=Rs,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,bo(e)}),!0),n("indentUnit",2,bo,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){yo(e),gr(e),Ur(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(ct(r,o))}r++}));for(var i=n.length-1;i>=0;i--)la(e.doc,t,n[i],ct(n[i].line,n[i].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Rs&&e.refresh()})),n("specialCharPlaceholder",wn,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",b?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n("rtlMoveVisually",!x),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){Is(e),to(e)}),!0),n("keyMap","default",(function(e,t,n){var r=Xa(t),i=n!=Rs&&Xa(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Hs,!0),n("gutters",[],(function(e,t){e.display.gutterSpecs=$i(t,e.options.lineNumbers),to(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?Fr(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return ki(e)}),!0),n("scrollbarStyle","native",(function(e){Ti(e),ki(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=$i(e.options.gutters,t),to(e)}),!0),n("firstLineNumber",1,to,!0),n("lineNumberFormatter",(function(e){return e}),to,!0),n("showCursorWhenSelecting",!1,Kr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(e,t){"nocursor"==t&&(ni(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,js),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,Kr,!0),n("singleCursorHeightPerLine",!0,Kr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,yo,!0),n("addModeClass",!1,yo,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,yo,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),n("phrases",null)}function js(e,t,n){var r=n&&n!=Rs;if(!t!=!r){var i=e.display.dragFunctions,o=t?ye:xe;o(e.display.scroller,"dragstart",i.start),o(e.display.scroller,"dragenter",i.enter),o(e.display.scroller,"dragover",i.over),o(e.display.scroller,"dragleave",i.leave),o(e.display.scroller,"drop",i.drop)}}function Hs(e){e.options.lineWrapping?(I(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(E(e.display.wrapper,"CodeMirror-wrap"),dn(e)),Br(e),Ur(e),gr(e),setTimeout((function(){return ki(e)}),100)}function Us(e,t){var n=this;if(!(this instanceof Us))return new Us(e,t);this.options=t=t?q(t):{},q(Fs,t,!1);var r=t.value;"string"==typeof r?r=new Ea(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Us.inputStyles[t.inputStyle](this),o=this.display=new no(e,r,i,t);for(var c in o.wrapper.CodeMirror=this,Is(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ti(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new G,keySeq:null,specialChars:null},t.autofocus&&!b&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),qs(this),Ra(),Ei(this),this.curOp.forceUpdate=!0,Co(this,r),t.autofocus&&!b||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&ti(n)}),20):ni(this),zs)zs.hasOwnProperty(c)&&zs[c](this,t[c],Rs);_i(this),t.finishInit&&t.finishInit(this);for(var u=0;u400}ye(t.scroller,"touchstart",(function(i){if(!Ce(e,i)&&!o(i)&&!Ls(e,i)){t.input.ensurePolled(),clearTimeout(n);var a=+new Date;t.activeTouch={start:a,moved:!1,prev:a-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),ye(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),ye(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!Zn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,a=e.coordsChar(t.activeTouch,"page");o=!r.prev||l(r,r.prev)?new co(a,a):!r.prev.prev||l(r,r.prev.prev)?e.findWordAt(a):new co(ct(a.line,0),gt(e.doc,ct(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),Ee(n)}i()})),ye(t.scroller,"touchcancel",i),ye(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(gi(e,t.scroller.scrollTop),bi(e,t.scroller.scrollLeft,!0),ke(e,"scroll",e))})),ye(t.scroller,"mousewheel",(function(t){return so(e,t)})),ye(t.scroller,"DOMMouseScroll",(function(t){return so(e,t)})),ye(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){Ce(e,t)||Ne(t)},over:function(t){Ce(e,t)||(La(e,t),Ne(t))},start:function(t){return Na(e,t)},drop:Fi(e,Oa),leave:function(t){Ce(e,t)||Da(e)}};var c=t.input.getField();ye(c,"keyup",(function(t){return ms.call(e,t)})),ye(c,"keydown",Fi(e,fs)),ye(c,"keypress",Fi(e,gs)),ye(c,"focus",(function(t){return ti(e,t)})),ye(c,"blur",(function(t){return ni(e,t)}))}Us.defaults=Fs,Us.optionHandlers=zs;var Ws=[];function Gs(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=Ct(e,t).state:n="prev");var a=e.options.tabSize,s=tt(o,t),l=W(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&(c=o.mode.indent(i,s.text.slice(u.length),s.text),c==K||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?W(tt(o,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var h="",d=0;if(e.options.indentWithTabs)for(var f=Math.floor(c/a);f;--f)d+=a,h+="\t";if(da,l=Be(t),c=null;if(s&&r.ranges.length>1)if(Vs&&Vs.text.join("\n")==t){if(r.ranges.length%Vs.text.length==0){c=[];for(var u=0;u=0;d--){var f=r.ranges[d],p=f.from(),m=f.to();f.empty()&&(n&&n>0?p=ct(p.line,p.ch-n):e.state.overwrite&&!s?m=ct(m.line,Math.min(tt(o,m.line).text.length,m.ch+ee(l).length)):s&&Vs&&Vs.lineWise&&Vs.text.join("\n")==l.join("\n")&&(p=m=ct(p.line,0)));var g={from:p,to:m,text:c?c[d%c.length]:l,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};na(e.doc,g),Pn(e,"inputRead",e,g)}t&&!s&&Xs(e,t),hi(e),e.curOp.updateInput<2&&(e.curOp.updateInput=h),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Zs(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||!t.hasFocus()||Ri(t,(function(){return Ks(t,n,0,null,"paste")})),!0}function Xs(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s-1){a=Gs(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(tt(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Gs(e,i.head.line,"smart"));a&&Pn(e,"electricInput",e,i.head.line)}}}function Js(e){for(var t=[],n=[],r=0;rn&&(Gs(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&hi(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l0&&qo(this.doc,r,new co(o,c[r].to()),Z)}}})),getTokenAt:function(e,t){return Mt(this,e,t)},getLineTokens:function(e,t){return Mt(this,ct(e),t,!0)},getTokenTypeAt:function(e){e=gt(this.doc,e);var t,n=kt(this,tt(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]o&&(e=o,i=!0),r=tt(this.doc,e)}else r=e;return wr(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-un(r):0)},defaultTextHeight:function(){return Pr(this.display)},defaultCharWidth:function(){return Ir(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display;e=Cr(this,gt(this.doc,e));var a=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&li(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:zi(fs),triggerOnKeyPress:zi(gs),triggerOnKeyUp:ms,triggerOnMouseDown:zi(ks),execCommand:function(e){if(ts.hasOwnProperty(e))return ts[e].call(null,this)},triggerElectric:zi((function(e){Xs(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=gt(this.doc,e),a=0;a0&&s(n.charAt(r-1)))--r;while(i.5||this.options.lineWrapping)&&Br(this),ke(this,"refresh",this)})),swapDoc:zi((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Co(this,e),gr(this),this.display.input.reset(),di(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Pn(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Se(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}function el(e,t,n,r,i){var o=t,a=n,s=tt(e,t.line),l=i&&"rtl"==e.direction?-n:n;function c(){var n=t.line+l;return!(n=e.first+e.size)&&(t=new ct(n,t.ch,t.sticky),s=tt(e,n))}function u(o){var a;if("codepoint"==r){var u=s.text.charCodeAt(t.ch+(n>0?0:-1));if(isNaN(u))a=null;else{var h=n>0?u>=55296&&u<56320:u>=56320&&u<57343;a=new ct(t.line,Math.max(0,Math.min(s.text.length,t.ch+n*(h?2:1))),-n)}}else a=i?es(e.cm,s,t,n):_a(s,t,n);if(null==a){if(o||!c())return!1;t=$a(i,e.cm,s,t.line,l)}else t=a;return!0}if("char"==r||"codepoint"==r)u();else if("column"==r)u(!0);else if("word"==r||"group"==r)for(var h=null,d="group"==r,f=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;;p=!1){if(n<0&&!u(!p))break;var m=s.text.charAt(t.ch)||"\n",g=se(m,f)?"w":d&&"\n"==m?"n":!d||/\s/.test(m)?null:"p";if(!d||p||g||(g="s"),h&&h!=g){n<0&&(n=1,u(),t.sticky="after");break}if(g&&(h=g),n>0&&!u(!p))break}var v=_o(e,t,o,a,!0);return ht(o,v)&&(v.hitSide=!0),v}function tl(e,t,n,r){var i,o,a=e.doc,s=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,H(e).innerHeight||a(e).documentElement.clientHeight),c=Math.max(l-.5*Pr(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;;){if(o=Sr(e,s,i),!o.outside)break;if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var nl=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new G,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function rl(e,t){var n=or(e,t.line);if(!n||n.hidden)return null;var r=tt(e.doc,t.line),i=nr(n,r,t.line),o=ve(r,e.doc.direction),a="left";if(o){var s=me(o,t.ch);a=s%2?"right":"left"}var l=ur(i.map,t.ch,a);return l.offset="right"==l.collapse?l.end:l.start,l}function il(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function ol(e,t){return t&&(e.bad=!0),e}function al(e,t,n,r,i){var o="",a=!1,s=e.doc.lineSeparator(),l=!1;function c(e){return function(t){return t.id==e}}function u(){a&&(o+=s,l&&(o+=s),a=l=!1)}function h(e){e&&(u(),o+=e)}function d(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void h(n);var o,f=t.getAttribute("cm-marker");if(f){var p=e.findMarks(ct(r,0),ct(i+1,0),c(+f));return void(p.length&&(o=p[0].find(0))&&h(nt(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var m=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;m&&u();for(var g=0;g=t.display.viewTo||o.line=t.display.viewFrom&&rl(t,i)||{node:l[0].measure.map[2],offset:0},u=o.liner.firstLine()&&(a=ct(a.line-1,tt(r.doc,a.line-1).length)),s.ch==tt(r.doc,s.line).text.length&&s.linei.viewTo-1)return!1;a.line==i.viewFrom||0==(e=Hr(r,a.line))?(t=ot(i.view[0].line),n=i.view[0].node):(t=ot(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,c,u=Hr(r,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=ot(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!n)return!1;var h=r.doc.splitLines(al(r,n,c,t,l)),d=nt(r.doc,ct(t,0),ct(l,tt(r.doc,l).text.length));while(h.length>1&&d.length>1)if(ee(h)==ee(d))h.pop(),d.pop(),l--;else{if(h[0]!=d[0])break;h.shift(),d.shift(),t++}var f=0,p=0,m=h[0],g=d[0],v=Math.min(m.length,g.length);while(fa.ch&&b.charCodeAt(b.length-p-1)==y.charCodeAt(y.length-p-1))f--,p++;h[h.length-1]=b.slice(0,b.length-p).replace(/^\u200b+/,""),h[0]=h[0].slice(f).replace(/\u200b+$/,"");var x=ct(t,f),k=ct(l,d.length?ee(d).length-p:0);return h.length>1||h[0]||ut(x,k)?(la(r.doc,h,x,k,"+input"),!0):void 0},nl.prototype.ensurePolled=function(){this.forceCompositionEnd()},nl.prototype.reset=function(){this.forceCompositionEnd()},nl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},nl.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},nl.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Ri(this.cm,(function(){return Ur(e.cm)}))},nl.prototype.setUneditable=function(e){e.contentEditable="false"},nl.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Fi(this.cm,Ks)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},nl.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},nl.prototype.onContextMenu=function(){},nl.prototype.resetPosition=function(){},nl.prototype.needsContentAttribute=!0;var cl=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new G,this.hasSelection=!1,this.composing=null,this.resetting=!1};function ul(e,t){if(t=t?q(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=P(j(e));t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(ye(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(l){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(xe(e.form,"submit",r),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=Us((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s}function hl(e){e.off=xe,e.on=ye,e.wheelEventPixels=ao,e.Doc=Ea,e.splitLines=Be,e.countColumn=W,e.findColumn=Q,e.isWordChar=ae,e.Pass=K,e.signal=ke,e.Line=fn,e.changeEnd=fo,e.scrollbarModel=Ai,e.Pos=ct,e.cmpPos=ut,e.modes=We,e.mimeModes=Ge,e.resolveMode=Ke,e.getMode=Ze,e.modeExtensions=Xe,e.extendMode=Je,e.copyState=Qe,e.startState=$e,e.innerMode=_e,e.commands=ts,e.keyMap=qa,e.keyName=Za,e.isModifierKey=Ya,e.lookupKey=Va,e.normalizeKeyMap=Ga,e.StringStream=et,e.SharedTextMarker=xa,e.TextMarker=ya,e.LineWidget=ma,e.e_preventDefault=Ee,e.e_stopPropagation=Me,e.e_stop=Ne,e.addClass=I,e.contains=D,e.rmClass=E,e.keyNames=Ba}cl.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!Ce(r,e)){if(r.somethingSelected())Ys({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Js(r);Ys({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,Z):(n.prevInput="",i.value=t.text.join("\n"),F(i))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(i.style.width="0px"),ye(i,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),ye(i,"paste",(function(e){Ce(r,e)||Zs(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),ye(i,"cut",o),ye(i,"copy",o),ye(e.scroller,"paste",(function(t){if(!Zn(e,t)&&!Ce(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),ye(e.lineSpace,"selectstart",(function(t){Zn(e,t)||Ee(t)})),ye(i,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),ye(i,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},cl.prototype.createField=function(e){this.wrapper=_s(),this.textarea=this.wrapper.firstChild;var t=this.cm.options;Qs(this.textarea,t.spellcheck,t.autocorrect,t.autocapitalize)},cl.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},cl.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=Zr(e);if(e.options.moveInputWithCursor){var i=Cr(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},cl.prototype.showSelection=function(e){var t=this.cm,n=t.display;O(n.cursorDiv,e.cursors),O(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},cl.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing&&e)){var t=this.cm;if(this.resetting=!0,t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&F(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null));this.resetting=!1}},cl.prototype.getField=function(){return this.textarea},cl.prototype.supportsTouch=function(){return!1},cl.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!b||P(j(this.textarea))!=this.textarea))try{this.textarea.focus()}catch(e){}},cl.prototype.blur=function(){this.textarea.blur()},cl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},cl.prototype.receivedFocus=function(){this.slowPoll()},cl.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},cl.prototype.fastPoll=function(){var e=!1,t=this;function n(){var r=t.poll();r||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}t.pollingFast=!0,t.polling.set(20,n)},cl.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||this.resetting||!t.state.focused||je(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}var l=0,c=Math.min(r.length,i.length);while(l1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},cl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},cl.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},cl.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=jr(n,e),c=r.scroller.scrollTop;if(o&&!d){var u=n.options.resetSelectionOnContextMenu;u&&-1==n.doc.sel.contains(o)&&Fi(n,Yo)(n.doc,ho(o),Z);var h,f=i.style.cssText,p=t.wrapper.style.cssText,m=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-m.top-5)+"px; left: "+(e.clientX-m.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(h=i.ownerDocument.defaultView.scrollY),r.input.focus(),l&&i.ownerDocument.defaultView.scrollTo(null,h),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=b,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&v(),A){Ne(e);var g=function(){xe(window,"mouseup",g),setTimeout(b,20)};ye(window,"mouseup",g)}else setTimeout(b,50)}function v(){if(null!=i.selectionStart){var e=n.somethingSelected(),o="​"+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"​",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function b(){if(t.contextMenuPending==b&&(t.contextMenuPending=!1,t.wrapper.style.cssText=p,i.style.cssText=f,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&v();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"​"==t.prevInput?Fi(n,ea)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},cl.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},cl.prototype.setUneditable=function(){},cl.prototype.needsContentAttribute=!1,Bs(Us),$s(Us);var dl="iter insert remove copy getEditor constructor".split(" ");for(var fl in Ea.prototype)Ea.prototype.hasOwnProperty(fl)&&V(dl,fl)<0&&(Us.prototype[fl]=function(e){return function(){return e.apply(this.doc,arguments)}}(Ea.prototype[fl]));return Se(Ea),Us.inputStyles={textarea:cl,contenteditable:nl},Us.defineMode=function(e){Us.defaults.mode||"null"==e||(Us.defaults.mode=e),Ve.apply(this,arguments)},Us.defineMIME=Ye,Us.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),Us.defineMIME("text/plain","null"),Us.defineExtension=function(e,t){Us.prototype[e]=t},Us.defineDocExtension=function(e,t){Ea.prototype[e]=t},Us.fromTextArea=ul,hl(Us),Us.version="5.65.16",Us}))},"56d3":function(e,t,n){e.exports=n.p+"img/ziyuan_4.svg"},5703:function(e,t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(){"use strict";var e={};!function(){e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})}}(),function(){e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();var t={};e.d(t,{default:function(){return wo}});var n=function e(t,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r,i,o="KaTeX parse error: "+t,a=n&&n.loc;if(a&&a.start<=a.end){var s=a.lexer.input;r=a.start,i=a.end,r===s.length?o+=" at end of input: ":o+=" at position "+(r+1)+": ";var l,c,u=s.slice(r,i).replace(/[^]/g,"$&̲");l=r>15?"…"+s.slice(r-15,r):s.slice(0,r),c=i+15":">","<":"<",'"':""","'":"'"},c=/[&><"']/g;function u(e){return String(e).replace(c,(function(e){return l[e]}))}var h=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},d=function(e){var t=h(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},f=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},p=function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"},m={contains:i,deflt:o,escape:u,hyphenate:s,getBaseElem:h,isCharacterBox:d,protocolFromUrl:p},g={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:function(e){return"#"+e}},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:function(e,t){return t.push(e),t}},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:function(e){return Math.max(0,e)},cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:function(e){return Math.max(0,e)},cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:function(e){return Math.max(0,e)},cli:"-e, --max-expand ",cliProcessor:function(e){return"Infinity"===e?1/0:parseInt(e)}},globalGroup:{type:"boolean",cli:!1}};function v(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;if("string"!==typeof n)return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var b=function(){function e(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},g)if(g.hasOwnProperty(t)){var n=g[t];this[t]=void 0!==e[t]?n.processor?n.processor(e[t]):e[t]:v(n)}}var t=e.prototype;return t.reportNonstrict=function(e,t,n){var i=this.strict;if("function"===typeof i&&(i=i(e,t,n)),i&&"ignore"!==i){if(!0===i||"error"===i)throw new r("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===i?"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+i+"': "+t+" ["+e+"]")}},t.useStrictBehavior=function(e,t,n){var r=this.strict;if("function"===typeof r)try{r=r(e,t,n)}catch(i){r="error"}return!(!r||"ignore"===r)&&(!0===r||"error"===r||("warn"===r?("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),!1):("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]"),!1)))},t.isTrusted=function(e){e.url&&!e.protocol&&(e.protocol=m.protocolFromUrl(e.url));var t="function"===typeof this.trust?this.trust(e):this.trust;return Boolean(t)},e}(),y=function(){function e(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}var t=e.prototype;return t.sup=function(){return M[O[this.id]]},t.sub=function(){return M[N[this.id]]},t.fracNum=function(){return M[L[this.id]]},t.fracDen=function(){return M[D[this.id]]},t.cramp=function(){return M[P[this.id]]},t.text=function(){return M[I[this.id]]},t.isTight=function(){return this.size>=2},e}(),w=0,x=1,k=2,C=3,A=4,T=5,S=6,E=7,M=[new y(w,0,!1),new y(x,0,!0),new y(k,1,!1),new y(C,1,!0),new y(A,2,!1),new y(T,2,!0),new y(S,3,!1),new y(E,3,!0)],O=[A,T,A,T,S,E,S,E],N=[T,T,T,T,E,E,E,E],L=[k,C,A,T,S,E,S,E],D=[C,C,T,T,E,E,E,E],P=[x,x,C,C,T,T,E,E],I=[w,x,k,C,k,C,k,C],R={DISPLAY:M[w],TEXT:M[k],SCRIPT:M[A],SCRIPTSCRIPT:M[S]},F=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function z(e){for(var t=0;t=i[0]&&e<=i[1])return n.name}return null}var B=[];function j(e){for(var t=0;t=B[t]&&e<=B[t+1])return!0;return!1}F.forEach((function(e){return e.blocks.forEach((function(e){return B.push.apply(B,e)}))}));var H=80,U=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},q=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},W=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},G=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"},V=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},Y=function(e){var t=e/2;return"M400000 "+e+" H0 L"+t+" 0 l65 45 L145 "+(e-80)+" H400000z"},K=function(e,t,n){var r=n-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+r+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"},Z=function(e,t,n){t*=1e3;var r="";switch(e){case"sqrtMain":r=U(t,H);break;case"sqrtSize1":r=q(t,H);break;case"sqrtSize2":r=W(t,H);break;case"sqrtSize3":r=G(t,H);break;case"sqrtSize4":r=V(t,H);break;case"sqrtTall":r=K(t,H,n)}return r},X=function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}},J={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},Q=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}},_=function(){function e(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var t=e.prototype;return t.hasClass=function(e){return m.contains(this.classes,e)},t.toNode=function(){for(var e=document.createDocumentFragment(),t=0;t=5?0:e>=3?1:2,!ie[t]){var n=ie[t]={cssEmPerMu:ee.quad[t]/18};for(var r in ee)ee.hasOwnProperty(r)&&(n[r]=ee[r][t])}return ie[t]}var ae=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],se=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],le=function(e,t){return t.size<2?e:ae[e-1][t.size-1]},ce=function(){function e(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=se[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}var t=e.prototype;return t.extend=function(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new e(n)},t.havingStyle=function(e){return this.style===e?this:this.extend({style:e,size:le(this.textSize,e)})},t.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},t.havingSize=function(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:se[e-1]})},t.havingBaseStyle=function(t){t=t||this.style.text();var n=le(e.BASESIZE,t);return this.size===n&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})},t.havingBaseSizing=function(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})},t.withColor=function(e){return this.extend({color:e})},t.withPhantom=function(){return this.extend({phantom:!0})},t.withFont=function(e){return this.extend({font:e})},t.withTextFontFamily=function(e){return this.extend({fontFamily:e,font:""})},t.withTextFontWeight=function(e){return this.extend({fontWeight:e,font:""})},t.withTextFontShape=function(e){return this.extend({fontShape:e,font:""})},t.sizingClasses=function(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]},t.baseSizingClasses=function(){return this.size!==e.BASESIZE?["sizing","reset-size"+this.size,"size"+e.BASESIZE]:[]},t.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=oe(this.size)),this._fontMetrics},t.getColor=function(){return this.phantom?"transparent":this.color},e}();ce.BASESIZE=6;var ue=ce,he={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},de={ex:!0,em:!0,mu:!0},fe=function(e){return"string"!==typeof e&&(e=e.unit),e in he||e in de||"ex"===e},pe=function(e,t){var n;if(e.unit in he)n=he[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{var i;if(i=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=i.fontMetrics().xHeight;else{if("em"!==e.unit)throw new r("Invalid unit: '"+e.unit+"'");n=i.fontMetrics().quad}i!==t&&(n*=i.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},me=function(e){return+e.toFixed(4)+"em"},ge=function(e){return e.filter((function(e){return e})).join(" ")},ve=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");var r=t.getColor();r&&(this.style.color=r)}},be=function(e){var t=document.createElement(e);for(var n in t.className=ge(this.classes),this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(var r in this.attributes)this.attributes.hasOwnProperty(r)&&t.setAttribute(r,this.attributes[r]);for(var i=0;i",t},we=function(){function e(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,ve.call(this,e,n,r),this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return m.contains(this.classes,e)},t.toNode=function(){return be.call(this,"span")},t.toMarkup=function(){return ye.call(this,"span")},e}(),xe=function(){function e(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,ve.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return m.contains(this.classes,e)},t.toNode=function(){return be.call(this,"a")},t.toMarkup=function(){return ye.call(this,"a")},e}(),ke=function(){function e(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=n}var t=e.prototype;return t.hasClass=function(e){return m.contains(this.classes,e)},t.toNode=function(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e},t.toMarkup=function(){var e=""+this.alt+"0&&(t=document.createElement("span"),t.style.marginRight=me(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=ge(this.classes)),this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e},t.toMarkup=function(){var e=!1,t="0&&(n+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(r)&&(n+=m.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+m.escape(n)+'"');var i=m.escape(this.text);return e?(t+=">",t+=i,t+="",t):i},e}(),Te=function(){function e(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}var t=e.prototype;return t.toNode=function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);for(var r=0;r":""},e}(),Ee=function(){function e(e){this.attributes=void 0,this.attributes=e||{}}var t=e.prototype;return t.toNode=function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);return t},t.toMarkup=function(){var e=" but got "+String(e)+".")}var Ne={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Le={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},De={math:{},text:{}},Pe=De;function Ie(e,t,n,r,i,o){De[e][i]={font:t,group:n,replace:r},o&&r&&(De[e][r]=De[e][i])}var Re="math",Fe="text",ze="main",Be="ams",je="accent-token",He="bin",Ue="close",qe="inner",We="mathord",Ge="op-token",Ve="open",Ye="punct",Ke="rel",Ze="spacing",Xe="textord";Ie(Re,ze,Ke,"≡","\\equiv",!0),Ie(Re,ze,Ke,"≺","\\prec",!0),Ie(Re,ze,Ke,"≻","\\succ",!0),Ie(Re,ze,Ke,"∼","\\sim",!0),Ie(Re,ze,Ke,"⊥","\\perp"),Ie(Re,ze,Ke,"⪯","\\preceq",!0),Ie(Re,ze,Ke,"⪰","\\succeq",!0),Ie(Re,ze,Ke,"≃","\\simeq",!0),Ie(Re,ze,Ke,"∣","\\mid",!0),Ie(Re,ze,Ke,"≪","\\ll",!0),Ie(Re,ze,Ke,"≫","\\gg",!0),Ie(Re,ze,Ke,"≍","\\asymp",!0),Ie(Re,ze,Ke,"∥","\\parallel"),Ie(Re,ze,Ke,"⋈","\\bowtie",!0),Ie(Re,ze,Ke,"⌣","\\smile",!0),Ie(Re,ze,Ke,"⊑","\\sqsubseteq",!0),Ie(Re,ze,Ke,"⊒","\\sqsupseteq",!0),Ie(Re,ze,Ke,"≐","\\doteq",!0),Ie(Re,ze,Ke,"⌢","\\frown",!0),Ie(Re,ze,Ke,"∋","\\ni",!0),Ie(Re,ze,Ke,"∝","\\propto",!0),Ie(Re,ze,Ke,"⊢","\\vdash",!0),Ie(Re,ze,Ke,"⊣","\\dashv",!0),Ie(Re,ze,Ke,"∋","\\owns"),Ie(Re,ze,Ye,".","\\ldotp"),Ie(Re,ze,Ye,"⋅","\\cdotp"),Ie(Re,ze,Xe,"#","\\#"),Ie(Fe,ze,Xe,"#","\\#"),Ie(Re,ze,Xe,"&","\\&"),Ie(Fe,ze,Xe,"&","\\&"),Ie(Re,ze,Xe,"ℵ","\\aleph",!0),Ie(Re,ze,Xe,"∀","\\forall",!0),Ie(Re,ze,Xe,"ℏ","\\hbar",!0),Ie(Re,ze,Xe,"∃","\\exists",!0),Ie(Re,ze,Xe,"∇","\\nabla",!0),Ie(Re,ze,Xe,"♭","\\flat",!0),Ie(Re,ze,Xe,"ℓ","\\ell",!0),Ie(Re,ze,Xe,"♮","\\natural",!0),Ie(Re,ze,Xe,"♣","\\clubsuit",!0),Ie(Re,ze,Xe,"℘","\\wp",!0),Ie(Re,ze,Xe,"♯","\\sharp",!0),Ie(Re,ze,Xe,"♢","\\diamondsuit",!0),Ie(Re,ze,Xe,"ℜ","\\Re",!0),Ie(Re,ze,Xe,"♡","\\heartsuit",!0),Ie(Re,ze,Xe,"ℑ","\\Im",!0),Ie(Re,ze,Xe,"♠","\\spadesuit",!0),Ie(Re,ze,Xe,"§","\\S",!0),Ie(Fe,ze,Xe,"§","\\S"),Ie(Re,ze,Xe,"¶","\\P",!0),Ie(Fe,ze,Xe,"¶","\\P"),Ie(Re,ze,Xe,"†","\\dag"),Ie(Fe,ze,Xe,"†","\\dag"),Ie(Fe,ze,Xe,"†","\\textdagger"),Ie(Re,ze,Xe,"‡","\\ddag"),Ie(Fe,ze,Xe,"‡","\\ddag"),Ie(Fe,ze,Xe,"‡","\\textdaggerdbl"),Ie(Re,ze,Ue,"⎱","\\rmoustache",!0),Ie(Re,ze,Ve,"⎰","\\lmoustache",!0),Ie(Re,ze,Ue,"⟯","\\rgroup",!0),Ie(Re,ze,Ve,"⟮","\\lgroup",!0),Ie(Re,ze,He,"∓","\\mp",!0),Ie(Re,ze,He,"⊖","\\ominus",!0),Ie(Re,ze,He,"⊎","\\uplus",!0),Ie(Re,ze,He,"⊓","\\sqcap",!0),Ie(Re,ze,He,"∗","\\ast"),Ie(Re,ze,He,"⊔","\\sqcup",!0),Ie(Re,ze,He,"◯","\\bigcirc",!0),Ie(Re,ze,He,"∙","\\bullet",!0),Ie(Re,ze,He,"‡","\\ddagger"),Ie(Re,ze,He,"≀","\\wr",!0),Ie(Re,ze,He,"⨿","\\amalg"),Ie(Re,ze,He,"&","\\And"),Ie(Re,ze,Ke,"⟵","\\longleftarrow",!0),Ie(Re,ze,Ke,"⇐","\\Leftarrow",!0),Ie(Re,ze,Ke,"⟸","\\Longleftarrow",!0),Ie(Re,ze,Ke,"⟶","\\longrightarrow",!0),Ie(Re,ze,Ke,"⇒","\\Rightarrow",!0),Ie(Re,ze,Ke,"⟹","\\Longrightarrow",!0),Ie(Re,ze,Ke,"↔","\\leftrightarrow",!0),Ie(Re,ze,Ke,"⟷","\\longleftrightarrow",!0),Ie(Re,ze,Ke,"⇔","\\Leftrightarrow",!0),Ie(Re,ze,Ke,"⟺","\\Longleftrightarrow",!0),Ie(Re,ze,Ke,"↦","\\mapsto",!0),Ie(Re,ze,Ke,"⟼","\\longmapsto",!0),Ie(Re,ze,Ke,"↗","\\nearrow",!0),Ie(Re,ze,Ke,"↩","\\hookleftarrow",!0),Ie(Re,ze,Ke,"↪","\\hookrightarrow",!0),Ie(Re,ze,Ke,"↘","\\searrow",!0),Ie(Re,ze,Ke,"↼","\\leftharpoonup",!0),Ie(Re,ze,Ke,"⇀","\\rightharpoonup",!0),Ie(Re,ze,Ke,"↙","\\swarrow",!0),Ie(Re,ze,Ke,"↽","\\leftharpoondown",!0),Ie(Re,ze,Ke,"⇁","\\rightharpoondown",!0),Ie(Re,ze,Ke,"↖","\\nwarrow",!0),Ie(Re,ze,Ke,"⇌","\\rightleftharpoons",!0),Ie(Re,Be,Ke,"≮","\\nless",!0),Ie(Re,Be,Ke,"","\\@nleqslant"),Ie(Re,Be,Ke,"","\\@nleqq"),Ie(Re,Be,Ke,"⪇","\\lneq",!0),Ie(Re,Be,Ke,"≨","\\lneqq",!0),Ie(Re,Be,Ke,"","\\@lvertneqq"),Ie(Re,Be,Ke,"⋦","\\lnsim",!0),Ie(Re,Be,Ke,"⪉","\\lnapprox",!0),Ie(Re,Be,Ke,"⊀","\\nprec",!0),Ie(Re,Be,Ke,"⋠","\\npreceq",!0),Ie(Re,Be,Ke,"⋨","\\precnsim",!0),Ie(Re,Be,Ke,"⪹","\\precnapprox",!0),Ie(Re,Be,Ke,"≁","\\nsim",!0),Ie(Re,Be,Ke,"","\\@nshortmid"),Ie(Re,Be,Ke,"∤","\\nmid",!0),Ie(Re,Be,Ke,"⊬","\\nvdash",!0),Ie(Re,Be,Ke,"⊭","\\nvDash",!0),Ie(Re,Be,Ke,"⋪","\\ntriangleleft"),Ie(Re,Be,Ke,"⋬","\\ntrianglelefteq",!0),Ie(Re,Be,Ke,"⊊","\\subsetneq",!0),Ie(Re,Be,Ke,"","\\@varsubsetneq"),Ie(Re,Be,Ke,"⫋","\\subsetneqq",!0),Ie(Re,Be,Ke,"","\\@varsubsetneqq"),Ie(Re,Be,Ke,"≯","\\ngtr",!0),Ie(Re,Be,Ke,"","\\@ngeqslant"),Ie(Re,Be,Ke,"","\\@ngeqq"),Ie(Re,Be,Ke,"⪈","\\gneq",!0),Ie(Re,Be,Ke,"≩","\\gneqq",!0),Ie(Re,Be,Ke,"","\\@gvertneqq"),Ie(Re,Be,Ke,"⋧","\\gnsim",!0),Ie(Re,Be,Ke,"⪊","\\gnapprox",!0),Ie(Re,Be,Ke,"⊁","\\nsucc",!0),Ie(Re,Be,Ke,"⋡","\\nsucceq",!0),Ie(Re,Be,Ke,"⋩","\\succnsim",!0),Ie(Re,Be,Ke,"⪺","\\succnapprox",!0),Ie(Re,Be,Ke,"≆","\\ncong",!0),Ie(Re,Be,Ke,"","\\@nshortparallel"),Ie(Re,Be,Ke,"∦","\\nparallel",!0),Ie(Re,Be,Ke,"⊯","\\nVDash",!0),Ie(Re,Be,Ke,"⋫","\\ntriangleright"),Ie(Re,Be,Ke,"⋭","\\ntrianglerighteq",!0),Ie(Re,Be,Ke,"","\\@nsupseteqq"),Ie(Re,Be,Ke,"⊋","\\supsetneq",!0),Ie(Re,Be,Ke,"","\\@varsupsetneq"),Ie(Re,Be,Ke,"⫌","\\supsetneqq",!0),Ie(Re,Be,Ke,"","\\@varsupsetneqq"),Ie(Re,Be,Ke,"⊮","\\nVdash",!0),Ie(Re,Be,Ke,"⪵","\\precneqq",!0),Ie(Re,Be,Ke,"⪶","\\succneqq",!0),Ie(Re,Be,Ke,"","\\@nsubseteqq"),Ie(Re,Be,He,"⊴","\\unlhd"),Ie(Re,Be,He,"⊵","\\unrhd"),Ie(Re,Be,Ke,"↚","\\nleftarrow",!0),Ie(Re,Be,Ke,"↛","\\nrightarrow",!0),Ie(Re,Be,Ke,"⇍","\\nLeftarrow",!0),Ie(Re,Be,Ke,"⇏","\\nRightarrow",!0),Ie(Re,Be,Ke,"↮","\\nleftrightarrow",!0),Ie(Re,Be,Ke,"⇎","\\nLeftrightarrow",!0),Ie(Re,Be,Ke,"△","\\vartriangle"),Ie(Re,Be,Xe,"ℏ","\\hslash"),Ie(Re,Be,Xe,"▽","\\triangledown"),Ie(Re,Be,Xe,"◊","\\lozenge"),Ie(Re,Be,Xe,"Ⓢ","\\circledS"),Ie(Re,Be,Xe,"®","\\circledR"),Ie(Fe,Be,Xe,"®","\\circledR"),Ie(Re,Be,Xe,"∡","\\measuredangle",!0),Ie(Re,Be,Xe,"∄","\\nexists"),Ie(Re,Be,Xe,"℧","\\mho"),Ie(Re,Be,Xe,"Ⅎ","\\Finv",!0),Ie(Re,Be,Xe,"⅁","\\Game",!0),Ie(Re,Be,Xe,"‵","\\backprime"),Ie(Re,Be,Xe,"▲","\\blacktriangle"),Ie(Re,Be,Xe,"▼","\\blacktriangledown"),Ie(Re,Be,Xe,"■","\\blacksquare"),Ie(Re,Be,Xe,"⧫","\\blacklozenge"),Ie(Re,Be,Xe,"★","\\bigstar"),Ie(Re,Be,Xe,"∢","\\sphericalangle",!0),Ie(Re,Be,Xe,"∁","\\complement",!0),Ie(Re,Be,Xe,"ð","\\eth",!0),Ie(Fe,ze,Xe,"ð","ð"),Ie(Re,Be,Xe,"╱","\\diagup"),Ie(Re,Be,Xe,"╲","\\diagdown"),Ie(Re,Be,Xe,"□","\\square"),Ie(Re,Be,Xe,"□","\\Box"),Ie(Re,Be,Xe,"◊","\\Diamond"),Ie(Re,Be,Xe,"¥","\\yen",!0),Ie(Fe,Be,Xe,"¥","\\yen",!0),Ie(Re,Be,Xe,"✓","\\checkmark",!0),Ie(Fe,Be,Xe,"✓","\\checkmark"),Ie(Re,Be,Xe,"ℶ","\\beth",!0),Ie(Re,Be,Xe,"ℸ","\\daleth",!0),Ie(Re,Be,Xe,"ℷ","\\gimel",!0),Ie(Re,Be,Xe,"ϝ","\\digamma",!0),Ie(Re,Be,Xe,"ϰ","\\varkappa"),Ie(Re,Be,Ve,"┌","\\@ulcorner",!0),Ie(Re,Be,Ue,"┐","\\@urcorner",!0),Ie(Re,Be,Ve,"└","\\@llcorner",!0),Ie(Re,Be,Ue,"┘","\\@lrcorner",!0),Ie(Re,Be,Ke,"≦","\\leqq",!0),Ie(Re,Be,Ke,"⩽","\\leqslant",!0),Ie(Re,Be,Ke,"⪕","\\eqslantless",!0),Ie(Re,Be,Ke,"≲","\\lesssim",!0),Ie(Re,Be,Ke,"⪅","\\lessapprox",!0),Ie(Re,Be,Ke,"≊","\\approxeq",!0),Ie(Re,Be,He,"⋖","\\lessdot"),Ie(Re,Be,Ke,"⋘","\\lll",!0),Ie(Re,Be,Ke,"≶","\\lessgtr",!0),Ie(Re,Be,Ke,"⋚","\\lesseqgtr",!0),Ie(Re,Be,Ke,"⪋","\\lesseqqgtr",!0),Ie(Re,Be,Ke,"≑","\\doteqdot"),Ie(Re,Be,Ke,"≓","\\risingdotseq",!0),Ie(Re,Be,Ke,"≒","\\fallingdotseq",!0),Ie(Re,Be,Ke,"∽","\\backsim",!0),Ie(Re,Be,Ke,"⋍","\\backsimeq",!0),Ie(Re,Be,Ke,"⫅","\\subseteqq",!0),Ie(Re,Be,Ke,"⋐","\\Subset",!0),Ie(Re,Be,Ke,"⊏","\\sqsubset",!0),Ie(Re,Be,Ke,"≼","\\preccurlyeq",!0),Ie(Re,Be,Ke,"⋞","\\curlyeqprec",!0),Ie(Re,Be,Ke,"≾","\\precsim",!0),Ie(Re,Be,Ke,"⪷","\\precapprox",!0),Ie(Re,Be,Ke,"⊲","\\vartriangleleft"),Ie(Re,Be,Ke,"⊴","\\trianglelefteq"),Ie(Re,Be,Ke,"⊨","\\vDash",!0),Ie(Re,Be,Ke,"⊪","\\Vvdash",!0),Ie(Re,Be,Ke,"⌣","\\smallsmile"),Ie(Re,Be,Ke,"⌢","\\smallfrown"),Ie(Re,Be,Ke,"≏","\\bumpeq",!0),Ie(Re,Be,Ke,"≎","\\Bumpeq",!0),Ie(Re,Be,Ke,"≧","\\geqq",!0),Ie(Re,Be,Ke,"⩾","\\geqslant",!0),Ie(Re,Be,Ke,"⪖","\\eqslantgtr",!0),Ie(Re,Be,Ke,"≳","\\gtrsim",!0),Ie(Re,Be,Ke,"⪆","\\gtrapprox",!0),Ie(Re,Be,He,"⋗","\\gtrdot"),Ie(Re,Be,Ke,"⋙","\\ggg",!0),Ie(Re,Be,Ke,"≷","\\gtrless",!0),Ie(Re,Be,Ke,"⋛","\\gtreqless",!0),Ie(Re,Be,Ke,"⪌","\\gtreqqless",!0),Ie(Re,Be,Ke,"≖","\\eqcirc",!0),Ie(Re,Be,Ke,"≗","\\circeq",!0),Ie(Re,Be,Ke,"≜","\\triangleq",!0),Ie(Re,Be,Ke,"∼","\\thicksim"),Ie(Re,Be,Ke,"≈","\\thickapprox"),Ie(Re,Be,Ke,"⫆","\\supseteqq",!0),Ie(Re,Be,Ke,"⋑","\\Supset",!0),Ie(Re,Be,Ke,"⊐","\\sqsupset",!0),Ie(Re,Be,Ke,"≽","\\succcurlyeq",!0),Ie(Re,Be,Ke,"⋟","\\curlyeqsucc",!0),Ie(Re,Be,Ke,"≿","\\succsim",!0),Ie(Re,Be,Ke,"⪸","\\succapprox",!0),Ie(Re,Be,Ke,"⊳","\\vartriangleright"),Ie(Re,Be,Ke,"⊵","\\trianglerighteq"),Ie(Re,Be,Ke,"⊩","\\Vdash",!0),Ie(Re,Be,Ke,"∣","\\shortmid"),Ie(Re,Be,Ke,"∥","\\shortparallel"),Ie(Re,Be,Ke,"≬","\\between",!0),Ie(Re,Be,Ke,"⋔","\\pitchfork",!0),Ie(Re,Be,Ke,"∝","\\varpropto"),Ie(Re,Be,Ke,"◀","\\blacktriangleleft"),Ie(Re,Be,Ke,"∴","\\therefore",!0),Ie(Re,Be,Ke,"∍","\\backepsilon"),Ie(Re,Be,Ke,"▶","\\blacktriangleright"),Ie(Re,Be,Ke,"∵","\\because",!0),Ie(Re,Be,Ke,"⋘","\\llless"),Ie(Re,Be,Ke,"⋙","\\gggtr"),Ie(Re,Be,He,"⊲","\\lhd"),Ie(Re,Be,He,"⊳","\\rhd"),Ie(Re,Be,Ke,"≂","\\eqsim",!0),Ie(Re,ze,Ke,"⋈","\\Join"),Ie(Re,Be,Ke,"≑","\\Doteq",!0),Ie(Re,Be,He,"∔","\\dotplus",!0),Ie(Re,Be,He,"∖","\\smallsetminus"),Ie(Re,Be,He,"⋒","\\Cap",!0),Ie(Re,Be,He,"⋓","\\Cup",!0),Ie(Re,Be,He,"⩞","\\doublebarwedge",!0),Ie(Re,Be,He,"⊟","\\boxminus",!0),Ie(Re,Be,He,"⊞","\\boxplus",!0),Ie(Re,Be,He,"⋇","\\divideontimes",!0),Ie(Re,Be,He,"⋉","\\ltimes",!0),Ie(Re,Be,He,"⋊","\\rtimes",!0),Ie(Re,Be,He,"⋋","\\leftthreetimes",!0),Ie(Re,Be,He,"⋌","\\rightthreetimes",!0),Ie(Re,Be,He,"⋏","\\curlywedge",!0),Ie(Re,Be,He,"⋎","\\curlyvee",!0),Ie(Re,Be,He,"⊝","\\circleddash",!0),Ie(Re,Be,He,"⊛","\\circledast",!0),Ie(Re,Be,He,"⋅","\\centerdot"),Ie(Re,Be,He,"⊺","\\intercal",!0),Ie(Re,Be,He,"⋒","\\doublecap"),Ie(Re,Be,He,"⋓","\\doublecup"),Ie(Re,Be,He,"⊠","\\boxtimes",!0),Ie(Re,Be,Ke,"⇢","\\dashrightarrow",!0),Ie(Re,Be,Ke,"⇠","\\dashleftarrow",!0),Ie(Re,Be,Ke,"⇇","\\leftleftarrows",!0),Ie(Re,Be,Ke,"⇆","\\leftrightarrows",!0),Ie(Re,Be,Ke,"⇚","\\Lleftarrow",!0),Ie(Re,Be,Ke,"↞","\\twoheadleftarrow",!0),Ie(Re,Be,Ke,"↢","\\leftarrowtail",!0),Ie(Re,Be,Ke,"↫","\\looparrowleft",!0),Ie(Re,Be,Ke,"⇋","\\leftrightharpoons",!0),Ie(Re,Be,Ke,"↶","\\curvearrowleft",!0),Ie(Re,Be,Ke,"↺","\\circlearrowleft",!0),Ie(Re,Be,Ke,"↰","\\Lsh",!0),Ie(Re,Be,Ke,"⇈","\\upuparrows",!0),Ie(Re,Be,Ke,"↿","\\upharpoonleft",!0),Ie(Re,Be,Ke,"⇃","\\downharpoonleft",!0),Ie(Re,ze,Ke,"⊶","\\origof",!0),Ie(Re,ze,Ke,"⊷","\\imageof",!0),Ie(Re,Be,Ke,"⊸","\\multimap",!0),Ie(Re,Be,Ke,"↭","\\leftrightsquigarrow",!0),Ie(Re,Be,Ke,"⇉","\\rightrightarrows",!0),Ie(Re,Be,Ke,"⇄","\\rightleftarrows",!0),Ie(Re,Be,Ke,"↠","\\twoheadrightarrow",!0),Ie(Re,Be,Ke,"↣","\\rightarrowtail",!0),Ie(Re,Be,Ke,"↬","\\looparrowright",!0),Ie(Re,Be,Ke,"↷","\\curvearrowright",!0),Ie(Re,Be,Ke,"↻","\\circlearrowright",!0),Ie(Re,Be,Ke,"↱","\\Rsh",!0),Ie(Re,Be,Ke,"⇊","\\downdownarrows",!0),Ie(Re,Be,Ke,"↾","\\upharpoonright",!0),Ie(Re,Be,Ke,"⇂","\\downharpoonright",!0),Ie(Re,Be,Ke,"⇝","\\rightsquigarrow",!0),Ie(Re,Be,Ke,"⇝","\\leadsto"),Ie(Re,Be,Ke,"⇛","\\Rrightarrow",!0),Ie(Re,Be,Ke,"↾","\\restriction"),Ie(Re,ze,Xe,"‘","`"),Ie(Re,ze,Xe,"$","\\$"),Ie(Fe,ze,Xe,"$","\\$"),Ie(Fe,ze,Xe,"$","\\textdollar"),Ie(Re,ze,Xe,"%","\\%"),Ie(Fe,ze,Xe,"%","\\%"),Ie(Re,ze,Xe,"_","\\_"),Ie(Fe,ze,Xe,"_","\\_"),Ie(Fe,ze,Xe,"_","\\textunderscore"),Ie(Re,ze,Xe,"∠","\\angle",!0),Ie(Re,ze,Xe,"∞","\\infty",!0),Ie(Re,ze,Xe,"′","\\prime"),Ie(Re,ze,Xe,"△","\\triangle"),Ie(Re,ze,Xe,"Γ","\\Gamma",!0),Ie(Re,ze,Xe,"Δ","\\Delta",!0),Ie(Re,ze,Xe,"Θ","\\Theta",!0),Ie(Re,ze,Xe,"Λ","\\Lambda",!0),Ie(Re,ze,Xe,"Ξ","\\Xi",!0),Ie(Re,ze,Xe,"Π","\\Pi",!0),Ie(Re,ze,Xe,"Σ","\\Sigma",!0),Ie(Re,ze,Xe,"Υ","\\Upsilon",!0),Ie(Re,ze,Xe,"Φ","\\Phi",!0),Ie(Re,ze,Xe,"Ψ","\\Psi",!0),Ie(Re,ze,Xe,"Ω","\\Omega",!0),Ie(Re,ze,Xe,"A","Α"),Ie(Re,ze,Xe,"B","Β"),Ie(Re,ze,Xe,"E","Ε"),Ie(Re,ze,Xe,"Z","Ζ"),Ie(Re,ze,Xe,"H","Η"),Ie(Re,ze,Xe,"I","Ι"),Ie(Re,ze,Xe,"K","Κ"),Ie(Re,ze,Xe,"M","Μ"),Ie(Re,ze,Xe,"N","Ν"),Ie(Re,ze,Xe,"O","Ο"),Ie(Re,ze,Xe,"P","Ρ"),Ie(Re,ze,Xe,"T","Τ"),Ie(Re,ze,Xe,"X","Χ"),Ie(Re,ze,Xe,"¬","\\neg",!0),Ie(Re,ze,Xe,"¬","\\lnot"),Ie(Re,ze,Xe,"⊤","\\top"),Ie(Re,ze,Xe,"⊥","\\bot"),Ie(Re,ze,Xe,"∅","\\emptyset"),Ie(Re,Be,Xe,"∅","\\varnothing"),Ie(Re,ze,We,"α","\\alpha",!0),Ie(Re,ze,We,"β","\\beta",!0),Ie(Re,ze,We,"γ","\\gamma",!0),Ie(Re,ze,We,"δ","\\delta",!0),Ie(Re,ze,We,"ϵ","\\epsilon",!0),Ie(Re,ze,We,"ζ","\\zeta",!0),Ie(Re,ze,We,"η","\\eta",!0),Ie(Re,ze,We,"θ","\\theta",!0),Ie(Re,ze,We,"ι","\\iota",!0),Ie(Re,ze,We,"κ","\\kappa",!0),Ie(Re,ze,We,"λ","\\lambda",!0),Ie(Re,ze,We,"μ","\\mu",!0),Ie(Re,ze,We,"ν","\\nu",!0),Ie(Re,ze,We,"ξ","\\xi",!0),Ie(Re,ze,We,"ο","\\omicron",!0),Ie(Re,ze,We,"π","\\pi",!0),Ie(Re,ze,We,"ρ","\\rho",!0),Ie(Re,ze,We,"σ","\\sigma",!0),Ie(Re,ze,We,"τ","\\tau",!0),Ie(Re,ze,We,"υ","\\upsilon",!0),Ie(Re,ze,We,"ϕ","\\phi",!0),Ie(Re,ze,We,"χ","\\chi",!0),Ie(Re,ze,We,"ψ","\\psi",!0),Ie(Re,ze,We,"ω","\\omega",!0),Ie(Re,ze,We,"ε","\\varepsilon",!0),Ie(Re,ze,We,"ϑ","\\vartheta",!0),Ie(Re,ze,We,"ϖ","\\varpi",!0),Ie(Re,ze,We,"ϱ","\\varrho",!0),Ie(Re,ze,We,"ς","\\varsigma",!0),Ie(Re,ze,We,"φ","\\varphi",!0),Ie(Re,ze,He,"∗","*",!0),Ie(Re,ze,He,"+","+"),Ie(Re,ze,He,"−","-",!0),Ie(Re,ze,He,"⋅","\\cdot",!0),Ie(Re,ze,He,"∘","\\circ",!0),Ie(Re,ze,He,"÷","\\div",!0),Ie(Re,ze,He,"±","\\pm",!0),Ie(Re,ze,He,"×","\\times",!0),Ie(Re,ze,He,"∩","\\cap",!0),Ie(Re,ze,He,"∪","\\cup",!0),Ie(Re,ze,He,"∖","\\setminus",!0),Ie(Re,ze,He,"∧","\\land"),Ie(Re,ze,He,"∨","\\lor"),Ie(Re,ze,He,"∧","\\wedge",!0),Ie(Re,ze,He,"∨","\\vee",!0),Ie(Re,ze,Xe,"√","\\surd"),Ie(Re,ze,Ve,"⟨","\\langle",!0),Ie(Re,ze,Ve,"∣","\\lvert"),Ie(Re,ze,Ve,"∥","\\lVert"),Ie(Re,ze,Ue,"?","?"),Ie(Re,ze,Ue,"!","!"),Ie(Re,ze,Ue,"⟩","\\rangle",!0),Ie(Re,ze,Ue,"∣","\\rvert"),Ie(Re,ze,Ue,"∥","\\rVert"),Ie(Re,ze,Ke,"=","="),Ie(Re,ze,Ke,":",":"),Ie(Re,ze,Ke,"≈","\\approx",!0),Ie(Re,ze,Ke,"≅","\\cong",!0),Ie(Re,ze,Ke,"≥","\\ge"),Ie(Re,ze,Ke,"≥","\\geq",!0),Ie(Re,ze,Ke,"←","\\gets"),Ie(Re,ze,Ke,">","\\gt",!0),Ie(Re,ze,Ke,"∈","\\in",!0),Ie(Re,ze,Ke,"","\\@not"),Ie(Re,ze,Ke,"⊂","\\subset",!0),Ie(Re,ze,Ke,"⊃","\\supset",!0),Ie(Re,ze,Ke,"⊆","\\subseteq",!0),Ie(Re,ze,Ke,"⊇","\\supseteq",!0),Ie(Re,Be,Ke,"⊈","\\nsubseteq",!0),Ie(Re,Be,Ke,"⊉","\\nsupseteq",!0),Ie(Re,ze,Ke,"⊨","\\models"),Ie(Re,ze,Ke,"←","\\leftarrow",!0),Ie(Re,ze,Ke,"≤","\\le"),Ie(Re,ze,Ke,"≤","\\leq",!0),Ie(Re,ze,Ke,"<","\\lt",!0),Ie(Re,ze,Ke,"→","\\rightarrow",!0),Ie(Re,ze,Ke,"→","\\to"),Ie(Re,Be,Ke,"≱","\\ngeq",!0),Ie(Re,Be,Ke,"≰","\\nleq",!0),Ie(Re,ze,Ze," ","\\ "),Ie(Re,ze,Ze," ","\\space"),Ie(Re,ze,Ze," ","\\nobreakspace"),Ie(Fe,ze,Ze," ","\\ "),Ie(Fe,ze,Ze," "," "),Ie(Fe,ze,Ze," ","\\space"),Ie(Fe,ze,Ze," ","\\nobreakspace"),Ie(Re,ze,Ze,null,"\\nobreak"),Ie(Re,ze,Ze,null,"\\allowbreak"),Ie(Re,ze,Ye,",",","),Ie(Re,ze,Ye,";",";"),Ie(Re,Be,He,"⊼","\\barwedge",!0),Ie(Re,Be,He,"⊻","\\veebar",!0),Ie(Re,ze,He,"⊙","\\odot",!0),Ie(Re,ze,He,"⊕","\\oplus",!0),Ie(Re,ze,He,"⊗","\\otimes",!0),Ie(Re,ze,Xe,"∂","\\partial",!0),Ie(Re,ze,He,"⊘","\\oslash",!0),Ie(Re,Be,He,"⊚","\\circledcirc",!0),Ie(Re,Be,He,"⊡","\\boxdot",!0),Ie(Re,ze,He,"△","\\bigtriangleup"),Ie(Re,ze,He,"▽","\\bigtriangledown"),Ie(Re,ze,He,"†","\\dagger"),Ie(Re,ze,He,"⋄","\\diamond"),Ie(Re,ze,He,"⋆","\\star"),Ie(Re,ze,He,"◃","\\triangleleft"),Ie(Re,ze,He,"▹","\\triangleright"),Ie(Re,ze,Ve,"{","\\{"),Ie(Fe,ze,Xe,"{","\\{"),Ie(Fe,ze,Xe,"{","\\textbraceleft"),Ie(Re,ze,Ue,"}","\\}"),Ie(Fe,ze,Xe,"}","\\}"),Ie(Fe,ze,Xe,"}","\\textbraceright"),Ie(Re,ze,Ve,"{","\\lbrace"),Ie(Re,ze,Ue,"}","\\rbrace"),Ie(Re,ze,Ve,"[","\\lbrack",!0),Ie(Fe,ze,Xe,"[","\\lbrack",!0),Ie(Re,ze,Ue,"]","\\rbrack",!0),Ie(Fe,ze,Xe,"]","\\rbrack",!0),Ie(Re,ze,Ve,"(","\\lparen",!0),Ie(Re,ze,Ue,")","\\rparen",!0),Ie(Fe,ze,Xe,"<","\\textless",!0),Ie(Fe,ze,Xe,">","\\textgreater",!0),Ie(Re,ze,Ve,"⌊","\\lfloor",!0),Ie(Re,ze,Ue,"⌋","\\rfloor",!0),Ie(Re,ze,Ve,"⌈","\\lceil",!0),Ie(Re,ze,Ue,"⌉","\\rceil",!0),Ie(Re,ze,Xe,"\\","\\backslash"),Ie(Re,ze,Xe,"∣","|"),Ie(Re,ze,Xe,"∣","\\vert"),Ie(Fe,ze,Xe,"|","\\textbar",!0),Ie(Re,ze,Xe,"∥","\\|"),Ie(Re,ze,Xe,"∥","\\Vert"),Ie(Fe,ze,Xe,"∥","\\textbardbl"),Ie(Fe,ze,Xe,"~","\\textasciitilde"),Ie(Fe,ze,Xe,"\\","\\textbackslash"),Ie(Fe,ze,Xe,"^","\\textasciicircum"),Ie(Re,ze,Ke,"↑","\\uparrow",!0),Ie(Re,ze,Ke,"⇑","\\Uparrow",!0),Ie(Re,ze,Ke,"↓","\\downarrow",!0),Ie(Re,ze,Ke,"⇓","\\Downarrow",!0),Ie(Re,ze,Ke,"↕","\\updownarrow",!0),Ie(Re,ze,Ke,"⇕","\\Updownarrow",!0),Ie(Re,ze,Ge,"∐","\\coprod"),Ie(Re,ze,Ge,"⋁","\\bigvee"),Ie(Re,ze,Ge,"⋀","\\bigwedge"),Ie(Re,ze,Ge,"⨄","\\biguplus"),Ie(Re,ze,Ge,"⋂","\\bigcap"),Ie(Re,ze,Ge,"⋃","\\bigcup"),Ie(Re,ze,Ge,"∫","\\int"),Ie(Re,ze,Ge,"∫","\\intop"),Ie(Re,ze,Ge,"∬","\\iint"),Ie(Re,ze,Ge,"∭","\\iiint"),Ie(Re,ze,Ge,"∏","\\prod"),Ie(Re,ze,Ge,"∑","\\sum"),Ie(Re,ze,Ge,"⨂","\\bigotimes"),Ie(Re,ze,Ge,"⨁","\\bigoplus"),Ie(Re,ze,Ge,"⨀","\\bigodot"),Ie(Re,ze,Ge,"∮","\\oint"),Ie(Re,ze,Ge,"∯","\\oiint"),Ie(Re,ze,Ge,"∰","\\oiiint"),Ie(Re,ze,Ge,"⨆","\\bigsqcup"),Ie(Re,ze,Ge,"∫","\\smallint"),Ie(Fe,ze,qe,"…","\\textellipsis"),Ie(Re,ze,qe,"…","\\mathellipsis"),Ie(Fe,ze,qe,"…","\\ldots",!0),Ie(Re,ze,qe,"…","\\ldots",!0),Ie(Re,ze,qe,"⋯","\\@cdots",!0),Ie(Re,ze,qe,"⋱","\\ddots",!0),Ie(Re,ze,Xe,"⋮","\\varvdots"),Ie(Re,ze,je,"ˊ","\\acute"),Ie(Re,ze,je,"ˋ","\\grave"),Ie(Re,ze,je,"¨","\\ddot"),Ie(Re,ze,je,"~","\\tilde"),Ie(Re,ze,je,"ˉ","\\bar"),Ie(Re,ze,je,"˘","\\breve"),Ie(Re,ze,je,"ˇ","\\check"),Ie(Re,ze,je,"^","\\hat"),Ie(Re,ze,je,"⃗","\\vec"),Ie(Re,ze,je,"˙","\\dot"),Ie(Re,ze,je,"˚","\\mathring"),Ie(Re,ze,We,"","\\@imath"),Ie(Re,ze,We,"","\\@jmath"),Ie(Re,ze,Xe,"ı","ı"),Ie(Re,ze,Xe,"ȷ","ȷ"),Ie(Fe,ze,Xe,"ı","\\i",!0),Ie(Fe,ze,Xe,"ȷ","\\j",!0),Ie(Fe,ze,Xe,"ß","\\ss",!0),Ie(Fe,ze,Xe,"æ","\\ae",!0),Ie(Fe,ze,Xe,"œ","\\oe",!0),Ie(Fe,ze,Xe,"ø","\\o",!0),Ie(Fe,ze,Xe,"Æ","\\AE",!0),Ie(Fe,ze,Xe,"Œ","\\OE",!0),Ie(Fe,ze,Xe,"Ø","\\O",!0),Ie(Fe,ze,je,"ˊ","\\'"),Ie(Fe,ze,je,"ˋ","\\`"),Ie(Fe,ze,je,"ˆ","\\^"),Ie(Fe,ze,je,"˜","\\~"),Ie(Fe,ze,je,"ˉ","\\="),Ie(Fe,ze,je,"˘","\\u"),Ie(Fe,ze,je,"˙","\\."),Ie(Fe,ze,je,"¸","\\c"),Ie(Fe,ze,je,"˚","\\r"),Ie(Fe,ze,je,"ˇ","\\v"),Ie(Fe,ze,je,"¨",'\\"'),Ie(Fe,ze,je,"˝","\\H"),Ie(Fe,ze,je,"◯","\\textcircled");var Je={"--":!0,"---":!0,"``":!0,"''":!0};Ie(Fe,ze,Xe,"–","--",!0),Ie(Fe,ze,Xe,"–","\\textendash"),Ie(Fe,ze,Xe,"—","---",!0),Ie(Fe,ze,Xe,"—","\\textemdash"),Ie(Fe,ze,Xe,"‘","`",!0),Ie(Fe,ze,Xe,"‘","\\textquoteleft"),Ie(Fe,ze,Xe,"’","'",!0),Ie(Fe,ze,Xe,"’","\\textquoteright"),Ie(Fe,ze,Xe,"“","``",!0),Ie(Fe,ze,Xe,"“","\\textquotedblleft"),Ie(Fe,ze,Xe,"”","''",!0),Ie(Fe,ze,Xe,"”","\\textquotedblright"),Ie(Re,ze,Xe,"°","\\degree",!0),Ie(Fe,ze,Xe,"°","\\degree"),Ie(Fe,ze,Xe,"°","\\textdegree",!0),Ie(Re,ze,Xe,"£","\\pounds"),Ie(Re,ze,Xe,"£","\\mathsterling",!0),Ie(Fe,ze,Xe,"£","\\pounds"),Ie(Fe,ze,Xe,"£","\\textsterling",!0),Ie(Re,Be,Xe,"✠","\\maltese"),Ie(Fe,Be,Xe,"✠","\\maltese");for(var Qe='0123456789/@."',_e=0;_e0)return bt(i,l,r,t,o.concat(c));if(s){var h,d;if("boldsymbol"===s){var f=wt(i,r,t,o,n);h=f.fontName,d=[f.fontClass]}else a?(h=Rt[s].fontName,d=[s]):(h=It(s,t.fontWeight,t.fontShape),d=[s,t.fontWeight,t.fontShape]);if(vt(i,h,r).metrics)return bt(i,h,r,t,o.concat(d));if(Je.hasOwnProperty(i)&&"Typewriter"===h.slice(0,10)){for(var p=[],m=0;mt&&(t=o.height),o.depth>n&&(n=o.depth),o.maxFontSize>r&&(r=o.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},Tt=function(e,t,n,r){var i=new we(e,t,n,r);return At(i),i},St=function(e,t,n,r){return new we(e,t,n,r)},Et=function(e,t,n){var r=Tt([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=me(r.height),r.maxFontSize=1,r},Mt=function(e,t,n,r){var i=new xe(e,t,n,r);return At(i),i},Ot=function(e){var t=new _(e);return At(t),t},Nt=function(e,t){return e instanceof _?Tt([],[e],t):e},Lt=function(e){if("individualShift"===e.positionType){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,i=r,o=1;o0&&(a.push(un(s,t)),s=[]),a.push(i[l]));s.length>0&&a.push(un(s,t)),n?(o=un(nn(n,t,!0)),o.classes=["tag"],a.push(o)):r&&a.push(r);var u=Qt(["katex-html"],a);if(u.setAttribute("aria-hidden","true"),o){var h=o.children[0];h.style.height=me(u.height+u.depth),u.depth&&(h.style.verticalAlign=me(-u.depth))}return u}function dn(e){return new _(e)}var fn=function(){function e(e,t,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=n||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.getAttribute=function(e){return this.attributes[e]},t.toNode=function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=ge(this.classes));for(var n=0;n0&&(e+=' class ="'+m.escape(ge(this.classes))+'"'),e+=">";for(var n=0;n",e},t.toText=function(){return this.children.map((function(e){return e.toText()})).join("")},e}(),pn=function(){function e(e){this.text=void 0,this.text=e}var t=e.prototype;return t.toNode=function(){return document.createTextNode(this.text)},t.toMarkup=function(){return m.escape(this.toText())},t.toText=function(){return this.text},e}(),mn=function(){function e(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?"  ":e>=-.05556&&e<=-.05555?" ⁣":e>=-.1667&&e<=-.1666?" ⁣":e>=-.2223&&e<=-.2222?" ⁣":e>=-.2778&&e<=-.2777?" ⁣":null}var t=e.prototype;return t.toNode=function(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",me(this.width)),e},t.toMarkup=function(){return this.character?""+this.character+"":''},t.toText=function(){return this.character?this.character:" "},e}(),gn={MathNode:fn,TextNode:pn,SpaceNode:mn,newDocumentFragment:dn},vn=function(e,t,n){return!Pe[t][e]||!Pe[t][e].replace||55349===e.charCodeAt(0)||Je.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.slice(4,6)||n.font&&"tt"===n.font.slice(4,6))||(e=Pe[t][e].replace),new gn.TextNode(e)},bn=function(e){return 1===e.length?e[0]:new gn.MathNode("mrow",e)},yn=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var n=t.font;if(!n||"mathnormal"===n)return null;var r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";var i=e.text;if(m.contains(["\\imath","\\jmath"],i))return null;Pe[r][i]&&Pe[r][i].replace&&(i=Pe[r][i].replace);var o=Bt.fontMap[n].fontName;return re(i,o,r)?Bt.fontMap[n].variant:null},wn=function(e,t,n){if(1===e.length){var r=kn(e[0],t);return n&&r instanceof fn&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var i,o=[],a=0;a0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),o.pop())}}}o.push(s),i=s}return o},xn=function(e,t,n){return bn(wn(e,t,n))},kn=function(e,t){if(!e)return new gn.MathNode("mrow");if(Yt[e.type]){var n=Yt[e.type](e,t);return n}throw new r("Got group of unknown type: '"+e.type+"'")};function Cn(e,t,n,r,i){var o,a=wn(e,n);o=1===a.length&&a[0]instanceof fn&&m.contains(["mrow","mtable"],a[0].type)?a[0]:new gn.MathNode("mrow",a);var s=new gn.MathNode("annotation",[new gn.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new gn.MathNode("semantics",[o,s]),c=new gn.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");var u=i?"katex":"katex-mathml";return Bt.makeSpan([u],[c])}var An=function(e){return new ue({style:e.displayMode?R.DISPLAY:R.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Tn=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Bt.makeSpan(n,[e])}return e},Sn=function(e,t,n){var r,i=An(n);if("mathml"===n.output)return Cn(e,t,i,n.displayMode,!0);if("html"===n.output){var o=hn(e,i);r=Bt.makeSpan(["katex"],[o])}else{var a=Cn(e,t,i,n.displayMode,!1),s=hn(e,i);r=Bt.makeSpan(["katex"],[a,s])}return Tn(r,n)},En=function(e,t,n){var r=An(n),i=hn(e,r),o=Bt.makeSpan(["katex"],[i]);return Tn(o,n)},Mn={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},On=function(e){var t=new gn.MathNode("mo",[new gn.TextNode(Mn[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Nn={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Ln=function(e){return"ordgroup"===e.type?e.body.length:1},Dn=function(e,t){function n(){var n=4e5,r=e.label.slice(1);if(m.contains(["widehat","widecheck","widetilde","utilde"],r)){var i,o,a,s=e,l=Ln(s.base);if(l>5)"widehat"===r||"widecheck"===r?(i=420,n=2364,a=.42,o=r+"4"):(i=312,n=2340,a=.34,o="tilde4");else{var c=[1,1,2,2,3,3][l];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][c],i=[0,239,300,360,420][c],a=[0,.24,.3,.3,.36,.42][c],o=r+c):(n=[0,600,1033,2339,2340][c],i=[0,260,286,306,312][c],a=[0,.26,.286,.3,.306,.34][c],o="tilde"+c)}var u=new Se(o),h=new Te([u],{width:"100%",height:me(a),viewBox:"0 0 "+n+" "+i,preserveAspectRatio:"none"});return{span:Bt.makeSvgSpan([],[h],t),minWidth:0,height:a}}var d,f,p=[],g=Nn[r],v=g[0],b=g[1],y=g[2],w=y/1e3,x=v.length;if(1===x){var k=g[3];d=["hide-tail"],f=[k]}else if(2===x)d=["halfarrow-left","halfarrow-right"],f=["xMinYMin","xMaxYMin"];else{if(3!==x)throw new Error("Correct katexImagesData or update code here to support\n "+x+" children.");d=["brace-left","brace-center","brace-right"],f=["xMinYMin","xMidYMin","xMaxYMin"]}for(var C=0;C0&&(i.style.minWidth=me(o)),i},Pn=function(e,t,n,r,i){var o,a=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(o=Bt.makeSpan(["stretchy",t],[],i),"fbox"===t){var s=i.color&&i.getColor();s&&(o.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new Ee({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new Ee({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new Te(l,{width:"100%",height:me(a)});o=Bt.makeSvgSpan([],[c],i)}return o.height=a,o.style.height=me(a),o},In={encloseSpan:Pn,mathMLnode:On,svgSpan:Dn};function Rn(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Fn(e){var t=zn(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function zn(e){return e&&("atom"===e.type||Le.hasOwnProperty(e.type))?e:null}var Bn=function(e,t){var n,r,i;e&&"supsub"===e.type?(r=Rn(e.base,"accent"),n=r.base,e.base=n,i=Oe(cn(e,t)),e.base=r):(r=Rn(e,"accent"),n=r.base);var o=cn(n,t.havingCrampedStyle()),a=r.isShifty&&m.isCharacterBox(n),s=0;if(a){var l=m.getBaseElem(n),c=cn(l,t.havingCrampedStyle());s=Me(c).skew}var u,h="\\c"===r.label,d=h?o.height+o.depth:Math.min(o.height,t.fontMetrics().xHeight);if(r.isStretchy)u=In.svgSpan(r,t),u=Bt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:u,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+me(2*s)+")",marginLeft:me(2*s)}:void 0}]},t);else{var f,p;"\\vec"===r.label?(f=Bt.staticSvg("vec",t),p=Bt.svgData.vec[1]):(f=Bt.makeOrd({mode:r.mode,text:r.label},t,"textord"),f=Me(f),f.italic=0,p=f.width,h&&(d+=f.depth)),u=Bt.makeSpan(["accent-body"],[f]);var g="\\textcircled"===r.label;g&&(u.classes.push("accent-full"),d=o.height);var v=s;g||(v-=p/2),u.style.left=me(v),"\\textcircled"===r.label&&(u.style.top=".2em"),u=Bt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-d},{type:"elem",elem:u}]},t)}var b=Bt.makeSpan(["mord","accent"],[u],t);return i?(i.children[0]=b,i.height=Math.max(b.height,i.height),i.classes[0]="mord",i):b},jn=function(e,t){var n=e.isStretchy?In.mathMLnode(e.label):new gn.MathNode("mo",[vn(e.label,e.mode)]),r=new gn.MathNode("mover",[kn(e.base,t),n]);return r.setAttribute("accent","true"),r},Hn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(e){return"\\"+e})).join("|"));Kt({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(e,t){var n=Xt(t[0]),r=!Hn.test(e.funcName),i=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:Bn,mathmlBuilder:jn}),Kt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:function(e,t){var n=t[0],r=e.parser.mode;return"math"===r&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Bn,mathmlBuilder:jn}),Kt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:function(e,t){var n=cn(e.base,t),r=In.svgSpan(e,t),i="\\utilde"===e.label?.12:0,o=Bt.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},t);return Bt.makeSpan(["mord","accentunder"],[o],t)},mathmlBuilder:function(e,t){var n=In.mathMLnode(e.label),r=new gn.MathNode("munder",[kn(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var Un=function(e){var t=new gn.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Kt({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,n){var r=e.parser,i=e.funcName;return{type:"xArrow",mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder:function(e,t){var n,r=t.style,i=t.havingStyle(r.sup()),o=Bt.wrapFragment(cn(e.body,i,t),t),a="\\x"===e.label.slice(0,2)?"x":"cd";o.classes.push(a+"-arrow-pad"),e.below&&(i=t.havingStyle(r.sub()),n=Bt.wrapFragment(cn(e.below,i,t),t),n.classes.push(a+"-arrow-pad"));var s,l=In.svgSpan(e,t),c=-t.fontMetrics().axisHeight+.5*l.height,u=-t.fontMetrics().axisHeight-.5*l.height-.111;if((o.depth>.25||"\\xleftequilibrium"===e.label)&&(u-=o.depth),n){var h=-t.fontMetrics().axisHeight+n.height+.5*l.height+.111;s=Bt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:u},{type:"elem",elem:l,shift:c},{type:"elem",elem:n,shift:h}]},t)}else s=Bt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:u},{type:"elem",elem:l,shift:c}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),Bt.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder:function(e,t){var n,r=In.mathMLnode(e.label);if(r.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var i=Un(kn(e.body,t));if(e.below){var o=Un(kn(e.below,t));n=new gn.MathNode("munderover",[r,o,i])}else n=new gn.MathNode("mover",[r,i])}else if(e.below){var a=Un(kn(e.below,t));n=new gn.MathNode("munder",[r,a])}else n=Un(),n=new gn.MathNode("mover",[r,n]);return n}});var qn=Bt.makeSpan;function Wn(e,t){var n=nn(e.body,t,!0);return qn([e.mclass],n,t)}function Gn(e,t){var n,r=wn(e.body,t);return"minner"===e.mclass?n=new gn.MathNode("mpadded",r):"mord"===e.mclass?e.isCharacterBox?(n=r[0],n.type="mi"):n=new gn.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new gn.MathNode("mo",r),"mbin"===e.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0em"):"minner"===e.mclass&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}Kt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:Jt(i),isCharacterBox:m.isCharacterBox(i)}},htmlBuilder:Wn,mathmlBuilder:Gn});var Vn=function(e){var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};Kt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(e,t){var n=e.parser;return{type:"mclass",mode:n.mode,mclass:Vn(t[0]),body:Jt(t[1]),isCharacterBox:m.isCharacterBox(t[1])}}}),Kt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(e,t){var n,r=e.parser,i=e.funcName,o=t[1],a=t[0];n="\\stackrel"!==i?Vn(o):"mrel";var s={type:"op",mode:o.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==i,body:Jt(o)},l={type:"supsub",mode:a.mode,base:s,sup:"\\underset"===i?null:a,sub:"\\underset"===i?a:null};return{type:"mclass",mode:r.mode,mclass:n,body:[l],isCharacterBox:m.isCharacterBox(l)}},htmlBuilder:Wn,mathmlBuilder:Gn}),Kt({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser;return{type:"pmb",mode:n.mode,mclass:Vn(t[0]),body:Jt(t[0])}},htmlBuilder:function(e,t){var n=nn(e.body,t,!0),r=Bt.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder:function(e,t){var n=wn(e.body,t),r=new gn.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var Yn={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Kn=function(){return{type:"styling",body:[],mode:"math",style:"display"}},Zn=function(e){return"textord"===e.type&&"@"===e.text},Xn=function(e,t){return("mathord"===e.type||"atom"===e.type)&&e.text===t};function Jn(e,t,n){var r=Yn[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var i=n.callFunction("\\\\cdleft",[t[0]],[]),o={type:"atom",text:r,mode:"math",family:"rel"},a=n.callFunction("\\Big",[o],[]),s=n.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[i,a,s]};return n.callFunction("\\\\cdparent",[l],[]);case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":var c={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[c],[]);default:return{type:"textord",text:" ",mode:"math"}}}function Qn(e){var t=[];e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();while(1){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if("&"!==n&&"\\\\"!==n){if("\\end"===n){0===t[t.length-1].length&&t.pop();break}throw new r("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var i=[],o=[i],a=0;a-1);else{if(!("<>AV".indexOf(u)>-1))throw new r('Expected one of "<>AV=|." after @',s[c]);for(var d=0;d<2;d++){for(var f=!0,p=c+1;p=1114111)throw new r("\\@char with invalid code point "+a);return u<=65535?c=String.fromCharCode(u):(u-=65536,c=String.fromCharCode(55296+(u>>10),56320+(1023&u))),{type:"textord",mode:n.mode,text:c}}});var _n=function(e,t){var n=nn(e.body,t.withColor(e.color),!1);return Bt.makeFragment(n)},$n=function(e,t){var n=wn(e.body,t.withColor(e.color)),r=new gn.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Kt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler:function(e,t){var n=e.parser,r=Rn(t[0],"color-token").color,i=t[1];return{type:"color",mode:n.mode,color:r,body:Jt(i)}},htmlBuilder:_n,mathmlBuilder:$n}),Kt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler:function(e,t){var n=e.parser,r=e.breakOnTokenText,i=Rn(t[0],"color-token").color;n.gullet.macros.set("\\current@color",i);var o=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:o}},htmlBuilder:_n,mathmlBuilder:$n}),Kt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler:function(e,t,n){var r=e.parser,i="["===r.gullet.future().text?r.parseSizeGroup(!0):null,o=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:o,size:i&&Rn(i,"size").value}},htmlBuilder:function(e,t){var n=Bt.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=me(pe(e.size,t)))),n},mathmlBuilder:function(e,t){var n=new gn.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",me(pe(e.size,t)))),n}});var er={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},tr=function(e){var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new r("Expected a control sequence",e);return t},nr=function(e){var t=e.gullet.popToken();return"="===t.text&&(t=e.gullet.popToken()," "===t.text&&(t=e.gullet.popToken())),t},rr=function(e,t,n,r){var i=e.gullet.macros.get(n.text);null==i&&(n.noexpand=!0,i={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};Kt({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler:function(e){var t=e.parser,n=e.funcName;t.consumeSpaces();var i=t.fetch();if(er[i.text])return"\\global"!==n&&"\\\\globallong"!==n||(i.text=er[i.text]),Rn(t.parseFunction(),"internal");throw new r("Invalid token after macro prefix",i)}}),Kt({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var t=e.parser,n=e.funcName,i=t.gullet.popToken(),o=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new r("Expected a control sequence",i);var a,s=0,l=[[]];while("{"!==t.gullet.future().text)if(i=t.gullet.popToken(),"#"===i.text){if("{"===t.gullet.future().text){a=t.gullet.future(),l[s].push("{");break}if(i=t.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new r('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==s+1)throw new r('Argument number "'+i.text+'" out of order');s++,l.push([])}else{if("EOF"===i.text)throw new r("Expected a macro definition");l[s].push(i.text)}var c=t.gullet.consumeArg(),u=c.tokens;return a&&u.unshift(a),"\\edef"!==n&&"\\xdef"!==n||(u=t.gullet.expandTokens(u),u.reverse()),t.gullet.macros.set(o,{tokens:u,numArgs:s,delimiters:l},n===er[n]),{type:"internal",mode:t.mode}}}),Kt({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var t=e.parser,n=e.funcName,r=tr(t.gullet.popToken());t.gullet.consumeSpaces();var i=nr(t);return rr(t,r,i,"\\\\globallet"===n),{type:"internal",mode:t.mode}}}),Kt({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var t=e.parser,n=e.funcName,r=tr(t.gullet.popToken()),i=t.gullet.popToken(),o=t.gullet.popToken();return rr(t,r,o,"\\\\globalfuture"===n),t.gullet.pushToken(o),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var ir=function(e,t,n){var r=Pe.math[e]&&Pe.math[e].replace,i=re(r||e,t,n);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return i},or=function(e,t,n,r){var i=n.havingBaseStyle(t),o=Bt.makeSpan(r.concat(i.sizingClasses(n)),[e],n),a=i.sizeMultiplier/n.sizeMultiplier;return o.height*=a,o.depth*=a,o.maxFontSize=i.sizeMultiplier,o},ar=function(e,t,n){var r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=me(i),e.height-=i,e.depth+=i},sr=function(e,t,n,r,i,o){var a=Bt.makeSymbol(e,"Main-Regular",i,r),s=or(a,t,r,o);return n&&ar(s,r,t),s},lr=function(e,t,n,r){return Bt.makeSymbol(e,"Size"+t+"-Regular",n,r)},cr=function(e,t,n,r,i,o){var a=lr(e,t,i,r),s=or(Bt.makeSpan(["delimsizing","size"+t],[a],r),R.TEXT,r,o);return n&&ar(s,r,R.TEXT),s},ur=function(e,t,n){var r;r="Size1-Regular"===t?"delim-size1":"delim-size4";var i=Bt.makeSpan(["delimsizinginner",r],[Bt.makeSpan([],[Bt.makeSymbol(e,t,n)])]);return{type:"elem",elem:i}},hr=function(e,t,n){var r=$["Size4-Regular"][e.charCodeAt(0)]?$["Size4-Regular"][e.charCodeAt(0)][4]:$["Size1-Regular"][e.charCodeAt(0)][4],i=new Se("inner",X(e,Math.round(1e3*t))),o=new Te([i],{width:me(r),height:me(t),style:"width:"+me(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),a=Bt.makeSvgSpan([],[o],n);return a.height=t,a.style.height=me(t),a.style.width=me(r),{type:"elem",elem:a}},dr=.008,fr={type:"kern",size:-1*dr},pr=["|","\\lvert","\\rvert","\\vert"],mr=["\\|","\\lVert","\\rVert","\\Vert"],gr=function(e,t,n,r,i,o){var a,s,l,c,u="",h=0;a=l=c=e,s=null;var d="Size1-Regular";"\\uparrow"===e?l=c="⏐":"\\Uparrow"===e?l=c="‖":"\\downarrow"===e?a=l="⏐":"\\Downarrow"===e?a=l="‖":"\\updownarrow"===e?(a="\\uparrow",l="⏐",c="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",l="‖",c="\\Downarrow"):m.contains(pr,e)?(l="∣",u="vert",h=333):m.contains(mr,e)?(l="∥",u="doublevert",h=556):"["===e||"\\lbrack"===e?(a="⎡",l="⎢",c="⎣",d="Size4-Regular",u="lbrack",h=667):"]"===e||"\\rbrack"===e?(a="⎤",l="⎥",c="⎦",d="Size4-Regular",u="rbrack",h=667):"\\lfloor"===e||"⌊"===e?(l=a="⎢",c="⎣",d="Size4-Regular",u="lfloor",h=667):"\\lceil"===e||"⌈"===e?(a="⎡",l=c="⎢",d="Size4-Regular",u="lceil",h=667):"\\rfloor"===e||"⌋"===e?(l=a="⎥",c="⎦",d="Size4-Regular",u="rfloor",h=667):"\\rceil"===e||"⌉"===e?(a="⎤",l=c="⎥",d="Size4-Regular",u="rceil",h=667):"("===e||"\\lparen"===e?(a="⎛",l="⎜",c="⎝",d="Size4-Regular",u="lparen",h=875):")"===e||"\\rparen"===e?(a="⎞",l="⎟",c="⎠",d="Size4-Regular",u="rparen",h=875):"\\{"===e||"\\lbrace"===e?(a="⎧",s="⎨",c="⎩",l="⎪",d="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="⎫",s="⎬",c="⎭",l="⎪",d="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(a="⎧",c="⎩",l="⎪",d="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(a="⎫",c="⎭",l="⎪",d="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(a="⎧",c="⎭",l="⎪",d="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(a="⎫",c="⎩",l="⎪",d="Size4-Regular");var f=ir(a,d,i),p=f.height+f.depth,g=ir(l,d,i),v=g.height+g.depth,b=ir(c,d,i),y=b.height+b.depth,w=0,x=1;if(null!==s){var k=ir(s,d,i);w=k.height+k.depth,x=2}var C=p+y+w,A=Math.max(0,Math.ceil((t-C)/(x*v))),T=C+A*x*v,S=r.fontMetrics().axisHeight;n&&(S*=r.sizeMultiplier);var E=T/2-S,M=[];if(u.length>0){var O=T-p-y,N=Math.round(1e3*T),L=Q(u,Math.round(1e3*O)),D=new Se(u,L),P=(h/1e3).toFixed(3)+"em",I=(N/1e3).toFixed(3)+"em",F=new Te([D],{width:P,height:I,viewBox:"0 0 "+h+" "+N}),z=Bt.makeSvgSpan([],[F],r);z.height=N/1e3,z.style.width=P,z.style.height=I,M.push({type:"elem",elem:z})}else{if(M.push(ur(c,d,i)),M.push(fr),null===s){var B=T-p-y+2*dr;M.push(hr(l,B,r))}else{var j=(T-p-y-w)/2+2*dr;M.push(hr(l,j,r)),M.push(fr),M.push(ur(s,d,i)),M.push(fr),M.push(hr(l,j,r))}M.push(fr),M.push(ur(a,d,i))}var H=r.havingBaseStyle(R.TEXT),U=Bt.makeVList({positionType:"bottom",positionData:E,children:M},H);return or(Bt.makeSpan(["delimsizing","mult"],[U],H),R.TEXT,r,o)},vr=80,br=.08,yr=function(e,t,n,r,i){var o=Z(e,r,n),a=new Se(e,o),s=new Te([a],{width:"400em",height:me(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Bt.makeSvgSpan(["hide-tail"],[s],i)},wr=function(e,t){var n,r,i=t.havingBaseSizing(),o=Nr("\\surd",e*i.sizeMultiplier,Mr,i),a=i.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,c=0,u=0;return"small"===o.type?(u=1e3+1e3*s+vr,e<1?a=1:e<1.4&&(a=.7),l=(1+s+br)/a,c=(1+s)/a,n=yr("sqrtMain",l,u,s,t),n.style.minWidth="0.853em",r=.833/a):"large"===o.type?(u=(1e3+vr)*Ar[o.size],c=(Ar[o.size]+s)/a,l=(Ar[o.size]+s+br)/a,n=yr("sqrtSize"+o.size,l,u,s,t),n.style.minWidth="1.02em",r=1/a):(l=e+s+br,c=e+s,u=Math.floor(1e3*e+s)+vr,n=yr("sqrtTall",l,u,s,t),n.style.minWidth="0.742em",r=1.056),n.height=c,n.style.height=me(l),{span:n,advanceWidth:r,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*a}},xr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],kr=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Cr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ar=[0,1.2,1.8,2.4,3],Tr=function(e,t,n,i,o){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),m.contains(xr,e)||m.contains(Cr,e))return cr(e,t,!1,n,i,o);if(m.contains(kr,e))return gr(e,Ar[t],!1,n,i,o);throw new r("Illegal delimiter: '"+e+"'")},Sr=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Er=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"stack"}],Mr=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Or=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},Nr=function(e,t,n,r){for(var i=Math.min(2,3-r.style.size),o=i;ot)return n[o]}return n[n.length-1]},Lr=function(e,t,n,r,i,o){var a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=m.contains(Cr,e)?Sr:m.contains(xr,e)?Mr:Er;var s=Nr(e,t,a,r);return"small"===s.type?sr(e,s.style,n,r,i,o):"large"===s.type?cr(e,s.size,n,r,i,o):gr(e,t,n,r,i,o)},Dr=function(e,t,n,r,i,o){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,s=901,l=5/r.fontMetrics().ptPerEm,c=Math.max(t-a,n+a),u=Math.max(c/500*s,2*c-l);return Lr(e,u,!0,r,i,o)},Pr={sqrtImage:wr,sizedDelim:Tr,sizeToMaxHeight:Ar,customSizedDelim:Lr,leftRightDelim:Dr},Ir={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Rr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Fr(e,t){var n=zn(e);if(n&&m.contains(Rr,n.text))return n;throw new r(n?"Invalid delimiter '"+n.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function zr(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Kt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:function(e,t){var n=Fr(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Ir[e.funcName].size,mclass:Ir[e.funcName].mclass,delim:n.text}},htmlBuilder:function(e,t){return"."===e.delim?Bt.makeSpan([e.mclass]):Pr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.delim&&t.push(vn(e.delim,e.mode));var n=new gn.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=me(Pr.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}}),Kt({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:function(e,t){var n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!==typeof n)throw new r("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Fr(t[0],e).text,color:n}}}),Kt({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:function(e,t){var n=Fr(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var o=Rn(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:o.delim,rightColor:o.color}},htmlBuilder:function(e,t){zr(e);for(var n,r,i=nn(e.body,t,!0,["mopen","mclose"]),o=0,a=0,s=!1,l=0;l-1?"mpadded":"menclose",[kn(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Kt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler:function(e,t,n){var r=e.parser,i=e.funcName,o=Rn(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,body:a}},htmlBuilder:Br,mathmlBuilder:jr}),Kt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler:function(e,t,n){var r=e.parser,i=e.funcName,o=Rn(t[0],"color-token").color,a=Rn(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:a,borderColor:o,body:s}},htmlBuilder:Br,mathmlBuilder:jr}),Kt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(e,t){var n=e.parser;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),Kt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:Br,mathmlBuilder:jr}),Kt({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler:function(e,t){var n=e.parser;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var Hr={};function Ur(e){for(var t=e.type,n=e.names,r=e.props,i=e.handler,o=e.htmlBuilder,a=e.mathmlBuilder,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l1||!h)&&g.pop(),b.length0&&(w+=.25),c.push({pos:w,isDashed:e[t]})}for(x(a[0]),n=0;n0&&(M+=y,A=s)){var V=void 0;(i>0||e.hskipBeforeAndAfter)&&(V=m.deflt(H.pregap,d),0!==V&&(O=Bt.makeSpan(["arraycolsep"],[]),O.style.width=me(V),P.push(O)));var Y=[];for(n=0;n0){var J=Bt.makeLineSpan("hline",t,u),Q=Bt.makeLineSpan("hdashline",t,u),_=[{type:"elem",elem:l,shift:0}];while(c.length>0){var $=c.pop(),ee=$.pos-L;$.isDashed?_.push({type:"elem",elem:Q,shift:ee}):_.push({type:"elem",elem:J,shift:ee})}l=Bt.makeVList({positionType:"individualShift",children:_},t)}if(0===I.length)return Bt.makeSpan(["mord"],[l],t);var te=Bt.makeVList({positionType:"individualShift",children:I},t);return te=Bt.makeSpan(["tag"],[te],t),Bt.makeFragment([l,te])},_r={c:"center ",l:"left ",r:"right "},$r=function(e,t){for(var n=[],r=new gn.MathNode("mtd",[],["mtr-glue"]),i=new gn.MathNode("mtd",[],["mml-eqn-num"]),o=0;o0){var f=e.cols,p="",m=!1,g=0,v=f.length;"separator"===f[0].type&&(h+="top ",g=1),"separator"===f[f.length-1].type&&(h+="bottom ",v-=1);for(var b=g;b0?"left ":"",h+=C[C.length-1].length>0?"right ":"";for(var A=1;A-1?"alignat":"align",a="split"===e.envName,s=Xr(e.parser,{cols:i,addJot:!0,autoTag:a?void 0:Zr(e.envName),emptySingleRow:!0,colSeparationType:o,maxNumCols:a?2:void 0,leqno:e.parser.settings.leqno},"display"),l=0,c={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var u="",h=0;h0&&f&&(g=1),i[p]={type:"align",align:m,pregap:g,postgap:0}}return s.colSeparationType=f?"align":"alignat",s};Ur({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var n=zn(t[0]),i=n?[t[0]]:Rn(t[0],"ordgroup").body,o=i.map((function(e){var t=Fn(e),n=t.text;if(-1!=="lcr".indexOf(n))return{type:"align",align:n};if("|"===n)return{type:"separator",separator:"|"};if(":"===n)return{type:"separator",separator:":"};throw new r("Unknown column alignment: "+n,e)})),a={cols:o,hskipBeforeAndAfter:!0,maxNumCols:o.length};return Xr(e.parser,a,Jr(e.envName))},htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],n="c",i={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if("*"===e.envName.charAt(e.envName.length-1)){var o=e.parser;if(o.consumeSpaces(),"["===o.fetch().text){if(o.consume(),o.consumeSpaces(),n=o.fetch().text,-1==="lcr".indexOf(n))throw new r("Expected l or c or r",o.nextToken);o.consume(),o.consumeSpaces(),o.expect("]"),o.consume(),i.cols=[{type:"align",align:n}]}}var a=Xr(e.parser,i,Jr(e.envName)),s=Math.max.apply(Math,[0].concat(a.body.map((function(e){return e.length}))));return a.cols=new Array(s).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(e){var t={arraystretch:.5},n=Xr(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["subarray"],props:{numArgs:1},handler:function(e,t){var n=zn(t[0]),i=n?[t[0]]:Rn(t[0],"ordgroup").body,o=i.map((function(e){var t=Fn(e),n=t.text;if(-1!=="lc".indexOf(n))return{type:"align",align:n};throw new r("Unknown column alignment: "+n,e)}));if(o.length>1)throw new r("{subarray} can contain only one column");var a={cols:o,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=Xr(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new r("{subarray} can contain only one column");return a},htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler:function(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=Xr(e.parser,t,Jr(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:ei,htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler:function(e){m.contains(["gather","gather*"],e.envName)&&Kr(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Zr(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Xr(e.parser,t,"display")},htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:ei,htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["equation","equation*"],props:{numArgs:0},handler:function(e){Kr(e);var t={autoTag:Zr(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Xr(e.parser,t,"display")},htmlBuilder:Qr,mathmlBuilder:$r}),Ur({type:"array",names:["CD"],props:{numArgs:0},handler:function(e){return Kr(e),Qn(e.parser)},htmlBuilder:Qr,mathmlBuilder:$r}),Wr("\\nonumber","\\gdef\\@eqnsw{0}"),Wr("\\notag","\\nonumber"),Kt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(e,t){throw new r(e.funcName+" valid only within array environment")}});var ti=Hr,ni=ti;Kt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(e,t){var n=e.parser,i=e.funcName,o=t[0];if("ordgroup"!==o.type)throw new r("Invalid environment name",o);for(var a="",s=0;s=R.SCRIPT.id?n.text():R.DISPLAY:"text"===e&&n.size===R.DISPLAY.size?n=R.TEXT:"script"===e?n=R.SCRIPT:"scriptscript"===e&&(n=R.SCRIPTSCRIPT),n},si=function(e,t){var n,r=ai(e.size,t.style),i=r.fracNum(),o=r.fracDen();n=t.havingStyle(i);var a=cn(e.numer,n,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;a.height=a.height0?3*h:7*h,p=t.fontMetrics().denom1):(u>0?(d=t.fontMetrics().num2,f=h):(d=t.fontMetrics().num3,f=3*h),p=t.fontMetrics().denom2),c){var w=t.fontMetrics().axisHeight;d-a.depth-(w+.5*u)0&&(t=e,t="."===t?null:t),t};Kt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler:function(e,t){var n,r=e.parser,i=t[4],o=t[5],a=Xt(t[0]),s="atom"===a.type&&"open"===a.family?ui(a.text):null,l=Xt(t[1]),c="atom"===l.type&&"close"===l.family?ui(l.text):null,u=Rn(t[2],"size"),h=null;u.isBlank?n=!0:(h=u.value,n=h.number>0);var d="auto",f=t[3];if("ordgroup"===f.type){if(f.body.length>0){var p=Rn(f.body[0],"textord");d=ci[Number(p.text)]}}else f=Rn(f,"textord"),d=ci[Number(f.text)];return{type:"genfrac",mode:r.mode,numer:i,denom:o,continued:!1,hasBarLine:n,barSize:h,leftDelim:s,rightDelim:c,size:d}},htmlBuilder:si,mathmlBuilder:li}),Kt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(e,t){var n=e.parser,r=(e.funcName,e.token);return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Rn(t[0],"size").value,token:r}}}),Kt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(e,t){var n=e.parser,r=(e.funcName,t[0]),i=f(Rn(t[1],"infix").size),o=t[2],a=i.number>0;return{type:"genfrac",mode:n.mode,numer:r,denom:o,continued:!1,hasBarLine:a,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:si,mathmlBuilder:li});var hi=function(e,t){var n,r,i=t.style;"supsub"===e.type?(n=e.sup?cn(e.sup,t.havingStyle(i.sup()),t):cn(e.sub,t.havingStyle(i.sub()),t),r=Rn(e.base,"horizBrace")):r=Rn(e,"horizBrace");var o,a=cn(r.base,t.havingBaseStyle(R.DISPLAY)),s=In.svgSpan(r,t);if(r.isOver?(o=Bt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t),o.children[0].children[0].children[1].classes.push("svg-align")):(o=Bt.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t),o.children[0].children[0].children[0].classes.push("svg-align")),n){var l=Bt.makeSpan(["mord",r.isOver?"mover":"munder"],[o],t);o=r.isOver?Bt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},t):Bt.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return Bt.makeSpan(["mord",r.isOver?"mover":"munder"],[o],t)},di=function(e,t){var n=In.mathMLnode(e.label);return new gn.MathNode(e.isOver?"mover":"munder",[kn(e.base,t),n])};Kt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:hi,mathmlBuilder:di}),Kt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[1],i=Rn(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:Jt(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:function(e,t){var n=nn(e.body,t,!1);return Bt.makeAnchor(e.href,[],n,t)},mathmlBuilder:function(e,t){var n=xn(e.body,t);return n instanceof fn||(n=new fn("mrow",[n])),n.setAttribute("href",e.href),n}}),Kt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=Rn(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var i=[],o=0;o0&&(r=pe(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=pe(e.width,t));var o={height:me(n+r)};i>0&&(o.width=me(i)),r>0&&(o.verticalAlign=me(-r));var a=new ke(e.src,e.alt,o);return a.height=n,a.depth=r,a},mathmlBuilder:function(e,t){var n=new gn.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=pe(e.height,t),i=0;if(e.totalheight.number>0&&(i=pe(e.totalheight,t)-r,n.setAttribute("valign",me(-i))),n.setAttribute("height",me(r+i)),e.width.number>0){var o=pe(e.width,t);n.setAttribute("width",me(o))}return n.setAttribute("src",e.src),n}}),Kt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=Rn(t[0],"size");if(n.settings.strict){var o="m"===r[1],a="mu"===i.value.unit;o?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+i.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder:function(e,t){return Bt.makeGlue(e.dimension,t)},mathmlBuilder:function(e,t){var n=pe(e.dimension,t);return new gn.SpaceNode(n)}}),Kt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:function(e,t){var n;"clap"===e.alignment?(n=Bt.makeSpan([],[cn(e.body,t)]),n=Bt.makeSpan(["inner"],[n],t)):n=Bt.makeSpan(["inner"],[cn(e.body,t)]);var r=Bt.makeSpan(["fix"],[]),i=Bt.makeSpan([e.alignment],[n,r],t),o=Bt.makeSpan(["strut"]);return o.style.height=me(i.height+i.depth),i.depth&&(o.style.verticalAlign=me(-i.depth)),i.children.unshift(o),i=Bt.makeSpan(["thinbox"],[i],t),Bt.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:function(e,t){var n=new gn.MathNode("mpadded",[kn(e.body,t)]);if("rlap"!==e.alignment){var r="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}}),Kt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=e.funcName,r=e.parser,i=r.mode;r.switchMode("math");var o="\\("===n?"\\)":"$",a=r.parseExpression(!1,o);return r.expect(o),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:a}}}),Kt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){throw new r("Mismatched "+e.funcName)}});var pi=function(e,t){switch(t.style.size){case R.DISPLAY.size:return e.display;case R.TEXT.size:return e.text;case R.SCRIPT.size:return e.script;case R.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Kt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:function(e,t){var n=e.parser;return{type:"mathchoice",mode:n.mode,display:Jt(t[0]),text:Jt(t[1]),script:Jt(t[2]),scriptscript:Jt(t[3])}},htmlBuilder:function(e,t){var n=pi(e,t),r=nn(n,t,!1);return Bt.makeFragment(r)},mathmlBuilder:function(e,t){var n=pi(e,t);return xn(n,t)}});var mi=function(e,t,n,r,i,o,a){e=Bt.makeSpan([],[e]);var s,l,c,u=n&&m.isCharacterBox(n);if(t){var h=cn(t,r.havingStyle(i.sup()),r);l={elem:h,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-h.depth)}}if(n){var d=cn(n,r.havingStyle(i.sub()),r);s={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-d.height)}}if(l&&s){var f=r.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;c=Bt.makeVList({positionType:"bottom",positionData:f,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:me(-o)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:me(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(s){var p=e.height-a;c=Bt.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:me(-o)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},r)}else{if(!l)return e;var g=e.depth+a;c=Bt.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:me(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}var v=[c];if(s&&0!==o&&!u){var b=Bt.makeSpan(["mspace"],[],r);b.style.marginRight=me(o),v.unshift(b)}return Bt.makeSpan(["mop","op-limits"],v,r)},gi=["\\smallint"],vi=function(e,t){var n,r,i,o=!1;"supsub"===e.type?(n=e.sup,r=e.sub,i=Rn(e.base,"op"),o=!0):i=Rn(e,"op");var a,s=t.style,l=!1;if(s.size===R.DISPLAY.size&&i.symbol&&!m.contains(gi,i.name)&&(l=!0),i.symbol){var c=l?"Size2-Regular":"Size1-Regular",u="";if("\\oiint"!==i.name&&"\\oiiint"!==i.name||(u=i.name.slice(1),i.name="oiint"===u?"\\iint":"\\iiint"),a=Bt.makeSymbol(i.name,c,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),u.length>0){var h=a.italic,d=Bt.staticSvg(u+"Size"+(l?"2":"1"),t);a=Bt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:d,shift:l?.08:0}]},t),i.name="\\"+u,a.classes.unshift("mop"),a.italic=h}}else if(i.body){var f=nn(i.body,t,!0);1===f.length&&f[0]instanceof Ae?(a=f[0],a.classes[0]="mop"):a=Bt.makeSpan(["mop"],f,t)}else{for(var p=[],g=1;g0){for(var s=i.body.map((function(e){var t=e.text;return"string"===typeof t?{type:"textord",mode:e.mode,text:t}:e})),l=nn(s,t.withFont("mathrm"),!0),c=0;c=0?s.setAttribute("height",me(i)):(s.setAttribute("height",me(i)),s.setAttribute("depth",me(-i))),s.setAttribute("voffset",me(i)),s}});var Ai=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Ti=function(e,t){var n=t.havingSize(e.size);return Ci(e.body,n,t)};Kt({type:"sizing",names:Ai,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser,o=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:Ai.indexOf(r)+1,body:o}},htmlBuilder:Ti,mathmlBuilder:function(e,t){var n=t.havingSize(e.size),r=wn(e.body,n),i=new gn.MathNode("mstyle",r);return i.setAttribute("mathsize",me(n.sizeMultiplier)),i}}),Kt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,n){var r=e.parser,i=!1,o=!1,a=n[0]&&Rn(n[0],"ordgroup");if(a)for(var s="",l=0;ln.height+n.depth+a&&(a=(a+d-n.height-n.depth)/2);var f=c.height-n.height-a-u;n.style.paddingLeft=me(h);var p=Bt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+f)},{type:"elem",elem:c},{type:"kern",size:u}]},t);if(e.index){var m=t.havingStyle(R.SCRIPTSCRIPT),g=cn(e.index,m,t),v=.6*(p.height-p.depth),b=Bt.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:g}]},t),y=Bt.makeSpan(["root"],[b]);return Bt.makeSpan(["mord","sqrt"],[y,p],t)}return Bt.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder:function(e,t){var n=e.body,r=e.index;return r?new gn.MathNode("mroot",[kn(n,t),kn(r,t)]):new gn.MathNode("msqrt",[kn(n,t)])}});var Si={display:R.DISPLAY,text:R.TEXT,script:R.SCRIPT,scriptscript:R.SCRIPTSCRIPT};Kt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser,o=i.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:a,body:o}},htmlBuilder:function(e,t){var n=Si[e.style],r=t.havingStyle(n).withFont("");return Ci(e.body,r,t)},mathmlBuilder:function(e,t){var n=Si[e.style],r=t.havingStyle(n),i=wn(e.body,r),o=new gn.MathNode("mstyle",i),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=a[e.style];return o.setAttribute("scriptlevel",s[0]),o.setAttribute("displaystyle",s[1]),o}});var Ei=function(e,t){var n=e.base;if(n){if("op"===n.type){var r=n.limits&&(t.style.size===R.DISPLAY.size||n.alwaysHandleSupSub);return r?vi:null}if("operatorname"===n.type){var i=n.alwaysHandleSupSub&&(t.style.size===R.DISPLAY.size||n.limits);return i?xi:null}if("accent"===n.type)return m.isCharacterBox(n.base)?Bn:null;if("horizBrace"===n.type){var o=!e.sub;return o===n.isOver?hi:null}return null}return null};Zt({type:"supsub",htmlBuilder:function(e,t){var n=Ei(e,t);if(n)return n(e,t);var r,i,o,a=e.base,s=e.sup,l=e.sub,c=cn(a,t),u=t.fontMetrics(),h=0,d=0,f=a&&m.isCharacterBox(a);if(s){var p=t.havingStyle(t.style.sup());r=cn(s,p,t),f||(h=c.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(l){var g=t.havingStyle(t.style.sub());i=cn(l,g,t),f||(d=c.depth+g.fontMetrics().subDrop*g.sizeMultiplier/t.sizeMultiplier)}o=t.style===R.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2;var v,b=t.sizeMultiplier,y=me(.5/u.ptPerEm/b),w=null;if(i){var x=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(c instanceof Ae||x)&&(w=me(-c.italic))}if(r&&i){h=Math.max(h,o,r.depth+.25*u.xHeight),d=Math.max(d,u.sub2);var k=u.defaultRuleThickness,C=4*k;if(h-r.depth-(i.height-d)0&&(h+=A,d-=A)}var T=[{type:"elem",elem:i,shift:d,marginRight:y,marginLeft:w},{type:"elem",elem:r,shift:-h,marginRight:y}];v=Bt.makeVList({positionType:"individualShift",children:T},t)}else if(i){d=Math.max(d,u.sub1,i.height-.8*u.xHeight);var S=[{type:"elem",elem:i,marginLeft:w,marginRight:y}];v=Bt.makeVList({positionType:"shift",positionData:d,children:S},t)}else{if(!r)throw new Error("supsub must have either sup or sub.");h=Math.max(h,o,r.depth+.25*u.xHeight),v=Bt.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:r,marginRight:y}]},t)}var E=sn(c,"right")||"mord";return Bt.makeSpan([E],[c,Bt.makeSpan(["msupsub"],[v])],t)},mathmlBuilder:function(e,t){var n,r,i=!1;e.base&&"horizBrace"===e.base.type&&(r=!!e.sup,r===e.base.isOver&&(i=!0,n=e.base.isOver)),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var o,a=[kn(e.base,t)];if(e.sub&&a.push(kn(e.sub,t)),e.sup&&a.push(kn(e.sup,t)),i)o=n?"mover":"munder";else if(e.sub)if(e.sup){var s=e.base;o=s&&"op"===s.type&&s.limits&&t.style===R.DISPLAY||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(t.style===R.DISPLAY||s.limits)?"munderover":"msubsup"}else{var l=e.base;o=l&&"op"===l.type&&l.limits&&(t.style===R.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===R.DISPLAY)?"munder":"msub"}else{var c=e.base;o=c&&"op"===c.type&&c.limits&&(t.style===R.DISPLAY||c.alwaysHandleSupSub)||c&&"operatorname"===c.type&&c.alwaysHandleSupSub&&(c.limits||t.style===R.DISPLAY)?"mover":"msup"}return new gn.MathNode(o,a)}}),Zt({type:"atom",htmlBuilder:function(e,t){return Bt.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder:function(e,t){var n=new gn.MathNode("mo",[vn(e.text,e.mode)]);if("bin"===e.family){var r=yn(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});var Mi={mi:"italic",mn:"normal",mtext:"normal"};Zt({type:"mathord",htmlBuilder:function(e,t){return Bt.makeOrd(e,t,"mathord")},mathmlBuilder:function(e,t){var n=new gn.MathNode("mi",[vn(e.text,e.mode,t)]),r=yn(e,t)||"italic";return r!==Mi[n.type]&&n.setAttribute("mathvariant",r),n}}),Zt({type:"textord",htmlBuilder:function(e,t){return Bt.makeOrd(e,t,"textord")},mathmlBuilder:function(e,t){var n,r=vn(e.text,e.mode,t),i=yn(e,t)||"normal";return n="text"===e.mode?new gn.MathNode("mtext",[r]):/[0-9]/.test(e.text)?new gn.MathNode("mn",[r]):"\\prime"===e.text?new gn.MathNode("mo",[r]):new gn.MathNode("mi",[r]),i!==Mi[n.type]&&n.setAttribute("mathvariant",i),n}});var Oi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ni={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Zt({type:"spacing",htmlBuilder:function(e,t){if(Ni.hasOwnProperty(e.text)){var n=Ni[e.text].className||"";if("text"===e.mode){var i=Bt.makeOrd(e,t,"textord");return i.classes.push(n),i}return Bt.makeSpan(["mspace",n],[Bt.mathsym(e.text,e.mode,t)],t)}if(Oi.hasOwnProperty(e.text))return Bt.makeSpan(["mspace",Oi[e.text]],[],t);throw new r('Unknown type of space "'+e.text+'"')},mathmlBuilder:function(e,t){var n;if(!Ni.hasOwnProperty(e.text)){if(Oi.hasOwnProperty(e.text))return new gn.MathNode("mspace");throw new r('Unknown type of space "'+e.text+'"')}return n=new gn.MathNode("mtext",[new gn.TextNode(" ")]),n}});var Li=function(){var e=new gn.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Zt({type:"tag",mathmlBuilder:function(e,t){var n=new gn.MathNode("mtable",[new gn.MathNode("mtr",[Li(),new gn.MathNode("mtd",[xn(e.body,t)]),Li(),new gn.MathNode("mtd",[xn(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var Di={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Pi={"\\textbf":"textbf","\\textmd":"textmd"},Ii={"\\textit":"textit","\\textup":"textup"},Ri=function(e,t){var n=e.font;return n?Di[n]?t.withTextFontFamily(Di[n]):Pi[n]?t.withTextFontWeight(Pi[n]):t.withTextFontShape(Ii[n]):t};Kt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"text",mode:n.mode,body:Jt(i),font:r}},htmlBuilder:function(e,t){var n=Ri(e,t),r=nn(e.body,n,!0);return Bt.makeSpan(["mord","text"],r,n)},mathmlBuilder:function(e,t){var n=Ri(e,t);return xn(e.body,n)}}),Kt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder:function(e,t){var n=cn(e.body,t),r=Bt.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,o=Bt.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},t);return Bt.makeSpan(["mord","underline"],[o],t)},mathmlBuilder:function(e,t){var n=new gn.MathNode("mo",[new gn.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new gn.MathNode("munder",[kn(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),Kt({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler:function(e,t){var n=e.parser;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder:function(e,t){var n=cn(e.body,t),r=t.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return Bt.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(e,t){return new gn.MathNode("mpadded",[kn(e.body,t)],["vcenter"])}}),Kt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,n){throw new r("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var n=Fi(e),r=[],i=t.havingStyle(t.style.text()),o=0;o0)this.endGroup()},t.has=function(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)},t.get=function(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]},t.set=function(e,t,n){if(void 0===n&&(n=!1),n){for(var r=0;r0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t},e}(),Xi=qr,Ji=Xi;Wr("\\noexpand",(function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Wr("\\expandafter",(function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Wr("\\@firstoftwo",(function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}})),Wr("\\@secondoftwo",(function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}})),Wr("\\@ifnextchar",(function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Wr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Wr("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var Qi={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Wr("\\char",(function(e){var t,n=e.popToken(),i="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if(n=e.popToken(),"\\"===n.text[0])i=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new r("\\char` missing argument");i=n.text.charCodeAt(0)}else t=10;if(t){if(i=Qi[n.text],null==i||i>=t)throw new r("Invalid base-"+t+" digit "+n.text);var o;while(null!=(o=Qi[e.future().text])&&o":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Wr("\\dots",(function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in $i?t=$i[n]:("\\not"===n.slice(0,4)||n in Pe.math&&m.contains(["bin","rel"],Pe.math[n].group))&&(t="\\dotsb"),t}));var eo={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Wr("\\dotso",(function(e){var t=e.future().text;return t in eo?"\\ldots\\,":"\\ldots"})),Wr("\\dotsc",(function(e){var t=e.future().text;return t in eo&&","!==t?"\\ldots\\,":"\\ldots"})),Wr("\\cdots",(function(e){var t=e.future().text;return t in eo?"\\@cdots\\,":"\\@cdots"})),Wr("\\dotsb","\\cdots"),Wr("\\dotsm","\\cdots"),Wr("\\dotsi","\\!\\cdots"),Wr("\\dotsx","\\ldots\\,"),Wr("\\DOTSI","\\relax"),Wr("\\DOTSB","\\relax"),Wr("\\DOTSX","\\relax"),Wr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Wr("\\,","\\tmspace+{3mu}{.1667em}"),Wr("\\thinspace","\\,"),Wr("\\>","\\mskip{4mu}"),Wr("\\:","\\tmspace+{4mu}{.2222em}"),Wr("\\medspace","\\:"),Wr("\\;","\\tmspace+{5mu}{.2777em}"),Wr("\\thickspace","\\;"),Wr("\\!","\\tmspace-{3mu}{.1667em}"),Wr("\\negthinspace","\\!"),Wr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Wr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Wr("\\enspace","\\kern.5em "),Wr("\\enskip","\\hskip.5em\\relax"),Wr("\\quad","\\hskip1em\\relax"),Wr("\\qquad","\\hskip2em\\relax"),Wr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Wr("\\tag@paren","\\tag@literal{({#1})}"),Wr("\\tag@literal",(function(e){if(e.macros.get("\\df@tag"))throw new r("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Wr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Wr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Wr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Wr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Wr("\\newline","\\\\\\relax"),Wr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var to=me($["Main-Regular"]["T".charCodeAt(0)][1]-.7*$["Main-Regular"]["A".charCodeAt(0)][1]);Wr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+to+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Wr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+to+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Wr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Wr("\\@hspace","\\hskip #1\\relax"),Wr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Wr("\\ordinarycolon",":"),Wr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Wr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Wr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Wr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Wr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Wr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Wr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Wr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Wr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Wr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Wr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Wr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Wr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Wr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Wr("∷","\\dblcolon"),Wr("∹","\\eqcolon"),Wr("≔","\\coloneqq"),Wr("≕","\\eqqcolon"),Wr("⩴","\\Coloneqq"),Wr("\\ratio","\\vcentcolon"),Wr("\\coloncolon","\\dblcolon"),Wr("\\colonequals","\\coloneqq"),Wr("\\coloncolonequals","\\Coloneqq"),Wr("\\equalscolon","\\eqqcolon"),Wr("\\equalscoloncolon","\\Eqqcolon"),Wr("\\colonminus","\\coloneq"),Wr("\\coloncolonminus","\\Coloneq"),Wr("\\minuscolon","\\eqcolon"),Wr("\\minuscoloncolon","\\Eqcolon"),Wr("\\coloncolonapprox","\\Colonapprox"),Wr("\\coloncolonsim","\\Colonsim"),Wr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Wr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Wr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Wr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Wr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Wr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Wr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Wr("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Wr("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Wr("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Wr("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Wr("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Wr("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Wr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Wr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Wr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Wr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Wr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Wr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Wr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Wr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Wr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Wr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Wr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Wr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Wr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Wr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Wr("\\imath","\\html@mathml{\\@imath}{ı}"),Wr("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Wr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Wr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Wr("⟦","\\llbracket"),Wr("⟧","\\rrbracket"),Wr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Wr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Wr("⦃","\\lBrace"),Wr("⦄","\\rBrace"),Wr("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Wr("⦵","\\minuso"),Wr("\\darr","\\downarrow"),Wr("\\dArr","\\Downarrow"),Wr("\\Darr","\\Downarrow"),Wr("\\lang","\\langle"),Wr("\\rang","\\rangle"),Wr("\\uarr","\\uparrow"),Wr("\\uArr","\\Uparrow"),Wr("\\Uarr","\\Uparrow"),Wr("\\N","\\mathbb{N}"),Wr("\\R","\\mathbb{R}"),Wr("\\Z","\\mathbb{Z}"),Wr("\\alef","\\aleph"),Wr("\\alefsym","\\aleph"),Wr("\\Alpha","\\mathrm{A}"),Wr("\\Beta","\\mathrm{B}"),Wr("\\bull","\\bullet"),Wr("\\Chi","\\mathrm{X}"),Wr("\\clubs","\\clubsuit"),Wr("\\cnums","\\mathbb{C}"),Wr("\\Complex","\\mathbb{C}"),Wr("\\Dagger","\\ddagger"),Wr("\\diamonds","\\diamondsuit"),Wr("\\empty","\\emptyset"),Wr("\\Epsilon","\\mathrm{E}"),Wr("\\Eta","\\mathrm{H}"),Wr("\\exist","\\exists"),Wr("\\harr","\\leftrightarrow"),Wr("\\hArr","\\Leftrightarrow"),Wr("\\Harr","\\Leftrightarrow"),Wr("\\hearts","\\heartsuit"),Wr("\\image","\\Im"),Wr("\\infin","\\infty"),Wr("\\Iota","\\mathrm{I}"),Wr("\\isin","\\in"),Wr("\\Kappa","\\mathrm{K}"),Wr("\\larr","\\leftarrow"),Wr("\\lArr","\\Leftarrow"),Wr("\\Larr","\\Leftarrow"),Wr("\\lrarr","\\leftrightarrow"),Wr("\\lrArr","\\Leftrightarrow"),Wr("\\Lrarr","\\Leftrightarrow"),Wr("\\Mu","\\mathrm{M}"),Wr("\\natnums","\\mathbb{N}"),Wr("\\Nu","\\mathrm{N}"),Wr("\\Omicron","\\mathrm{O}"),Wr("\\plusmn","\\pm"),Wr("\\rarr","\\rightarrow"),Wr("\\rArr","\\Rightarrow"),Wr("\\Rarr","\\Rightarrow"),Wr("\\real","\\Re"),Wr("\\reals","\\mathbb{R}"),Wr("\\Reals","\\mathbb{R}"),Wr("\\Rho","\\mathrm{P}"),Wr("\\sdot","\\cdot"),Wr("\\sect","\\S"),Wr("\\spades","\\spadesuit"),Wr("\\sub","\\subset"),Wr("\\sube","\\subseteq"),Wr("\\supe","\\supseteq"),Wr("\\Tau","\\mathrm{T}"),Wr("\\thetasym","\\vartheta"),Wr("\\weierp","\\wp"),Wr("\\Zeta","\\mathrm{Z}"),Wr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Wr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Wr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Wr("\\bra","\\mathinner{\\langle{#1}|}"),Wr("\\ket","\\mathinner{|{#1}\\rangle}"),Wr("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Wr("\\Bra","\\left\\langle#1\\right|"),Wr("\\Ket","\\left|#1\\right\\rangle");var no=function(e){return function(t){var n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.consumeArg().tokens,a=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=function(t){return function(n){e&&(n.macros.set("|",a),i.length&&n.macros.set("\\|",s));var o=t;if(!t&&i.length){var l=n.future();"|"===l.text&&(n.popToken(),o=!0)}return{tokens:o?i:r,numArgs:0}}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));var c=t.consumeArg().tokens,u=t.expandTokens([].concat(o,c,n));return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}}};Wr("\\bra@ket",no(!1)),Wr("\\bra@set",no(!0)),Wr("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Wr("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Wr("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Wr("\\angln","{\\angl n}"),Wr("\\blue","\\textcolor{##6495ed}{#1}"),Wr("\\orange","\\textcolor{##ffa500}{#1}"),Wr("\\pink","\\textcolor{##ff00af}{#1}"),Wr("\\red","\\textcolor{##df0030}{#1}"),Wr("\\green","\\textcolor{##28ae7b}{#1}"),Wr("\\gray","\\textcolor{gray}{#1}"),Wr("\\purple","\\textcolor{##9d38bd}{#1}"),Wr("\\blueA","\\textcolor{##ccfaff}{#1}"),Wr("\\blueB","\\textcolor{##80f6ff}{#1}"),Wr("\\blueC","\\textcolor{##63d9ea}{#1}"),Wr("\\blueD","\\textcolor{##11accd}{#1}"),Wr("\\blueE","\\textcolor{##0c7f99}{#1}"),Wr("\\tealA","\\textcolor{##94fff5}{#1}"),Wr("\\tealB","\\textcolor{##26edd5}{#1}"),Wr("\\tealC","\\textcolor{##01d1c1}{#1}"),Wr("\\tealD","\\textcolor{##01a995}{#1}"),Wr("\\tealE","\\textcolor{##208170}{#1}"),Wr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Wr("\\greenB","\\textcolor{##8af281}{#1}"),Wr("\\greenC","\\textcolor{##74cf70}{#1}"),Wr("\\greenD","\\textcolor{##1fab54}{#1}"),Wr("\\greenE","\\textcolor{##0d923f}{#1}"),Wr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Wr("\\goldB","\\textcolor{##ffbb71}{#1}"),Wr("\\goldC","\\textcolor{##ff9c39}{#1}"),Wr("\\goldD","\\textcolor{##e07d10}{#1}"),Wr("\\goldE","\\textcolor{##a75a05}{#1}"),Wr("\\redA","\\textcolor{##fca9a9}{#1}"),Wr("\\redB","\\textcolor{##ff8482}{#1}"),Wr("\\redC","\\textcolor{##f9685d}{#1}"),Wr("\\redD","\\textcolor{##e84d39}{#1}"),Wr("\\redE","\\textcolor{##bc2612}{#1}"),Wr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Wr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Wr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Wr("\\maroonD","\\textcolor{##ca337c}{#1}"),Wr("\\maroonE","\\textcolor{##9e034e}{#1}"),Wr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Wr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Wr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Wr("\\purpleD","\\textcolor{##7854ab}{#1}"),Wr("\\purpleE","\\textcolor{##543b78}{#1}"),Wr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Wr("\\mintB","\\textcolor{##edf2df}{#1}"),Wr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Wr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Wr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Wr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Wr("\\grayD","\\textcolor{##d6d8da}{#1}"),Wr("\\grayE","\\textcolor{##babec2}{#1}"),Wr("\\grayF","\\textcolor{##888d93}{#1}"),Wr("\\grayG","\\textcolor{##626569}{#1}"),Wr("\\grayH","\\textcolor{##3b3e40}{#1}"),Wr("\\grayI","\\textcolor{##21242c}{#1}"),Wr("\\kaBlue","\\textcolor{##314453}{#1}"),Wr("\\kaGreen","\\textcolor{##71B307}{#1}");var ro={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},io=function(){function e(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Zi(Ji,t.macros),this.mode=n,this.stack=[]}var t=e.prototype;return t.feed=function(e){this.lexer=new Ki(e,this.settings)},t.switchMode=function(e){this.mode=e},t.beginGroup=function(){this.macros.beginGroup()},t.endGroup=function(){this.macros.endGroup()},t.endGroups=function(){this.macros.endGroups()},t.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},t.popToken=function(){return this.future(),this.stack.pop()},t.pushToken=function(e){this.stack.push(e)},t.pushTokens=function(e){var t;(t=this.stack).push.apply(t,e)},t.scanArgument=function(e){var t,n,r;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken();var i=this.consumeArg(["]"]);r=i.tokens,n=i.end}else{var o=this.consumeArg();r=o.tokens,t=o.start,n=o.end}return this.pushToken(new Vr("EOF",n.loc)),this.pushTokens(r),t.range(n,"")},t.consumeSpaces=function(){for(;;){var e=this.future();if(" "!==e.text)break;this.stack.pop()}},t.consumeArg=function(e){var t=[],n=e&&e.length>0;n||this.consumeSpaces();var i,o=this.future(),a=0,s=0;do{if(i=this.popToken(),t.push(i),"{"===i.text)++a;else if("}"===i.text){if(--a,-1===a)throw new r("Extra }",i)}else if("EOF"===i.text)throw new r("Unexpected end of input in a macro argument, expected '"+(e&&n?e[s]:"}")+"'",i);if(e&&n)if((0===a||1===a&&"{"===e[s])&&i.text===e[s]){if(++s,s===e.length){t.splice(-s,s);break}}else s=0}while(0!==a||n);return"{"===o.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:o,end:i}},t.consumeArgs=function(e,t){if(t){if(t.length!==e+1)throw new r("The length of delimiters doesn't match the number of args!");for(var n=t[0],i=0;ithis.settings.maxExpand)throw new r("Too many expansions: infinite loop or need to increase maxExpand setting");var o=i.tokens,a=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){o=o.slice();for(var s=o.length-1;s>=0;--s){var l=o[s];if("#"===l.text){if(0===s)throw new r("Incomplete placeholder at end of macro body",l);if(l=o[--s],"#"===l.text)o.splice(s+1,1);else{if(!/^[1-9]$/.test(l.text))throw new r("Not a valid argument number",l);var c;(c=o).splice.apply(c,[s,2].concat(a[+l.text-1]))}}}}return this.pushTokens(o),o.length},t.expandAfterFuture=function(){return this.expandOnce(),this.future()},t.expandNextToken=function(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error},t.expandMacro=function(e){return this.macros.has(e)?this.expandTokens([new Vr(e)]):void 0},t.expandTokens=function(e){var t=[],n=this.stack.length;this.pushTokens(e);while(this.stack.length>n)if(!1===this.expandOnce(!0)){var r=this.stack.pop();r.treatAsRelax&&(r.noexpand=!1,r.treatAsRelax=!1),t.push(r)}return t},t.expandMacroAsText=function(e){var t=this.expandMacro(e);return t?t.map((function(e){return e.text})).join(""):t},t._getExpansion=function(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var n=this.lexer.catcodes[e];if(null!=n&&13!==n)return}var r="function"===typeof t?t(this):t;if("string"===typeof r){var i=0;if(-1!==r.indexOf("#")){var o=r.replace(/##/g,"");while(-1!==o.indexOf("#"+(i+1)))++i}var a=new Ki(r,this.settings),s=[],l=a.lex();while("EOF"!==l.text)s.push(l),l=a.lex();s.reverse();var c={tokens:s,numArgs:i};return c}return r},t.isDefined=function(e){return this.macros.has(e)||Bi.hasOwnProperty(e)||Pe.math.hasOwnProperty(e)||Pe.text.hasOwnProperty(e)||ro.hasOwnProperty(e)},t.isExpandable=function(e){var t=this.macros.get(e);return null!=t?"string"===typeof t||"function"===typeof t||!t.unexpandable:Bi.hasOwnProperty(e)&&!Bi[e].primitive},e}(),oo=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,ao=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g","ʰ":"h","ⁱ":"i","ʲ":"j","ᵏ":"k","ˡ":"l","ᵐ":"m","ⁿ":"n","ᵒ":"o","ᵖ":"p","ʳ":"r","ˢ":"s","ᵗ":"t","ᵘ":"u","ᵛ":"v","ʷ":"w","ˣ":"x","ʸ":"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),so={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},lo={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"},co=function(){function e(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new io(e,t,this.mode),this.settings=t,this.leftrightDepth=0}var t=e.prototype;return t.expect=function(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new r("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()},t.consume=function(){this.nextToken=null},t.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},t.switchMode=function(e){this.mode=e,this.gullet.switchMode(e)},t.parse=function(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}},t.subparse=function(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new Vr("}")),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,n},t.parseExpression=function(t,n){var r=[];while(1){"math"===this.mode&&this.consumeSpaces();var i=this.fetch();if(-1!==e.endOfExpression.indexOf(i.text))break;if(n&&i.text===n)break;if(t&&Bi[i.text]&&Bi[i.text].infix)break;var o=this.parseAtom(n);if(!o)break;"internal"!==o.type&&r.push(o)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)},t.handleInfixNodes=function(e){for(var t,n=-1,i=0;i=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var s,l=Pe[this.mode][t].group,c=Gr.range(e);if(Ne.hasOwnProperty(l)){var u=l;s={type:"atom",mode:this.mode,family:u,loc:c,text:t}}else s={type:l,mode:this.mode,loc:c,text:t};o=s}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(j(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:Gr.range(e),text:t}}if(this.consume(),a)for(var h=0;h0&&"number"!==typeof e[0]))}function f(e,t,n){var o,f;if(typeof e!==typeof t)return!1;if(h(e)||h(t))return!1;if(e.prototype!==t.prototype)return!1;if(i(e)!==i(t))return!1;var p=a(e),m=a(t);if(p!==m)return!1;if(p||m)return e.source===t.source&&s(e)===s(t);if(l(e)&&l(t))return c.call(e)===c.call(t);var g=d(e),v=d(t);if(g!==v)return!1;if(g||v){if(e.length!==t.length)return!1;for(o=0;o=0;o--)if(b[o]!=y[o])return!1;for(o=b.length-1;o>=0;o--)if(f=b[o],!u(e[f],t[f],n))return!1;return!0}e.exports=u},5843:function(e,t,n){e.exports=n.p+"img/romanticPurple.jpg"},5865:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return h5}));var r=n("6f27"),i=n("703f"),o=n("b923"),a=n("6ffb"),s=n("e3da"),l=n("442c"),c=n("72a8"),u=n("f201"),h=function(e,t){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},h(e,t)};function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var f=function(){return f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0&&rpe}function ge(e,t){var n="https://www.google-analytics.com/collect",r=location.hostname,i="event",o="use",a="TOAST UI "+e+" for "+r+": Statistics",s=window.localStorage.getItem(a);(de(window.tui)||!1!==window.tui.usageStatistics)&&(s&&!me(s)||(window.localStorage.setItem(a,(new Date).getTime()),setTimeout((function(){"interactive"!==document.readyState&&"complete"!==document.readyState||fe(n,{v:1,t:i,tid:t,cid:r,dp:r,dh:e,el:e,ec:o})}),1e3)))}var ve=ge;/Mac/.test(navigator.platform);var be=/[\u0020]+/g,ye=/[>(){}[\]+-.!#|]/g,we=/<([a-zA-Z_][a-zA-Z0-9\-._]*)(\s|[^\\>])*\/?>|<(\/)([a-zA-Z_][a-zA-Z0-9\-._]*)\s*\/?>||<([a-zA-Z_][a-zA-Z0-9\-.:/]*)>/g,xe=/\\[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~\\]/g,ke=/[*_~`]/g,Ce=/!\[.*\]\(.*\)/g,Ae=/[[\]]/g,Te=/(?:^|[^\\])\\(?!\\)/g,Se='[&<>"]',Ee=new RegExp(Se,"g");function Me(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return e}}function Oe(e){return Ee.test(e)?e.replace(Ee,Me):e}function Ne(){ve("editor","UA-129966929-1")}function Le(e,t){return-1!==e.indexOf(t)}var De=["rel","target","hreflang","type"],Pe={codeblock:/(^ {4}[^\n]+\n*)+/,thematicBreak:/^ *((\* *){3,}|(- *){3,} *|(_ *){3,}) */,atxHeading:/^(#{1,6}) +[\s\S]+/,seTextheading:/^([^\n]+)\n *(=|-){2,} */,blockquote:/^( *>[^\n]+.*)+/,list:/^ *(\*+|-+|\d+\.) [\s\S]+/,def:/^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\n]+)[")])? */,link:/!?\[.*\]\(.*\)/,reflink:/!?\[.*\]\s*\[([^\]]*)\]/,verticalBar:/\u007C/,fencedCodeblock:/^((`|~){3,})/};function Ie(e){if(!e)return null;var t={};return De.forEach((function(n){j(e[n])||(t[n]=e[n])})),t}function Re(e,t){for(var n="",r=0;re[0]&&n=t&&e<=n}function Ge(e){return"object"===typeof e&&null!==e}function Ve(e,t){var n=f({},e);return e&&t&&Object.keys(t).forEach((function(e){Ge(n[e])?Array.isArray(t[e])?n[e]=Ye(t[e]):n.hasOwnProperty(e)?n[e]=Ve(n[e],t[e]):n[e]=Ke(t[e]):n[e]=t[e]})),n}function Ye(e){return e.map((function(e){return Ge(e)?Array.isArray(e)?Ye(e):Ke(e):e}))}function Ke(e){var t=Object.keys(e);return t.length?t.reduce((function(t,n){return Ge(e[n])?t[n]=Array.isArray(e[n])?Ye(e[n]):Ke(e[n]):t[n]=e[n],t}),{}):e}function Ze(e,t){return void 0===t&&(t={}),Object.keys(t).forEach((function(n){e.hasOwnProperty(n)&&"object"===typeof e[n]?Array.isArray(t[n])?e[n]=t[n]:Ze(e[n],t[n]):e[n]=t[n]})),e}function Xe(e,t){return e>t?[t,e]:[e,t]}var Je=T;function Qe(e){var t;try{t=Array.prototype.slice.call(e)}catch(n){t=[],Je(e,(function(e){t.push(e)}))}return t}var _e=Qe;function $e(e,t){var n=e.nodes.paragraph;return t?n.create(null,x(t)?e.text(t):t):n.createAndFill()}function et(e,t,n){return e.text(t,n)}function tt(e,t,n){void 0===n&&(n=t);var r=e.doc.content.size,i=r>0?r-1:1;return a["TextSelection"].create(e.doc,Math.min(t,i),Math.min(n,i))}function nt(e,t,n){var r=t.pos;return e.replaceWith(r,r,$e(n)),e.setSelection(tt(e,r+1))}function rt(e){for(var t=e.state,n=e.from,i=e.startIndex,o=e.endIndex,a=e.createText,s=t.tr,l=t.doc,c=t.schema,u=i;u<=o;u+=1){var h=l.child(u),d=h.nodeSize,f=h.textContent,p=h.content,m=a(f),g=m?et(c,m):r["Fragment"].empty,v=s.mapping.map(n),b=v+p.size;s.replaceWith(v,b,g),n+=d}return s}function it(e,t,n,r){var i=n.length;e.split(t).delete(t-i,t).insert(e.mapping.map(t),r).setSelection(tt(e,e.mapping.map(t)-i))}function ot(e){return e.sourcepos[0][0]}function at(e){return e.sourcepos[1][0]}function st(e){return e.sourcepos[0][1]}function lt(e){return e.sourcepos[1][1]}function ct(e){var t=e.type;return"htmlBlock"===t||"htmlInline"===t}function ut(e){var t=e.type;return"strike"===t||"strong"===t||"emph"===t||"code"===t||"link"===t||"image"===t}function ht(e){return e&&"codeBlock"===e.type}function dt(e){return e&&("item"===e.type||"list"===e.type)}function ft(e){return dt(e)&&"ordered"===e.listData.type}function pt(e){return dt(e)&&"ordered"!==e.listData.type}function mt(e){return e&&("tableCell"===e.type||"tableDelimCell"===e.type)}function gt(e){switch(e.type){case"code":case"text":case"emph":case"strong":case"strike":case"link":case"image":case"htmlInline":case"linebreak":case"softbreak":case"customInline":return!0;default:return!1}}function vt(e,t,n){void 0===n&&(n=!0),e=n?e:e.parent;while(e&&"document"!==e.type){if(t(e))return e;e=e.parent}return null}function bt(e,t,n){void 0===n&&(n=!0),e=n?e:e.parent;while(e&&"document"!==e.type)t(e),e=e.parent}function yt(e,t){return[e[0],e[1]+t]}function wt(e,t){return[e[0],t]}function xt(e){var t=e.firstChild.literal;switch(e.type){case"emph":return"*"+t+"*";case"strong":return"**"+t+"**";case"strike":return"~~"+t+"~~";case"code":return"`"+t+"`";case"link":case"image":var n=e,r=n.destination,i=n.title,o="link"===e.type?"":"!";return o+"["+t+"]("+r+(i?' "'+i+'"':"")+")";default:return null}}function kt(e){switch(e.type){case"document":case"blockQuote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"strike":case"link":case"image":case"table":case"tableHead":case"tableBody":case"tableRow":case"tableCell":case"tableDelimRow":case"customInline":return!0;default:return!1}}function Ct(e){var t=[],n=e.walker(),r=null;while(r=n.next()){var i=r.node;"text"===i.type&&t.push(i.literal)}return t.join("")}var At=[],Tt={},St=/\$\$widget\d+\s/;function Et(e){var t=e.search(St);if(-1!==t){var n=e.substring(t),r=n.replace(St,"").replace("$$","");e=e.substring(0,t),e+=Et(r)}return e}function Mt(e,t){return"$$"+e+" "+t+"$$"}function Ot(e,t){var n=Tt[e],r=n.rule,i=n.toDOM,o=Et(t).match(r);return o&&(t=o[0]),i(t)}function Nt(){return At}function Lt(e){At=e,At.forEach((function(e,t){Tt["widget"+t]=e}))}function Dt(e,t,n,r){return e.concat(Pt(t,n,r))}function Pt(e,t,n){void 0===n&&(n=0);var r=[],i=(At[n]||{}).rule,o=n+1;if(e=Et(e),i&&i.test(e)){var a=void 0;while(-1!==(a=e.search(i))){var s=e.substring(0,a);s&&(r=Dt(r,s,t,o)),e=e.substring(a);var l=e.match(i)[0],c="widget"+n;r.push(t.nodes.widget.create({info:c},t.text(Mt(c,l)))),e=e.substring(l.length)}e&&(r=Dt(r,e,t,o))}else e&&(r=n-1)}var Ht=jt,Ut=z,qt=_e,Wt=Element.prototype,Gt=Wt.matches||Wt.webkitMatchesSelector||Wt.mozMatchesSelector||Wt.msMatchesSelector||function(e){var t=this.document||this.ownerDocument;return Ut(this,qt(t.querySelectorAll(e)))>-1};function Vt(e,t){return Gt.call(e,t)}var Yt=Vt,Kt="[A-Za-z][A-Za-z0-9-]*",Zt="[a-zA-Z_:][a-zA-Z0-9:._-]*",Xt="[^\"'=<>`\\x00-\\x20]+",Jt="'[^']*'",Qt='"[^"]*"',_t="(?:"+Xt+"|"+Jt+"|"+Qt+")",$t="(?:\\s*=\\s*"+_t+")",en="(?:\\s+"+Zt+$t+"?)",tn="<("+Kt+")("+en+")*\\s*/?>",nn="]",rn="(?:"+tn+"|"+nn+")",on=new RegExp("^"+rn,"i"),an=//i,sn=/|/,ln="

";function cn(e,t,n){var r=parseInt(e.left,10),i=parseInt(e.top,10),o=parseInt(e.width,10)+parseInt(e.paddingLeft,10)+parseInt(e.paddingRight,10),a=parseInt(e.height,10)+parseInt(e.paddingTop,10)+parseInt(e.paddingBottom,10);return t>=r&&t<=r+o&&n>=i&&n<=i+a}var un="toastui-editor-";function hn(){for(var e=[],t=0;t<\/p>/gi,"

"),n=new RegExp(rn,"ig"),r=t.match(n);return null===r||void 0===r||r.forEach((function(e,n){if(an.test(e)){var i=ln;if(n){var o=r[n-1],a=o.match(tn);if(a&&!/br/i.test(a[1])){var s=a[1];i="<"+s+">"}}t=t.replace(an,i)}})),t}function En(e){var t=//g,n=/ class="ProseMirror-trailingBreak"/g,r=e;return r=r.replace(t,""),r=r.replace(n,""),r}var Mn=new a["PluginKey"]("widget"),On=5,Nn=function(){function e(e,t){var n=this;this.popup=null,this.removeWidget=function(){n.popup&&(n.rootEl.removeChild(n.popup),n.popup=null)},this.rootEl=e.dom.parentElement,this.eventEmitter=t,this.eventEmitter.listen("blur",this.removeWidget),this.eventEmitter.listen("loadUI",(function(){n.rootEl=Cn(e.dom.parentElement,"."+hn("defaultUI"))})),this.eventEmitter.listen("removePopupWidget",this.removeWidget)}return e.prototype.update=function(e){var t=Mn.getState(e.state);if(this.removeWidget(),t){var n=t.node,r=t.style,i=e.coordsAtPos(t.pos),o=i.top,a=i.left,s=i.bottom,l=s-o,c=this.rootEl.getBoundingClientRect(),u=o-c.top;I(n,{opacity:"0"}),this.rootEl.appendChild(n),I(n,{position:"absolute",left:a-c.left+On+"px",top:("bottom"===r?u+l-On:u-l)+"px",opacity:"1"}),this.popup=n,e.focus()}},e.prototype.destroy=function(){this.eventEmitter.removeEventHandler("blur",this.removeWidget)},e}();function Ln(e){return new a["Plugin"]({key:Mn,state:{init:function(){return null},apply:function(e){return e.getMeta("widget")}},view:function(t){return new Nn(t,e)}})}function Dn(e){e.listen("addImageBlobHook",(function(e,t){var n=new FileReader;n.onload=function(e){var n=e.target;return t(n.result)},n.readAsDataURL(e)}))}function Pn(e,t,n){var r=function(n,r){e.emit("command","addImage",{imageUrl:n,altText:r||t.name||"image"})};e.emit("addImageBlobHook",t,r,n)}function In(e){var t=_e(e).filter((function(e){var t=e.type;return-1!==t.indexOf("image")}));if(1===t.length){var n=t[0];if(n)return n.getAsFile()}return null}function Rn(e){var t=e.eventEmitter;return new a["Plugin"]({props:{handleDOMEvents:{drop:function(e,n){var r,i=null===(r=n.dataTransfer)||void 0===r?void 0:r.files;return i&&T(i,(function(e){return-1===e.type.indexOf("image")||(n.preventDefault(),n.stopPropagation(),Pn(t,e,n.type),!1)})),!0}}}})}var Fn=function(){function e(){}return Object.defineProperty(e.prototype,"type",{get:function(){return"node"},enumerable:!1,configurable:!0}),e.prototype.setContext=function(e){this.context=e},e}();function zn(e){var t=document.createElement("span"),n=Ot(e.attrs.info,e.textContent);return t.className="tui-widget",t.appendChild(n),{dom:t}}function Bn(e){return"widget"===e.type.name}var jn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"widget"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{attrs:{info:{default:null}},group:"inline",inline:!0,content:"text*",selectable:!1,atom:!0,toDOM:function(){return["span",{class:"tui-widget"},0]},parseDOM:[{tag:"span.tui-widget",getAttrs:function(e){var t=e.textContent,n=t.match(/\$\$(widget\d+)/),r=n[1];return{info:r}}}]}},enumerable:!1,configurable:!0}),t}(Fn),Hn=function(){function e(e){this.timer=null,this.el=document.createElement("div"),this.el.className="toastui-editor",this.eventEmitter=e,this.placeholder={text:""}}return e.prototype.createState=function(){return a["EditorState"].create({schema:this.schema,plugins:this.createPlugins()})},e.prototype.initEvent=function(){var e=this,t=e.eventEmitter,n=e.view,r=e.editorType;n.dom.addEventListener("focus",(function(){return t.emit("focus",r)})),n.dom.addEventListener("blur",(function(){return t.emit("blur",r)}))},e.prototype.emitChangeEvent=function(e){this.eventEmitter.emit("caretChange",this.editorType),e.docChanged&&this.eventEmitter.emit("change",this.editorType)},Object.defineProperty(e.prototype,"defaultPlugins",{get:function(){var e=this.createInputRules(),t=p(p([],this.keymaps),[Object(s["keymap"])(f({"Shift-Enter":l["a"].Enter},l["a"])),Object(u["a"])(),Ft(this.placeholder),Ln(this.eventEmitter),Rn(this.context)]);return e?t.concat(e):t},enumerable:!1,configurable:!0}),e.prototype.createInputRules=function(){var e=Nt(),t=e.map((function(e){var t=e.rule;return new c["InputRule"](t,(function(e,n,r,i){var o=e.schema,a=e.tr,s=e.doc,l=n.input.match(new RegExp(t,"g")),c=s.resolve(r),u=c.parent,h=0;if(Bn(u)&&(u=c.node(c.depth-1)),u.forEach((function(e){return Bn(e)&&(h+=1)})),l.length>h){var d=qe(l),f=Pt(d,o);return a.replaceWith(i-d.length+1,i,f)}return null}))}));return t.length?Object(c["inputRules"])({rules:t}):null},e.prototype.clearTimer=function(){this.timer&&(clearTimeout(this.timer),this.timer=null)},e.prototype.createSchema=function(){return new r["Schema"]({nodes:this.specs.nodes,marks:this.specs.marks})},e.prototype.createKeymaps=function(e){var t=Rt(),n=t.undo,r=t.redo,i=this.specs.keymaps(e),o={"Mod-z":n(),"Shift-Mod-z":r()};return e?i.concat(Object(s["keymap"])(o)):i},e.prototype.createCommands=function(){return this.specs.commands(this.view)},e.prototype.createPluginProps=function(){var e=this;return this.extraPlugins.map((function(t){return t(e.eventEmitter)}))},e.prototype.focus=function(){var e=this;this.clearTimer(),this.timer=setTimeout((function(){e.view.focus(),e.view.dispatch(e.view.state.tr.scrollIntoView())}))},e.prototype.blur=function(){this.view.dom.blur()},e.prototype.destroy=function(){var e=this;this.clearTimer(),this.view.destroy(),Object.keys(this).forEach((function(t){delete e[t]}))},e.prototype.moveCursorToStart=function(e){var t=this.view.state.tr;this.view.dispatch(t.setSelection(tt(t,1)).scrollIntoView()),e&&this.focus()},e.prototype.moveCursorToEnd=function(e){var t=this.view.state.tr;this.view.dispatch(t.setSelection(tt(t,t.doc.content.size-1)).scrollIntoView()),e&&this.focus()},e.prototype.setScrollTop=function(e){this.view.dom.scrollTop=e},e.prototype.getScrollTop=function(){return this.view.dom.scrollTop},e.prototype.setPlaceholder=function(e){this.placeholder.text=e,this.view.dispatch(this.view.state.tr.scrollIntoView())},e.prototype.setHeight=function(e){I(this.el,{height:e+"px"})},e.prototype.setMinHeight=function(e){I(this.el,{minHeight:e+"px"})},e.prototype.getElement=function(){return this.el},e}();function Un(e){return e instanceof Function}var qn=Un,Wn=["Enter","Shift-Enter","Mod-Enter","Tab","Shift-Tab","Delete","Backspace","Mod-Delete","Mod-Backspace","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Mod-d","Mod-D","Alt-ArrowUp","Alt-ArrowDown"];function Gn(e,t,n){return e.focus(),t(n)(e.state,e.dispatch,e)}var Vn=function(){function e(e){this.specs=e}return Object.defineProperty(e.prototype,"nodes",{get:function(){return this.specs.filter((function(e){return"node"===e.type})).reduce((function(e,t){var n,r=t.name,i=t.schema;return f(f({},e),(n={},n[r]=i,n))}),{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"marks",{get:function(){return this.specs.filter((function(e){return"mark"===e.type})).reduce((function(e,t){var n,r=t.name,i=t.schema;return f(f({},e),(n={},n[r]=i,n))}),{})},enumerable:!1,configurable:!0}),e.prototype.commands=function(e,t){var n=this.specs.filter((function(e){var t=e.commands;return t})).reduce((function(t,n){var r={},i=n.commands();return qn(i)?r[n.name]=function(t){return Gn(e,i,t)}:Object.keys(i).forEach((function(t){r[t]=function(n){return Gn(e,i[t],n)}})),f(f({},t),r)}),{}),r=Rt();return Object.keys(r).forEach((function(t){n[t]=function(n){return Gn(e,r[t],n)}})),t&&Object.keys(t).forEach((function(r){n[r]=function(n){return Gn(e,t[r],n)}})),n},e.prototype.keymaps=function(e){var t=this.specs.filter((function(e){return e.keymaps})).map((function(e){return e.keymaps()}));return t.map((function(t){return e||Object.keys(t).forEach((function(e){Le(Wn,e)||delete t[e]})),Object(s["keymap"])(t)}))},e.prototype.setContext=function(e){this.specs.forEach((function(t){t.setContext(e)}))},e}();function Yn(e){var t=e.from,n=e.to;return e instanceof a["AllSelection"]?[t+1,n-1]:[t,n]}function Kn(e){return e.index(0)+1}function Zn(e,t,n){void 0===n&&(n=1);var r=0;return e.forEach((function(e,i){Bn(e)&&i+2 ?/,_r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"blockQuote"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:dn("block-quote")},0]}}},enumerable:!1,configurable:!0}),t.prototype.createBlockQuoteText=function(e,t){return t?e.replace(Qr,"").trim():"> "+e.trim()},t.prototype.extendBlockQuote=function(){var e=this;return function(t,n){var r=t.selection,i=t.doc,o=t.tr,a=t.schema,s=_n(r),l=s.endFromOffset,c=s.endToOffset,u=s.endIndex,h=s.to,d=Jr(i,u),f=Qr.test(d);if(f&&h>l&&r.empty){var p=!d.replace(Qr,"").trim();if(p)o.deleteRange(l,c).split(o.mapping.map(c));else{var m=d.slice(h-l).trim(),g=et(a,e.createBlockQuoteText(m));it(o,c,m,g)}return n(o),!0}return!1}},t.prototype.commands=function(){var e=this;return function(){return function(t,n){var r=t.selection,i=t.doc,o=_n(r),a=o.startFromOffset,s=o.endToOffset,l=o.startIndex,c=o.endIndex,u=Qr.test(Jr(i,l)),h=rt({state:t,startIndex:l,endIndex:c,from:a,createText:function(t){return e.createBlockQuoteText(t,u)}});return n(h.setSelection(tt(h,h.mapping.map(s)))),!0}}},t.prototype.keymaps=function(){var e=this.commands()();return{"alt-q":e,"alt-Q":e,Enter:this.extendBlockQuote()}},t}(Zr),$r=/(^\s*)([-*+] |[\d]+\. )/,ei=/(^\s*)([\d])+\.( \[[ xX]])? /,ti=/^(\s*)((\d+)([.)]\s(?:\[(?:x|\s)\]\s)?))(.*)/,ni=/(^\s*)([-*+]|[\d]+\.)( \[[ xX]])? /,ri=/^(\s*)([-*+]+(\s(?:\[(?:x|\s)\]\s)?))(.*)/,ii=/(^\s*)([-*+] |[\d]+\. )(\[[ xX]] )/,oi=/(^\s*)([-*+])( \[[ xX]]) /;function ai(e){return ei.test(e)?"ordered":"bullet"}function si(e){var t=0;while(e&&"document"!==e.type)"list"===e.type&&(t+=1),e=e.parent;return t}function li(e,t,n,r){var i=e.getLineTexts(),o=i.length,a=[],s=t;while(r?s1){s=r?s+1:s-1;var l=e.findFirstNodeAtLine(s),c=si(l);if(c===n)a.push({line:s,depth:n,mdNode:l});else if(c0;c-=1){var u=t.findFirstNodeAtLine(c),h=Xr(n,c),d=h&&!!vt(u,(function(e){return dt(e)})),f=ti.exec(Xr(n,c));if(!f&&!d)break;if(f||!d){var p=f,m=p[1],g=p[3];if(!m){a=Number(g),s=c;break}}else l+=1}var v=a+r-s-l,b=[{text:v+". "+o,line:r}];return{changedResults:b}},task:function(e){var t=e.doc,n=e.line,r=Xr(t,n),i=[{text:"* [ ] "+r,line:n}];return{changedResults:i}}},gi={bullet:function(e){var t=e.line,n=e.doc,r=Xr(n,t),i=ri.exec(r),o=i[1],a=i[2];return{listSyntax:""+o+a}},ordered:function(e){var t=e.toastMark,n=e.line,r=e.mdNode,i=e.doc,o=si(r),a=Xr(i,n),s=ti.exec(a),l=s[1],c=s[3],u=s[4],h=Number(c)+1,d=""+l+h+u,p=li(t,n,o,!0),m=p.filter((function(e){var t=ti.exec(Xr(i,e.line));return t&&t[1].length===l.length&&!!vt(e.mdNode,(function(e){return ft(e)}))}));return f({listSyntax:d},di(i,m,"ordered",h))}};function vi(e,t,n,r,i){var o=[],a=Xr(e,n),s=ti.exec(a);while(s){var l=s[1],c=s[4],u=s[5],h=l.length;if(h===i)o.push(et(t,""+l+r+c+u)),r+=1,n+=1;else if(h>i){var d=vi(e,t,n,1,h);n=d.line,o=o.concat(d.nodes)}if(he.childCount)break;a=Xr(e,n),s=ti.exec(a)}return{nodes:o,line:n}}var bi=/(^\s{1,4})(.*)/;function yi(e,t,n){return e0){var u=r.child(c-1),h=u.nodeSize,d=u.textContent;return n.delete(s-h,s).split(n.mapping.map(l)).insert(n.mapping.map(l),et(o,d)),t(n),!0}return!1}},t.prototype.commands=function(){return{indent:this.indent(),outdent:this.outdent()}},t.prototype.keymaps=function(){return{Tab:this.indent(!0)(),"Shift-Tab":this.outdent(!0)(),"Mod-d":this.deleteLines(),"Mod-D":this.deleteLines(),"Alt-ArrowUp":this.moveUp(),"Alt-ArrowDown":this.moveDown()}},t}(Fn),Ci=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"text"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{group:"inline"}},enumerable:!1,configurable:!0}),t}(Fn),Ai=/^#{1,6}\s/,Ti=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"heading"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{attrs:{level:{default:1},seText:{default:!1}},toDOM:function(e){var t=e.attrs,n=t.level,r=t.seText,i="heading|heading"+n;return r&&(i+="|delimiter|setext"),["span",{class:dn.apply(void 0,i.split("|"))},0]}}},enumerable:!1,configurable:!0}),t.prototype.createHeadingText=function(e,t,n){var r=t.replace(n,"").trim(),i="";while(e>0)i+="#",e-=1;return i+" "+r},t.prototype.commands=function(){var e=this;return function(t){return function(n,r){var i=t.level,o=_n(n.selection),a=o.startFromOffset,s=o.endToOffset,l=o.startIndex,c=o.endIndex,u=rt({state:n,from:a,startIndex:l,endIndex:c,createText:function(t){var n=t.match(Ai),r=n?n[0]:"";return e.createHeadingText(i,t,r)}});return r(u.setSelection(tt(u,u.mapping.map(s)))),!0}}},t}(Zr),Si="```",Ei=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"codeBlock"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:dn("code-block")},0]}}},enumerable:!1,configurable:!0}),t.prototype.commands=function(){return function(){return function(e,t){var n=e.selection,r=e.schema,i=e.tr,o=_n(n),a=o.startFromOffset,s=o.endToOffset,l=et(r,Si);return i.insert(a,l).split(a+Si.length),i.split(i.mapping.map(s)).insert(i.mapping.map(s),l),t(i.setSelection(tt(i,i.mapping.map(s)-(Si.length+2)))),!0}}},t.prototype.keepIndentation=function(){var e=this;return function(t,n){var r=t.selection,i=t.tr,o=t.doc,a=t.schema,s=e.context.toastMark,l=_n(r),c=l.startFromOffset,u=l.endToOffset,h=l.endIndex,d=l.from,f=l.to,p=Jr(o,h);if(d===f&&p.trim()){var m=p.match(/^\s+/),g=s.findFirstNodeAtLine(h+1);if(ht(g)&&m){var v=m[0],b=p.slice(f-c),y=et(a,v+b);return it(i,u,b,y),n(i),!0}}return!1}},t.prototype.keymaps=function(){var e=this.commands()();return{"Shift-Mod-p":e,"Shift-Mod-P":e,Enter:this.keepIndentation()}},t}(Zr),Mi=/\||\s/g;function Oi(e){return[Li(e),Li(e,!0)]}function Ni(e,t){for(var n=[],r=0;r0&&(t+="\n")})),t},t.prototype.setSelection=function(e,t){void 0===t&&(t=e);var n=this.view.state.tr,r=Qn(n.doc,e,t),i=r[0],o=r[1];this.view.dispatch(n.setSelection(tt(n,i,o)).scrollIntoView())},t.prototype.replaceSelection=function(e,t,n){var i,o=this.view.state,a=o.tr,s=o.schema,l=o.doc,c=e.split(uo),u=c.map((function(e){return $e(s,Pt(e,s))})),h=new r["Slice"](r["Fragment"].from(u),1,1);if(this.focus(),t&&n){var d=Qn(l,t,n),f=d[0],p=d[1];i=a.replaceRange(f,p,h)}else i=a.replaceSelection(h);this.view.dispatch(i.scrollIntoView())},t.prototype.deleteSelection=function(e,t){var n,r=this.view.state,i=r.tr,o=r.doc;if(e&&t){var a=Qn(o,e,t),s=a[0],l=a[1];n=i.deleteRange(s,l)}else n=i.deleteSelection();this.view.dispatch(n.scrollIntoView())},t.prototype.getSelectedText=function(e,t){var n=this.view.state,r=n.doc,i=n.selection,o=i.from,a=i.to;if(e&&t){var s=Qn(r,e,t);o=s[0],a=s[1]}return r.textBetween(o,a,"\n")},t.prototype.getSelection=function(){var e=this.view.state.selection,t=e.from,n=e.to;return Xn(this.view.state.tr.doc,t,n)},t.prototype.setMarkdown=function(e,t){void 0===t&&(t=!0);var n=e.split(uo),r=this.view.state,i=r.tr,o=r.doc,a=r.schema,s=n.map((function(e){return $e(a,Pt(e,a))}));this.view.dispatch(i.replaceWith(0,o.content.size,s)),t&&this.moveCursorToEnd(!0)},t.prototype.addWidget=function(e,t,n){var r=this.view.state,i=r.tr,o=r.doc,a=r.selection,s=n?Qn(o,n,n)[0]:a.to;this.view.dispatch(i.setMeta("widget",{pos:s,node:e,style:t}))},t.prototype.replaceWithWidget=function(e,t,n){var r=this.view.state,i=r.tr,o=r.schema,a=r.doc,s=Qn(a,e,t),l=Pt(n,o);this.view.dispatch(i.replaceWith(s[0],s[1],l))},t.prototype.getRangeInfoOfNode=function(e){var t=this.view.state,n=t.doc,r=t.selection,i=e||Xn(n,r.from)[0],o=this.toastMark.findNodeAtPosition(i);return"text"===o.type&&"paragraph"!==o.parent.type&&(o=o.parent),o.sourcepos[1][1]+=1,{range:o.sourcepos,type:o.type}},t.prototype.getMarkdown=function(){return this.toastMark.getLineTexts().map((function(e){return Et(e)})).join("\n")},t.prototype.getToastMark=function(){return this.toastMark},t}(Hn),fo="_feEventKey";function po(e,t){var n,r=e[fo];return r||(r=e[fo]={}),n=r[t],n||(n=r[t]=[]),n}var mo=po,go=x,vo=N,bo=mo;function yo(e,t,n){go(t)?vo(t.split(/\s+/g),(function(t){wo(e,t,n)})):vo(t,(function(t,n){wo(e,n,t)}))}function wo(e,t,n){var r,i=bo(e,t);n?(vo(i,(function(i,o){return n!==i.handler||(xo(e,t,i.wrappedHandler),r=o,!1)})),i.splice(r,1)):(vo(i,(function(n){xo(e,t,n.wrappedHandler)})),i.splice(0,i.length))}function xo(e,t,n){"removeEventListener"in e?e.removeEventListener(t,n):"detachEvent"in e&&e.detachEvent("on"+t,n)}var ko=yo,Co=x,Ao=N,To=mo;function So(e,t,n,r){Co(t)?Ao(t.split(/\s+/g),(function(t){Eo(e,t,n,r)})):Ao(t,(function(t,r){Eo(e,r,t,n)}))}function Eo(e,t,n,r){function i(t){n.call(r||e,t||window.event)}"addEventListener"in e?e.addEventListener(t,i):"attachEvent"in e&&e.attachEvent("on"+t,i),Mo(e,t,n,i)}function Mo(e,t,n,r){var i=To(e,t),o=!1;Ao(i,(function(e){return e.handler!==n||(o=!0,!1)})),o||i.push({handler:n,wrappedHandler:r})}var Oo=So,No=function(e,t){return No=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},No(e,t)}; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. @@ -24,9 +24,9 @@ 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 Lo(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}No(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Do=function(){return Do=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=55296&&o<=57343){if(o>=55296&&o<=56319&&r+1=56320&&a<=57343)){l+=encodeURIComponent(e[r]+e[r+1]),r++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[r]);return l}zo.defaultChars=";/?:@&=+$,-_.!~*'()#",zo.componentChars="-_.!~*'()";var Bo=zo,jo={},Ho={},Uo="Á",qo="á",Wo="Ă",Go="ă",Vo="∾",Yo="∿",Ko="∾̳",Zo="Â",Xo="â",Jo="´",Qo="А",_o="а",$o="Æ",ea="æ",ta="⁡",na="𝔄",ra="𝔞",ia="À",oa="à",aa="ℵ",sa="ℵ",la="Α",ca="α",ua="Ā",ha="ā",da="⨿",fa="&",pa="&",ma="⩕",ga="⩓",va="∧",ba="⩜",ya="⩘",wa="⩚",xa="∠",ka="⦤",Ca="∠",Aa="⦨",Ta="⦩",Sa="⦪",Ea="⦫",Ma="⦬",Oa="⦭",Na="⦮",La="⦯",Da="∡",Pa="∟",Ia="⊾",Ra="⦝",Fa="∢",za="Å",Ba="⍼",ja="Ą",Ha="ą",Ua="𝔸",qa="𝕒",Wa="⩯",Ga="≈",Va="⩰",Ya="≊",Ka="≋",Za="'",Xa="⁡",Ja="≈",Qa="≊",_a="Å",$a="å",es="𝒜",ts="𝒶",ns="≔",rs="*",is="≈",os="≍",as="Ã",ss="ã",ls="Ä",cs="ä",us="∳",hs="⨑",ds="≌",fs="϶",ps="‵",ms="∽",gs="⋍",vs="∖",bs="⫧",ys="⊽",ws="⌅",xs="⌆",ks="⌅",Cs="⎵",As="⎶",Ts="≌",Ss="Б",Es="б",Ms="„",Os="∵",Ns="∵",Ls="∵",Ds="⦰",Ps="϶",Is="ℬ",Rs="ℬ",Fs="Β",zs="β",Bs="ℶ",js="≬",Hs="𝔅",Us="𝔟",qs="⋂",Ws="◯",Gs="⋃",Vs="⨀",Ys="⨁",Ks="⨂",Zs="⨆",Xs="★",Js="▽",Qs="△",_s="⨄",$s="⋁",el="⋀",tl="⤍",nl="⧫",rl="▪",il="▴",ol="▾",al="◂",sl="▸",ll="␣",cl="▒",ul="░",hl="▓",dl="█",fl="=⃥",pl="≡⃥",ml="⫭",gl="⌐",vl="𝔹",bl="𝕓",yl="⊥",wl="⊥",xl="⋈",kl="⧉",Cl="┐",Al="╕",Tl="╖",Sl="╗",El="┌",Ml="╒",Ol="╓",Nl="╔",Ll="─",Dl="═",Pl="┬",Il="╤",Rl="╥",Fl="╦",zl="┴",Bl="╧",jl="╨",Hl="╩",Ul="⊟",ql="⊞",Wl="⊠",Gl="┘",Vl="╛",Yl="╜",Kl="╝",Zl="└",Xl="╘",Jl="╙",Ql="╚",_l="│",$l="║",ec="┼",tc="╪",nc="╫",rc="╬",ic="┤",oc="╡",ac="╢",sc="╣",lc="├",cc="╞",uc="╟",hc="╠",dc="‵",fc="˘",pc="˘",mc="¦",gc="𝒷",vc="ℬ",bc="⁏",yc="∽",wc="⋍",xc="⧅",kc="\\",Cc="⟈",Ac="•",Tc="•",Sc="≎",Ec="⪮",Mc="≏",Oc="≎",Nc="≏",Lc="Ć",Dc="ć",Pc="⩄",Ic="⩉",Rc="⩋",Fc="∩",zc="⋒",Bc="⩇",jc="⩀",Hc="ⅅ",Uc="∩︀",qc="⁁",Wc="ˇ",Gc="ℭ",Vc="⩍",Yc="Č",Kc="č",Zc="Ç",Xc="ç",Jc="Ĉ",Qc="ĉ",_c="∰",$c="⩌",eu="⩐",tu="Ċ",nu="ċ",ru="¸",iu="¸",ou="⦲",au="¢",su="·",lu="·",cu="𝔠",uu="ℭ",hu="Ч",du="ч",fu="✓",pu="✓",mu="Χ",gu="χ",vu="ˆ",bu="≗",yu="↺",wu="↻",xu="⊛",ku="⊚",Cu="⊝",Au="⊙",Tu="®",Su="Ⓢ",Eu="⊖",Mu="⊕",Ou="⊗",Nu="○",Lu="⧃",Du="≗",Pu="⨐",Iu="⫯",Ru="⧂",Fu="∲",zu="”",Bu="’",ju="♣",Hu="♣",Uu=":",qu="∷",Wu="⩴",Gu="≔",Vu="≔",Yu=",",Ku="@",Zu="∁",Xu="∘",Ju="∁",Qu="ℂ",_u="≅",$u="⩭",eh="≡",th="∮",nh="∯",rh="∮",ih="𝕔",oh="ℂ",ah="∐",sh="∐",lh="©",ch="©",uh="℗",hh="∳",dh="↵",fh="✗",ph="⨯",mh="𝒞",gh="𝒸",vh="⫏",bh="⫑",yh="⫐",wh="⫒",xh="⋯",kh="⤸",Ch="⤵",Ah="⋞",Th="⋟",Sh="↶",Eh="⤽",Mh="⩈",Oh="⩆",Nh="≍",Lh="∪",Dh="⋓",Ph="⩊",Ih="⊍",Rh="⩅",Fh="∪︀",zh="↷",Bh="⤼",jh="⋞",Hh="⋟",Uh="⋎",qh="⋏",Wh="¤",Gh="↶",Vh="↷",Yh="⋎",Kh="⋏",Zh="∲",Xh="∱",Jh="⌭",Qh="†",_h="‡",$h="ℸ",ed="↓",td="↡",nd="⇓",rd="‐",id="⫤",od="⊣",ad="⤏",sd="˝",ld="Ď",cd="ď",ud="Д",hd="д",dd="‡",fd="⇊",pd="ⅅ",md="ⅆ",gd="⤑",vd="⩷",bd="°",yd="∇",wd="Δ",xd="δ",kd="⦱",Cd="⥿",Ad="𝔇",Td="𝔡",Sd="⥥",Ed="⇃",Md="⇂",Od="´",Nd="˙",Ld="˝",Dd="`",Pd="˜",Id="⋄",Rd="⋄",Fd="⋄",zd="♦",Bd="♦",jd="¨",Hd="ⅆ",Ud="ϝ",qd="⋲",Wd="÷",Gd="÷",Vd="⋇",Yd="⋇",Kd="Ђ",Zd="ђ",Xd="⌞",Jd="⌍",Qd="$",_d="𝔻",$d="𝕕",ef="¨",tf="˙",nf="⃜",rf="≐",of="≑",af="≐",sf="∸",lf="∔",cf="⊡",uf="⌆",hf="∯",df="¨",ff="⇓",pf="⇐",mf="⇔",gf="⫤",vf="⟸",bf="⟺",yf="⟹",wf="⇒",xf="⊨",kf="⇑",Cf="⇕",Af="∥",Tf="⤓",Sf="↓",Ef="↓",Mf="⇓",Of="⇵",Nf="̑",Lf="⇊",Df="⇃",Pf="⇂",If="⥐",Rf="⥞",Ff="⥖",zf="↽",Bf="⥟",jf="⥗",Hf="⇁",Uf="↧",qf="⊤",Wf="⤐",Gf="⌟",Vf="⌌",Yf="𝒟",Kf="𝒹",Zf="Ѕ",Xf="ѕ",Jf="⧶",Qf="Đ",_f="đ",$f="⋱",ep="▿",tp="▾",np="⇵",rp="⥯",ip="⦦",op="Џ",ap="џ",sp="⟿",lp="É",cp="é",up="⩮",hp="Ě",dp="ě",fp="Ê",pp="ê",mp="≖",gp="≕",vp="Э",bp="э",yp="⩷",wp="Ė",xp="ė",kp="≑",Cp="ⅇ",Ap="≒",Tp="𝔈",Sp="𝔢",Ep="⪚",Mp="È",Op="è",Np="⪖",Lp="⪘",Dp="⪙",Pp="∈",Ip="⏧",Rp="ℓ",Fp="⪕",zp="⪗",Bp="Ē",jp="ē",Hp="∅",Up="∅",qp="◻",Wp="∅",Gp="▫",Vp=" ",Yp=" ",Kp=" ",Zp="Ŋ",Xp="ŋ",Jp=" ",Qp="Ę",_p="ę",$p="𝔼",em="𝕖",tm="⋕",nm="⧣",rm="⩱",im="ε",om="Ε",am="ε",sm="ϵ",lm="≖",cm="≕",um="≂",hm="⪖",dm="⪕",fm="⩵",pm="=",mm="≂",gm="≟",vm="⇌",bm="≡",ym="⩸",wm="⧥",xm="⥱",km="≓",Cm="ℯ",Am="ℰ",Tm="≐",Sm="⩳",Em="≂",Mm="Η",Om="η",Nm="Ð",Lm="ð",Dm="Ë",Pm="ë",Im="€",Rm="!",Fm="∃",zm="∃",Bm="ℰ",jm="ⅇ",Hm="ⅇ",Um="≒",qm="Ф",Wm="ф",Gm="♀",Vm="ffi",Ym="ff",Km="ffl",Zm="𝔉",Xm="𝔣",Jm="fi",Qm="◼",_m="▪",$m="fj",eg="♭",tg="fl",ng="▱",rg="ƒ",ig="𝔽",og="𝕗",ag="∀",sg="∀",lg="⋔",cg="⫙",ug="ℱ",hg="⨍",dg="½",fg="⅓",pg="¼",mg="⅕",gg="⅙",vg="⅛",bg="⅔",yg="⅖",wg="¾",xg="⅗",kg="⅜",Cg="⅘",Ag="⅚",Tg="⅝",Sg="⅞",Eg="⁄",Mg="⌢",Og="𝒻",Ng="ℱ",Lg="ǵ",Dg="Γ",Pg="γ",Ig="Ϝ",Rg="ϝ",Fg="⪆",zg="Ğ",Bg="ğ",jg="Ģ",Hg="Ĝ",Ug="ĝ",qg="Г",Wg="г",Gg="Ġ",Vg="ġ",Yg="≥",Kg="≧",Zg="⪌",Xg="⋛",Jg="≥",Qg="≧",_g="⩾",$g="⪩",ev="⩾",tv="⪀",nv="⪂",rv="⪄",iv="⋛︀",ov="⪔",av="𝔊",sv="𝔤",lv="≫",cv="⋙",uv="⋙",hv="ℷ",dv="Ѓ",fv="ѓ",pv="⪥",mv="≷",gv="⪒",vv="⪤",bv="⪊",yv="⪊",wv="⪈",xv="≩",kv="⪈",Cv="≩",Av="⋧",Tv="𝔾",Sv="𝕘",Ev="`",Mv="≥",Ov="⋛",Nv="≧",Lv="⪢",Dv="≷",Pv="⩾",Iv="≳",Rv="𝒢",Fv="ℊ",zv="≳",Bv="⪎",jv="⪐",Hv="⪧",Uv="⩺",qv=">",Wv=">",Gv="≫",Vv="⋗",Yv="⦕",Kv="⩼",Zv="⪆",Xv="⥸",Jv="⋗",Qv="⋛",_v="⪌",$v="≷",eb="≳",tb="≩︀",nb="≩︀",rb="ˇ",ib=" ",ob="½",ab="ℋ",sb="Ъ",lb="ъ",cb="⥈",ub="↔",hb="⇔",db="↭",fb="^",pb="ℏ",mb="Ĥ",gb="ĥ",vb="♥",bb="♥",yb="…",wb="⊹",xb="𝔥",kb="ℌ",Cb="ℋ",Ab="⤥",Tb="⤦",Sb="⇿",Eb="∻",Mb="↩",Ob="↪",Nb="𝕙",Lb="ℍ",Db="―",Pb="─",Ib="𝒽",Rb="ℋ",Fb="ℏ",zb="Ħ",Bb="ħ",jb="≎",Hb="≏",Ub="⁃",qb="‐",Wb="Í",Gb="í",Vb="⁣",Yb="Î",Kb="î",Zb="И",Xb="и",Jb="İ",Qb="Е",_b="е",$b="¡",ey="⇔",ty="𝔦",ny="ℑ",ry="Ì",iy="ì",oy="ⅈ",ay="⨌",sy="∭",ly="⧜",cy="℩",uy="IJ",hy="ij",dy="Ī",fy="ī",py="ℑ",my="ⅈ",gy="ℐ",vy="ℑ",by="ı",yy="ℑ",wy="⊷",xy="Ƶ",ky="⇒",Cy="℅",Ay="∞",Ty="⧝",Sy="ı",Ey="⊺",My="∫",Oy="∬",Ny="ℤ",Ly="∫",Dy="⊺",Py="⋂",Iy="⨗",Ry="⨼",Fy="⁣",zy="⁢",By="Ё",jy="ё",Hy="Į",Uy="į",qy="𝕀",Wy="𝕚",Gy="Ι",Vy="ι",Yy="⨼",Ky="¿",Zy="𝒾",Xy="ℐ",Jy="∈",Qy="⋵",_y="⋹",$y="⋴",ew="⋳",tw="∈",nw="⁢",rw="Ĩ",iw="ĩ",ow="І",aw="і",sw="Ï",lw="ï",cw="Ĵ",uw="ĵ",hw="Й",dw="й",fw="𝔍",pw="𝔧",mw="ȷ",gw="𝕁",vw="𝕛",bw="𝒥",yw="𝒿",ww="Ј",xw="ј",kw="Є",Cw="є",Aw="Κ",Tw="κ",Sw="ϰ",Ew="Ķ",Mw="ķ",Ow="К",Nw="к",Lw="𝔎",Dw="𝔨",Pw="ĸ",Iw="Х",Rw="х",Fw="Ќ",zw="ќ",Bw="𝕂",jw="𝕜",Hw="𝒦",Uw="𝓀",qw="⇚",Ww="Ĺ",Gw="ĺ",Vw="⦴",Yw="ℒ",Kw="Λ",Zw="λ",Xw="⟨",Jw="⟪",Qw="⦑",_w="⟨",$w="⪅",ex="ℒ",tx="«",nx="⇤",rx="⤟",ix="←",ox="↞",ax="⇐",sx="⤝",lx="↩",cx="↫",ux="⤹",hx="⥳",dx="↢",fx="⤙",px="⤛",mx="⪫",gx="⪭",vx="⪭︀",bx="⤌",yx="⤎",wx="❲",xx="{",kx="[",Cx="⦋",Ax="⦏",Tx="⦍",Sx="Ľ",Ex="ľ",Mx="Ļ",Ox="ļ",Nx="⌈",Lx="{",Dx="Л",Px="л",Ix="⤶",Rx="“",Fx="„",zx="⥧",Bx="⥋",jx="↲",Hx="≤",Ux="≦",qx="⟨",Wx="⇤",Gx="←",Vx="←",Yx="⇐",Kx="⇆",Zx="↢",Xx="⌈",Jx="⟦",Qx="⥡",_x="⥙",$x="⇃",ek="⌊",tk="↽",nk="↼",rk="⇇",ik="↔",ok="↔",ak="⇔",sk="⇆",lk="⇋",ck="↭",uk="⥎",hk="↤",dk="⊣",fk="⥚",pk="⋋",mk="⧏",gk="⊲",vk="⊴",bk="⥑",yk="⥠",wk="⥘",xk="↿",kk="⥒",Ck="↼",Ak="⪋",Tk="⋚",Sk="≤",Ek="≦",Mk="⩽",Ok="⪨",Nk="⩽",Lk="⩿",Dk="⪁",Pk="⪃",Ik="⋚︀",Rk="⪓",Fk="⪅",zk="⋖",Bk="⋚",jk="⪋",Hk="⋚",Uk="≦",qk="≶",Wk="≶",Gk="⪡",Vk="≲",Yk="⩽",Kk="≲",Zk="⥼",Xk="⌊",Jk="𝔏",Qk="𝔩",_k="≶",$k="⪑",eC="⥢",tC="↽",nC="↼",rC="⥪",iC="▄",oC="Љ",aC="љ",sC="⇇",lC="≪",cC="⋘",uC="⌞",hC="⇚",dC="⥫",fC="◺",pC="Ŀ",mC="ŀ",gC="⎰",vC="⎰",bC="⪉",yC="⪉",wC="⪇",xC="≨",kC="⪇",CC="≨",AC="⋦",TC="⟬",SC="⇽",EC="⟦",MC="⟵",OC="⟵",NC="⟸",LC="⟷",DC="⟷",PC="⟺",IC="⟼",RC="⟶",FC="⟶",zC="⟹",BC="↫",jC="↬",HC="⦅",UC="𝕃",qC="𝕝",WC="⨭",GC="⨴",VC="∗",YC="_",KC="↙",ZC="↘",XC="◊",JC="◊",QC="⧫",_C="(",$C="⦓",eA="⇆",tA="⌟",nA="⇋",rA="⥭",iA="‎",oA="⊿",aA="‹",sA="𝓁",lA="ℒ",cA="↰",uA="↰",hA="≲",dA="⪍",fA="⪏",pA="[",mA="‘",gA="‚",vA="Ł",bA="ł",yA="⪦",wA="⩹",xA="<",kA="<",CA="≪",AA="⋖",TA="⋋",SA="⋉",EA="⥶",MA="⩻",OA="◃",NA="⊴",LA="◂",DA="⦖",PA="⥊",IA="⥦",RA="≨︀",FA="≨︀",zA="¯",BA="♂",jA="✠",HA="✠",UA="↦",qA="↦",WA="↧",GA="↤",VA="↥",YA="▮",KA="⨩",ZA="М",XA="м",JA="—",QA="∺",_A="∡",$A=" ",eT="ℳ",tT="𝔐",nT="𝔪",rT="℧",iT="µ",oT="*",aT="⫰",sT="∣",lT="·",cT="⊟",uT="−",hT="∸",dT="⨪",fT="∓",pT="⫛",mT="…",gT="∓",vT="⊧",bT="𝕄",yT="𝕞",wT="∓",xT="𝓂",kT="ℳ",CT="∾",AT="Μ",TT="μ",ST="⊸",ET="⊸",MT="∇",OT="Ń",NT="ń",LT="∠⃒",DT="≉",PT="⩰̸",IT="≋̸",RT="ʼn",FT="≉",zT="♮",BT="ℕ",jT="♮",HT=" ",UT="≎̸",qT="≏̸",WT="⩃",GT="Ň",VT="ň",YT="Ņ",KT="ņ",ZT="≇",XT="⩭̸",JT="⩂",QT="Н",_T="н",$T="–",eS="⤤",tS="↗",nS="⇗",rS="↗",iS="≠",oS="≐̸",aS="​",sS="​",lS="​",cS="​",uS="≢",hS="⤨",dS="≂̸",fS="≫",pS="≪",mS="\n",gS="∄",vS="∄",bS="𝔑",yS="𝔫",wS="≧̸",xS="≱",kS="≱",CS="≧̸",AS="⩾̸",TS="⩾̸",SS="⋙̸",ES="≵",MS="≫⃒",OS="≯",NS="≯",LS="≫̸",DS="↮",PS="⇎",IS="⫲",RS="∋",FS="⋼",zS="⋺",BS="∋",jS="Њ",HS="њ",US="↚",qS="⇍",WS="‥",GS="≦̸",VS="≰",YS="↚",KS="⇍",ZS="↮",XS="⇎",JS="≰",QS="≦̸",_S="⩽̸",$S="⩽̸",eE="≮",tE="⋘̸",nE="≴",rE="≪⃒",iE="≮",oE="⋪",aE="⋬",sE="≪̸",lE="∤",cE="⁠",uE=" ",hE="𝕟",dE="ℕ",fE="⫬",pE="¬",mE="≢",gE="≭",vE="∦",bE="∉",yE="≠",wE="≂̸",xE="∄",kE="≯",CE="≱",AE="≧̸",TE="≫̸",SE="≹",EE="⩾̸",ME="≵",OE="≎̸",NE="≏̸",LE="∉",DE="⋵̸",PE="⋹̸",IE="∉",RE="⋷",FE="⋶",zE="⧏̸",BE="⋪",jE="⋬",HE="≮",UE="≰",qE="≸",WE="≪̸",GE="⩽̸",VE="≴",YE="⪢̸",KE="⪡̸",ZE="∌",XE="∌",JE="⋾",QE="⋽",_E="⊀",$E="⪯̸",eM="⋠",tM="∌",nM="⧐̸",rM="⋫",iM="⋭",oM="⊏̸",aM="⋢",sM="⊐̸",lM="⋣",cM="⊂⃒",uM="⊈",hM="⊁",dM="⪰̸",fM="⋡",pM="≿̸",mM="⊃⃒",gM="⊉",vM="≁",bM="≄",yM="≇",wM="≉",xM="∤",kM="∦",CM="∦",AM="⫽⃥",TM="∂̸",SM="⨔",EM="⊀",MM="⋠",OM="⊀",NM="⪯̸",LM="⪯̸",DM="⤳̸",PM="↛",IM="⇏",RM="↝̸",FM="↛",zM="⇏",BM="⋫",jM="⋭",HM="⊁",UM="⋡",qM="⪰̸",WM="𝒩",GM="𝓃",VM="∤",YM="∦",KM="≁",ZM="≄",XM="≄",JM="∤",QM="∦",_M="⋢",$M="⋣",eO="⊄",tO="⫅̸",nO="⊈",rO="⊂⃒",iO="⊈",oO="⫅̸",aO="⊁",sO="⪰̸",lO="⊅",cO="⫆̸",uO="⊉",hO="⊃⃒",dO="⊉",fO="⫆̸",pO="≹",mO="Ñ",gO="ñ",vO="≸",bO="⋪",yO="⋬",wO="⋫",xO="⋭",kO="Ν",CO="ν",AO="#",TO="№",SO=" ",EO="≍⃒",MO="⊬",OO="⊭",NO="⊮",LO="⊯",DO="≥⃒",PO=">⃒",IO="⤄",RO="⧞",FO="⤂",zO="≤⃒",BO="<⃒",jO="⊴⃒",HO="⤃",UO="⊵⃒",qO="∼⃒",WO="⤣",GO="↖",VO="⇖",YO="↖",KO="⤧",ZO="Ó",XO="ó",JO="⊛",QO="Ô",_O="ô",$O="⊚",eN="О",tN="о",nN="⊝",rN="Ő",iN="ő",oN="⨸",aN="⊙",sN="⦼",lN="Œ",cN="œ",uN="⦿",hN="𝔒",dN="𝔬",fN="˛",pN="Ò",mN="ò",gN="⧁",vN="⦵",bN="Ω",yN="∮",wN="↺",xN="⦾",kN="⦻",CN="‾",AN="⧀",TN="Ō",SN="ō",EN="Ω",MN="ω",ON="Ο",NN="ο",LN="⦶",DN="⊖",PN="𝕆",IN="𝕠",RN="⦷",FN="“",zN="‘",BN="⦹",jN="⊕",HN="↻",UN="⩔",qN="∨",WN="⩝",GN="ℴ",VN="ℴ",YN="ª",KN="º",ZN="⊶",XN="⩖",JN="⩗",QN="⩛",_N="Ⓢ",$N="𝒪",eL="ℴ",tL="Ø",nL="ø",rL="⊘",iL="Õ",oL="õ",aL="⨶",sL="⨷",lL="⊗",cL="Ö",uL="ö",hL="⌽",dL="‾",fL="⏞",pL="⎴",mL="⏜",gL="¶",vL="∥",bL="∥",yL="⫳",wL="⫽",xL="∂",kL="∂",CL="П",AL="п",TL="%",SL=".",EL="‰",ML="⊥",OL="‱",NL="𝔓",LL="𝔭",DL="Φ",PL="φ",IL="ϕ",RL="ℳ",FL="☎",zL="Π",BL="π",jL="⋔",HL="ϖ",UL="ℏ",qL="ℎ",WL="ℏ",GL="⨣",VL="⊞",YL="⨢",KL="+",ZL="∔",XL="⨥",JL="⩲",QL="±",_L="±",$L="⨦",eD="⨧",tD="±",nD="ℌ",rD="⨕",iD="𝕡",oD="ℙ",aD="£",sD="⪷",lD="⪻",cD="≺",uD="≼",hD="⪷",dD="≺",fD="≼",pD="≺",mD="⪯",gD="≼",vD="≾",bD="⪯",yD="⪹",wD="⪵",xD="⋨",kD="⪯",CD="⪳",AD="≾",TD="′",SD="″",ED="ℙ",MD="⪹",OD="⪵",ND="⋨",LD="∏",DD="∏",PD="⌮",ID="⌒",RD="⌓",FD="∝",zD="∝",BD="∷",jD="∝",HD="≾",UD="⊰",qD="𝒫",WD="𝓅",GD="Ψ",VD="ψ",YD=" ",KD="𝔔",ZD="𝔮",XD="⨌",JD="𝕢",QD="ℚ",_D="⁗",$D="𝒬",eP="𝓆",tP="ℍ",nP="⨖",rP="?",iP="≟",oP='"',aP='"',sP="⇛",lP="∽̱",cP="Ŕ",uP="ŕ",hP="√",dP="⦳",fP="⟩",pP="⟫",mP="⦒",gP="⦥",vP="⟩",bP="»",yP="⥵",wP="⇥",xP="⤠",kP="⤳",CP="→",AP="↠",TP="⇒",SP="⤞",EP="↪",MP="↬",OP="⥅",NP="⥴",LP="⤖",DP="↣",PP="↝",IP="⤚",RP="⤜",FP="∶",zP="ℚ",BP="⤍",jP="⤏",HP="⤐",UP="❳",qP="}",WP="]",GP="⦌",VP="⦎",YP="⦐",KP="Ř",ZP="ř",XP="Ŗ",JP="ŗ",QP="⌉",_P="}",$P="Р",eI="р",tI="⤷",nI="⥩",rI="”",iI="”",oI="↳",aI="ℜ",sI="ℛ",lI="ℜ",cI="ℝ",uI="ℜ",hI="▭",dI="®",fI="®",pI="∋",mI="⇋",gI="⥯",vI="⥽",bI="⌋",yI="𝔯",wI="ℜ",xI="⥤",kI="⇁",CI="⇀",AI="⥬",TI="Ρ",SI="ρ",EI="ϱ",MI="⟩",OI="⇥",NI="→",LI="→",DI="⇒",PI="⇄",II="↣",RI="⌉",FI="⟧",zI="⥝",BI="⥕",jI="⇂",HI="⌋",UI="⇁",qI="⇀",WI="⇄",GI="⇌",VI="⇉",YI="↝",KI="↦",ZI="⊢",XI="⥛",JI="⋌",QI="⧐",_I="⊳",$I="⊵",eR="⥏",tR="⥜",nR="⥔",rR="↾",iR="⥓",oR="⇀",aR="˚",sR="≓",lR="⇄",cR="⇌",uR="‏",hR="⎱",dR="⎱",fR="⫮",pR="⟭",mR="⇾",gR="⟧",vR="⦆",bR="𝕣",yR="ℝ",wR="⨮",xR="⨵",kR="⥰",CR=")",AR="⦔",TR="⨒",SR="⇉",ER="⇛",MR="›",OR="𝓇",NR="ℛ",LR="↱",DR="↱",PR="]",IR="’",RR="’",FR="⋌",zR="⋊",BR="▹",jR="⊵",HR="▸",UR="⧎",qR="⧴",WR="⥨",GR="℞",VR="Ś",YR="ś",KR="‚",ZR="⪸",XR="Š",JR="š",QR="⪼",_R="≻",$R="≽",eF="⪰",tF="⪴",nF="Ş",rF="ş",iF="Ŝ",oF="ŝ",aF="⪺",sF="⪶",lF="⋩",cF="⨓",uF="≿",hF="С",dF="с",fF="⊡",pF="⋅",mF="⩦",gF="⤥",vF="↘",bF="⇘",yF="↘",wF="§",xF=";",kF="⤩",CF="∖",AF="∖",TF="✶",SF="𝔖",EF="𝔰",MF="⌢",OF="♯",NF="Щ",LF="щ",DF="Ш",PF="ш",IF="↓",RF="←",FF="∣",zF="∥",BF="→",jF="↑",HF="­",UF="Σ",qF="σ",WF="ς",GF="ς",VF="∼",YF="⩪",KF="≃",ZF="≃",XF="⪞",JF="⪠",QF="⪝",_F="⪟",$F="≆",ez="⨤",tz="⥲",nz="←",rz="∘",iz="∖",oz="⨳",az="⧤",sz="∣",lz="⌣",cz="⪪",uz="⪬",hz="⪬︀",dz="Ь",fz="ь",pz="⌿",mz="⧄",gz="/",vz="𝕊",bz="𝕤",yz="♠",wz="♠",xz="∥",kz="⊓",Cz="⊓︀",Az="⊔",Tz="⊔︀",Sz="√",Ez="⊏",Mz="⊑",Oz="⊏",Nz="⊑",Lz="⊐",Dz="⊒",Pz="⊐",Iz="⊒",Rz="□",Fz="□",zz="⊓",Bz="⊏",jz="⊑",Hz="⊐",Uz="⊒",qz="⊔",Wz="▪",Gz="□",Vz="▪",Yz="→",Kz="𝒮",Zz="𝓈",Xz="∖",Jz="⌣",Qz="⋆",_z="⋆",$z="☆",eB="★",tB="ϵ",nB="ϕ",rB="¯",iB="⊂",oB="⋐",aB="⪽",sB="⫅",lB="⊆",cB="⫃",uB="⫁",hB="⫋",dB="⊊",fB="⪿",pB="⥹",mB="⊂",gB="⋐",vB="⊆",bB="⫅",yB="⊆",wB="⊊",xB="⫋",kB="⫇",CB="⫕",AB="⫓",TB="⪸",SB="≻",EB="≽",MB="≻",OB="⪰",NB="≽",LB="≿",DB="⪰",PB="⪺",IB="⪶",RB="⋩",FB="≿",zB="∋",BB="∑",jB="∑",HB="♪",UB="¹",qB="²",WB="³",GB="⊃",VB="⋑",YB="⪾",KB="⫘",ZB="⫆",XB="⊇",JB="⫄",QB="⊃",_B="⊇",$B="⟉",ej="⫗",tj="⥻",nj="⫂",rj="⫌",ij="⊋",oj="⫀",aj="⊃",sj="⋑",lj="⊇",cj="⫆",uj="⊋",hj="⫌",dj="⫈",fj="⫔",pj="⫖",mj="⤦",gj="↙",vj="⇙",bj="↙",yj="⤪",wj="ß",xj="\t",kj="⌖",Cj="Τ",Aj="τ",Tj="⎴",Sj="Ť",Ej="ť",Mj="Ţ",Oj="ţ",Nj="Т",Lj="т",Dj="⃛",Pj="⌕",Ij="𝔗",Rj="𝔱",Fj="∴",zj="∴",Bj="∴",jj="Θ",Hj="θ",Uj="ϑ",qj="ϑ",Wj="≈",Gj="∼",Vj="  ",Yj=" ",Kj=" ",Zj="≈",Xj="∼",Jj="Þ",Qj="þ",_j="˜",$j="∼",eH="≃",tH="≅",nH="≈",rH="⨱",iH="⊠",oH="×",aH="⨰",sH="∭",lH="⤨",cH="⌶",uH="⫱",hH="⊤",dH="𝕋",fH="𝕥",pH="⫚",mH="⤩",gH="‴",vH="™",bH="™",yH="▵",wH="▿",xH="◃",kH="⊴",CH="≜",AH="▹",TH="⊵",SH="◬",EH="≜",MH="⨺",OH="⃛",NH="⨹",LH="⧍",DH="⨻",PH="⏢",IH="𝒯",RH="𝓉",FH="Ц",zH="ц",BH="Ћ",jH="ћ",HH="Ŧ",UH="ŧ",qH="≬",WH="↞",GH="↠",VH="Ú",YH="ú",KH="↑",ZH="↟",XH="⇑",JH="⥉",QH="Ў",_H="ў",$H="Ŭ",eU="ŭ",tU="Û",nU="û",rU="У",iU="у",oU="⇅",aU="Ű",sU="ű",lU="⥮",cU="⥾",uU="𝔘",hU="𝔲",dU="Ù",fU="ù",pU="⥣",mU="↿",gU="↾",vU="▀",bU="⌜",yU="⌜",wU="⌏",xU="◸",kU="Ū",CU="ū",AU="¨",TU="_",SU="⏟",EU="⎵",MU="⏝",OU="⋃",NU="⊎",LU="Ų",DU="ų",PU="𝕌",IU="𝕦",RU="⤒",FU="↑",zU="↑",BU="⇑",jU="⇅",HU="↕",UU="↕",qU="⇕",WU="⥮",GU="↿",VU="↾",YU="⊎",KU="↖",ZU="↗",XU="υ",JU="ϒ",QU="ϒ",_U="Υ",$U="υ",eq="↥",tq="⊥",nq="⇈",rq="⌝",iq="⌝",oq="⌎",aq="Ů",sq="ů",lq="◹",cq="𝒰",uq="𝓊",hq="⋰",dq="Ũ",fq="ũ",pq="▵",mq="▴",gq="⇈",vq="Ü",bq="ü",yq="⦧",wq="⦜",xq="ϵ",kq="ϰ",Cq="∅",Aq="ϕ",Tq="ϖ",Sq="∝",Eq="↕",Mq="⇕",Oq="ϱ",Nq="ς",Lq="⊊︀",Dq="⫋︀",Pq="⊋︀",Iq="⫌︀",Rq="ϑ",Fq="⊲",zq="⊳",Bq="⫨",jq="⫫",Hq="⫩",Uq="В",qq="в",Wq="⊢",Gq="⊨",Vq="⊩",Yq="⊫",Kq="⫦",Zq="⊻",Xq="∨",Jq="⋁",Qq="≚",_q="⋮",$q="|",eW="‖",tW="|",nW="‖",rW="∣",iW="|",oW="❘",aW="≀",sW=" ",lW="𝔙",cW="𝔳",uW="⊲",hW="⊂⃒",dW="⊃⃒",fW="𝕍",pW="𝕧",mW="∝",gW="⊳",vW="𝒱",bW="𝓋",yW="⫋︀",wW="⊊︀",xW="⫌︀",kW="⊋︀",CW="⊪",AW="⦚",TW="Ŵ",SW="ŵ",EW="⩟",MW="∧",OW="⋀",NW="≙",LW="℘",DW="𝔚",PW="𝔴",IW="𝕎",RW="𝕨",FW="℘",zW="≀",BW="≀",jW="𝒲",HW="𝓌",UW="⋂",qW="◯",WW="⋃",GW="▽",VW="𝔛",YW="𝔵",KW="⟷",ZW="⟺",XW="Ξ",JW="ξ",QW="⟵",_W="⟸",$W="⟼",eG="⋻",tG="⨀",nG="𝕏",rG="𝕩",iG="⨁",oG="⨂",aG="⟶",sG="⟹",lG="𝒳",cG="𝓍",uG="⨆",hG="⨄",dG="△",fG="⋁",pG="⋀",mG="Ý",gG="ý",vG="Я",bG="я",yG="Ŷ",wG="ŷ",xG="Ы",kG="ы",CG="¥",AG="𝔜",TG="𝔶",SG="Ї",EG="ї",MG="𝕐",OG="𝕪",NG="𝒴",LG="𝓎",DG="Ю",PG="ю",IG="ÿ",RG="Ÿ",FG="Ź",zG="ź",BG="Ž",jG="ž",HG="З",UG="з",qG="Ż",WG="ż",GG="ℨ",VG="​",YG="Ζ",KG="ζ",ZG="𝔷",XG="ℨ",JG="Ж",QG="ж",_G="⇝",$G="𝕫",eV="ℤ",tV="𝒵",nV="𝓏",rV="‍",iV="‌",oV={Aacute:Uo,aacute:qo,Abreve:Wo,abreve:Go,ac:Vo,acd:Yo,acE:Ko,Acirc:Zo,acirc:Xo,acute:Jo,Acy:Qo,acy:_o,AElig:$o,aelig:ea,af:ta,Afr:na,afr:ra,Agrave:ia,agrave:oa,alefsym:aa,aleph:sa,Alpha:la,alpha:ca,Amacr:ua,amacr:ha,amalg:da,amp:fa,AMP:pa,andand:ma,And:ga,and:va,andd:ba,andslope:ya,andv:wa,ang:xa,ange:ka,angle:Ca,angmsdaa:Aa,angmsdab:Ta,angmsdac:Sa,angmsdad:Ea,angmsdae:Ma,angmsdaf:Oa,angmsdag:Na,angmsdah:La,angmsd:Da,angrt:Pa,angrtvb:Ia,angrtvbd:Ra,angsph:Fa,angst:za,angzarr:Ba,Aogon:ja,aogon:Ha,Aopf:Ua,aopf:qa,apacir:Wa,ap:Ga,apE:Va,ape:Ya,apid:Ka,apos:Za,ApplyFunction:Xa,approx:Ja,approxeq:Qa,Aring:_a,aring:$a,Ascr:es,ascr:ts,Assign:ns,ast:rs,asymp:is,asympeq:os,Atilde:as,atilde:ss,Auml:ls,auml:cs,awconint:us,awint:hs,backcong:ds,backepsilon:fs,backprime:ps,backsim:ms,backsimeq:gs,Backslash:vs,Barv:bs,barvee:ys,barwed:ws,Barwed:xs,barwedge:ks,bbrk:Cs,bbrktbrk:As,bcong:Ts,Bcy:Ss,bcy:Es,bdquo:Ms,becaus:Os,because:Ns,Because:Ls,bemptyv:Ds,bepsi:Ps,bernou:Is,Bernoullis:Rs,Beta:Fs,beta:zs,beth:Bs,between:js,Bfr:Hs,bfr:Us,bigcap:qs,bigcirc:Ws,bigcup:Gs,bigodot:Vs,bigoplus:Ys,bigotimes:Ks,bigsqcup:Zs,bigstar:Xs,bigtriangledown:Js,bigtriangleup:Qs,biguplus:_s,bigvee:$s,bigwedge:el,bkarow:tl,blacklozenge:nl,blacksquare:rl,blacktriangle:il,blacktriangledown:ol,blacktriangleleft:al,blacktriangleright:sl,blank:ll,blk12:cl,blk14:ul,blk34:hl,block:dl,bne:fl,bnequiv:pl,bNot:ml,bnot:gl,Bopf:vl,bopf:bl,bot:yl,bottom:wl,bowtie:xl,boxbox:kl,boxdl:Cl,boxdL:Al,boxDl:Tl,boxDL:Sl,boxdr:El,boxdR:Ml,boxDr:Ol,boxDR:Nl,boxh:Ll,boxH:Dl,boxhd:Pl,boxHd:Il,boxhD:Rl,boxHD:Fl,boxhu:zl,boxHu:Bl,boxhU:jl,boxHU:Hl,boxminus:Ul,boxplus:ql,boxtimes:Wl,boxul:Gl,boxuL:Vl,boxUl:Yl,boxUL:Kl,boxur:Zl,boxuR:Xl,boxUr:Jl,boxUR:Ql,boxv:_l,boxV:$l,boxvh:ec,boxvH:tc,boxVh:nc,boxVH:rc,boxvl:ic,boxvL:oc,boxVl:ac,boxVL:sc,boxvr:lc,boxvR:cc,boxVr:uc,boxVR:hc,bprime:dc,breve:fc,Breve:pc,brvbar:mc,bscr:gc,Bscr:vc,bsemi:bc,bsim:yc,bsime:wc,bsolb:xc,bsol:kc,bsolhsub:Cc,bull:Ac,bullet:Tc,bump:Sc,bumpE:Ec,bumpe:Mc,Bumpeq:Oc,bumpeq:Nc,Cacute:Lc,cacute:Dc,capand:Pc,capbrcup:Ic,capcap:Rc,cap:Fc,Cap:zc,capcup:Bc,capdot:jc,CapitalDifferentialD:Hc,caps:Uc,caret:qc,caron:Wc,Cayleys:Gc,ccaps:Vc,Ccaron:Yc,ccaron:Kc,Ccedil:Zc,ccedil:Xc,Ccirc:Jc,ccirc:Qc,Cconint:_c,ccups:$c,ccupssm:eu,Cdot:tu,cdot:nu,cedil:ru,Cedilla:iu,cemptyv:ou,cent:au,centerdot:su,CenterDot:lu,cfr:cu,Cfr:uu,CHcy:hu,chcy:du,check:fu,checkmark:pu,Chi:mu,chi:gu,circ:vu,circeq:bu,circlearrowleft:yu,circlearrowright:wu,circledast:xu,circledcirc:ku,circleddash:Cu,CircleDot:Au,circledR:Tu,circledS:Su,CircleMinus:Eu,CirclePlus:Mu,CircleTimes:Ou,cir:Nu,cirE:Lu,cire:Du,cirfnint:Pu,cirmid:Iu,cirscir:Ru,ClockwiseContourIntegral:Fu,CloseCurlyDoubleQuote:zu,CloseCurlyQuote:Bu,clubs:ju,clubsuit:Hu,colon:Uu,Colon:qu,Colone:Wu,colone:Gu,coloneq:Vu,comma:Yu,commat:Ku,comp:Zu,compfn:Xu,complement:Ju,complexes:Qu,cong:_u,congdot:$u,Congruent:eh,conint:th,Conint:nh,ContourIntegral:rh,copf:ih,Copf:oh,coprod:ah,Coproduct:sh,copy:lh,COPY:ch,copysr:uh,CounterClockwiseContourIntegral:hh,crarr:dh,cross:fh,Cross:ph,Cscr:mh,cscr:gh,csub:vh,csube:bh,csup:yh,csupe:wh,ctdot:xh,cudarrl:kh,cudarrr:Ch,cuepr:Ah,cuesc:Th,cularr:Sh,cularrp:Eh,cupbrcap:Mh,cupcap:Oh,CupCap:Nh,cup:Lh,Cup:Dh,cupcup:Ph,cupdot:Ih,cupor:Rh,cups:Fh,curarr:zh,curarrm:Bh,curlyeqprec:jh,curlyeqsucc:Hh,curlyvee:Uh,curlywedge:qh,curren:Wh,curvearrowleft:Gh,curvearrowright:Vh,cuvee:Yh,cuwed:Kh,cwconint:Zh,cwint:Xh,cylcty:Jh,dagger:Qh,Dagger:_h,daleth:$h,darr:ed,Darr:td,dArr:nd,dash:rd,Dashv:id,dashv:od,dbkarow:ad,dblac:sd,Dcaron:ld,dcaron:cd,Dcy:ud,dcy:hd,ddagger:dd,ddarr:fd,DD:pd,dd:md,DDotrahd:gd,ddotseq:vd,deg:bd,Del:yd,Delta:wd,delta:xd,demptyv:kd,dfisht:Cd,Dfr:Ad,dfr:Td,dHar:Sd,dharl:Ed,dharr:Md,DiacriticalAcute:Od,DiacriticalDot:Nd,DiacriticalDoubleAcute:Ld,DiacriticalGrave:Dd,DiacriticalTilde:Pd,diam:Id,diamond:Rd,Diamond:Fd,diamondsuit:zd,diams:Bd,die:jd,DifferentialD:Hd,digamma:Ud,disin:qd,div:Wd,divide:Gd,divideontimes:Vd,divonx:Yd,DJcy:Kd,djcy:Zd,dlcorn:Xd,dlcrop:Jd,dollar:Qd,Dopf:_d,dopf:$d,Dot:ef,dot:tf,DotDot:nf,doteq:rf,doteqdot:of,DotEqual:af,dotminus:sf,dotplus:lf,dotsquare:cf,doublebarwedge:uf,DoubleContourIntegral:hf,DoubleDot:df,DoubleDownArrow:ff,DoubleLeftArrow:pf,DoubleLeftRightArrow:mf,DoubleLeftTee:gf,DoubleLongLeftArrow:vf,DoubleLongLeftRightArrow:bf,DoubleLongRightArrow:yf,DoubleRightArrow:wf,DoubleRightTee:xf,DoubleUpArrow:kf,DoubleUpDownArrow:Cf,DoubleVerticalBar:Af,DownArrowBar:Tf,downarrow:Sf,DownArrow:Ef,Downarrow:Mf,DownArrowUpArrow:Of,DownBreve:Nf,downdownarrows:Lf,downharpoonleft:Df,downharpoonright:Pf,DownLeftRightVector:If,DownLeftTeeVector:Rf,DownLeftVectorBar:Ff,DownLeftVector:zf,DownRightTeeVector:Bf,DownRightVectorBar:jf,DownRightVector:Hf,DownTeeArrow:Uf,DownTee:qf,drbkarow:Wf,drcorn:Gf,drcrop:Vf,Dscr:Yf,dscr:Kf,DScy:Zf,dscy:Xf,dsol:Jf,Dstrok:Qf,dstrok:_f,dtdot:$f,dtri:ep,dtrif:tp,duarr:np,duhar:rp,dwangle:ip,DZcy:op,dzcy:ap,dzigrarr:sp,Eacute:lp,eacute:cp,easter:up,Ecaron:hp,ecaron:dp,Ecirc:fp,ecirc:pp,ecir:mp,ecolon:gp,Ecy:vp,ecy:bp,eDDot:yp,Edot:wp,edot:xp,eDot:kp,ee:Cp,efDot:Ap,Efr:Tp,efr:Sp,eg:Ep,Egrave:Mp,egrave:Op,egs:Np,egsdot:Lp,el:Dp,Element:Pp,elinters:Ip,ell:Rp,els:Fp,elsdot:zp,Emacr:Bp,emacr:jp,empty:Hp,emptyset:Up,EmptySmallSquare:qp,emptyv:Wp,EmptyVerySmallSquare:Gp,emsp13:Vp,emsp14:Yp,emsp:Kp,ENG:Zp,eng:Xp,ensp:Jp,Eogon:Qp,eogon:_p,Eopf:$p,eopf:em,epar:tm,eparsl:nm,eplus:rm,epsi:im,Epsilon:om,epsilon:am,epsiv:sm,eqcirc:lm,eqcolon:cm,eqsim:um,eqslantgtr:hm,eqslantless:dm,Equal:fm,equals:pm,EqualTilde:mm,equest:gm,Equilibrium:vm,equiv:bm,equivDD:ym,eqvparsl:wm,erarr:xm,erDot:km,escr:Cm,Escr:Am,esdot:Tm,Esim:Sm,esim:Em,Eta:Mm,eta:Om,ETH:Nm,eth:Lm,Euml:Dm,euml:Pm,euro:Im,excl:Rm,exist:Fm,Exists:zm,expectation:Bm,exponentiale:jm,ExponentialE:Hm,fallingdotseq:Um,Fcy:qm,fcy:Wm,female:Gm,ffilig:Vm,fflig:Ym,ffllig:Km,Ffr:Zm,ffr:Xm,filig:Jm,FilledSmallSquare:Qm,FilledVerySmallSquare:_m,fjlig:$m,flat:eg,fllig:tg,fltns:ng,fnof:rg,Fopf:ig,fopf:og,forall:ag,ForAll:sg,fork:lg,forkv:cg,Fouriertrf:ug,fpartint:hg,frac12:dg,frac13:fg,frac14:pg,frac15:mg,frac16:gg,frac18:vg,frac23:bg,frac25:yg,frac34:wg,frac35:xg,frac38:kg,frac45:Cg,frac56:Ag,frac58:Tg,frac78:Sg,frasl:Eg,frown:Mg,fscr:Og,Fscr:Ng,gacute:Lg,Gamma:Dg,gamma:Pg,Gammad:Ig,gammad:Rg,gap:Fg,Gbreve:zg,gbreve:Bg,Gcedil:jg,Gcirc:Hg,gcirc:Ug,Gcy:qg,gcy:Wg,Gdot:Gg,gdot:Vg,ge:Yg,gE:Kg,gEl:Zg,gel:Xg,geq:Jg,geqq:Qg,geqslant:_g,gescc:$g,ges:ev,gesdot:tv,gesdoto:nv,gesdotol:rv,gesl:iv,gesles:ov,Gfr:av,gfr:sv,gg:lv,Gg:cv,ggg:uv,gimel:hv,GJcy:dv,gjcy:fv,gla:pv,gl:mv,glE:gv,glj:vv,gnap:bv,gnapprox:yv,gne:wv,gnE:xv,gneq:kv,gneqq:Cv,gnsim:Av,Gopf:Tv,gopf:Sv,grave:Ev,GreaterEqual:Mv,GreaterEqualLess:Ov,GreaterFullEqual:Nv,GreaterGreater:Lv,GreaterLess:Dv,GreaterSlantEqual:Pv,GreaterTilde:Iv,Gscr:Rv,gscr:Fv,gsim:zv,gsime:Bv,gsiml:jv,gtcc:Hv,gtcir:Uv,gt:qv,GT:Wv,Gt:Gv,gtdot:Vv,gtlPar:Yv,gtquest:Kv,gtrapprox:Zv,gtrarr:Xv,gtrdot:Jv,gtreqless:Qv,gtreqqless:_v,gtrless:$v,gtrsim:eb,gvertneqq:tb,gvnE:nb,Hacek:rb,hairsp:ib,half:ob,hamilt:ab,HARDcy:sb,hardcy:lb,harrcir:cb,harr:ub,hArr:hb,harrw:db,Hat:fb,hbar:pb,Hcirc:mb,hcirc:gb,hearts:vb,heartsuit:bb,hellip:yb,hercon:wb,hfr:xb,Hfr:kb,HilbertSpace:Cb,hksearow:Ab,hkswarow:Tb,hoarr:Sb,homtht:Eb,hookleftarrow:Mb,hookrightarrow:Ob,hopf:Nb,Hopf:Lb,horbar:Db,HorizontalLine:Pb,hscr:Ib,Hscr:Rb,hslash:Fb,Hstrok:zb,hstrok:Bb,HumpDownHump:jb,HumpEqual:Hb,hybull:Ub,hyphen:qb,Iacute:Wb,iacute:Gb,ic:Vb,Icirc:Yb,icirc:Kb,Icy:Zb,icy:Xb,Idot:Jb,IEcy:Qb,iecy:_b,iexcl:$b,iff:ey,ifr:ty,Ifr:ny,Igrave:ry,igrave:iy,ii:oy,iiiint:ay,iiint:sy,iinfin:ly,iiota:cy,IJlig:uy,ijlig:hy,Imacr:dy,imacr:fy,image:py,ImaginaryI:my,imagline:gy,imagpart:vy,imath:by,Im:yy,imof:wy,imped:xy,Implies:ky,incare:Cy,in:"∈",infin:Ay,infintie:Ty,inodot:Sy,intcal:Ey,int:My,Int:Oy,integers:Ny,Integral:Ly,intercal:Dy,Intersection:Py,intlarhk:Iy,intprod:Ry,InvisibleComma:Fy,InvisibleTimes:zy,IOcy:By,iocy:jy,Iogon:Hy,iogon:Uy,Iopf:qy,iopf:Wy,Iota:Gy,iota:Vy,iprod:Yy,iquest:Ky,iscr:Zy,Iscr:Xy,isin:Jy,isindot:Qy,isinE:_y,isins:$y,isinsv:ew,isinv:tw,it:nw,Itilde:rw,itilde:iw,Iukcy:ow,iukcy:aw,Iuml:sw,iuml:lw,Jcirc:cw,jcirc:uw,Jcy:hw,jcy:dw,Jfr:fw,jfr:pw,jmath:mw,Jopf:gw,jopf:vw,Jscr:bw,jscr:yw,Jsercy:ww,jsercy:xw,Jukcy:kw,jukcy:Cw,Kappa:Aw,kappa:Tw,kappav:Sw,Kcedil:Ew,kcedil:Mw,Kcy:Ow,kcy:Nw,Kfr:Lw,kfr:Dw,kgreen:Pw,KHcy:Iw,khcy:Rw,KJcy:Fw,kjcy:zw,Kopf:Bw,kopf:jw,Kscr:Hw,kscr:Uw,lAarr:qw,Lacute:Ww,lacute:Gw,laemptyv:Vw,lagran:Yw,Lambda:Kw,lambda:Zw,lang:Xw,Lang:Jw,langd:Qw,langle:_w,lap:$w,Laplacetrf:ex,laquo:tx,larrb:nx,larrbfs:rx,larr:ix,Larr:ox,lArr:ax,larrfs:sx,larrhk:lx,larrlp:cx,larrpl:ux,larrsim:hx,larrtl:dx,latail:fx,lAtail:px,lat:mx,late:gx,lates:vx,lbarr:bx,lBarr:yx,lbbrk:wx,lbrace:xx,lbrack:kx,lbrke:Cx,lbrksld:Ax,lbrkslu:Tx,Lcaron:Sx,lcaron:Ex,Lcedil:Mx,lcedil:Ox,lceil:Nx,lcub:Lx,Lcy:Dx,lcy:Px,ldca:Ix,ldquo:Rx,ldquor:Fx,ldrdhar:zx,ldrushar:Bx,ldsh:jx,le:Hx,lE:Ux,LeftAngleBracket:qx,LeftArrowBar:Wx,leftarrow:Gx,LeftArrow:Vx,Leftarrow:Yx,LeftArrowRightArrow:Kx,leftarrowtail:Zx,LeftCeiling:Xx,LeftDoubleBracket:Jx,LeftDownTeeVector:Qx,LeftDownVectorBar:_x,LeftDownVector:$x,LeftFloor:ek,leftharpoondown:tk,leftharpoonup:nk,leftleftarrows:rk,leftrightarrow:ik,LeftRightArrow:ok,Leftrightarrow:ak,leftrightarrows:sk,leftrightharpoons:lk,leftrightsquigarrow:ck,LeftRightVector:uk,LeftTeeArrow:hk,LeftTee:dk,LeftTeeVector:fk,leftthreetimes:pk,LeftTriangleBar:mk,LeftTriangle:gk,LeftTriangleEqual:vk,LeftUpDownVector:bk,LeftUpTeeVector:yk,LeftUpVectorBar:wk,LeftUpVector:xk,LeftVectorBar:kk,LeftVector:Ck,lEg:Ak,leg:Tk,leq:Sk,leqq:Ek,leqslant:Mk,lescc:Ok,les:Nk,lesdot:Lk,lesdoto:Dk,lesdotor:Pk,lesg:Ik,lesges:Rk,lessapprox:Fk,lessdot:zk,lesseqgtr:Bk,lesseqqgtr:jk,LessEqualGreater:Hk,LessFullEqual:Uk,LessGreater:qk,lessgtr:Wk,LessLess:Gk,lesssim:Vk,LessSlantEqual:Yk,LessTilde:Kk,lfisht:Zk,lfloor:Xk,Lfr:Jk,lfr:Qk,lg:_k,lgE:$k,lHar:eC,lhard:tC,lharu:nC,lharul:rC,lhblk:iC,LJcy:oC,ljcy:aC,llarr:sC,ll:lC,Ll:cC,llcorner:uC,Lleftarrow:hC,llhard:dC,lltri:fC,Lmidot:pC,lmidot:mC,lmoustache:gC,lmoust:vC,lnap:bC,lnapprox:yC,lne:wC,lnE:xC,lneq:kC,lneqq:CC,lnsim:AC,loang:TC,loarr:SC,lobrk:EC,longleftarrow:MC,LongLeftArrow:OC,Longleftarrow:NC,longleftrightarrow:LC,LongLeftRightArrow:DC,Longleftrightarrow:PC,longmapsto:IC,longrightarrow:RC,LongRightArrow:FC,Longrightarrow:zC,looparrowleft:BC,looparrowright:jC,lopar:HC,Lopf:UC,lopf:qC,loplus:WC,lotimes:GC,lowast:VC,lowbar:YC,LowerLeftArrow:KC,LowerRightArrow:ZC,loz:XC,lozenge:JC,lozf:QC,lpar:_C,lparlt:$C,lrarr:eA,lrcorner:tA,lrhar:nA,lrhard:rA,lrm:iA,lrtri:oA,lsaquo:aA,lscr:sA,Lscr:lA,lsh:cA,Lsh:uA,lsim:hA,lsime:dA,lsimg:fA,lsqb:pA,lsquo:mA,lsquor:gA,Lstrok:vA,lstrok:bA,ltcc:yA,ltcir:wA,lt:xA,LT:kA,Lt:CA,ltdot:AA,lthree:TA,ltimes:SA,ltlarr:EA,ltquest:MA,ltri:OA,ltrie:NA,ltrif:LA,ltrPar:DA,lurdshar:PA,luruhar:IA,lvertneqq:RA,lvnE:FA,macr:zA,male:BA,malt:jA,maltese:HA,Map:"⤅",map:UA,mapsto:qA,mapstodown:WA,mapstoleft:GA,mapstoup:VA,marker:YA,mcomma:KA,Mcy:ZA,mcy:XA,mdash:JA,mDDot:QA,measuredangle:_A,MediumSpace:$A,Mellintrf:eT,Mfr:tT,mfr:nT,mho:rT,micro:iT,midast:oT,midcir:aT,mid:sT,middot:lT,minusb:cT,minus:uT,minusd:hT,minusdu:dT,MinusPlus:fT,mlcp:pT,mldr:mT,mnplus:gT,models:vT,Mopf:bT,mopf:yT,mp:wT,mscr:xT,Mscr:kT,mstpos:CT,Mu:AT,mu:TT,multimap:ST,mumap:ET,nabla:MT,Nacute:OT,nacute:NT,nang:LT,nap:DT,napE:PT,napid:IT,napos:RT,napprox:FT,natural:zT,naturals:BT,natur:jT,nbsp:HT,nbump:UT,nbumpe:qT,ncap:WT,Ncaron:GT,ncaron:VT,Ncedil:YT,ncedil:KT,ncong:ZT,ncongdot:XT,ncup:JT,Ncy:QT,ncy:_T,ndash:$T,nearhk:eS,nearr:tS,neArr:nS,nearrow:rS,ne:iS,nedot:oS,NegativeMediumSpace:aS,NegativeThickSpace:sS,NegativeThinSpace:lS,NegativeVeryThinSpace:cS,nequiv:uS,nesear:hS,nesim:dS,NestedGreaterGreater:fS,NestedLessLess:pS,NewLine:mS,nexist:gS,nexists:vS,Nfr:bS,nfr:yS,ngE:wS,nge:xS,ngeq:kS,ngeqq:CS,ngeqslant:AS,nges:TS,nGg:SS,ngsim:ES,nGt:MS,ngt:OS,ngtr:NS,nGtv:LS,nharr:DS,nhArr:PS,nhpar:IS,ni:RS,nis:FS,nisd:zS,niv:BS,NJcy:jS,njcy:HS,nlarr:US,nlArr:qS,nldr:WS,nlE:GS,nle:VS,nleftarrow:YS,nLeftarrow:KS,nleftrightarrow:ZS,nLeftrightarrow:XS,nleq:JS,nleqq:QS,nleqslant:_S,nles:$S,nless:eE,nLl:tE,nlsim:nE,nLt:rE,nlt:iE,nltri:oE,nltrie:aE,nLtv:sE,nmid:lE,NoBreak:cE,NonBreakingSpace:uE,nopf:hE,Nopf:dE,Not:fE,not:pE,NotCongruent:mE,NotCupCap:gE,NotDoubleVerticalBar:vE,NotElement:bE,NotEqual:yE,NotEqualTilde:wE,NotExists:xE,NotGreater:kE,NotGreaterEqual:CE,NotGreaterFullEqual:AE,NotGreaterGreater:TE,NotGreaterLess:SE,NotGreaterSlantEqual:EE,NotGreaterTilde:ME,NotHumpDownHump:OE,NotHumpEqual:NE,notin:LE,notindot:DE,notinE:PE,notinva:IE,notinvb:RE,notinvc:FE,NotLeftTriangleBar:zE,NotLeftTriangle:BE,NotLeftTriangleEqual:jE,NotLess:HE,NotLessEqual:UE,NotLessGreater:qE,NotLessLess:WE,NotLessSlantEqual:GE,NotLessTilde:VE,NotNestedGreaterGreater:YE,NotNestedLessLess:KE,notni:ZE,notniva:XE,notnivb:JE,notnivc:QE,NotPrecedes:_E,NotPrecedesEqual:$E,NotPrecedesSlantEqual:eM,NotReverseElement:tM,NotRightTriangleBar:nM,NotRightTriangle:rM,NotRightTriangleEqual:iM,NotSquareSubset:oM,NotSquareSubsetEqual:aM,NotSquareSuperset:sM,NotSquareSupersetEqual:lM,NotSubset:cM,NotSubsetEqual:uM,NotSucceeds:hM,NotSucceedsEqual:dM,NotSucceedsSlantEqual:fM,NotSucceedsTilde:pM,NotSuperset:mM,NotSupersetEqual:gM,NotTilde:vM,NotTildeEqual:bM,NotTildeFullEqual:yM,NotTildeTilde:wM,NotVerticalBar:xM,nparallel:kM,npar:CM,nparsl:AM,npart:TM,npolint:SM,npr:EM,nprcue:MM,nprec:OM,npreceq:NM,npre:LM,nrarrc:DM,nrarr:PM,nrArr:IM,nrarrw:RM,nrightarrow:FM,nRightarrow:zM,nrtri:BM,nrtrie:jM,nsc:HM,nsccue:UM,nsce:qM,Nscr:WM,nscr:GM,nshortmid:VM,nshortparallel:YM,nsim:KM,nsime:ZM,nsimeq:XM,nsmid:JM,nspar:QM,nsqsube:_M,nsqsupe:$M,nsub:eO,nsubE:tO,nsube:nO,nsubset:rO,nsubseteq:iO,nsubseteqq:oO,nsucc:aO,nsucceq:sO,nsup:lO,nsupE:cO,nsupe:uO,nsupset:hO,nsupseteq:dO,nsupseteqq:fO,ntgl:pO,Ntilde:mO,ntilde:gO,ntlg:vO,ntriangleleft:bO,ntrianglelefteq:yO,ntriangleright:wO,ntrianglerighteq:xO,Nu:kO,nu:CO,num:AO,numero:TO,numsp:SO,nvap:EO,nvdash:MO,nvDash:OO,nVdash:NO,nVDash:LO,nvge:DO,nvgt:PO,nvHarr:IO,nvinfin:RO,nvlArr:FO,nvle:zO,nvlt:BO,nvltrie:jO,nvrArr:HO,nvrtrie:UO,nvsim:qO,nwarhk:WO,nwarr:GO,nwArr:VO,nwarrow:YO,nwnear:KO,Oacute:ZO,oacute:XO,oast:JO,Ocirc:QO,ocirc:_O,ocir:$O,Ocy:eN,ocy:tN,odash:nN,Odblac:rN,odblac:iN,odiv:oN,odot:aN,odsold:sN,OElig:lN,oelig:cN,ofcir:uN,Ofr:hN,ofr:dN,ogon:fN,Ograve:pN,ograve:mN,ogt:gN,ohbar:vN,ohm:bN,oint:yN,olarr:wN,olcir:xN,olcross:kN,oline:CN,olt:AN,Omacr:TN,omacr:SN,Omega:EN,omega:MN,Omicron:ON,omicron:NN,omid:LN,ominus:DN,Oopf:PN,oopf:IN,opar:RN,OpenCurlyDoubleQuote:FN,OpenCurlyQuote:zN,operp:BN,oplus:jN,orarr:HN,Or:UN,or:qN,ord:WN,order:GN,orderof:VN,ordf:YN,ordm:KN,origof:ZN,oror:XN,orslope:JN,orv:QN,oS:_N,Oscr:$N,oscr:eL,Oslash:tL,oslash:nL,osol:rL,Otilde:iL,otilde:oL,otimesas:aL,Otimes:sL,otimes:lL,Ouml:cL,ouml:uL,ovbar:hL,OverBar:dL,OverBrace:fL,OverBracket:pL,OverParenthesis:mL,para:gL,parallel:vL,par:bL,parsim:yL,parsl:wL,part:xL,PartialD:kL,Pcy:CL,pcy:AL,percnt:TL,period:SL,permil:EL,perp:ML,pertenk:OL,Pfr:NL,pfr:LL,Phi:DL,phi:PL,phiv:IL,phmmat:RL,phone:FL,Pi:zL,pi:BL,pitchfork:jL,piv:HL,planck:UL,planckh:qL,plankv:WL,plusacir:GL,plusb:VL,pluscir:YL,plus:KL,plusdo:ZL,plusdu:XL,pluse:JL,PlusMinus:QL,plusmn:_L,plussim:$L,plustwo:eD,pm:tD,Poincareplane:nD,pointint:rD,popf:iD,Popf:oD,pound:aD,prap:sD,Pr:lD,pr:cD,prcue:uD,precapprox:hD,prec:dD,preccurlyeq:fD,Precedes:pD,PrecedesEqual:mD,PrecedesSlantEqual:gD,PrecedesTilde:vD,preceq:bD,precnapprox:yD,precneqq:wD,precnsim:xD,pre:kD,prE:CD,precsim:AD,prime:TD,Prime:SD,primes:ED,prnap:MD,prnE:OD,prnsim:ND,prod:LD,Product:DD,profalar:PD,profline:ID,profsurf:RD,prop:FD,Proportional:zD,Proportion:BD,propto:jD,prsim:HD,prurel:UD,Pscr:qD,pscr:WD,Psi:GD,psi:VD,puncsp:YD,Qfr:KD,qfr:ZD,qint:XD,qopf:JD,Qopf:QD,qprime:_D,Qscr:$D,qscr:eP,quaternions:tP,quatint:nP,quest:rP,questeq:iP,quot:oP,QUOT:aP,rAarr:sP,race:lP,Racute:cP,racute:uP,radic:hP,raemptyv:dP,rang:fP,Rang:pP,rangd:mP,range:gP,rangle:vP,raquo:bP,rarrap:yP,rarrb:wP,rarrbfs:xP,rarrc:kP,rarr:CP,Rarr:AP,rArr:TP,rarrfs:SP,rarrhk:EP,rarrlp:MP,rarrpl:OP,rarrsim:NP,Rarrtl:LP,rarrtl:DP,rarrw:PP,ratail:IP,rAtail:RP,ratio:FP,rationals:zP,rbarr:BP,rBarr:jP,RBarr:HP,rbbrk:UP,rbrace:qP,rbrack:WP,rbrke:GP,rbrksld:VP,rbrkslu:YP,Rcaron:KP,rcaron:ZP,Rcedil:XP,rcedil:JP,rceil:QP,rcub:_P,Rcy:$P,rcy:eI,rdca:tI,rdldhar:nI,rdquo:rI,rdquor:iI,rdsh:oI,real:aI,realine:sI,realpart:lI,reals:cI,Re:uI,rect:hI,reg:dI,REG:fI,ReverseElement:pI,ReverseEquilibrium:mI,ReverseUpEquilibrium:gI,rfisht:vI,rfloor:bI,rfr:yI,Rfr:wI,rHar:xI,rhard:kI,rharu:CI,rharul:AI,Rho:TI,rho:SI,rhov:EI,RightAngleBracket:MI,RightArrowBar:OI,rightarrow:NI,RightArrow:LI,Rightarrow:DI,RightArrowLeftArrow:PI,rightarrowtail:II,RightCeiling:RI,RightDoubleBracket:FI,RightDownTeeVector:zI,RightDownVectorBar:BI,RightDownVector:jI,RightFloor:HI,rightharpoondown:UI,rightharpoonup:qI,rightleftarrows:WI,rightleftharpoons:GI,rightrightarrows:VI,rightsquigarrow:YI,RightTeeArrow:KI,RightTee:ZI,RightTeeVector:XI,rightthreetimes:JI,RightTriangleBar:QI,RightTriangle:_I,RightTriangleEqual:$I,RightUpDownVector:eR,RightUpTeeVector:tR,RightUpVectorBar:nR,RightUpVector:rR,RightVectorBar:iR,RightVector:oR,ring:aR,risingdotseq:sR,rlarr:lR,rlhar:cR,rlm:uR,rmoustache:hR,rmoust:dR,rnmid:fR,roang:pR,roarr:mR,robrk:gR,ropar:vR,ropf:bR,Ropf:yR,roplus:wR,rotimes:xR,RoundImplies:kR,rpar:CR,rpargt:AR,rppolint:TR,rrarr:SR,Rrightarrow:ER,rsaquo:MR,rscr:OR,Rscr:NR,rsh:LR,Rsh:DR,rsqb:PR,rsquo:IR,rsquor:RR,rthree:FR,rtimes:zR,rtri:BR,rtrie:jR,rtrif:HR,rtriltri:UR,RuleDelayed:qR,ruluhar:WR,rx:GR,Sacute:VR,sacute:YR,sbquo:KR,scap:ZR,Scaron:XR,scaron:JR,Sc:QR,sc:_R,sccue:$R,sce:eF,scE:tF,Scedil:nF,scedil:rF,Scirc:iF,scirc:oF,scnap:aF,scnE:sF,scnsim:lF,scpolint:cF,scsim:uF,Scy:hF,scy:dF,sdotb:fF,sdot:pF,sdote:mF,searhk:gF,searr:vF,seArr:bF,searrow:yF,sect:wF,semi:xF,seswar:kF,setminus:CF,setmn:AF,sext:TF,Sfr:SF,sfr:EF,sfrown:MF,sharp:OF,SHCHcy:NF,shchcy:LF,SHcy:DF,shcy:PF,ShortDownArrow:IF,ShortLeftArrow:RF,shortmid:FF,shortparallel:zF,ShortRightArrow:BF,ShortUpArrow:jF,shy:HF,Sigma:UF,sigma:qF,sigmaf:WF,sigmav:GF,sim:VF,simdot:YF,sime:KF,simeq:ZF,simg:XF,simgE:JF,siml:QF,simlE:_F,simne:$F,simplus:ez,simrarr:tz,slarr:nz,SmallCircle:rz,smallsetminus:iz,smashp:oz,smeparsl:az,smid:sz,smile:lz,smt:cz,smte:uz,smtes:hz,SOFTcy:dz,softcy:fz,solbar:pz,solb:mz,sol:gz,Sopf:vz,sopf:bz,spades:yz,spadesuit:wz,spar:xz,sqcap:kz,sqcaps:Cz,sqcup:Az,sqcups:Tz,Sqrt:Sz,sqsub:Ez,sqsube:Mz,sqsubset:Oz,sqsubseteq:Nz,sqsup:Lz,sqsupe:Dz,sqsupset:Pz,sqsupseteq:Iz,square:Rz,Square:Fz,SquareIntersection:zz,SquareSubset:Bz,SquareSubsetEqual:jz,SquareSuperset:Hz,SquareSupersetEqual:Uz,SquareUnion:qz,squarf:Wz,squ:Gz,squf:Vz,srarr:Yz,Sscr:Kz,sscr:Zz,ssetmn:Xz,ssmile:Jz,sstarf:Qz,Star:_z,star:$z,starf:eB,straightepsilon:tB,straightphi:nB,strns:rB,sub:iB,Sub:oB,subdot:aB,subE:sB,sube:lB,subedot:cB,submult:uB,subnE:hB,subne:dB,subplus:fB,subrarr:pB,subset:mB,Subset:gB,subseteq:vB,subseteqq:bB,SubsetEqual:yB,subsetneq:wB,subsetneqq:xB,subsim:kB,subsub:CB,subsup:AB,succapprox:TB,succ:SB,succcurlyeq:EB,Succeeds:MB,SucceedsEqual:OB,SucceedsSlantEqual:NB,SucceedsTilde:LB,succeq:DB,succnapprox:PB,succneqq:IB,succnsim:RB,succsim:FB,SuchThat:zB,sum:BB,Sum:jB,sung:HB,sup1:UB,sup2:qB,sup3:WB,sup:GB,Sup:VB,supdot:YB,supdsub:KB,supE:ZB,supe:XB,supedot:JB,Superset:QB,SupersetEqual:_B,suphsol:$B,suphsub:ej,suplarr:tj,supmult:nj,supnE:rj,supne:ij,supplus:oj,supset:aj,Supset:sj,supseteq:lj,supseteqq:cj,supsetneq:uj,supsetneqq:hj,supsim:dj,supsub:fj,supsup:pj,swarhk:mj,swarr:gj,swArr:vj,swarrow:bj,swnwar:yj,szlig:wj,Tab:xj,target:kj,Tau:Cj,tau:Aj,tbrk:Tj,Tcaron:Sj,tcaron:Ej,Tcedil:Mj,tcedil:Oj,Tcy:Nj,tcy:Lj,tdot:Dj,telrec:Pj,Tfr:Ij,tfr:Rj,there4:Fj,therefore:zj,Therefore:Bj,Theta:jj,theta:Hj,thetasym:Uj,thetav:qj,thickapprox:Wj,thicksim:Gj,ThickSpace:Vj,ThinSpace:Yj,thinsp:Kj,thkap:Zj,thksim:Xj,THORN:Jj,thorn:Qj,tilde:_j,Tilde:$j,TildeEqual:eH,TildeFullEqual:tH,TildeTilde:nH,timesbar:rH,timesb:iH,times:oH,timesd:aH,tint:sH,toea:lH,topbot:cH,topcir:uH,top:hH,Topf:dH,topf:fH,topfork:pH,tosa:mH,tprime:gH,trade:vH,TRADE:bH,triangle:yH,triangledown:wH,triangleleft:xH,trianglelefteq:kH,triangleq:CH,triangleright:AH,trianglerighteq:TH,tridot:SH,trie:EH,triminus:MH,TripleDot:OH,triplus:NH,trisb:LH,tritime:DH,trpezium:PH,Tscr:IH,tscr:RH,TScy:FH,tscy:zH,TSHcy:BH,tshcy:jH,Tstrok:HH,tstrok:UH,twixt:qH,twoheadleftarrow:WH,twoheadrightarrow:GH,Uacute:VH,uacute:YH,uarr:KH,Uarr:ZH,uArr:XH,Uarrocir:JH,Ubrcy:QH,ubrcy:_H,Ubreve:$H,ubreve:eU,Ucirc:tU,ucirc:nU,Ucy:rU,ucy:iU,udarr:oU,Udblac:aU,udblac:sU,udhar:lU,ufisht:cU,Ufr:uU,ufr:hU,Ugrave:dU,ugrave:fU,uHar:pU,uharl:mU,uharr:gU,uhblk:vU,ulcorn:bU,ulcorner:yU,ulcrop:wU,ultri:xU,Umacr:kU,umacr:CU,uml:AU,UnderBar:TU,UnderBrace:SU,UnderBracket:EU,UnderParenthesis:MU,Union:OU,UnionPlus:NU,Uogon:LU,uogon:DU,Uopf:PU,uopf:IU,UpArrowBar:RU,uparrow:FU,UpArrow:zU,Uparrow:BU,UpArrowDownArrow:jU,updownarrow:HU,UpDownArrow:UU,Updownarrow:qU,UpEquilibrium:WU,upharpoonleft:GU,upharpoonright:VU,uplus:YU,UpperLeftArrow:KU,UpperRightArrow:ZU,upsi:XU,Upsi:JU,upsih:QU,Upsilon:_U,upsilon:$U,UpTeeArrow:eq,UpTee:tq,upuparrows:nq,urcorn:rq,urcorner:iq,urcrop:oq,Uring:aq,uring:sq,urtri:lq,Uscr:cq,uscr:uq,utdot:hq,Utilde:dq,utilde:fq,utri:pq,utrif:mq,uuarr:gq,Uuml:vq,uuml:bq,uwangle:yq,vangrt:wq,varepsilon:xq,varkappa:kq,varnothing:Cq,varphi:Aq,varpi:Tq,varpropto:Sq,varr:Eq,vArr:Mq,varrho:Oq,varsigma:Nq,varsubsetneq:Lq,varsubsetneqq:Dq,varsupsetneq:Pq,varsupsetneqq:Iq,vartheta:Rq,vartriangleleft:Fq,vartriangleright:zq,vBar:Bq,Vbar:jq,vBarv:Hq,Vcy:Uq,vcy:qq,vdash:Wq,vDash:Gq,Vdash:Vq,VDash:Yq,Vdashl:Kq,veebar:Zq,vee:Xq,Vee:Jq,veeeq:Qq,vellip:_q,verbar:$q,Verbar:eW,vert:tW,Vert:nW,VerticalBar:rW,VerticalLine:iW,VerticalSeparator:oW,VerticalTilde:aW,VeryThinSpace:sW,Vfr:lW,vfr:cW,vltri:uW,vnsub:hW,vnsup:dW,Vopf:fW,vopf:pW,vprop:mW,vrtri:gW,Vscr:vW,vscr:bW,vsubnE:yW,vsubne:wW,vsupnE:xW,vsupne:kW,Vvdash:CW,vzigzag:AW,Wcirc:TW,wcirc:SW,wedbar:EW,wedge:MW,Wedge:OW,wedgeq:NW,weierp:LW,Wfr:DW,wfr:PW,Wopf:IW,wopf:RW,wp:FW,wr:zW,wreath:BW,Wscr:jW,wscr:HW,xcap:UW,xcirc:qW,xcup:WW,xdtri:GW,Xfr:VW,xfr:YW,xharr:KW,xhArr:ZW,Xi:XW,xi:JW,xlarr:QW,xlArr:_W,xmap:$W,xnis:eG,xodot:tG,Xopf:nG,xopf:rG,xoplus:iG,xotime:oG,xrarr:aG,xrArr:sG,Xscr:lG,xscr:cG,xsqcup:uG,xuplus:hG,xutri:dG,xvee:fG,xwedge:pG,Yacute:mG,yacute:gG,YAcy:vG,yacy:bG,Ycirc:yG,ycirc:wG,Ycy:xG,ycy:kG,yen:CG,Yfr:AG,yfr:TG,YIcy:SG,yicy:EG,Yopf:MG,yopf:OG,Yscr:NG,yscr:LG,YUcy:DG,yucy:PG,yuml:IG,Yuml:RG,Zacute:FG,zacute:zG,Zcaron:BG,zcaron:jG,Zcy:HG,zcy:UG,Zdot:qG,zdot:WG,zeetrf:GG,ZeroWidthSpace:VG,Zeta:YG,zeta:KG,zfr:ZG,Zfr:XG,ZHcy:JG,zhcy:QG,zigrarr:_G,zopf:$G,Zopf:eV,Zscr:tV,zscr:nV,zwj:rV,zwnj:iV},aV="Á",sV="á",lV="Â",cV="â",uV="´",hV="Æ",dV="æ",fV="À",pV="à",mV="&",gV="&",vV="Å",bV="å",yV="Ã",wV="ã",xV="Ä",kV="ä",CV="¦",AV="Ç",TV="ç",SV="¸",EV="¢",MV="©",OV="©",NV="¤",LV="°",DV="÷",PV="É",IV="é",RV="Ê",FV="ê",zV="È",BV="è",jV="Ð",HV="ð",UV="Ë",qV="ë",WV="½",GV="¼",VV="¾",YV=">",KV=">",ZV="Í",XV="í",JV="Î",QV="î",_V="¡",$V="Ì",eY="ì",tY="¿",nY="Ï",rY="ï",iY="«",oY="<",aY="<",sY="¯",lY="µ",cY="·",uY=" ",hY="¬",dY="Ñ",fY="ñ",pY="Ó",mY="ó",gY="Ô",vY="ô",bY="Ò",yY="ò",wY="ª",xY="º",kY="Ø",CY="ø",AY="Õ",TY="õ",SY="Ö",EY="ö",MY="¶",OY="±",NY="£",LY='"',DY='"',PY="»",IY="®",RY="®",FY="§",zY="­",BY="¹",jY="²",HY="³",UY="ß",qY="Þ",WY="þ",GY="×",VY="Ú",YY="ú",KY="Û",ZY="û",XY="Ù",JY="ù",QY="¨",_Y="Ü",$Y="ü",eK="Ý",tK="ý",nK="¥",rK="ÿ",iK={Aacute:aV,aacute:sV,Acirc:lV,acirc:cV,acute:uV,AElig:hV,aelig:dV,Agrave:fV,agrave:pV,amp:mV,AMP:gV,Aring:vV,aring:bV,Atilde:yV,atilde:wV,Auml:xV,auml:kV,brvbar:CV,Ccedil:AV,ccedil:TV,cedil:SV,cent:EV,copy:MV,COPY:OV,curren:NV,deg:LV,divide:DV,Eacute:PV,eacute:IV,Ecirc:RV,ecirc:FV,Egrave:zV,egrave:BV,ETH:jV,eth:HV,Euml:UV,euml:qV,frac12:WV,frac14:GV,frac34:VV,gt:YV,GT:KV,Iacute:ZV,iacute:XV,Icirc:JV,icirc:QV,iexcl:_V,Igrave:$V,igrave:eY,iquest:tY,Iuml:nY,iuml:rY,laquo:iY,lt:oY,LT:aY,macr:sY,micro:lY,middot:cY,nbsp:uY,not:hY,Ntilde:dY,ntilde:fY,Oacute:pY,oacute:mY,Ocirc:gY,ocirc:vY,Ograve:bY,ograve:yY,ordf:wY,ordm:xY,Oslash:kY,oslash:CY,Otilde:AY,otilde:TY,Ouml:SY,ouml:EY,para:MY,plusmn:OY,pound:NY,quot:LY,QUOT:DY,raquo:PY,reg:IY,REG:RY,sect:FY,shy:zY,sup1:BY,sup2:jY,sup3:HY,szlig:UY,THORN:qY,thorn:WY,times:GY,Uacute:VY,uacute:YY,Ucirc:KY,ucirc:ZY,Ugrave:XY,ugrave:JY,uml:QY,Uuml:_Y,uuml:$Y,Yacute:eK,yacute:tK,yen:nK,yuml:rK},oK="&",aK="'",sK=">",lK="<",cK='"',uK={amp:oK,apos:aK,gt:sK,lt:lK,quot:cK},hK={},dK={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},fK=Io&&Io.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(hK,"__esModule",{value:!0});var pK=fK(dK),mK=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};function gK(e){return e>=55296&&e<=57343||e>1114111?"�":(e in pK.default&&(e=pK.default[e]),mK(e))}hK.default=gK;var vK=Io&&Io.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ho,"__esModule",{value:!0}),Ho.decodeHTML=Ho.decodeHTMLStrict=Ho.decodeXML=void 0;var bK=vK(oV),yK=vK(iK),wK=vK(uK),xK=vK(hK),kK=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function CK(e){var t=TK(e);return function(e){return String(e).replace(kK,t)}}Ho.decodeXML=CK(wK.default),Ho.decodeHTMLStrict=CK(bK.default);var AK=function(e,t){return e1?zK(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}function jK(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(FK,BK)}}var HK=new RegExp(NK.source+"|"+FK.source,"g");function UK(e){return e.replace(HK,BK)}function qK(e){return e.replace(NK,BK)}function WK(e){return function(t){return t.replace(HK,(function(t){return e[t]||BK(t)}))}}SK.escape=UK,SK.escapeUTF8=qK,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=Ho,n=SK;function r(e,n){return(!n||n<=0?t.decodeXML:t.decodeHTML)(e)}function i(e,n){return(!n||n<=0?t.decodeXML:t.decodeHTMLStrict)(e)}function o(e,t){return(!t||t<=0?n.encodeXML:n.encodeHTML)(e)}e.decode=r,e.decodeStrict=i,e.encode=o;var a=SK;Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return a.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return a.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return a.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return a.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return a.encodeHTML}});var s=Ho;Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return s.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return s.decodeXML}})}(jo);var GK="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",VK=92,YK=/[\\&]/,KK="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",ZK=new RegExp("\\\\"+KK+"|"+GK,"gi"),XK='[&<>"]',JK=new RegExp(XK,"g"),QK=function(e){return e.charCodeAt(0)===VK?e.charAt(1):jo.decodeHTML(e)};function _K(e){return YK.test(e)?e.replace(ZK,QK):e}function $K(e){try{return Bo(e)}catch(t){return e}}function eZ(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return e}}function tZ(e){return JK.test(e)?e.replace(JK,eZ):e}function nZ(e,t){for(var n=[],r=0;r`\\x00-\\x20]+",BZ="'[^']*'",jZ='"[^"]*"',HZ="(?:"+zZ+"|"+BZ+"|"+jZ+")",UZ="(?:\\s*=\\s*"+HZ+")",qZ="(?:\\s+"+FZ+UZ+"?)",WZ="<"+RZ+qZ+"*\\s*/?>",GZ="]",VZ="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",YZ="[<][?].*?[?][>]",KZ="]*>",ZZ="",XZ="(?:"+WZ+"|"+GZ+"|"+VZ+"|"+YZ+"|"+KZ+"|"+ZZ+")",JZ=new RegExp("^"+XZ,"i");if(String.fromCodePoint)IZ=function(e){try{return String.fromCodePoint(e)}catch(t){if(t instanceof RangeError)return String.fromCharCode(65533);throw t}};else{var QZ=String.fromCharCode,_Z=Math.floor;IZ=function(){for(var e=[],t=0;t1114111||_Z(c)!==c)return String.fromCharCode(65533);c<=65535?o.push(c):(c-=65536,n=55296+(c>>10),r=c%1024+56320,o.push(n,r)),(a+1===s||o.length>i)&&(l+=QZ.apply(void 0,o),o.length=0)}return l}}var $Z=IZ,eX="(?:[w-]+.)*[A-Za-z0-9-]+.[A-Za-z0-9-]+",tX="[^<\\s]*[^a&&h.push(PZ(i.substring(a,m[0]),u(a,m[0]-1)));var b=AZ("link",u.apply(void 0,m));b.appendChild(PZ(v,u.apply(void 0,m))),b.destination=g,b.extendedAutolink=!0,h.push(b),a=m[1]+1}a?@\[\]\\^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\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\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\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-\u2E42\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]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/),IX=new RegExp('^(?:"('+DX+'|[^"\\x00])*"|\'('+DX+"|[^'\\x00])*'|\\(("+DX+"|[^()\\x00])*\\))"),RX=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,FX=new RegExp("^"+KK),zX=new RegExp("^"+GK,"i"),BX=/`+/,jX=/^`+/,HX=/\.\.\./g,UX=/--+/g,qX=/^<([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])?)*)>/,WX=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,GX=/^ *(?:\n *)?/,VX=/^[ \t\n\x0b\x0c\x0d]/,YX=/^\s/,KX=/ *$/,ZX=/^ */,XX=/^ *(?:\n|$)/,JX=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/,QX=/^[^\n`\[\]\\!<&*_'"~$]+/m,_X=function(){function e(e){this.subject="",this.delimiters=null,this.brackets=null,this.pos=0,this.lineStartNum=0,this.lineIdx=0,this.lineOffsets=[0],this.linePosOffset=0,this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.options=e}return e.prototype.sourcepos=function(e,t){var n=this.linePosOffset+this.lineOffsets[this.lineIdx],r=this.lineStartNum+this.lineIdx,i=[r,e+n];return"number"===typeof t?[i,[r,t+n]]:i},e.prototype.nextLine=function(){this.lineIdx+=1,this.linePosOffset=-this.pos},e.prototype.match=function(e){var t=e.exec(this.subject.slice(this.pos));return null===t?null:(this.pos+=t.index+t[0].length,t[0])},e.prototype.peek=function(){return this.pos1){var l=cX(s);this.lineIdx+=s.length-1,this.linePosOffset=-(this.pos-l.length-n.length),a[1]=this.sourcepos(this.pos),o=s.join(" ")}var c=AZ("code",a);return o.length>0&&null!==o.match(/[^ ]/)&&" "==o[0]&&" "==o[o.length-1]?c.literal=o.slice(1,o.length-1):c.literal=o,c.tickCount=n.length,e.appendChild(c),!0}return this.pos=i,e.appendChild(PZ(n,this.sourcepos(t,this.pos-1))),!0},e.prototype.parseBackslash=function(e){var t,n=this.subject;this.pos+=1;var r=this.pos;return this.peek()===mX?(this.pos+=1,t=AZ("linebreak",this.sourcepos(this.pos-1,this.pos)),e.appendChild(t),this.nextLine()):FX.test(n.charAt(this.pos))?(e.appendChild(PZ(n.charAt(this.pos),this.sourcepos(r,this.pos))),this.pos+=1):e.appendChild(PZ("\\",this.sourcepos(r,r))),!0},e.prototype.parseAutolink=function(e){var t,n,r,i=this.pos+1;return(t=this.match(qX))?(n=t.slice(1,t.length-1),r=AZ("link",this.sourcepos(i,this.pos)),r.destination=$K("mailto:"+n),r.title="",r.appendChild(PZ(n,this.sourcepos(i+1,this.pos-1))),e.appendChild(r),!0):!!(t=this.match(WX))&&(n=t.slice(1,t.length-1),r=AZ("link",this.sourcepos(i,this.pos)),r.destination=$K(n),r.title="",r.appendChild(PZ(n,this.sourcepos(i+1,this.pos-1))),e.appendChild(r),!0)},e.prototype.parseHtmlTag=function(e){var t=this.pos+1,n=this.match(JZ);if(null===n)return!1;var r=AZ("htmlInline",this.sourcepos(t,this.pos));return r.literal=n,e.appendChild(r),!0},e.prototype.scanDelims=function(e){var t=0,n=this.pos;if(e===OX||e===NX)t++,this.pos++;else while(this.peek()===e)t++,this.pos++;if(0===t||t<2&&(e===xX||e===LX))return this.pos=n,null;var r,i=0===n?"\n":this.subject.charAt(n-1),o=this.peek();r=-1===o?"\n":$Z(o);var a,s,l=YX.test(r),c=PX.test(r),u=YX.test(i),h=PX.test(i),d=!l&&(!c||u||h),f=!u&&(!h||l||c);return e===vX?(a=d&&(!f||h),s=f&&(!d||c)):e===OX||e===NX?(a=d&&!f,s=f):e===LX?(a=!l,s=!u):(a=d,s=f),this.pos=n,{numdelims:t,canOpen:a,canClose:s}},e.prototype.handleDelim=function(e,t){var n=this.scanDelims(e);if(!n)return!1;var r,i=n.numdelims,o=this.pos+1;this.pos+=i,r=e===OX?"’":e===NX?"“":this.subject.slice(o-1,this.pos);var a=PZ(r,this.sourcepos(o,this.pos));return t.appendChild(a),(n.canOpen||n.canClose)&&(this.options.smart||e!==OX&&e!==NX)&&(this.delimiters={cc:e,numdelims:i,origdelims:i,node:a,previous:this.delimiters,next:null,canOpen:n.canOpen,canClose:n.canClose},this.delimiters.previous&&(this.delimiters.previous.next=this.delimiters)),!0},e.prototype.removeDelimiter=function(e){null!==e.previous&&(e.previous.next=e.next),null===e.next?this.delimiters=e.previous:e.next.previous=e.previous},e.prototype.removeDelimitersBetween=function(e,t){e.next!==t&&(e.next=t,t.previous=e)},e.prototype.processEmphasis=function(e){var t,n,r,i,o,a,s,l=!1,c=(t={},t[vX]=[e,e,e],t[gX]=[e,e,e],t[OX]=[e],t[NX]=[e],t[xX]=[e],t[LX]=[e],t);r=this.delimiters;while(null!==r&&r.previous!==e)r=r.previous;while(null!==r){var u=r.cc,h=u===vX||u===gX;if(r.canClose){n=r.previous,s=!1;while(null!==n&&n!==e&&n!==c[u][h?r.origdelims%3:0]){if(l=h&&(r.canOpen||n.canClose)&&r.origdelims%3!==0&&(n.origdelims+r.origdelims)%3===0,n.cc===r.cc&&n.canOpen&&!l){s=!0;break}n=n.previous}if(i=r,h||u===xX||u===LX)if(s){if(n){var d=r.numdelims>=2&&n.numdelims>=2?2:1,f=h?0:1;o=n.node,a=r.node;var p=h?1===d?"emph":"strong":"strike";u===LX&&(p="customInline");var m=AZ(p),g=o.sourcepos[1],v=a.sourcepos[0];m.sourcepos=[[g[0],g[1]-d+1],[v[0],v[1]+d-1]],o.sourcepos[1][1]-=d,a.sourcepos[0][1]+=d,o.literal=o.literal.slice(d),a.literal=a.literal.slice(d),n.numdelims-=d,r.numdelims-=d;var b=o.next,y=void 0;while(b&&b!==a)y=b.next,b.unlink(),m.appendChild(b),b=y;if(u===LX){var w=m.firstChild,x=w.literal||"",k=x.split(/\s/)[0];m.info=k,x.length<=k.length?w.unlink():(w.sourcepos[0][1]+=k.length,w.literal=x.replace(k+" ",""))}if(o.insertAfter(m),this.removeDelimitersBetween(n,r),n.numdelims<=f&&(0===n.numdelims&&o.unlink(),this.removeDelimiter(n)),r.numdelims<=f){0===r.numdelims&&a.unlink();var C=r.next;this.removeDelimiter(r),r=C}}}else r=r.next;else u===OX?(r.node.literal="’",s&&(n.node.literal="‘"),r=r.next):u===NX&&(r.node.literal="”",s&&(n.node.literal="“"),r=r.next);s||(c[u][h?i.origdelims%3:0]=i.previous,i.canOpen||this.removeDelimiter(i))}else r=r.next}while(null!==this.delimiters&&this.delimiters!==e)this.removeDelimiter(this.delimiters)},e.prototype.parseLinkTitle=function(){var e=this.match(IX);return null===e?null:_K(e.substr(1,e.length-2))},e.prototype.parseLinkDestination=function(){var e=this.match(RX);if(null===e){if(this.peek()===kX)return null;var t=this.pos,n=0,r=void 0;while(-1!==(r=this.peek()))if(r===AX&&FX.test(this.subject.charAt(this.pos+1)))this.pos+=1,-1!==this.peek()&&(this.pos+=1);else if(r===SX)this.pos+=1,n+=1;else if(r===EX){if(n<1)break;this.pos+=1,n-=1}else{if(null!==VX.exec($Z(r)))break;this.pos+=1}return this.pos===t&&r!==EX||0!==n?null:(e=this.subject.substr(t,this.pos-t),$K(_K(e)))}return $K(_K(e.substr(1,e.length-2)))},e.prototype.parseLinkLabel=function(){var e=this.match(JX);return null===e||e.length>1001?0:e.length},e.prototype.parseOpenBracket=function(e){var t=this.pos;this.pos+=1;var n=PZ("[",this.sourcepos(this.pos,this.pos));return e.appendChild(n),this.addBracket(n,t,!1),!0},e.prototype.parseBang=function(e){var t=this.pos;if(this.pos+=1,this.peek()===yX){this.pos+=1;var n=PZ("![",this.sourcepos(this.pos-1,this.pos));e.appendChild(n),this.addBracket(n,t+1,!0)}else{n=PZ("!",this.sourcepos(this.pos,this.pos));e.appendChild(n)}return!0},e.prototype.parseCloseBracket=function(e){var t=null,n=null,r=!1;this.pos+=1;var i=this.pos,o=this.brackets;if(null===o)return e.appendChild(PZ("]",this.sourcepos(i,i))),!0;if(!o.active)return e.appendChild(PZ("]",this.sourcepos(i,i))),this.removeBracket(),!0;var a=o.image,s=this.pos;this.peek()===SX&&(this.pos++,this.spnl()&&null!==(t=this.parseLinkDestination())&&this.spnl()&&(VX.test(this.subject.charAt(this.pos-1))&&(n=this.parseLinkTitle()),1)&&this.spnl()&&this.peek()===EX?(this.pos+=1,r=!0):this.pos=s);var l="";if(!r){var c=this.pos,u=this.parseLinkLabel();if(u>2?l=this.subject.slice(c,c+u):o.bracketAfter||(l=this.subject.slice(o.index,i)),0===u&&(this.pos=s),l){l=uX(l);var h=this.refMap[l];h&&(t=h.destination,n=h.title,r=!0)}}if(r){var d=AZ(a?"image":"link");d.destination=t,d.title=n||"",d.sourcepos=[o.startpos,this.sourcepos(this.pos)];var f=o.node.next,p=void 0;while(f)p=f.next,f.unlink(),d.appendChild(f),f=p;if(e.appendChild(d),this.processEmphasis(o.previousDelimiter),this.removeBracket(),o.node.unlink(),!a){o=this.brackets;while(null!==o)o.image||(o.active=!1),o=o.previous}return this.options.referenceDefinition&&(this.refLinkCandidateMap[e.id]={node:e,refLabel:l}),!0}return this.removeBracket(),this.pos=i,e.appendChild(PZ("]",this.sourcepos(i,i))),this.options.referenceDefinition&&(this.refLinkCandidateMap[e.id]={node:e,refLabel:l}),!0},e.prototype.addBracket=function(e,t,n){null!==this.brackets&&(this.brackets.bracketAfter=!0),this.brackets={node:e,startpos:this.sourcepos(t+(n?0:1)),previous:this.brackets,previousDelimiter:this.delimiters,index:t,image:n,active:!0}},e.prototype.removeBracket=function(){this.brackets&&(this.brackets=this.brackets.previous)},e.prototype.parseEntity=function(e){var t,n=this.pos+1;return!!(t=this.match(zX))&&(e.appendChild(PZ(jo.decodeHTML(t),this.sourcepos(n,this.pos))),!0)},e.prototype.parseString=function(e){var t,n=this.pos+1;if(t=this.match(QX)){if(this.options.smart){var r=t.replace(HX,"…").replace(UX,(function(e){var t=0,n=0;return e.length%3===0?n=e.length/3:e.length%2===0?t=e.length/2:e.length%3===2?(t=1,n=(e.length-2)/3):(t=2,n=(e.length-4)/3),nZ("—",n)+nZ("–",t)}));e.appendChild(PZ(r,this.sourcepos(n,this.pos)))}else{var i=PZ(t,this.sourcepos(n,this.pos));e.appendChild(i)}return!0}return!1},e.prototype.parseNewline=function(e){this.pos+=1;var t=e.lastChild;if(t&&"text"===t.type&&" "===t.literal[t.literal.length-1]){var n=" "===t.literal[t.literal.length-2],r=t.literal.length;t.literal=t.literal.replace(KX,"");var i=r-t.literal.length;t.sourcepos[1][1]-=i,e.appendChild(AZ(n?"linebreak":"softbreak",this.sourcepos(this.pos-i,this.pos)))}else e.appendChild(AZ("softbreak",this.sourcepos(this.pos,this.pos)));return this.nextLine(),this.match(ZX),!0},e.prototype.parseReference=function(e,t){if(!this.options.referenceDefinition)return 0;this.subject=e.stringContent,this.pos=0;var n=null,r=this.pos,i=this.parseLinkLabel();if(0===i)return 0;var o=this.subject.substr(0,i);if(this.peek()!==MX)return this.pos=r,0;this.pos++,this.spnl();var a=this.parseLinkDestination();if(null===a)return this.pos=r,0;var s=this.pos;this.spnl(),this.pos!==s&&(n=this.parseLinkTitle()),null===n&&(n="",this.pos=s);var l=!0;if(null===this.match(XX)&&(""===n?l=!1:(n="",this.pos=s,l=null!==this.match(XX))),!l)return this.pos=r,0;var c=uX(o);if(""===c)return this.pos=r,0;var u=this.getReferenceDefSourcepos(e);e.sourcepos[0][0]=u[1][0]+1;var h=AZ("refDef",u);return h.title=n,h.dest=a,h.label=c,e.insertBefore(h),t[c]?this.refDefCandidateMap[h.id]=h:t[c]=FQ(h),this.pos-r},e.prototype.mergeTextNodes=function(e){var t,n=[];while(t=e.next()){var r=t.entering,i=t.node;if(r&&"text"===i.type)n.push(i);else if(1===n.length)n=[];else if(n.length>1){var o=n[0],a=n[n.length-1];o.sourcepos&&a.sourcepos&&(o.sourcepos[1]=a.sourcepos[1]),o.next=a.next,o.next&&(o.next.prev=o);for(var s=1;s0&&yJ(vJ(n,e.offset)))e.advanceOffset(1,!0),i--;return 0},finalize:function(e,t){if(null!==t.stringContent){var n=t.stringContent,r=n.indexOf("\n"),i=n.slice(0,r),o=n.slice(r+1),a=i.match(/^(\s*)(.*)/);t.info=_K(a[2].trim()),t.literal=o,t.stringContent=null}},canContain:function(){return!1},acceptsLines:!0},kJ={continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!0},CJ={continue:function(){return 0},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},AJ={continue:function(){return 0},finalize:function(e,t){var n=t.firstChild;while(n){if(gJ(n)&&n.next){t.listData.tight=!1;break}var r=n.firstChild;while(r){if(gJ(r)&&(n.next||r.next)){t.listData.tight=!1;break}r=r.next}n=n.next}},canContain:function(e){return"item"===e},acceptsLines:!1},TJ={continue:function(e){var t=e.currentLine;return e.indented||vJ(t,e.nextNonspace)!==uJ?1:(e.advanceNextNonspace(),e.advanceOffset(1,!1),yJ(vJ(t,e.offset))&&e.advanceOffset(1,!0),0)},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},SJ={continue:function(e,t){if(e.blank){if(null===t.firstChild)return 1;e.advanceNextNonspace()}else{if(!(e.indent>=t.listData.markerOffset+t.listData.padding))return 1;e.advanceOffset(t.listData.markerOffset+t.listData.padding,!0)}return 0},finalize:eJ,canContain:function(e){return"item"!==e},acceptsLines:!1},EJ={continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},MJ={continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},OJ={continue:function(e,t){var n=e.currentLine,r=e.indent;if(t.isFenced){var i=r<=3&&n.charAt(e.nextNonspace)===t.fenceChar&&n.slice(e.nextNonspace).match(mJ);if(i&&i[0].length>=t.fenceLength)return e.lastLineLength=e.offset+r+i[0].length,e.finalize(t,e.lineNumber),2;var o=t.fenceOffset;while(o>0&&yJ(vJ(n,e.offset)))e.advanceOffset(1,!0),o--}else if(r>=lJ)e.advanceOffset(lJ,!0);else{if(!e.blank)return 1;e.advanceNextNonspace()}return 0},finalize:function(e,t){var n;if(null!==t.stringContent){if(t.isFenced){var r=t.stringContent,i=r.indexOf("\n"),o=r.slice(0,i),a=r.slice(i+1),s=o.match(/^(\s*)(.*)/);t.infoPadding=s[1].length,t.info=_K(s[2].trim()),t.literal=a}else t.literal=null===(n=t.stringContent)||void 0===n?void 0:n.replace(/(\n *)+$/,"\n");t.stringContent=null}},canContain:function(){return!1},acceptsLines:!0},NJ={continue:function(e,t){return!e.blank||6!==t.htmlBlockType&&7!==t.htmlBlockType?0:1},finalize:function(e,t){var n;t.literal=(null===(n=t.stringContent)||void 0===n?void 0:n.replace(/(\n *)+$/,""))||null,t.stringContent=null},canContain:function(){return!1},acceptsLines:!0},LJ={continue:function(e){return e.blank?1:0},finalize:function(e,t){if(null!==t.stringContent){var n,r=!1;while(vJ(t.stringContent,0)===fJ&&(n=e.inlineParser.parseReference(t,e.refMap)))t.stringContent=t.stringContent.slice(n),r=!0;r&&bJ(t.stringContent)&&t.unlink()}},canContain:function(){return!1},acceptsLines:!0},DJ=kJ,PJ=kJ,IJ={document:CJ,list:AJ,blockQuote:TJ,item:SJ,heading:EJ,thematicBreak:MJ,codeBlock:OJ,htmlBlock:NJ,paragraph:LJ,table:tJ,tableBody:nJ,tableHead:rJ,tableRow:aJ,tableCell:sJ,tableDelimRow:iJ,tableDelimCell:oJ,refDef:DJ,customBlock:xJ,frontMatter:PJ};function RJ(e){for(var t=0,n=0,r=[],i=0;i=o.columns.length&&(e.ignored=!0),i.appendChild(e)})),2},HJ=/^(\$\$)(\s*[a-zA-Z])+/,UJ=/^(\$\$)(\s*[a-zA-Z])+.*(\$\$)/,qJ=function(e){var t;if(!e.indented&&!UJ.test(e.currentLine)&&(t=e.currentLine.match(HJ))){var n=t[1].length;e.closeUnmatchedBlocks();var r=e.addChild("customBlock",e.nextNonspace);return r.syntaxLength=n,r.offset=e.indent,e.advanceNextNonspace(),e.advanceOffset(n,!1),2}return 0},WJ=/^`{3,}(?!.*`)|^~{3,}/,GJ=[/./,/^<(?:script|pre|style)(?:\s|>|$)/i,/^/,/\?>/,/>/,/\]\]>/],dQ=/^[#`~*+_=<>0-9-;$]/,fQ=/\r\n|\n|\r/;function pQ(){return AZ("document",[[1,1],[0,0]])}var mQ={smart:!1,tagFilter:!1,extendedAutolinks:!1,disallowedHtmlBlockTags:[],referenceDefinition:!1,disallowDeepHeading:!1,customParser:null,frontMatter:!1},gQ=function(){function e(e){this.options=Do(Do({},mQ),e),this.doc=pQ(),this.tip=this.doc,this.oldtip=this.doc,this.lineNumber=0,this.offset=0,this.column=0,this.nextNonspace=0,this.nextNonspaceColumn=0,this.indent=0,this.currentLine="",this.indented=!1,this.blank=!1,this.partiallyConsumedTab=!1,this.allClosed=!0,this.lastMatchedContainer=this.doc,this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.lastLineLength=0,this.lines=[],this.options.frontMatter&&(IJ.frontMatter=uQ,sQ.unshift(cQ)),this.inlineParser=new _X(this.options)}return e.prototype.advanceOffset=function(e,t){void 0===t&&(t=!1);var n,r,i,o=this.currentLine;while(e>0&&(i=o[this.offset]))"\t"===i?(n=4-this.column%4,t?(this.partiallyConsumedTab=n>e,r=n>e?e:n,this.column+=r,this.offset+=this.partiallyConsumedTab?0:1,e-=r):(this.partiallyConsumedTab=!1,this.column+=n,this.offset+=1,e-=1)):(this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,e-=1)},e.prototype.advanceNextNonspace=function(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1},e.prototype.findNextNonspace=function(){var e,t=this.currentLine,n=this.offset,r=this.column;while(""!==(e=t.charAt(n)))if(" "===e)n++,r++;else{if("\t"!==e)break;n++,r+=4-r%4}this.blank="\n"===e||"\r"===e||""===e,this.nextNonspace=n,this.nextNonspaceColumn=r,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=lJ},e.prototype.addLine=function(){if(this.partiallyConsumedTab){this.offset+=1;var e=4-this.column%4;this.tip.stringContent+=nZ(" ",e)}this.tip.lineOffsets?this.tip.lineOffsets.push(this.offset):this.tip.lineOffsets=[this.offset],this.tip.stringContent+=this.currentLine.slice(this.offset)+"\n"},e.prototype.addChild=function(e,t){while(!IJ[this.tip.type].canContain(e))this.finalize(this.tip,this.lineNumber-1);var n=t+1,r=AZ(e,[[this.lineNumber,n],[0,0]]);return r.stringContent="",this.tip.appendChild(r),this.tip=r,r},e.prototype.closeUnmatchedBlocks=function(){if(!this.allClosed){while(this.oldtip!==this.lastMatchedContainer){var e=this.oldtip.parent;this.finalize(this.oldtip,this.lineNumber-1),this.oldtip=e}this.allClosed=!0}},e.prototype.finalize=function(e,t){var n=e.parent;e.open=!1,e.sourcepos[1]=[t,this.lastLineLength],IJ[e.type].finalize(this,e),this.tip=n},e.prototype.processInlines=function(e){var t,n=this.options.customParser,r=e.walker();this.inlineParser.refMap=this.refMap,this.inlineParser.refLinkCandidateMap=this.refLinkCandidateMap,this.inlineParser.refDefCandidateMap=this.refDefCandidateMap,this.inlineParser.options=this.options;while(t=r.next()){var i=t.node,o=t.entering,a=i.type;n&&n[a]&&n[a](i,{entering:o,options:this.options}),o||"paragraph"!==a&&"heading"!==a&&("tableCell"!==a||i.ignored)||this.inlineParser.parse(i)}},e.prototype.incorporateLine=function(e){var t=this.doc;this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,-1!==e.indexOf("\0")&&(e=e.replace(/\0/g,"�")),this.currentLine=e;var n,r=!0;while((n=t.lastChild)&&n.open){switch(t=n,this.findNextNonspace(),IJ[t.type]["continue"](this,t)){case 0:break;case 1:r=!1;break;case 2:return void(this.lastLineLength=e.length);default:throw new Error("continue returned illegal value, must be 0, 1, or 2")}if(!r){t=t.parent;break}}this.allClosed=t===this.oldtip,this.lastMatchedContainer=t;var i="paragraph"!==t.type&&IJ[t.type].acceptsLines,o=sQ.length;while(!i){if(this.findNextNonspace(),"table"!==t.type&&"tableBody"!==t.type&&"paragraph"!==t.type&&!this.indented&&!dQ.test(e.slice(this.nextNonspace))){this.advanceNextNonspace();break}var a=0;while(a=1&&t.htmlBlockType<=5&&hQ[t.htmlBlockType].test(this.currentLine.slice(this.offset))&&(this.lastLineLength=e.length,this.finalize(t,this.lineNumber))):this.offsett[0]?-1:e[1]t[1]?-1:0}function bQ(e,t){var n=e[0],r=e[1];return 1===vQ(r,t)?1:-1===vQ(n,t)?-1:0}function yQ(e,t){if(e.parent===t.parent&&e!==t){var n=e.next;while(n&&n!==t){for(var r=n.next,i=0,o=["parent","prev","next"];i=0;n-=1)e.prependChild(t[n])}function CQ(e,t){if(e&&e.parent&&0!==t){var n,r=e.parent.walker();r.resumeAt(e,!0);while(n=r.next()){var i=n.node,o=n.entering;o&&(i.sourcepos[0][0]+=t,i.sourcepos[1][0]+=t)}}}function AQ(e,t){var n=e[0],r=e[1];return r[0]t?-1:0}function TQ(e,t){var n=e.firstChild;while(n){var r=AQ(n.sourcepos,t);if(0===r)return n;if(-1===r)return n.prev||n;n=n.next}return e.lastChild}function SQ(e){while(e.lastChild)e=e.lastChild;return e}function EQ(e){while(e.parent&&"document"!==e.parent.type&&e.parent.sourcepos[0][0]===e.sourcepos[0][0])e=e.parent;return e}function MQ(e,t){var n=e.firstChild,r=null;while(n){var i=AQ(n.sourcepos,t);if(0===i){if(n.sourcepos[0][0]===t||!n.firstChild)return n;r=n,n=n.firstChild}else{if(-1===i)break;r=n,n=n.next}}return r?EQ(SQ(r)):null}function OQ(e,t){var n=e,r=null;while(n){var i=bQ(n.sourcepos,t);if(0===i){if(!n.firstChild)return n;r=n,n=n.firstChild}else{if(-1===i)return r;if(!n.next)return r;n=n.next}}return n}function NQ(e){return lZ(e)||null}function LQ(e,t,n){if(void 0===n&&(n=null),t){var r=t.walker();while(t&&t!==n){e(t);var i=r.next();if(!i)break;t=i.node}}}function DQ(e){var t=NQ(e);if(!t)return!0;while(t&&"document"!==t.type){if(!t.parent&&!t.prev&&!t.next)return!0;t=t.parent}return!1}var PQ=/\r\n|\n|\r/;function IQ(e){var t=e.match(/^[ \t]+/);if(t&&(t[0].length>=2||/\t/.test(t[0])))return!0;var n=t?e.slice(t.length):e;return ZJ.test(n)||XJ.test(n)}function RQ(e){return!bJ(e)&&-1!==e.indexOf("|")}function FQ(e){var t=e.id,n=e.title,r=e.sourcepos,i=e.dest;return{id:t,title:n,sourcepos:r,unlinked:!1,destination:i}}var zQ=function(){function e(e,t){this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.referenceDefinition=!!(null===t||void 0===t?void 0:t.referenceDefinition),this.parser=new gQ(t),this.parser.setRefMaps(this.refMap,this.refLinkCandidateMap,this.refDefCandidateMap),this.eventHandlerMap={change:[]},e=e||"",this.lineTexts=e.split(PQ),this.root=this.parser.parse(e,this.lineTexts)}return e.prototype.updateLineTexts=function(e,t,n){var r,i=e[0],o=e[1],a=t[0],s=t[1],l=n.split(PQ),c=l.length,u=this.lineTexts[i-1],h=this.lineTexts[a-1];l[0]=u.slice(0,o-1)+l[0],l[c-1]=l[c-1]+h.slice(s-1);var d=a-i+1;return(r=this.lineTexts).splice.apply(r,Po([i-1,d],l)),c-d},e.prototype.updateRootNodeState=function(){if(1===this.lineTexts.length&&""===this.lineTexts[0])return this.root.lastLineBlank=!0,void(this.root.sourcepos=[[1,1],[1,0]]);this.root.lastChild&&(this.root.lastLineBlank=this.root.lastChild.lastLineBlank);var e=this.lineTexts,t=e.length-1;while(""===e[t])t-=1;e.length-2>t&&(t+=1),this.root.sourcepos[1]=[t+1,e[t].length]},e.prototype.replaceRangeNodes=function(e,t,n){e?(xQ(e,n),yQ(e,t),[e.id,t.id].forEach((function(e){return cZ(e)})),e.unlink()):t?(xQ(t,n),cZ(t.id),t.unlink()):kQ(this.root,n)},e.prototype.getNodeRange=function(e,t){var n=TQ(this.root,e[0]),r=TQ(this.root,t[0]);return r&&r.next&&t[0]+1===r.next.sourcepos[0][0]&&(r=r.next),[n,r]},e.prototype.trigger=function(e,t){this.eventHandlerMap[e].forEach((function(e){e(t)}))},e.prototype.extendEndLine=function(e){while(""===this.lineTexts[e])e+=1;return e},e.prototype.parseRange=function(e,t,n,r){e&&e.prev&&(MZ(e.prev)&&IQ(this.lineTexts[n-1])||OZ(e.prev)&&RQ(this.lineTexts[n-1]))&&(e=e.prev,n=e.sourcepos[0][0]);var i=this.lineTexts.slice(n-1,r),o=this.parser.partialParseStart(n,i),a=t?t.next:this.root.firstChild,s=o.lastChild,l=s&&TZ(s)&&s.open,c=s&&LZ(s)&&s.open,u=s&&MZ(s);while((l||c)&&a||u&&a&&("list"===a.type||a.sourcepos[0][1]>=2)){var h=this.extendEndLine(a.sourcepos[1][0]);this.parser.partialParseExtends(this.lineTexts.slice(r,h)),e||(e=t),t=a,r=h,a=a.next}this.parser.partialParseFinish();var d=wQ(o);return{newNodes:d,extStartNode:e,extEndNode:t}},e.prototype.getRemovedNodeRange=function(e,t){return!e||e&&NZ(e)||t&&NZ(t)?null:{id:[e.id,t.id],line:[e.sourcepos[0][0]-1,t.sourcepos[1][0]-1]}},e.prototype.markDeletedRefMap=function(e,t){var n=this;if(!fX(this.refMap)){var r=function(e){if(NZ(e)){var t=n.refMap[e.label];t&&e.id===t.id&&(t.unlinked=!0)}};e&&LQ(r,e.parent,t),t&&LQ(r,t)}},e.prototype.replaceWithNewRefDefState=function(e){var t=this;if(!fX(this.refMap)){var n=function(e){if(NZ(e)){var n=e.label,r=t.refMap[n];r&&!r.unlinked||(t.refMap[n]=FQ(e))}};e.forEach((function(e){LQ(n,e)}))}},e.prototype.replaceWithRefDefCandidate=function(){var e=this;fX(this.refDefCandidateMap)||hX(this.refDefCandidateMap,(function(t,n){var r=n.label,i=n.sourcepos,o=e.refMap[r];(!o||o.unlinked||o.sourcepos[0][0]>i[0][0])&&(e.refMap[r]=FQ(n))}))},e.prototype.getRangeWithRefDef=function(e,t,n,r,i){if(this.referenceDefinition&&!fX(this.refMap)){var o=TQ(this.root,e-1),a=TQ(this.root,t+1);o&&NZ(o)&&o!==n&&o!==r&&(n=o,e=n.sourcepos[0][0]),a&&NZ(a)&&a!==n&&a!==r&&(r=a,t=this.extendEndLine(r.sourcepos[1][0]+i))}return[n,r,e,t]},e.prototype.parse=function(e,t,n){void 0===n&&(n=0);var r=this.getNodeRange(e,t),i=r[0],o=r[1],a=i?Math.min(i.sourcepos[0][0],e[0]):e[0],s=this.extendEndLine((o?Math.max(o.sourcepos[1][0],t[0]):t[0])+n),l=this.parseRange.apply(this,this.getRangeWithRefDef(a,s,i,o,n)),c=l.newNodes,u=l.extStartNode,h=l.extEndNode,d=this.getRemovedNodeRange(u,h),f=h?h.next:this.root.firstChild;return this.referenceDefinition?(this.markDeletedRefMap(u,h),this.replaceRangeNodes(u,h,c),this.replaceWithNewRefDefState(c)):this.replaceRangeNodes(u,h,c),{nodes:c,removedNodeRange:d,nextNode:f}},e.prototype.parseRefLink=function(){var e=this,t=[];return fX(this.refMap)||hX(this.refMap,(function(n,r){r.unlinked&&delete e.refMap[n],hX(e.refLinkCandidateMap,(function(r,i){var o=i.node,a=i.refLabel;a===n&&t.push(e.parse(o.sourcepos[0],o.sourcepos[1]))}))})),t},e.prototype.removeUnlinkedCandidate=function(){fX(this.refDefCandidateMap)||[this.refLinkCandidateMap,this.refDefCandidateMap].forEach((function(e){hX(e,(function(t){DQ(t)&&delete e[t]}))}))},e.prototype.editMarkdown=function(e,t,n){var r=this.updateLineTexts(e,t,n),i=this.parse(e,t,r),o=dX(i,"nextNode");CQ(i.nextNode,r),this.updateRootNodeState();var a=[o];return this.referenceDefinition&&(this.removeUnlinkedCandidate(),this.replaceWithRefDefCandidate(),a=a.concat(this.parseRefLink())),this.trigger("change",a),a},e.prototype.getLineTexts=function(){return this.lineTexts},e.prototype.getRootNode=function(){return this.root},e.prototype.findNodeAtPosition=function(e){var t=OQ(this.root,e);return t&&t!==this.root?t:null},e.prototype.findFirstNodeAtLine=function(e){return MQ(this.root,e)},e.prototype.on=function(e,t){this.eventHandlerMap[e].push(t)},e.prototype.off=function(e,t){var n=this.eventHandlerMap[e],r=n.indexOf(t);n.splice(r,1)},e.prototype.findNodeById=function(e){return NQ(e)},e.prototype.removeAllNode=function(){uZ()},e}(),BQ=["title","textarea","style","xmp","iframe","noembed","noframes","script","plaintext"],jQ=new RegExp("<(/?(?:"+BQ.join("|")+")[^>]*>)","ig");function HQ(e){return jQ.test(e)?e.replace(jQ,(function(e,t){return"<"+t})):e}var UQ={heading:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"h"+e.level,outerNewLine:!0}},text:function(e){return{type:"text",content:e.literal}},softbreak:function(e,t){var n=t.options;return{type:"html",content:n.softbreak}},linebreak:function(){return{type:"html",content:"
\n"}},emph:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"em"}},strong:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"strong"}},paragraph:function(e,t){var n,r=t.entering,i=null===(n=e.parent)||void 0===n?void 0:n.parent;return i&&"list"===i.type&&i.listData.tight?null:{type:r?"openTag":"closeTag",tagName:"p",outerNewLine:!0}},thematicBreak:function(){return{type:"openTag",tagName:"hr",outerNewLine:!0,selfClose:!0}},blockQuote:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"blockquote",outerNewLine:!0,innerNewLine:!0}},list:function(e,t){var n=t.entering,r=e.listData,i=r.type,o=r.start,a="bullet"===i?"ul":"ol",s={};return"ol"===a&&null!==o&&1!==o&&(s.start=o.toString()),{type:n?"openTag":"closeTag",tagName:a,attributes:s,outerNewLine:!0}},item:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"li",outerNewLine:!0}},htmlInline:function(e,t){var n=t.options,r=n.tagFilter?HQ(e.literal):e.literal;return{type:"html",content:r}},htmlBlock:function(e,t){var n=t.options,r=n.tagFilter?HQ(e.literal):e.literal;return n.nodeId?[{type:"openTag",tagName:"div",outerNewLine:!0},{type:"html",content:r},{type:"closeTag",tagName:"div",outerNewLine:!0}]:{type:"html",content:r,outerNewLine:!0}},code:function(e){return[{type:"openTag",tagName:"code"},{type:"text",content:e.literal},{type:"closeTag",tagName:"code"}]},codeBlock:function(e){var t=e.info,n=t?t.split(/\s+/):[],r=[];return n.length>0&&n[0].length>0&&r.push("language-"+tZ(n[0])),[{type:"openTag",tagName:"pre",outerNewLine:!0},{type:"openTag",tagName:"code",classNames:r},{type:"text",content:e.literal},{type:"closeTag",tagName:"code"},{type:"closeTag",tagName:"pre",outerNewLine:!0}]},link:function(e,t){var n=t.entering;if(n){var r=e,i=r.title,o=r.destination;return{type:"openTag",tagName:"a",attributes:Do({href:tZ(o)},i&&{title:tZ(i)})}}return{type:"closeTag",tagName:"a"}},image:function(e,t){var n=t.getChildrenText,r=t.skipChildren,i=e,o=i.title,a=i.destination;return r(),{type:"openTag",tagName:"img",selfClose:!0,attributes:Do({src:tZ(a),alt:n(e)},o&&{title:tZ(o)})}},customBlock:function(e,t,n){var r=e.info.trim().toLowerCase(),i=n[r];if(i)try{return i(e,t)}catch(o){console.warn("[@toast-ui/editor] - The error occurred when "+r+" block node was parsed in markdown renderer: "+o)}return[{type:"openTag",tagName:"div",outerNewLine:!0},{type:"text",content:e.literal},{type:"closeTag",tagName:"div",outerNewLine:!0}]},frontMatter:function(e){return[{type:"openTag",tagName:"div",outerNewLine:!0,attributes:{style:"white-space: pre; display: none;"}},{type:"text",content:e.literal},{type:"closeTag",tagName:"div",outerNewLine:!0}]},customInline:function(e,t,n){var r=e,i=r.info,o=r.firstChild,a=i.trim().toLowerCase(),s=n[a],l=t.entering;if(s)try{return s(e,t)}catch(c){console.warn("[@toast-ui/editor] - The error occurred when "+a+" inline node was parsed in markdown renderer: "+c)}return l?[{type:"openTag",tagName:"span"},{type:"text",content:"$$"+i+(o?" ":"")}]:[{type:"text",content:"$$"},{type:"closeTag",tagName:"span"}]}},qQ={strike:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"del"}},item:function(e,t){var n=t.entering,r=e.listData,i=r.checked,o=r.task;if(n){var a={type:"openTag",tagName:"li",outerNewLine:!0};return o?[a,{type:"openTag",tagName:"input",selfClose:!0,attributes:Do(Do({},i&&{checked:""}),{disabled:"",type:"checkbox"})},{type:"text",content:" "}]:a}return{type:"closeTag",tagName:"li",outerNewLine:!0}},table:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"table",outerNewLine:!0}},tableHead:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"thead",outerNewLine:!0}},tableBody:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"tbody",outerNewLine:!0}},tableRow:function(e,t){var n=t.entering;if(n)return{type:"openTag",tagName:"tr",outerNewLine:!0};var r=[];if(e.lastChild)for(var i=e.parent.parent.columns.length,o=e.lastChild.endIdx,a=o+1;a0&&this.buffer.push(' class="'+r.join(" ")+'"'),i&&Object.keys(i).forEach((function(e){var n=i[e];t.buffer.push(" "+e+'="'+n+'"')})),e.selfClose&&this.buffer.push(" /"),this.buffer.push(">")},e.prototype.generateCloseTagString=function(e){var t=e.tagName;this.buffer.push("")},e.prototype.addNewLine=function(){this.buffer.length&&"\n"!==cX(cX(this.buffer))&&this.buffer.push("\n")},e.prototype.addOuterNewLine=function(e){e.outerNewLine&&this.addNewLine()},e.prototype.addInnerNewLine=function(e){e.innerNewLine&&this.addNewLine()},e.prototype.renderTextNode=function(e){this.buffer.push(tZ(e.content))},e.prototype.renderRawHtmlNode=function(e){this.addOuterNewLine(e),this.buffer.push(e.content),this.addOuterNewLine(e)},e.prototype.renderElementNode=function(e){"openTag"===e.type?(this.addOuterNewLine(e),this.generateOpenTagString(e),e.selfClose?this.addOuterNewLine(e):this.addInnerNewLine(e)):(this.addInnerNewLine(e),this.generateCloseTagString(e),this.addOuterNewLine(e))},e}(); -/*! @license DOMPurify 2.3.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.3/LICENSE */function YQ(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1?n-1:0),i=1;i/gm),D_=$Q(/^data-[\-\w.\u00B7-\uFFFF]/),P_=$Q(/^aria-[\-\w]+$/),I_=$Q(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),R_=$Q(/^(?:\w+script|data):/i),F_=$Q(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),z_="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function B_(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:j_(),t=function(e){return U_(e)};if(t.version="2.3.3",t.removed=[],!e||!e.document||9!==e.document.nodeType)return t.isSupported=!1,t;var n=e.document,r=e.document,i=e.DocumentFragment,o=e.HTMLTemplateElement,a=e.Node,s=e.Element,l=e.NodeFilter,c=e.NamedNodeMap,u=void 0===c?e.NamedNodeMap||e.MozNamedAttrMap:c,h=e.Text,d=e.Comment,f=e.DOMParser,p=e.trustedTypes,m=s.prototype,g=b_(m,"cloneNode"),v=b_(m,"nextSibling"),b=b_(m,"childNodes"),y=b_(m,"parentNode");if("function"===typeof o){var w=r.createElement("template");w.content&&w.content.ownerDocument&&(r=w.content.ownerDocument)}var x=H_(p,n),k=x&&ee?x.createHTML(""):"",C=r,A=C.implementation,T=C.createNodeIterator,S=C.createDocumentFragment,E=C.getElementsByTagName,M=n.importNode,O={};try{O=v_(r).documentMode?r.documentMode:{}}catch(je){}var N={};t.isSupported="function"===typeof y&&A&&"undefined"!==typeof A.createHTMLDocument&&9!==O;var L=N_,D=L_,P=D_,I=P_,R=R_,F=F_,z=I_,B=null,j=g_({},[].concat(B_(y_),B_(w_),B_(x_),B_(C_),B_(T_))),H=null,U=g_({},[].concat(B_(S_),B_(E_),B_(M_),B_(O_))),q=null,W=null,G=!0,V=!0,Y=!1,K=!1,Z=!1,X=!1,J=!1,Q=!1,_=!1,$=!0,ee=!1,te=!0,ne=!0,re=!1,ie={},oe=null,ae=g_({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),se=null,le=g_({},["audio","video","img","source","image","track"]),ce=null,ue=g_({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),he="http://www.w3.org/1998/Math/MathML",de="http://www.w3.org/2000/svg",fe="http://www.w3.org/1999/xhtml",pe=fe,me=!1,ge=void 0,ve=["application/xhtml+xml","text/html"],be="text/html",ye=void 0,we=null,xe=r.createElement("form"),ke=function(e){we&&we===e||(e&&"object"===("undefined"===typeof e?"undefined":z_(e))||(e={}),e=v_(e),B="ALLOWED_TAGS"in e?g_({},e.ALLOWED_TAGS):j,H="ALLOWED_ATTR"in e?g_({},e.ALLOWED_ATTR):U,ce="ADD_URI_SAFE_ATTR"in e?g_(v_(ue),e.ADD_URI_SAFE_ATTR):ue,se="ADD_DATA_URI_TAGS"in e?g_(v_(le),e.ADD_DATA_URI_TAGS):le,oe="FORBID_CONTENTS"in e?g_({},e.FORBID_CONTENTS):ae,q="FORBID_TAGS"in e?g_({},e.FORBID_TAGS):{},W="FORBID_ATTR"in e?g_({},e.FORBID_ATTR):{},ie="USE_PROFILES"in e&&e.USE_PROFILES,G=!1!==e.ALLOW_ARIA_ATTR,V=!1!==e.ALLOW_DATA_ATTR,Y=e.ALLOW_UNKNOWN_PROTOCOLS||!1,K=e.SAFE_FOR_TEMPLATES||!1,Z=e.WHOLE_DOCUMENT||!1,Q=e.RETURN_DOM||!1,_=e.RETURN_DOM_FRAGMENT||!1,$=!1!==e.RETURN_DOM_IMPORT,ee=e.RETURN_TRUSTED_TYPE||!1,J=e.FORCE_BODY||!1,te=!1!==e.SANITIZE_DOM,ne=!1!==e.KEEP_CONTENT,re=e.IN_PLACE||!1,z=e.ALLOWED_URI_REGEXP||z,pe=e.NAMESPACE||fe,ge=ge=-1===ve.indexOf(e.PARSER_MEDIA_TYPE)?be:e.PARSER_MEDIA_TYPE,ye="application/xhtml+xml"===ge?function(e){return e}:s_,K&&(V=!1),_&&(Q=!0),ie&&(B=g_({},[].concat(B_(T_))),H=[],!0===ie.html&&(g_(B,y_),g_(H,S_)),!0===ie.svg&&(g_(B,w_),g_(H,E_),g_(H,O_)),!0===ie.svgFilters&&(g_(B,x_),g_(H,E_),g_(H,O_)),!0===ie.mathMl&&(g_(B,C_),g_(H,M_),g_(H,O_))),e.ADD_TAGS&&(B===j&&(B=v_(B)),g_(B,e.ADD_TAGS)),e.ADD_ATTR&&(H===U&&(H=v_(H)),g_(H,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&g_(ce,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(oe===ae&&(oe=v_(oe)),g_(oe,e.FORBID_CONTENTS)),ne&&(B["#text"]=!0),Z&&g_(B,["html","head","body"]),B.table&&(g_(B,["tbody"]),delete q.tbody),_Q&&_Q(e),we=e)},Ce=g_({},["mi","mo","mn","ms","mtext"]),Ae=g_({},["foreignobject","desc","title","annotation-xml"]),Te=g_({},w_);g_(Te,x_),g_(Te,k_);var Se=g_({},C_);g_(Se,A_);var Ee=function(e){var t=y(e);t&&t.tagName||(t={namespaceURI:fe,tagName:"template"});var n=s_(e.tagName),r=s_(t.tagName);if(e.namespaceURI===de)return t.namespaceURI===fe?"svg"===n:t.namespaceURI===he?"svg"===n&&("annotation-xml"===r||Ce[r]):Boolean(Te[n]);if(e.namespaceURI===he)return t.namespaceURI===fe?"math"===n:t.namespaceURI===de?"math"===n&&Ae[r]:Boolean(Se[n]);if(e.namespaceURI===fe){if(t.namespaceURI===de&&!Ae[r])return!1;if(t.namespaceURI===he&&!Ce[r])return!1;var i=g_({},["title","style","font","a","script"]);return!Se[n]&&(i[n]||!Te[n])}return!1},Me=function(e){a_(t.removed,{element:e});try{e.parentNode.removeChild(e)}catch(je){try{e.outerHTML=k}catch(je){e.remove()}}},Oe=function(e,n){try{a_(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(je){a_(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e&&!H[e])if(Q||_)try{Me(n)}catch(je){}else try{n.setAttribute(e,"")}catch(je){}},Ne=function(e){var t=void 0,n=void 0;if(J)e=""+e;else{var i=l_(e,/^[\r\n\t ]+/);n=i&&i[0]}"application/xhtml+xml"===ge&&(e=''+e+"");var o=x?x.createHTML(e):e;if(pe===fe)try{t=(new f).parseFromString(o,ge)}catch(je){}if(!t||!t.documentElement){t=A.createDocument(pe,"template",null);try{t.documentElement.innerHTML=me?"":o}catch(je){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(r.createTextNode(n),a.childNodes[0]||null),pe===fe?E.call(t,Z?"html":"body")[0]:Z?t.documentElement:a},Le=function(e){return T.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},De=function(e){return!(e instanceof h||e instanceof d)&&!("string"===typeof e.nodeName&&"string"===typeof e.textContent&&"function"===typeof e.removeChild&&e.attributes instanceof u&&"function"===typeof e.removeAttribute&&"function"===typeof e.setAttribute&&"string"===typeof e.namespaceURI&&"function"===typeof e.insertBefore)},Pe=function(e){return"object"===("undefined"===typeof a?"undefined":z_(a))?e instanceof a:e&&"object"===("undefined"===typeof e?"undefined":z_(e))&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName},Ie=function(e,n,r){N[e]&&i_(N[e],(function(e){e.call(t,n,r,we)}))},Re=function(e){var n=void 0;if(Ie("beforeSanitizeElements",e,null),De(e))return Me(e),!0;if(l_(e.nodeName,/[\u0080-\uFFFF]/))return Me(e),!0;var r=ye(e.nodeName);if(Ie("uponSanitizeElement",e,{tagName:r,allowedTags:B}),!Pe(e.firstElementChild)&&(!Pe(e.content)||!Pe(e.content.firstElementChild))&&d_(/<[/\w]/g,e.innerHTML)&&d_(/<[/\w]/g,e.textContent))return Me(e),!0;if("select"===r&&d_(/