!function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var r=1;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==n.return||n.return()}finally{if(a)throw i}}}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nli: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;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{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=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>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;margin-left:1px;margin-right:1px}.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 button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover{background-color:#f3f4f6}.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{background-color:#dbeafe;color:#2563eb}.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.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-fill,.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 button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.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.ql-active .ql-stroke.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{fill:#2563eb}.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.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,.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 button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.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-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#2563eb}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#4b5563}.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:#4b5563}.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:#4b5563}}.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:#4b5563;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#4b5563;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#4b5563}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.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:#4b5563;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle;margin-right:1px;margin-left:1px}.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%;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding:5px 8px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#d1d5db;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#d1d5db}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#d1d5db}.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:3px}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px;margin:2px}.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-header .ql-picker-label[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-size .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-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[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-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[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-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[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-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[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 #d1d5db;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:rgba(0,0,0,.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#d1d5db}.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:0px}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #d1d5db;box-shadow:0 0 5px #d1d5db;color:#4b5563;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 #d1d5db;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 #d1d5db;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:0px;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:#2563eb}.ql-container.ql-snow{border:1px solid #d1d5db}\n',document.head.appendChild(y),System.register([],(function(e){"use strict";return{execute:function(){function n(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o1&&(t[n[0].trim()]=n[1].trim())}})),t}function b(e){var t="";if(U(e))t=e;else if(R(e))for(var n=0;n`]=o,e}),{})}:B(n)?{[`Set(${n.size})`]:p(n.values())}:!H(n)||R(n)||Z(n)?n:String(n)},O={},E=[],j=e("N",(function(){})),A=function(){return!1},S=/^on[^a-z]/,N=function(e){return S.test(e)},C=function(e){return e.startsWith("onUpdate:")},T=Object.assign,P=function(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)},L=Object.prototype.hasOwnProperty,M=e("v",(function(e,t){return L.call(e,t)})),R=e("j",Array.isArray),I=function(e){return"[object Map]"===$(e)},B=function(e){return"[object Set]"===$(e)},D=e("ab",(function(e){return"[object Date]"===$(e)})),F=e("y",(function(e){return"function"==typeof e})),U=e("m",(function(e){return"string"==typeof e})),z=function(e){return"symbol"==typeof e},H=e("k",(function(e){return null!==e&&"object"==typeof e})),V=e("ak",(function(e){return H(e)&&F(e.then)&&F(e.catch)})),K=Object.prototype.toString,$=e("ae",(function(e){return K.call(e)})),W=e("as",(function(e){return $(e).slice(8,-1)})),Z=function(e){return"[object Object]"===$(e)},G=function(e){return U(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e},Y=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),X=function(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}},Q=/-(\w)/g,J=e("l",X((function(e){return e.replace(Q,(function(e,t){return t?t.toUpperCase():""}))}))),ee=/\B([A-Z])/g,te=e("av",X((function(e){return e.replace(ee,"-$1").toLowerCase()}))),ne=e("ai",X((function(e){return e.charAt(0).toUpperCase()+e.slice(1)}))),re=X((function(e){return e?`on${ne(e)}`:""})),oe=function(e,t){return!Object.is(e,t)},ie=function(e,t){for(var n=0;n0&&void 0!==arguments[0]&&arguments[0];s(this,e),this.active=!0,this.effects=[],this.cleanups=[],!t&&w&&(this.parent=w,this.index=(w.scopes||(w.scopes=[])).push(this)-1)}return f(e,[{key:"run",value:function(e){if(this.active){var t=w;try{return w=this,e()}finally{w=t}}}},{key:"on",value:function(){w=this}},{key:"off",value:function(){w=this.parent}},{key:"stop",value:function(e){if(this.active){var t,n;for(t=0,n=this.effects.length;t1&&void 0!==arguments[1]?arguments[1]:w;t&&t.active&&t.effects.push(e)}function fe(){return w}function de(e){w&&w.cleanups.push(e)}var pe,he=function(e){var t=new Set(e);return t.w=0,t.n=0,t},ve=function(e){return(e.w&me)>0},ye=function(e){return(e.n&me)>0},be=new WeakMap,ge=0,me=1,_e=Symbol(""),qe=Symbol(""),we=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;s(this,e),this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,ce(this,r)}return f(e,[{key:"run",value:function(){if(!this.active)return this.fn();for(var e=pe,t=xe;e;){if(e===this)return;e=e.parent}try{return this.parent=pe,pe=this,xe=!0,me=1<<++ge,ge<=30?function(e){var t=e.deps;if(t.length)for(var n=0;n=r)&&a.push(e)}));else switch(void 0!==n&&a.push(l.get(n)),t){case"add":R(e)?G(n)&&a.push(l.get("length")):(a.push(l.get(_e)),I(e)&&a.push(l.get(qe)));break;case"delete":R(e)||(a.push(l.get(_e)),I(e)&&a.push(l.get(qe)));break;case"set":I(e)&&a.push(l.get(_e))}if(1===a.length)a[0]&&Ce(a[0]);else{var s,c=[],f=u(a);try{for(f.s();!(s=f.n()).done;){var d=s.value;d&&c.push.apply(c,p(d))}}catch(h){f.e(h)}finally{f.f()}Ce(he(c))}}}function Ce(e,t){var n,r=R(e)?e:p(e),o=u(r);try{for(o.s();!(n=o.n()).done;){var i=n.value;i.computed&&Te(i)}}catch(c){o.e(c)}finally{o.f()}var l,a=u(r);try{for(a.s();!(l=a.n()).done;){var s=l.value;s.computed||Te(s)}}catch(c){a.e(c)}finally{a.f()}}function Te(e,t){(e!==pe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}var Pe=n("__proto__,__v_isRef,__isVue"),Le=new Set(Object.getOwnPropertyNames(Symbol).filter((function(e){return"arguments"!==e&&"caller"!==e})).map((function(e){return Symbol[e]})).filter(z)),Me=Ue(),Re=Ue(!1,!0),Ie=Ue(!0),Be=Ue(!0,!0),De=Fe();function Fe(){var e={};return["includes","indexOf","lastIndexOf"].forEach((function(t){e[t]=function(){for(var e=At(this),n=0,r=this.length;n0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r,o){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_isShallow"===r)return t;if("__v_raw"===r&&o===(e?t?mt:gt:t?bt:yt).get(n))return n;var i=R(n);if(!e&&i&&M(De,r))return Reflect.get(De,r,o);var l=Reflect.get(n,r,o);return(z(r)?Le.has(r):Pe(r))?l:(e||Ae(n,0,r),t?l:Lt(l)?i&&G(r)?l:l.value:H(l)?e?wt(l):_t(l):l)}}function ze(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n,r,o){var i=t[n];if(Ot(i)&&Lt(i)&&!Lt(r))return!1;if(!e&&!Ot(r)&&(Et(r)||(r=At(r),i=At(i)),!R(t)&&Lt(i)&&!Lt(r)))return i.value=r,!0;var l=R(t)&&G(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Ke=T({},He,{get:Re,set:ze(!0)}),$e=T({},Ve,{get:Be}),We=function(e){return e},Ze=function(e){return Reflect.getPrototypeOf(e)};function Ge(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=At(e=e.__v_raw),i=At(t);n||(t!==i&&Ae(o,0,t),Ae(o,0,i));var l=Ze(o),a=l.has,u=r?We:n?Ct:Nt;return a.call(o,t)?u(e.get(t)):a.call(o,i)?u(e.get(i)):void(e!==o&&e.get(t))}function Ye(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.__v_raw,r=At(n),o=At(e);return t||(e!==o&&Ae(r,0,e),Ae(r,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function Xe(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=e.__v_raw,!t&&Ae(At(e),0,_e),Reflect.get(e,"size",e)}function Qe(e){e=At(e);var t=At(this);return Ze(t).has.call(t,e)||(t.add(e),Ne(t,"add",e,e)),this}function Je(e,t){t=At(t);var n=At(this),r=Ze(n),o=r.has,i=r.get,l=o.call(n,e);l||(e=At(e),l=o.call(n,e));var a=i.call(n,e);return n.set(e,t),l?oe(t,a)&&Ne(n,"set",e,t):Ne(n,"add",e,t),this}function et(e){var t=At(this),n=Ze(t),r=n.has,o=n.get,i=r.call(t,e);i||(e=At(e),i=r.call(t,e)),o&&o.call(t,e);var l=t.delete(e);return i&&Ne(t,"delete",e,void 0),l}function tt(){var e=At(this),t=0!==e.size,n=e.clear();return t&&Ne(e,"clear",void 0,void 0),n}function nt(e,t){return function(n,r){var o=this,i=o.__v_raw,l=At(i),a=t?We:e?Ct:Nt;return!e&&Ae(l,0,_e),i.forEach((function(e,t){return n.call(r,a(e),a(t),o)}))}}function rt(e,t,n){return function(){var r=this.__v_raw,o=At(r),i=I(o),l="entries"===e||e===Symbol.iterator&&i,a="keys"===e&&i,u=r[e].apply(r,arguments),s=n?We:t?Ct:Nt;return!t&&Ae(o,0,a?qe:_e),{next(){var e=u.next(),t=e.value,n=e.done;return n?{value:t,done:n}:{value:l?[s(t[0]),s(t[1])]:s(t),done:n}},[Symbol.iterator](){return this}}}}function ot(e){return function(){return"delete"!==e&&this}}function it(){var e={get(e){return Ge(this,e)},get size(){return Xe(this)},has:Ye,add:Qe,set:Je,delete:et,clear:tt,forEach:nt(!1,!1)},t={get(e){return Ge(this,e,!1,!0)},get size(){return Xe(this)},has:Ye,add:Qe,set:Je,delete:et,clear:tt,forEach:nt(!1,!0)},n={get(e){return Ge(this,e,!0)},get size(){return Xe(this,!0)},has(e){return Ye.call(this,e,!0)},add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear"),forEach:nt(!0,!1)},r={get(e){return Ge(this,e,!0,!0)},get size(){return Xe(this,!0)},has(e){return Ye.call(this,e,!0)},add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear"),forEach:nt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((function(o){e[o]=rt(o,!1,!1),n[o]=rt(o,!0,!1),t[o]=rt(o,!1,!0),r[o]=rt(o,!0,!0)})),[e,n,t,r]}var lt=d(it(),4),at=lt[0],ut=lt[1],st=lt[2],ct=lt[3];function ft(e,t){var n=t?e?ct:st:e?ut:at;return function(t,r,o){return"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(M(n,r)&&r in t?n:t,r,o)}}var dt={get:ft(!1,!1)},pt={get:ft(!1,!0)},ht={get:ft(!0,!1)},vt={get:ft(!0,!0)},yt=new WeakMap,bt=new WeakMap,gt=new WeakMap,mt=new WeakMap;function _t(e){return Ot(e)?e:kt(e,!1,He,dt,yt)}function qt(e){return kt(e,!1,Ke,pt,bt)}function wt(e){return kt(e,!0,Ve,ht,gt)}function kt(e,t,n,r,o){if(!H(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;var i=o.get(e);if(i)return i;var l,a=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(W(l));if(0===a)return e;var u=new Proxy(e,2===a?r:n);return o.set(e,u),u}function xt(e){return Ot(e)?xt(e.__v_raw):!(!e||!e.__v_isReactive)}function Ot(e){return!(!e||!e.__v_isReadonly)}function Et(e){return!(!e||!e.__v_isShallow)}function jt(e){return xt(e)||Ot(e)}function At(e){var t=e&&e.__v_raw;return t?At(t):e}function St(e){return le(e,"__v_skip",!0),e}var Nt=function(e){return H(e)?_t(e):e},Ct=function(e){return H(e)?wt(e):e};function Tt(e){xe&&pe&&Se((e=At(e)).dep||(e.dep=he()))}function Pt(e,t){(e=At(e)).dep&&Ce(e.dep)}function Lt(e){return!(!e||!0!==e.__v_isRef)}function Mt(e){return It(e,!1)}function Rt(e){return It(e,!0)}function It(e,t){return Lt(e)?e:new Bt(e,t)}var Bt=function(){function e(t,n){s(this,e),this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:At(t),this._value=n?t:Nt(t)}return f(e,[{key:"value",get:function(){return Tt(this),this._value},set:function(e){e=this.__v_isShallow?e:At(e),oe(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:Nt(e),Pt(this))}}]),e}();function Dt(e){Pt(e)}function Ft(e){return Lt(e)?e.value:e}var Ut={get:function(e,t,n){return Ft(Reflect.get(e,t,n))},set:function(e,t,n,r){var o=e[t];return Lt(o)&&!Lt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function zt(e){return xt(e)?e:new Proxy(e,Ut)}var Ht=function(){function e(t){var n=this;s(this,e),this.dep=void 0,this.__v_isRef=!0;var r=t((function(){return Tt(n)}),(function(){return Pt(n)})),o=r.get,i=r.set;this._get=o,this._set=i}return f(e,[{key:"value",get:function(){return this._get()},set:function(e){this._set(e)}}]),e}();function Vt(e){var t=R(e)?new Array(e.length):{};for(var n in e)t[n]=$t(e,n);return t}var Kt=function(){function e(t,n,r){s(this,e),this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}return f(e,[{key:"value",get:function(){var e=this._object[this._key];return void 0===e?this._defaultValue:e},set:function(e){this._object[this._key]=e}}]),e}();function $t(e,t,n){var r=e[t];return Lt(r)?r:new Kt(e,t,n)}var Wt=function(){function e(t,n,r,o){var i=this;s(this,e),this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new we(t,(function(){i._dirty||(i._dirty=!0,Pt(i))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}return f(e,[{key:"value",get:function(){var e=At(this);return Tt(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value},set:function(e){this._setter(e)}}]),e}();var Zt=[];function Gt(e){Ee();for(var t=Zt.length?Zt[Zt.length-1].component:null,n=t&&t.appContext.config.warnHandler,r=Yt(),o=arguments.length,i=new Array(o>1?o-1:0),l=1;l`})).join("\n"),r]);else{var a,u=[`[Vue warn]: ${e}`].concat(i);r.length&&u.push.apply(u,["\n"].concat(p(Xt(r)))),(a=console).warn.apply(a,p(u))}je()}function Yt(){var e=Zt[Zt.length-1];if(!e)return[];for(var t=[];e;){var n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});var r=e.component&&e.component.parent;e=r&&r.vnode}return t}function Xt(e){var t=[];return e.forEach((function(e,n){var r,o,i,l,a,u,s,c,f,d;t.push.apply(t,p(0===n?[]:["\n"]).concat(p((a=(l=e).vnode,u=l.recurseCount,s=u>0?`... (${u} recursive calls)`:"",c=!!a.component&&null==a.component.parent,f=` at <${$i(a.component,a.type,c)}`,d=">"+s,a.props?[f].concat(p((r=a.props,o=[],(i=Object.keys(r)).slice(0,3).forEach((function(e){o.push.apply(o,p(Qt(e,r[e])))})),i.length>3&&o.push(" ..."),o)),[d]):[f+d]))))})),t}function Qt(e,t,n){return U(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Lt(t)?(t=Qt(e,At(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):F(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=At(t),n?t:[`${e}=`,t])}function Jt(e,t,n,r){var o;try{o=r?e.apply(void 0,p(r)):e()}catch(i){tn(i,t,n)}return o}function en(e,t,n,r){if(F(e)){var o=Jt(e,t,n,r);return o&&V(o)&&o.catch((function(e){tn(e,t,n)})),o}for(var i=[],l=0;l3&&void 0!==arguments[3])||arguments[3],o=t?t.vnode:null;if(t){for(var i=t.parent,l=t.proxy,a=n;i;){var u=i.ec;if(u)for(var s=0;s>>1;En(ln[r])1&&void 0!==arguments[1]?arguments[1]:null;if(un.length){for(yn=t,sn=p(new Set(un)),un.length=0,cn=0;cn2?r-2:0),i=2;i2&&void 0!==arguments[2]&&arguments[2],r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;var i=e.emits,l={},a=!1;if(!F(e)){var u=function(e){var n=Nn(e,t,!0);n&&(a=!0,T(l,n))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return i||a?(R(i)?i.forEach((function(e){return l[e]=null})):T(l,i),r.set(e,l),l):(r.set(e,null),null)}function Cn(e,t){return!(!e||!N(t))&&(t=t.slice(2).replace(/Once$/,""),M(e,t[0].toLowerCase()+t.slice(1))||M(e,te(t))||M(e,t))}var Tn=null,Pn=null;function Ln(e){var t=Tn;return Tn=e,Pn=e&&e.type.__scopeId||null,t}function Mn(e){Pn=e}function Rn(){Pn=null}function In(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Tn;if(!t)return e;if(e._n)return e;var n=function n(){n._d&&ii(-1);var r=Ln(t),o=e.apply(void 0,arguments);return Ln(r),n._d&&ii(1),o};return n._n=!0,n._c=!0,n._d=!0,n}function Bn(e){var t,n,r=e.type,o=e.vnode,i=e.proxy,l=e.withProxy,a=e.props,u=d(e.propsOptions,1)[0],s=e.slots,c=e.attrs,f=e.emit,p=e.render,h=e.renderCache,v=e.data,y=e.setupState,b=e.ctx,g=e.inheritAttrs,m=Ln(e);try{if(4&o.shapeFlag){var _=l||i;t=qi(p.call(_,_,h,a,y,v,b)),n=c}else{var q=r;0,t=qi(q.length>1?q(a,{attrs:c,slots:s,emit:f}):q(a,null)),n=r.props?c:Dn(c)}}catch(O){ei.length=0,tn(O,e,1),t=vi(Qo)}var w=t;if(n&&!1!==g){var k=Object.keys(n),x=w.shapeFlag;k.length&&7&x&&(u&&k.some(C)&&(n=Fn(n,u)),w=bi(w,n))}return o.dirs&&((w=bi(w)).dirs=w.dirs?w.dirs.concat(o.dirs):o.dirs),o.transition&&(w.transition=o.transition),t=w,Ln(m),t}var Dn=function(e){var t;for(var n in e)("class"===n||"style"===n||N(n))&&((t||(t={}))[n]=e[n]);return t},Fn=function(e,t){var n={};for(var r in e)C(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Un(e,t,n){var r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(var o=0;o0?(Kn(e,"onPending"),Kn(e,"onFallback"),s(null,e.ssFallback,t,n,r,null,i,l),Gn(f,e.ssFallback)):f.resolve()}(t,n,r,o,i,l,a,u,s):function(e,t,n,r,o,i,l,a,u){var s=u.p,c=u.um,f=u.o.createElement,d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;var p=t.ssContent,h=t.ssFallback,v=d.activeBranch,y=d.pendingBranch,b=d.isInFallback,g=d.isHydrating;if(y)d.pendingBranch=p,ci(p,y)?(s(y,p,d.hiddenContainer,null,o,d,i,l,a),d.deps<=0?d.resolve():b&&(s(v,h,n,r,o,null,i,l,a),Gn(d,h))):(d.pendingId++,g?(d.isHydrating=!1,d.activeBranch=y):c(y,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=f("div"),b?(s(null,p,d.hiddenContainer,null,o,d,i,l,a),d.deps<=0?d.resolve():(s(v,h,n,r,o,null,i,l,a),Gn(d,h))):v&&ci(p,v)?(s(v,p,n,r,o,d,i,l,a),d.resolve(!0)):(s(null,p,d.hiddenContainer,null,o,d,i,l,a),d.deps<=0&&d.resolve()));else if(v&&ci(p,v))s(v,p,n,r,o,d,i,l,a),Gn(d,p);else if(Kn(t,"onPending"),d.pendingBranch=p,d.pendingId++,s(null,p,d.hiddenContainer,null,o,d,i,l,a),d.deps<=0)d.resolve();else{var m=d.timeout,_=d.pendingId;m>0?setTimeout((function(){d.pendingId===_&&d.fallback(h)}),m):0===m&&d.fallback(h)}}(e,t,n,r,o,l,a,u,s)},hydrate:function(e,t,n,r,o,i,l,a,u){var s=t.suspense=$n(t,r,n,e.parentNode,document.createElement("div"),null,o,i,l,a,!0),c=u(e,s.pendingBranch=t.ssContent,n,s,i,l);0===s.deps&&s.resolve();return c},create:$n,normalize:function(e){var t=e.shapeFlag,n=e.children,r=32&t;e.ssContent=Wn(r?n.default:n),e.ssFallback=r?Wn(n.fallback):vi(Qo)}};function Kn(e,t){var n=e.props&&e.props[t];F(n)&&n()}function $n(e,t,n,r,o,i,l,a,u,s){var c=arguments.length>10&&void 0!==arguments[10]&&arguments[10],f=s.p,d=s.m,h=s.um,v=s.n,y=s.o,b=y.parentNode,g=y.remove,m=ae(e.props&&e.props.timeout),_={vnode:e,parent:t,parentComponent:n,isSVG:l,container:r,hiddenContainer:o,anchor:i,deps:0,pendingId:0,timeout:"number"==typeof m?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=_.vnode,n=_.activeBranch,r=_.pendingBranch,o=_.pendingId,i=_.effects,l=_.parentComponent,a=_.container;if(_.isHydrating)_.isHydrating=!1;else if(!e){var u=n&&r.transition&&"out-in"===r.transition.mode;u&&(n.transition.afterLeave=function(){o===_.pendingId&&d(r,a,s,0)});var s=_.anchor;n&&(s=v(n),h(n,l,_,!0)),u||d(r,a,s,0)}Gn(_,r),_.pendingBranch=null,_.isInFallback=!1;for(var c=_.parent,f=!1;c;){if(c.pendingBranch){var y;(y=c.effects).push.apply(y,p(i)),f=!0;break}c=c.parent}f||wn(i),_.effects=[],Kn(t,"onResolve")},fallback(e){if(_.pendingBranch){var t=_.vnode,n=_.activeBranch,r=_.parentComponent,o=_.container,i=_.isSVG;Kn(t,"onFallback");var l=v(n),s=function(){_.isInFallback&&(f(null,e,o,l,r,null,i,a,u),Gn(_,e))},c=e.transition&&"out-in"===e.transition.mode;c&&(n.transition.afterLeave=s),_.isInFallback=!0,h(n,r,null,!0),c||s()}},move(e,t,n){_.activeBranch&&d(_.activeBranch,e,t,n),_.container=e},next:()=>_.activeBranch&&v(_.activeBranch),registerDep(e,t){var n=!!_.pendingBranch;n&&_.deps++;var r=e.vnode.el;e.asyncDep.catch((function(t){tn(t,e,0)})).then((function(o){if(!e.isUnmounted&&!_.isUnmounted&&_.pendingId===e.suspenseId){e.asyncResolved=!0;var i=e.vnode;Di(e,o,!1),r&&(i.el=r);var a=!r&&e.subTree.el;t(e,i,b(r||e.subTree.el),r?null:v(e.subTree),_,l,u),a&&g(a),zn(e,i.el),n&&0==--_.deps&&_.resolve()}}))},unmount(e,t){_.isUnmounted=!0,_.activeBranch&&h(_.activeBranch,n,e,t),_.pendingBranch&&h(_.pendingBranch,n,e,t)}};return _}function Wn(e){var t;if(F(e)){var n=oi&&e._c;n&&(e._d=!1,ni()),e=e(),n&&(e._d=!0,t=ti,ri())}if(R(e)){var r=function(e){for(var t,n=0;n2&&void 0!==arguments[2]&&arguments[2],r=Si||Tn;if(r){var o=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&F(t)?t.call(r.proxy):t}}function Qn(e,t){return nr(e,null,t)}function Jn(e,t){return nr(e,null,{flush:"post"})}var er={};function tr(e,t,n){return nr(e,t,n)}function nr(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:O,i=o.immediate,l=o.deep,a=o.flush,u=(o.onTrack,o.onTrigger,Si),s=!1,c=!1;if(Lt(e)?(n=function(){return e.value},s=Et(e)):xt(e)?(n=function(){return e},l=!0):R(e)?(c=!0,s=e.some((function(e){return xt(e)||Et(e)})),n=function(){return e.map((function(e){return Lt(e)?e.value:xt(e)?ir(e):F(e)?Jt(e,u,2):void 0}))}):n=F(e)?t?function(){return Jt(e,u,2)}:function(){if(!u||!u.isUnmounted)return r&&r(),en(e,u,3,[d])}:j,t&&l){var f=n;n=function(){return ir(f())}}var d=function(e){r=v.onStop=function(){Jt(e,u,4)}};if(Ri)return d=j,t?i&&en(t,u,3,[n(),c?[]:void 0,d]):n(),j;var p=c?[]:er,h=function(){if(v.active)if(t){var e=v.run();(l||s||(c?e.some((function(e,t){return oe(e,p[t])})):oe(e,p)))&&(r&&r(),en(t,u,3,[e,p===er?void 0:p,d]),p=e)}else v.run()};h.allowRecurse=!!t;var v=new we(n,"sync"===a?h:"post"===a?function(){return Bo(h,u&&u.suspense)}:function(){return qn(h)});return t?i?h():p=v.run():"post"===a?Bo(v.run.bind(v),u&&u.suspense):v.run(),function(){v.stop(),u&&u.scope&&P(u.scope.effects,v)}}function rr(e,t,n){var r,o=this.proxy,i=U(e)?e.includes(".")?or(o,e):function(){return o[e]}:e.bind(o,o);F(t)?r=t:(r=t.handler,n=t);var l=Si;Ci(this);var a=nr(i,r.bind(o),n);return l?Ci(l):Ti(),a}function or(e,t){var n=t.split(".");return function(){for(var t=e,r=0;r1){var a,s=u(t);try{for(s.s();!(a=s.n()).done;){var c=a.value;if(c.type!==Qo){l=c;break}}}catch(q){s.e(q)}finally{s.f()}}var f=At(e),d=f.mode;if(i.isLeaving)return fr(l);var p=dr(l);if(!p)return fr(l);var h=cr(p,f,i,o);pr(p,h);var v=o.subTree,y=v&&dr(v),b=!1,g=p.type.getTransitionKey;if(g){var m=g();void 0===n?n=m:m!==n&&(n=m,b=!0)}if(y&&y.type!==Qo&&(!ci(p,y)||b)){var _=cr(y,f,i,o);if(pr(y,_),"out-in"===d)return i.isLeaving=!0,_.afterLeave=function(){i.isLeaving=!1,o.update()},fr(l);"in-out"===d&&p.type!==Qo&&(_.delayLeave=function(e,t,n){sr(i,y)[String(y.key)]=y,e._leaveCb=function(){t(),e._leaveCb=void 0,delete h.delayedLeave},h.delayedLeave=n})}return l}}}};function sr(e,t){var n=e.leavingVNodes,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function cr(e,t,n,r){var o=t.appear,i=t.mode,l=t.persisted,a=void 0!==l&&l,u=t.onBeforeEnter,s=t.onEnter,c=t.onAfterEnter,f=t.onEnterCancelled,d=t.onBeforeLeave,p=t.onLeave,h=t.onAfterLeave,v=t.onLeaveCancelled,y=t.onBeforeAppear,b=t.onAppear,g=t.onAfterAppear,m=t.onAppearCancelled,_=String(e.key),q=sr(n,e),w=function(e,t){e&&en(e,r,9,t)},k=function(e,t){var n=t[1];w(e,t),R(e)?e.every((function(e){return e.length<=1}))&&n():e.length<=1&&n()},x={mode:i,persisted:a,beforeEnter(t){var r=u;if(!n.isMounted){if(!o)return;r=y||u}t._leaveCb&&t._leaveCb(!0);var i=q[_];i&&ci(e,i)&&i.el._leaveCb&&i.el._leaveCb(),w(r,[t])},enter(e){var t=s,r=c,i=f;if(!n.isMounted){if(!o)return;t=b||s,r=g||c,i=m||f}var l=!1,a=e._enterCb=function(t){l||(l=!0,w(t?i:r,[e]),x.delayedLeave&&x.delayedLeave(),e._enterCb=void 0)};t?k(t,[e,a]):a()},leave(t,r){var o=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();w(d,[t]);var i=!1,l=t._leaveCb=function(n){i||(i=!0,r(),w(n?v:h,[t]),t._leaveCb=void 0,q[o]===e&&delete q[o])};q[o]=e,p?k(p,[t,l]):l()},clone:e=>cr(e,t,n,r)};return x}function fr(e){if(gr(e))return(e=bi(e)).children=null,e}function dr(e){return gr(e)?e.children?e.children[0]:void 0:e}function pr(e,t){6&e.shapeFlag&&e.component?pr(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function hr(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=[],o=0,i=0;i1)for(var u=0;u1)return a=null,t;if(!(si(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return a=null,r;var o=jr(r),u=o.type,s=Ki(yr(o)?o.type.__asyncResolved||{}:u),c=e.include,f=e.exclude,d=e.max;if(c&&(!s||!qr(c,s))||f&&s&&qr(f,s))return a=o,r;var p=null==o.key?u:o.key,h=i.get(p);return o.el&&(o=bi(o),128&r.shapeFlag&&(r.ssContent=o)),g=p,h?(o.el=h.el,o.component=h.component,o.transition&&pr(o,o.transition),o.shapeFlag|=512,l.delete(p),l.add(p)):(l.add(p),d&&l.size>parseInt(d,10)&&b(l.values().next().value)),o.shapeFlag|=256,a=o,Hn(r.type)?r:o}}},_r=e("az",mr);function qr(e,t){return R(e)?e.some((function(e){return qr(e,t)})):U(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function wr(e,t){xr(e,"a",t)}function kr(e,t){xr(e,"da",t)}function xr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Si,r=e.__wdc||(e.__wdc=function(){for(var t=n;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Ar(t,r,n),n)for(var o=n.parent;o&&o.parent;)gr(o.parent.vnode)&&Or(r,t,n,o),o=o.parent}function Or(e,t,n,r){var o=Ar(t,e,r,!0);Mr((function(){P(r[t],o)}),n)}function Er(e){var t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function jr(e){return 128&e.shapeFlag?e.ssContent:e}function Ar(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Si,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n){var o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=function(){if(!n.isUnmounted){Ee(),Ci(n);for(var r=arguments.length,o=new Array(r),i=0;i1&&void 0!==arguments[1]?arguments[1]:Si;return(!Ri||"sp"===e)&&Ar(e,t,n)}},Nr=e("I",Sr("bm")),Cr=e("h",Sr("m")),Tr=e("aj",Sr("bu")),Pr=e("$",Sr("u")),Lr=e("D",Sr("bum")),Mr=e("G",Sr("um")),Rr=Sr("sp"),Ir=Sr("rtg"),Br=Sr("rtc");function Dr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Si;Ar("ec",e,t)}function Fr(e,t){var n=Tn;if(null===n)return e;for(var r=zi(n)||n.proxy,o=e.dirs||(e.dirs=[]),i=0;i3&&void 0!==arguments[3]&&arguments[3],r=Tn||Si;if(r){var o=r.type;if(e===zr){var i=Ki(o,!1);if(i&&(i===t||i===J(t)||i===ne(J(t))))return o}var l=Zr(r[e]||o[e],t)||Zr(r.appContext[e],t);return!l&&n?o:l}}function Zr(e,t){return e&&(e[t]||e[J(t)]||e[ne(J(t))])}function Gr(e,t,n,r){var o,i=n&&n[r];if(R(e)||U(e)){o=new Array(e.length);for(var l=0,a=e.length;l2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;if(Tn.isCE||Tn.parent&&yr(Tn.parent)&&Tn.parent.isCE)return vi("slot","default"===t?null:{name:t},r&&r());var i=e[t];i&&i._c&&(i._d=!1),ni();var l=i&&Qr(i(n)),a=ui(Yo,{key:n.key||`_${t}`},l||(r?r():[]),l&&1===e._?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Qr(e){return e.some((function(e){return!si(e)||e.type!==Qo&&!(e.type===Yo&&!Qr(e.children))}))?e:null}function Jr(e){var t={};for(var n in e)t[re(n)]=e[n];return t}var eo=function e(t){return t?Pi(t)?zi(t)||t.proxy:e(t.parent):null},to=T(Object.create(null),{$:function(e){return e},$el:function(e){return e.vnode.el},$data:function(e){return e.data},$props:function(e){return e.props},$attrs:function(e){return e.attrs},$slots:function(e){return e.slots},$refs:function(e){return e.refs},$parent:function(e){return eo(e.parent)},$root:function(e){return eo(e.root)},$emit:function(e){return e.emit},$options:function(e){return uo(e)},$forceUpdate:function(e){return e.f||(e.f=function(){return gn(e.update)})},$nextTick:function(e){return e.n||(e.n=bn.bind(e.proxy))},$watch:function(e){return rr.bind(e)}}),no={get(e,t){var n,r=e._,o=r.ctx,i=r.setupState,l=r.data,a=r.props,u=r.accessCache,s=r.type,c=r.appContext;if("$"!==t[0]){var f=u[t];if(void 0!==f)switch(f){case 1:return i[t];case 2:return l[t];case 4:return o[t];case 3:return a[t]}else{if(i!==O&&M(i,t))return u[t]=1,i[t];if(l!==O&&M(l,t))return u[t]=2,l[t];if((n=r.propsOptions[0])&&M(n,t))return u[t]=3,a[t];if(o!==O&&M(o,t))return u[t]=4,o[t];oo&&(u[t]=0)}}var d,p,h=to[t];return h?("$attrs"===t&&Ae(r,0,t),h(r)):(d=s.__cssModules)&&(d=d[t])?d:o!==O&&M(o,t)?(u[t]=4,o[t]):(p=c.config.globalProperties,M(p,t)?p[t]:void 0)},set(e,t,n){var r=e._,o=r.data,i=r.setupState,l=r.ctx;return i!==O&&M(i,t)?(i[t]=n,!0):o!==O&&M(o,t)?(o[t]=n,!0):!M(r.props,t)&&(("$"!==t[0]||!(t.slice(1)in r))&&(l[t]=n,!0))},has(e,t){var n,r=e._,o=r.data,i=r.setupState,l=r.accessCache,a=r.ctx,u=r.appContext,s=r.propsOptions;return!!l[t]||o!==O&&M(o,t)||i!==O&&M(i,t)||(n=s[0])&&M(n,t)||M(a,t)||M(to,t)||M(u.config.globalProperties,t)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:M(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},ro=T({},no,{get(e,t){if(t!==Symbol.unscopables)return no.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!o(t)}),oo=!0;function io(e){var t=uo(e),n=e.proxy,r=e.ctx;oo=!1,t.beforeCreate&&lo(t.beforeCreate,e,"bc");var o=t.data,i=t.computed,l=t.methods,a=t.watch,u=t.provide,s=t.inject,c=t.created,f=t.beforeMount,d=t.mounted,p=t.beforeUpdate,h=t.updated,v=t.activated,y=t.deactivated,b=(t.beforeDestroy,t.beforeUnmount),g=(t.destroyed,t.unmounted),m=t.render,_=t.renderTracked,q=t.renderTriggered,w=t.errorCaptured,k=t.serverPrefetch,x=t.expose,O=t.inheritAttrs,E=t.components,A=t.directives;t.filters;if(s&&function(e,t){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];R(e)&&(e=po(e));var r=function(r){var o=e[r],i=void 0;Lt(i=H(o)?"default"in o?Xn(o.from||r,o.default,!0):Xn(o.from||r):Xn(o))&&n?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:function(){return i.value},set:function(e){return i.value=e}}):t[r]=i};for(var o in e)r(o)}(s,r,null,e.appContext.config.unwrapInjectedRef),l)for(var S in l){var N=l[S];F(N)&&(r[S]=N.bind(n))}if(o){var C=o.call(n,n);H(C)&&(e.data=_t(C))}if(oo=!0,i){var T=function(e){var t=i[e],o=F(t)?t.bind(n,n):F(t.get)?t.get.bind(n,n):j,l=!F(t)&&F(t.set)?t.set.bind(n):j,a=Zi({get:o,set:l});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:function(){return a.value},set:function(e){return a.value=e}})};for(var P in i)T(P)}if(a)for(var L in a)ao(a[L],r,n,L);if(u){var M=F(u)?u.call(n):u;Reflect.ownKeys(M).forEach((function(e){Yn(e,M[e])}))}function I(e,t){R(t)?t.forEach((function(t){return e(t.bind(n))})):t&&e(t.bind(n))}if(c&&lo(c,e,"c"),I(Nr,f),I(Cr,d),I(Tr,p),I(Pr,h),I(wr,v),I(kr,y),I(Dr,w),I(Br,_),I(Ir,q),I(Lr,b),I(Mr,g),I(Rr,k),R(x))if(x.length){var B=e.exposed||(e.exposed={});x.forEach((function(e){Object.defineProperty(B,e,{get:function(){return n[e]},set:function(t){return n[e]=t}})}))}else e.exposed||(e.exposed={});m&&e.render===j&&(e.render=m),null!=O&&(e.inheritAttrs=O),E&&(e.components=E),A&&(e.directives=A)}function lo(e,t,n){en(R(e)?e.map((function(e){return e.bind(t.proxy)})):e.bind(t.proxy),t,n)}function ao(e,t,n,r){var o=r.includes(".")?or(n,r):function(){return n[r]};if(U(e)){var i=t[e];F(i)&&tr(o,i)}else if(F(e))tr(o,e.bind(n));else if(H(e))if(R(e))e.forEach((function(e){return ao(e,t,n,r)}));else{var l=F(e.handler)?e.handler.bind(n):t[e.handler];F(l)&&tr(o,l,e)}}function uo(e){var t,n=e.type,r=n.mixins,o=n.extends,i=e.appContext,l=i.mixins,a=i.optionsCache,u=i.config.optionMergeStrategies,s=a.get(n);return s?t=s:l.length||r||o?(t={},l.length&&l.forEach((function(e){return so(t,e,u,!0)})),so(t,n,u)):t=n,a.set(n,t),t}function so(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=t.mixins,i=t.extends;for(var l in i&&so(e,i,n,!0),o&&o.forEach((function(t){return so(e,t,n,!0)})),t)if(r&&"expose"===l);else{var a=co[l]||n&&n[l];e[l]=a?a(e[l],t[l]):t[l]}return e}var co={data:fo,props:vo,emits:vo,methods:vo,computed:vo,beforeCreate:ho,created:ho,beforeMount:ho,mounted:ho,beforeUpdate:ho,updated:ho,beforeDestroy:ho,beforeUnmount:ho,destroyed:ho,unmounted:ho,activated:ho,deactivated:ho,errorCaptured:ho,serverPrefetch:ho,components:vo,directives:vo,watch:function(e,t){if(!e)return t;if(!t)return e;var n=T(Object.create(null),e);for(var r in t)n[r]=ho(e[r],t[r]);return n},provide:fo,inject:function(e,t){return vo(po(e),po(t))}};function fo(e,t){return t?e?function(){return T(F(e)?e.call(this,this):e,F(t)?t.call(this,this):t)}:t:e}function po(e){if(R(e)){for(var t={},n=0;n3&&void 0!==arguments[3]&&arguments[3],o={},i={};for(var l in le(i,fi,1),e.propsDefaults=Object.create(null),bo(e,t,o,i),e.propsOptions[0])l in o||(o[l]=void 0);n?e.props=r?o:qt(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function bo(e,t,n,r){var o,i=d(e.propsOptions,2),l=i[0],a=i[1],u=!1;if(t)for(var s in t)if(!Y(s)){var c=t[s],f=void 0;l&&M(l,f=J(s))?a&&a.includes(f)?(o||(o={}))[f]=c:n[f]=c:Cn(e.emitsOptions,s)||s in r&&c===r[s]||(r[s]=c,u=!0)}if(a)for(var p=At(n),h=o||O,v=0;v2&&void 0!==arguments[2]&&arguments[2],r=t.propsCache,o=r.get(e);if(o)return o;var i=e.props,l={},a=[],u=!1;if(!F(e)){var s=function(e){u=!0;var n=d(mo(e,t,!0),2),r=n[0],o=n[1];T(l,r),o&&a.push.apply(a,p(o))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}if(!i&&!u)return r.set(e,E),E;if(R(i))for(var c=0;c-1,b[1]=m<0||g-1||M(b,"default"))&&a.push(v)}}}var _=[l,a];return r.set(e,_),_}function _o(e){return"$"!==e[0]}function qo(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function wo(e,t){return qo(e)===qo(t)}function ko(e,t){return R(t)?t.findIndex((function(t){return wo(t,e)})):F(t)&&wo(t,e)?0:-1}var xo=function(e){return"_"===e[0]||"$stable"===e},Oo=function(e){return R(e)?e.map(qi):[qi(e)]},Eo=function(e,t,n){if(t._n)return t;var r=In((function(){return Oo(t.apply(void 0,arguments))}),n);return r._c=!1,r},jo=function(e,t,n){var r=e._ctx;for(var o in e)if(!xo(o)){var i=e[o];F(i)?t[o]=Eo(0,i,r):null!=i&&function(){var e=Oo(i);t[o]=function(){return e}}()}},Ao=function(e,t){var n=Oo(t);e.slots.default=function(){return n}},So=function(e,t){if(32&e.vnode.shapeFlag){var n=t._;n?(e.slots=At(t),le(t,"_",n)):jo(t,e.slots={})}else e.slots={},t&&Ao(e,t);le(e.slots,fi,1)};function No(){return{app:null,config:{isNativeTag:A,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var Co=0;function To(e,t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;F(n)||(n=Object.assign({},n)),null==r||H(r)||(r=null);var o=No(),i=new Set,l=!1,a=o.app={_uid:Co++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:tl,get config(){return o.config},set config(e){},use(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r(o.mixins.includes(e)||o.mixins.push(e),a),component:(e,t)=>t?(o.components[e]=t,a):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,a):o.directives[e],mount(i,u,s){if(!l){var c=vi(n,r);return c.appContext=o,u&&t?t(c,i):e(c,i,s),l=!0,a._container=i,i.__vue_app__=a,zi(c.component)||c.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,a)};return a}}function Po(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(R(e))e.forEach((function(e,i){return Po(e,t&&(R(t)?t[i]:t),n,r,o)}));else if(!yr(r)||o){var i=4&r.shapeFlag?zi(r.component)||r.component.proxy:r.el,l=o?null:i,a=e.i,u=e.r,s=t&&t.r,c=a.refs===O?a.refs={}:a.refs,f=a.setupState;if(null!=s&&s!==u&&(U(s)?(c[s]=null,M(f,s)&&(f[s]=null)):Lt(s)&&(s.value=null)),F(u))Jt(u,a,12,[l,c]);else{var d=U(u),p=Lt(u);if(d||p){var h=function(){if(e.f){var t=d?c[u]:u.value;o?R(t)&&P(t,i):R(t)?t.includes(i)||t.push(i):d?(c[u]=[i],M(f,u)&&(f[u]=c[u])):(u.value=[i],e.k&&(c[e.k]=u.value))}else d?(c[u]=l,M(f,u)&&(f[u]=l)):p&&(u.value=l,e.k&&(c[e.k]=l))};l?(h.id=-1,Bo(h,n)):h()}}}}var Lo=!1,Mo=function(e){return/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName},Ro=function(e){return 8===e.nodeType};function Io(e){var t=e.mt,n=e.p,r=e.o,o=r.patchProp,i=r.createText,l=r.nextSibling,a=r.parentNode,u=r.remove,s=r.insert,c=r.createComment,f=function n(r,o,u,c,f){var b=arguments.length>5&&void 0!==arguments[5]&&arguments[5],g=Ro(r)&&"["===r.data,m=function(){return v(r,o,u,c,f,g)},_=o.type,q=o.ref,w=o.shapeFlag,k=o.patchFlag,x=r.nodeType;o.el=r,-2===k&&(b=!1,o.dynamicChildren=null);var O=null;switch(_){case Xo:3!==x?""===o.children?(s(o.el=i(""),a(r),r),O=r):O=m():(r.data!==o.children&&(Lo=!0,r.data=o.children),O=l(r));break;case Qo:O=8!==x||g?m():l(r);break;case Jo:if(1===x||3===x){O=r;for(var E=!o.children.length,j=0;j3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6],a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:!!t.dynamicChildren;if(e!==t){e&&!ci(e,t)&&(r=ee(e),W(e,o,i,!0),e=null),-2===t.patchFlag&&(u=!1,t.dynamicChildren=null);var s=t.type,c=t.ref,f=t.shapeFlag;switch(s){case Xo:_(e,t,n,r);break;case Qo:w(e,t,n,r);break;case Jo:null==e&&k(t,n,r,l);break;case Yo:I(e,t,n,r,o,i,l,a,u);break;default:1&f?A(e,t,n,r,o,i,l,a,u):6&f?B(e,t,n,r,o,i,l,a,u):(64&f||128&f)&&s.process(e,t,n,r,o,i,l,a,u,re)}null!=c&&o&&Po(c,e&&e.ref,i,t||e,!t)}},_=function(e,t,n,r){if(null==e)o(t.el=u(t.children),n,r);else{var i=t.el=e.el;t.children!==e.children&&c(i,t.children)}},w=function(e,t,n,r){null==e?o(t.el=s(t.children||""),n,r):t.el=e.el},k=function(e,t,n,r){var o=d(g(e.children,t,n,r,e.el,e.anchor),2);e.el=o[0],e.anchor=o[1]},x=function(e,t,n){for(var r,i=e.el,l=e.anchor;i&&i!==l;)r=h(i),o(i,t,n),i=r;o(l,t,n)},A=function(e,t,n,r,o,i,l,a,u){l=l||"svg"===t.type,null==e?S(t,n,r,o,i,l,a,u):P(e,t,o,i,l,a,u)},S=function(e,t,n,r,i,u,s,c){var d,p,h=e.type,v=e.props,y=e.shapeFlag,g=e.transition,m=e.patchFlag,_=e.dirs;if(e.el&&void 0!==b&&-1===m)d=e.el=b(e.el);else{if(d=e.el=a(e.type,u,v&&v.is,v),8&y?f(d,e.children):16&y&&C(e.children,d,null,r,i,u&&"foreignObject"!==h,s,c),_&&Ur(e,null,r,"created"),v){for(var q in v)"value"===q||Y(q)||l(d,q,null,v[q],u,e.children,r,i,Q);"value"in v&&l(d,"value",null,v.value),(p=v.onVnodeBeforeMount)&&Oi(p,r,e)}N(d,e,e.scopeId,s,r)}_&&Ur(e,null,r,"beforeMount");var w=(!i||i&&!i.pendingBranch)&&g&&!g.persisted;w&&g.beforeEnter(d),o(d,t,n),((p=v&&v.onVnodeMounted)||w||_)&&Bo((function(){p&&Oi(p,r,e),w&&g.enter(d),_&&Ur(e,null,r,"mounted")}),i)},N=function e(t,n,r,o,i){if(r&&y(t,r),o)for(var l=0;l8&&void 0!==arguments[8]?arguments[8]:0,s=u;s0){if(16&s)R(u,t,h,v,n,r,o);else if(2&s&&h.class!==v.class&&l(u,"class",null,v.class,o),4&s&&l(u,"style",h.style,v.style,o),8&s)for(var b=t.dynamicProps,g=0;g0&&64&p&&h&&e.dynamicChildren?(L(e.dynamicChildren,h,n,i,l,a,s),(null!=t.key||i&&t===i.subTree)&&Ho(e,t,!0)):H(e,t,n,d,i,l,a,s,c)},B=function(e,t,n,r,o,i,l,a,u){t.slotScopeIds=a,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,l,u):D(t,n,r,o,i,l,u):F(e,t,u)},D=function(e,t,n,r,o,i,l){var a=e.component=Ai(e,r,o);if(gr(e)&&(a.ctx.renderer=re),Ii(a),a.asyncDep){if(o&&o.registerDep(a,U),!e.el){var u=a.subTree=vi(Qo);w(null,u,t,n)}}else U(a,e,t,n,o,i,l)},F=function(e,t,n){var r,o,i=t.component=e.component;if(function(e,t,n){var r=e.props,o=e.children,i=e.component,l=t.props,a=t.children,u=t.patchFlag,s=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&u>=0))return!(!o&&!a||a&&a.$stable)||r!==l&&(r?!l||Un(r,l,s):!!l);if(1024&u)return!0;if(16&u)return r?Un(r,l,s):!!l;if(8&u)for(var c=t.dynamicProps,f=0;fan&&ln.splice(o,1),i.update()}else t.el=e.el,i.vnode=t},U=function(e,t,n,o,i,l,a){var u=e.effect=new we((function(){if(e.isMounted){var u,s=e.next,c=e.bu,f=e.u,d=e.parent,h=e.vnode,v=s;zo(e,!1),s?(s.el=h.el,z(e,s,a)):s=h,c&&ie(c),(u=s.props&&s.props.onVnodeBeforeUpdate)&&Oi(u,d,s,h),zo(e,!0);var y=Bn(e),b=e.subTree;e.subTree=y,m(b,y,p(b.el),ee(b),e,i,l),s.el=y.el,null===v&&zn(e,y.el),f&&Bo(f,i),(u=s.props&&s.props.onVnodeUpdated)&&Bo((function(){return Oi(u,d,s,h)}),i)}else{var g,_=t,q=_.el,w=_.props,k=e.bm,x=e.m,O=e.parent,E=yr(t);if(zo(e,!1),k&&ie(k),!E&&(g=w&&w.onVnodeBeforeMount)&&Oi(g,O,t),zo(e,!0),q&&r){var j=function(){e.subTree=Bn(e),r(q,e.subTree,e,i,null)};E?t.type.__asyncLoader().then((function(){return!e.isUnmounted&&j()})):j()}else{var A=e.subTree=Bn(e);m(null,A,n,o,e,i,l),t.el=A.el}if(x&&Bo(x,i),!E&&(g=w&&w.onVnodeMounted)){var S=t;Bo((function(){return Oi(g,O,S)}),i)}(256&t.shapeFlag||O&&yr(O.vnode)&&256&O.vnode.shapeFlag)&&e.a&&Bo(e.a,i),e.isMounted=!0,t=n=o=null}}),(function(){return gn(s)}),e.scope),s=e.update=function(){return u.run()};s.id=e.uid,zo(e,!0),s()},z=function(e,t,n){t.component=e;var r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){var o=e.props,i=e.attrs,l=e.vnode.patchFlag,a=At(o),u=d(e.propsOptions,1)[0],s=!1;if(!(r||l>0)||16&l){var c;for(var f in bo(e,t,o,i)&&(s=!0),a)t&&(M(t,f)||(c=te(f))!==f&&M(t,c))||(u?!n||void 0===n[f]&&void 0===n[c]||(o[f]=go(u,a,f,void 0,e,!0)):delete o[f]);if(i!==a)for(var p in i)t&&M(t,p)||(delete i[p],s=!0)}else if(8&l)for(var h=e.vnode.dynamicProps,v=0;v8&&void 0!==arguments[8]&&arguments[8],s=e&&e.children,c=e?e.shapeFlag:0,d=t.children,p=t.patchFlag,h=t.shapeFlag;if(p>0){if(128&p)return void K(s,d,n,r,o,i,l,a,u);if(256&p)return void V(s,d,n,r,o,i,l,a,u)}8&h?(16&c&&Q(s,o,i),d!==s&&f(n,d)):16&c?16&h?K(s,d,n,r,o,i,l,a,u):Q(s,o,i,!0):(8&c&&f(n,""),16&h&&C(d,n,r,o,i,l,a,u))},V=function(e,t,n,r,o,i,l,a,u){t=t||E;var s,c=(e=e||E).length,f=t.length,d=Math.min(c,f);for(s=0;sf?Q(e,o,i,!0,!1,d):C(t,n,r,o,i,l,a,u,d)},K=function(e,t,n,r,o,i,l,a,u){for(var s=0,c=t.length,f=e.length-1,d=c-1;s<=f&&s<=d;){var p=e[s],h=t[s]=u?wi(t[s]):qi(t[s]);if(!ci(p,h))break;m(p,h,n,null,o,i,l,a,u),s++}for(;s<=f&&s<=d;){var v=e[f],y=t[d]=u?wi(t[d]):qi(t[d]);if(!ci(v,y))break;m(v,y,n,null,o,i,l,a,u),f--,d--}if(s>f){if(s<=d)for(var b=d+1,g=bd)for(;s<=f;)W(e[s],o,i,!0),s++;else{var _,q=s,w=s,k=new Map;for(s=w;s<=d;s++){var x=t[s]=u?wi(t[s]):qi(t[s]);null!=x.key&&k.set(x.key,s)}var O=0,j=d-w+1,A=!1,S=0,N=new Array(j);for(s=0;s=j)W(C,o,i,!0);else{var T=void 0;if(null!=C.key)T=k.get(C.key);else for(_=w;_<=d;_++)if(0===N[_-w]&&ci(C,t[_])){T=_;break}void 0===T?W(C,o,i,!0):(N[T-w]=s+1,T>=S?S=T:A=!0,m(C,t[T],n,null,o,i,l,a,u),O++)}}var P=A?function(e){var t,n,r,o,i,l=e.slice(),a=[0],u=e.length;for(t=0;t>1]]0&&(l[t]=a[r-1]),a[r]=t)}}r=a.length,o=a[r-1];for(;r-- >0;)a[r]=o,o=l[o];return a}(N):E;for(_=P.length-1,s=j-1;s>=0;s--){var L=w+s,M=t[L],R=L+14&&void 0!==arguments[4]?arguments[4]:null,a=t.el,u=t.type,s=t.transition,c=t.children,f=t.shapeFlag;if(6&f)e(t.component.subTree,n,r,i);else if(128&f)t.suspense.move(n,r,i);else if(64&f)u.move(t,n,r,re);else if(u!==Yo)if(u!==Jo){var d=2!==i&&1&f&&s;if(d)if(0===i)s.beforeEnter(a),o(a,n,r),Bo((function(){return s.enter(a)}),l);else{var p=s.leave,h=s.delayLeave,v=s.afterLeave,y=function(){return o(a,n,r)},b=function(){p(a,(function(){y(),v&&v()}))};h?h(a,y,b):b()}else o(a,n,r)}else x(t,n,r);else{o(a,n,r);for(var g=0;g3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=e.type,l=e.props,a=e.ref,u=e.children,s=e.dynamicChildren,c=e.shapeFlag,f=e.patchFlag,d=e.dirs;if(null!=a&&Po(a,null,n,e,!0),256&c)t.ctx.deactivate(e);else{var p,h=1&c&&d,v=!yr(e);if(v&&(p=l&&l.onVnodeBeforeUnmount)&&Oi(p,t,e),6&c)X(e.component,n,r);else{if(128&c)return void e.suspense.unmount(n,r);h&&Ur(e,null,t,"beforeUnmount"),64&c?e.type.remove(e,t,n,o,re,r):s&&(i!==Yo||f>0&&64&f)?Q(s,t,n,!1,!0):(i===Yo&&384&f||!o&&16&c)&&Q(u,t,n),r&&Z(e)}(v&&(p=l&&l.onVnodeUnmounted)||h)&&Bo((function(){p&&Oi(p,t,e),h&&Ur(e,null,t,"unmounted")}),n)}},Z=function(e){var t=e.type,n=e.el,r=e.anchor,o=e.transition;if(t!==Yo)if(t!==Jo){var l=function(){i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){var a=o.leave,u=o.delayLeave,s=function(){return a(n,l)};u?u(e.el,l,s):s()}else l()}else!function(e){for(var t,n=e.el,r=e.anchor;n&&n!==r;)t=h(n),i(n),n=t;i(r)}(e);else G(n,r)},G=function(e,t){for(var n;e!==t;)n=h(e),i(e),e=n;i(t)},X=function(e,t,n){var r=e.bum,o=e.scope,i=e.update,l=e.subTree,a=e.um;r&&ie(r),o.stop(),i&&(i.active=!1,W(l,e,t,n)),a&&Bo(a,t),Bo((function(){e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Q=function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,l=i;l2&&void 0!==arguments[2]&&arguments[2],r=e.children,o=t.children;if(R(r)&&R(o))for(var i=0;i4&&void 0!==arguments[4]?arguments[4]:2;0===l&&o(e.targetAnchor,t,n);var a=e.el,u=e.anchor,s=e.shapeFlag,c=e.children,f=e.props,d=2===l;if(d&&o(a,t,n),(!d||Ko(f))&&16&s)for(var p=0;p0&&void 0!==arguments[0]&&arguments[0];ei.push(ti=e?null:[])}function ri(){ei.pop(),ti=ei[ei.length-1]||null}var oi=1;function ii(e){oi+=e}function li(e){return e.dynamicChildren=oi>0?ti||E:null,ri(),oi>0&&ti&&ti.push(e),e}function ai(e,t,n,r,o,i){return li(hi(e,t,n,r,o,i,!0))}function ui(e,t,n,r,o){return li(vi(e,t,n,r,o,!0))}function si(e){return!!e&&!0===e.__v_isVNode}function ci(e,t){return e.type===t.type&&e.key===t.key}var fi="__vInternal",di=function(e){var t=e.key;return null!=t?t:null},pi=function(e){var t=e.ref,n=e.ref_key,r=e.ref_for;return null!=t?U(t)||Lt(t)||F(t)?{i:Tn,r:t,k:n,f:!!r}:t:null};function hi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e===Yo?0:1,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6],a=arguments.length>7&&void 0!==arguments[7]&&arguments[7],u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&di(t),ref:t&&pi(t),scopeId:Pn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null};return a?(ki(u,n),128&i&&e.normalize(u)):n&&(u.shapeFlag|=U(n)?8:16),oi>0&&!l&&ti&&(u.patchFlag>0||6&i)&&32!==u.patchFlag&&ti.push(u),u}var vi=e("Y",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];e&&e!==Vr||(e=Qo);if(si(e)){var l=bi(e,t,!0);return n&&ki(l,n),oi>0&&!i&&ti&&(6&l.shapeFlag?ti[ti.indexOf(e)]=l:ti.push(l)),l.patchFlag|=-2,l}Wi(e)&&(e=e.__vccOpts);if(t){var a=t=yi(t),u=a.class,s=a.style;u&&!U(u)&&(t.class=b(u)),H(s)&&(jt(s)&&!R(s)&&(s=T({},s)),t.style=c(s))}var f=U(e)?1:Hn(e)?128:Vo(e)?64:H(e)?4:F(e)?2:0;return hi(e,t,n,r,o,f,i,!0)}));function yi(e){return e?jt(e)||fi in e?T({},e):e:null}function bi(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.props,o=e.ref,i=e.patchFlag,l=e.children,a=t?xi(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&di(a),ref:t&&t.ref?n&&o?R(o)?o.concat(pi(t)):[o,pi(t)]:pi(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Yo?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&bi(e.ssContent),ssFallback:e.ssFallback&&bi(e.ssFallback),el:e.el,anchor:e.anchor};return u}function gi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return vi(Xo,null,e,t)}function mi(e,t){var n=vi(Jo,null,e);return n.staticCount=t,n}function _i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?(ni(),ui(Qo,null,e)):vi(Qo,null,e)}function qi(e){return null==e||"boolean"==typeof e?vi(Qo):R(e)?vi(Yo,null,e.slice()):"object"==typeof e?wi(e):vi(Xo,null,String(e))}function wi(e){return null===e.el||e.memo?e:bi(e)}function ki(e,t){var n=0,r=e.shapeFlag;if(null==t)t=null;else if(R(t))n=16;else if("object"==typeof t){if(65&r){var o=t.default;return void(o&&(o._c&&(o._d=!1),ki(e,o()),o._c&&(o._d=!0)))}n=32;var i=t._;i||fi in t?3===i&&Tn&&(1===Tn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Tn}else F(t)?(t={default:t,_ctx:Tn},n=32):(t=String(t),64&r?(n=16,t=[gi(t)]):n=8);e.children=t,e.shapeFlag|=n}function xi(){for(var e={},t=0;t3&&void 0!==arguments[3]?arguments[3]:null;en(e,t,7,[n,r])}var Ei=No(),ji=0;function Ai(e,t,n){var r=e.type,o=(t?t.appContext:e.appContext)||Ei,i={uid:ji++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new ue(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:mo(r,o),emitsOptions:Nn(r,o),emit:null,emitted:null,propsDefaults:O,inheritAttrs:r.inheritAttrs,ctx:O,data:O,props:O,attrs:O,slots:O,refs:O,setupState:O,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Sn.bind(null,i),e.ce&&e.ce(i),i}var Si=null,Ni=e("f",(function(){return Si||Tn})),Ci=function(e){Si=e,e.scope.on()},Ti=function(){Si&&Si.scope.off(),Si=null};function Pi(e){return 4&e.vnode.shapeFlag}var Li,Mi,Ri=!1;function Ii(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Ri=t;var n=e.vnode,r=n.props,o=n.children,i=Pi(e);yo(e,r,i,t),So(e,o);var l=i?Bi(e,t):void 0;return Ri=!1,l}function Bi(e,t){var n=e.type;e.accessCache=Object.create(null),e.proxy=St(new Proxy(e.ctx,no));var r=n.setup;if(r){var o=e.setupContext=r.length>1?Ui(e):null;Ci(e),Ee();var i=Jt(r,e,0,[e.props,o]);if(je(),Ti(),V(i)){if(i.then(Ti,Ti),t)return i.then((function(n){Di(e,n,t)})).catch((function(t){tn(t,e,0)}));e.asyncDep=i}else Di(e,i,t)}else Fi(e,t)}function Di(e,t,n){F(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:H(t)&&(e.setupState=zt(t)),Fi(e,n)}function Fi(e,t,n){var r=e.type;if(!e.render){if(!t&&Li&&!r.render){var o=r.template;if(o){var i=e.appContext.config,l=i.isCustomElement,a=i.compilerOptions,u=r.delimiters,s=r.compilerOptions,c=T(T({isCustomElement:l,delimiters:u},a),s);r.render=Li(o,c)}}e.render=r.render||j,Mi&&Mi(e)}Ci(e),Ee(),io(e),je(),Ti()}function Ui(e){var t;return{get attrs(){return t||(t=function(e){return new Proxy(e.attrs,{get:(t,n)=>(Ae(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:function(t){e.exposed=t||{}}}}function zi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(zt(St(e.exposed)),{get:(t,n)=>n in t?t[n]:n in to?to[n](e):void 0}))}var Hi=/(?:^|[-_])(\w)/g,Vi=function(e){return e.replace(Hi,(function(e){return e.toUpperCase()})).replace(/[-_]/g,"")};function Ki(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return F(e)?e.displayName||e.name:e.name||t&&e.__name}function $i(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Ki(t);if(!r&&t.__file){var o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e&&e.parent){var i=function(e){for(var n in e)if(e[n]===t)return n};r=i(e.components||e.parent.type.components)||i(e.appContext.components)}return r?Vi(r):n?"App":"Anonymous"}function Wi(e){return F(e)&&"__vccOpts"in e}var Zi=e("i",(function(e,t){return function(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=F(e);return i?(n=e,r=j):(n=e.get,r=e.set),new Wt(n,r,i||!r,o)}(e,t,Ri)}));function Gi(){return Xi().slots}function Yi(){return Xi().attrs}function Xi(){var e=Ni();return e.setupContext||(e.setupContext=Ui(e))}function Qi(e,t,n){var r=arguments.length;return 2===r?H(t)&&!R(t)?si(t)?vi(e,null,[t]):vi(e,t):vi(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&si(n)&&(n=[n]),vi(e,t,n))}var Ji=Symbol("");function el(e,t){var n=e.memo;if(n.length!=t.length)return!1;for(var r=0;r0&&ti&&ti.push(e),!0}var tl="3.2.37",nl={createComponentInstance:Ai,setupComponent:Ii,renderComponentRoot:Bn,setCurrentRenderingInstance:Ln,isVNode:si,normalizeVNode:qi},rl="undefined"!=typeof document?document:null,ol=rl&&rl.createElement("template"),il={insert:function(e,t,n){t.insertBefore(e,n||null)},remove:function(e){var t=e.parentNode;t&&t.removeChild(e)},createElement:function(e,t,n,r){var o=t?rl.createElementNS("http://www.w3.org/2000/svg",e):rl.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:function(e){return rl.createTextNode(e)},createComment:function(e){return rl.createComment(e)},setText:function(e,t){e.nodeValue=t},setElementText:function(e,t){e.textContent=t},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},querySelector:function(e){return rl.querySelector(e)},setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){var t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,o,i){var l=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==i&&(o=o.nextSibling););else{ol.innerHTML=r?`${e}`:e;var a=ol.content;if(r){for(var u=a.firstChild;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}t.insertBefore(a,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function ll(e,t,n){var r=e._vtc;r&&(t=(t?[t].concat(p(r)):p(r)).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function al(e,t,n){var r=e.style,o=U(n);if(n&&!o){for(var i in n)sl(r,i,n[i]);if(t&&!U(t))for(var l in t)null==n[l]&&sl(r,l,"")}else{var a=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=a)}}var ul=/\s*!important$/;function sl(e,t,n){if(R(n))n.forEach((function(n){return sl(e,t,n)}));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{var r=function(e,t){var n=fl[t];if(n)return n;var r=J(t);if("filter"!==r&&r in e)return fl[t]=r;r=ne(r);for(var o=0;odocument.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));var n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]}(),yl=d(vl,2),bl=yl[0],gl=yl[1],ml=0,_l=Promise.resolve(),ql=function(){ml=0};function wl(e,t,n,r){e.addEventListener(t,n,r)}function kl(e,t,n,r){e.removeEventListener(t,n,r)}function xl(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=e._vei||(e._vei={}),l=i[t];if(r&&l)l.value=r;else{var a=El(t),u=d(a,2),s=u[0],c=u[1];if(r){var f=i[t]=jl(r,o);wl(e,s,f,c)}else l&&(kl(e,s,l,c),i[t]=void 0)}}var Ol=/(?:Once|Passive|Capture)$/;function El(e){var t,n;if(Ol.test(e))for(t={};n=e.match(Ol);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0;return[te(e.slice(2)),t]}function jl(e,t){var n=function e(n){var r=n.timeStamp||bl();(gl||r>=e.attached-1)&&en(function(e,t){if(R(t)){var n=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){n.call(e),e._stopped=!0},t.map((function(e){return function(t){return!t._stopped&&e&&e(t)}}))}return t}(n,e.value),t,5,[n])};return n.value=e,n.attached=ml||(_l.then(ql),ml=bl()),n}var Al=/^on[a-z]/;function Sl(e,t,n,r){return r?"innerHTML"===t||"textContent"===t||!!(t in e&&Al.test(t)&&F(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!Al.test(t)||!U(n))&&t in e))))}function Nl(e,t){var n=vr(e),o=function(e){r(l,e);var o=i(l);function l(e){return s(this,l),o.call(this,n,e,t)}return f(l)}(Cl);return o.def=n,o}var Cl=function(e){r(n,e);var t=i(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return s(this,n),(r=t.call(this))._def=e,r._props=o,r._instance=null,r._connected=!1,r._resolved=!1,r._numberProps=null,r.shadowRoot&&i?i(r._createVNode(),r.shadowRoot):r.attachShadow({mode:"open"}),r}return f(n,[{key:"connectedCallback",value:function(){this._connected=!0,this._instance||this._resolveDef()}},{key:"disconnectedCallback",value:function(){var e=this;this._connected=!1,bn((function(){e._connected||(Na(null,e.shadowRoot),e._instance=null)}))}},{key:"_resolveDef",value:function(){var e=this;if(!this._resolved){this._resolved=!0;for(var t=0;t2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];t!==this._props[e]&&(this._props[e]=t,r&&this._instance&&this._update(),n&&(!0===t?this.setAttribute(te(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(te(e),t+""):t||this.removeAttribute(te(e))))}},{key:"_update",value:function(){Na(this._createVNode(),this.shadowRoot)}},{key:"_createVNode",value:function(){var e=this,t=vi(this._def,T({},this._props));return this._instance||(t.ce=function(t){e._instance=t,t.isCE=!0,t.emit=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:[];R(e)?e.forEach((function(e){return e.apply(void 0,p(t))})):e&&e.apply(void 0,p(t))},Fl=function(e){return!!e&&(R(e)?e.some((function(e){return e.length>1})):e.length>1)};function Ul(e){var t={};for(var n in e)n in Il||(t[n]=e[n]);if(!1===e.css)return t;var r=e.name,o=void 0===r?"v":r,i=e.type,l=e.duration,a=e.enterFromClass,u=void 0===a?`${o}-enter-from`:a,s=e.enterActiveClass,c=void 0===s?`${o}-enter-active`:s,f=e.enterToClass,d=void 0===f?`${o}-enter-to`:f,p=e.appearFromClass,h=void 0===p?u:p,v=e.appearActiveClass,y=void 0===v?c:v,b=e.appearToClass,g=void 0===b?d:b,m=e.leaveFromClass,_=void 0===m?`${o}-leave-from`:m,q=e.leaveActiveClass,w=void 0===q?`${o}-leave-active`:q,k=e.leaveToClass,x=void 0===k?`${o}-leave-to`:k,O=function(e){if(null==e)return null;if(H(e))return[zl(e.enter),zl(e.leave)];var t=zl(e);return[t,t]}(l),E=O&&O[0],j=O&&O[1],A=t.onBeforeEnter,S=t.onEnter,N=t.onEnterCancelled,C=t.onLeave,P=t.onLeaveCancelled,L=t.onBeforeAppear,M=void 0===L?A:L,R=t.onAppear,I=void 0===R?S:R,B=t.onAppearCancelled,D=void 0===B?N:B,F=function(e,t,n){Vl(e,t?g:d),Vl(e,t?y:c),n&&n()},U=function(e,t){e._isLeaving=!1,Vl(e,_),Vl(e,x),Vl(e,w),t&&t()},z=function(e){return function(t,n){var r=e?I:S,o=function(){return F(t,e,n)};Dl(r,[t,o]),Kl((function(){Vl(t,e?h:u),Hl(t,e?g:d),Fl(r)||Wl(t,i,E,o)}))}};return T(t,{onBeforeEnter(e){Dl(A,[e]),Hl(e,u),Hl(e,c)},onBeforeAppear(e){Dl(M,[e]),Hl(e,h),Hl(e,y)},onEnter:z(!1),onAppear:z(!0),onLeave(e,t){e._isLeaving=!0;var n=function(){return U(e,t)};Hl(e,_),Xl(),Hl(e,w),Kl((function(){e._isLeaving&&(Vl(e,_),Hl(e,x),Fl(C)||Wl(e,i,j,n))})),Dl(C,[e,n])},onEnterCancelled(e){F(e,!1),Dl(N,[e])},onAppearCancelled(e){F(e,!0),Dl(D,[e])},onLeaveCancelled(e){U(e),Dl(P,[e])}})}function zl(e){return ae(e)}function Hl(e,t){t.split(/\s+/).forEach((function(t){return t&&e.classList.add(t)})),(e._vtc||(e._vtc=new Set)).add(t)}function Vl(e,t){t.split(/\s+/).forEach((function(t){return t&&e.classList.remove(t)}));var n=e._vtc;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Kl(e){requestAnimationFrame((function(){requestAnimationFrame(e)}))}var $l=0;function Wl(e,t,n,r){var o=e._endId=++$l,i=function(){o===e._endId&&r()};if(n)return setTimeout(i,n);var l=Zl(e,t),a=l.type,u=l.timeout,s=l.propCount;if(!a)return r();var c=a+"end",f=0,d=function(){e.removeEventListener(c,p),i()},p=function(t){t.target===e&&++f>=s&&d()};setTimeout((function(){f0&&(c=Ll,f=l,d=i.length):t===Ml?s>0&&(c=Ml,f=s,d=u.length):d=(c=(f=Math.max(l,s))>0?l>s?Ll:Ml:null)?c===Ll?i.length:u.length:0,{type:c,timeout:f,propCount:d,hasTransform:c===Ll&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function Gl(e,t){for(;e.length-1:B(r)?e.checked=r.has(n.props.value):r!==o&&(e.checked=m(r,ha(e,!0)))}var ca=e("ag",{created(e,t,n){var r=t.value;e.checked=m(r,n.props.value),e._assign=oa(n),wl(e,"change",(function(){e._assign(pa(e))}))},beforeUpdate(e,t,n){var r=t.value,o=t.oldValue;e._assign=oa(n),r!==o&&(e.checked=m(r,n.props.value))}}),fa={deep:!0,created(e,t,n){var r=t.value,o=t.modifiers.number,i=B(r);wl(e,"change",(function(){var t=Array.prototype.filter.call(e.options,(function(e){return e.selected})).map((function(e){return o?ae(pa(e)):pa(e)}));e._assign(e.multiple?i?new Set(t):t:t[0])})),e._assign=oa(n)},mounted(e,t){da(e,t.value)},beforeUpdate(e,t,n){e._assign=oa(n)},updated(e,t){da(e,t.value)}};function da(e,t){var n=e.multiple;if(!n||R(t)||B(t)){for(var r=0,o=e.options.length;r-1:i.selected=t.has(l);else if(m(pa(i),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function pa(e){return"_value"in e?e._value:e.value}function ha(e,t){var n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}var va={created(e,t,n){ba(e,t,n,null,"created")},mounted(e,t,n){ba(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){ba(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){ba(e,t,n,r,"updated")}};function ya(e,t){switch(e){case"SELECT":return fa;case"TEXTAREA":return aa;default:switch(t){case"checkbox":return ua;case"radio":return ca;default:return aa}}}function ba(e,t,n,r,o){var i=ya(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}var ga=["ctrl","shift","alt","meta"],ma={stop:function(e){return e.stopPropagation()},prevent:function(e){return e.preventDefault()},self:function(e){return e.target!==e.currentTarget},ctrl:function(e){return!e.ctrlKey},shift:function(e){return!e.shiftKey},alt:function(e){return!e.altKey},meta:function(e){return!e.metaKey},left:function(e){return"button"in e&&0!==e.button},middle:function(e){return"button"in e&&1!==e.button},right:function(e){return"button"in e&&2!==e.button},exact:function(e,t){return ga.some((function(n){return e[`${n}Key`]&&!t.includes(n)}))}},_a=e("a0",(function(e,t){return function(n){for(var r=0;r1?i-1:0),a=1;a4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5?arguments[5]:void 0,l=arguments.length>6?arguments[6]:void 0,a=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0;"class"===t?ll(e,r,o):"style"===t?al(e,n,r):N(t)?C(t)||xl(e,t,n,r,l):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):Sl(e,t,r,o))?hl(e,t,r,i,l,a,u):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),pl(e,t,r,o))}},il),ja=!1;function Aa(){return Oa||(Oa=Do(Ea))}function Sa(){return Oa=ja?Oa:Fo(Ea),ja=!0,Oa}var Na=e("ax",(function(){var e;(e=Aa()).render.apply(e,arguments)})),Ca=function(){var e;(e=Sa()).hydrate.apply(e,arguments)},Ta=e("au",(function(){var e,t=(e=Aa()).createApp.apply(e,arguments),n=t.mount;return t.mount=function(e){var r=Pa(e);if(r){var o=t._component;F(o)||o.render||o.template||(o.template=r.innerHTML),r.innerHTML="";var i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i}},t}));function Pa(e){return U(e)?document.querySelector(e):e}var La=!1,Ma=Object.freeze(Object.defineProperty({__proto__:null,compile:function(){},EffectScope:ue,ReactiveEffect:we,customRef:function(e){return new Ht(e)},effect:function(e,t){e.effect&&(e=e.effect.fn);var n=new we(e);t&&(T(n,t),t.scope&&ce(n,t.scope)),t&&t.lazy||n.run();var r=n.run.bind(n);return r.effect=n,r},effectScope:se,getCurrentScope:fe,isProxy:jt,isReactive:xt,isReadonly:Ot,isRef:Lt,isShallow:Et,markRaw:St,onScopeDispose:de,proxyRefs:zt,reactive:_t,readonly:wt,ref:Mt,shallowReactive:qt,shallowReadonly:function(e){return kt(e,!0,$e,vt,mt)},shallowRef:Rt,stop:function(e){e.effect.stop()},toRaw:At,toRef:$t,toRefs:Vt,triggerRef:Dt,unref:Ft,camelize:J,capitalize:ne,normalizeClass:b,normalizeProps:g,normalizeStyle:c,toDisplayString:k,toHandlerKey:re,BaseTransition:ur,Comment:Qo,Fragment:Yo,KeepAlive:_r,Static:Jo,Suspense:Vn,Teleport:Go,Text:Xo,callWithAsyncErrorHandling:en,callWithErrorHandling:Jt,cloneVNode:bi,compatUtils:null,computed:Zi,createBlock:ui,createCommentVNode:_i,createElementBlock:ai,createElementVNode:hi,createHydrationRenderer:Fo,createPropsRestProxy:function(e,t){var n={},r=function(r){t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:function(){return e[r]}})};for(var o in e)r(o);return n},createRenderer:Do,createSlots:Yr,createStaticVNode:mi,createTextVNode:gi,createVNode:vi,defineAsyncComponent:function(e){F(e)&&(e={loader:e});var t,n=e,r=n.loader,o=n.loadingComponent,i=n.errorComponent,l=n.delay,a=void 0===l?200:l,u=n.timeout,s=n.suspensible,c=void 0===s||s,f=n.onError,d=null,p=0,h=function(){return p++,d=null,v()},v=function(){var e;return d||(e=d=r().catch((function(e){if(e=e instanceof Error?e:new Error(String(e)),f)return new Promise((function(t,n){f(e,(function(){return t(h())}),(function(){return n(e)}),p+1)}));throw e})).then((function(n){return e!==d&&d?d:(n&&(n.__esModule||"Module"===n[Symbol.toStringTag])&&(n=n.default),t=n,n)})))};return vr({name:"AsyncComponentWrapper",__asyncLoader:v,get __asyncResolved(){return t},setup(){var e=Si;if(t)return function(){return br(t,e)};var n=function(t){d=null,tn(t,e,13,!i)};if(c&&e.suspense||Ri)return v().then((function(t){return function(){return br(t,e)}})).catch((function(e){return n(e),function(){return i?vi(i,{error:e}):null}}));var r=Mt(!1),l=Mt(),s=Mt(!!a);return a&&setTimeout((function(){s.value=!1}),a),null!=u&&setTimeout((function(){if(!r.value&&!l.value){var e=new Error(`Async component timed out after ${u}ms.`);n(e),l.value=e}}),u),v().then((function(){r.value=!0,e.parent&&gr(e.parent.vnode)&&gn(e.parent.update)})).catch((function(e){n(e),l.value=e})),function(){return r.value&&t?br(t,e):l.value&&i?vi(i,{error:l.value}):o&&!s.value?vi(o):void 0}}})},defineComponent:vr,defineEmits:function(){return null},defineExpose:function(e){},defineProps:function(){return null},get devtools(){return On},getCurrentInstance:Ni,getTransitionRawChildren:hr,guardReactiveProps:yi,h:Qi,handleError:tn,initCustomFormatter:function(){},inject:Xn,isMemoSame:el,isRuntimeOnly:function(){return!Li},isVNode:si,mergeDefaults:function(e,t){var n=R(e)?e.reduce((function(e,t){return e[t]={},e}),{}):e;for(var r in t){var o=n[r];o?R(o)||F(o)?n[r]={type:o,default:t[r]}:o.default=t[r]:null===o&&(n[r]={default:t[r]})}return n},mergeProps:xi,nextTick:bn,onActivated:wr,onBeforeMount:Nr,onBeforeUnmount:Lr,onBeforeUpdate:Tr,onDeactivated:kr,onErrorCaptured:Dr,onMounted:Cr,onRenderTracked:Br,onRenderTriggered:Ir,onServerPrefetch:Rr,onUnmounted:Mr,onUpdated:Pr,openBlock:ni,popScopeId:Rn,provide:Yn,pushScopeId:Mn,queuePostFlushCb:wn,registerRuntimeCompiler:function(e){Li=e,Mi=function(e){e.render._rc&&(e.withProxy=new Proxy(e.ctx,ro))}},renderList:Gr,renderSlot:Xr,resolveComponent:Hr,resolveDirective:$r,resolveDynamicComponent:Kr,resolveFilter:null,resolveTransitionHooks:cr,setBlockTracking:ii,setDevtoolsHook:function e(t,n){var r,o;if(On=t)On.enabled=!0,An.forEach((function(e){var t,n=e.event,r=e.args;return(t=On).emit.apply(t,[n].concat(p(r)))})),An=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null===(o=null===(r=window.navigator)||void 0===r?void 0:r.userAgent)||void 0===o?void 0:o.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((function(t){e(t,n)})),setTimeout((function(){On||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,An=[])}),3e3)}else An=[]},setTransitionHooks:pr,ssrContextKey:Ji,ssrUtils:nl,toHandlers:Jr,transformVNodeArgs:function(e){},useAttrs:Yi,useSSRContext:function(){var e=Xn(Ji);return e||Gt("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e},useSlots:Gi,useTransitionState:lr,version:tl,warn:Gt,watch:tr,watchEffect:Qn,watchPostEffect:Jn,watchSyncEffect:function(e,t){return nr(e,null,{flush:"sync"})},withAsyncContext:function(e){var t=Ni(),n=e();return Ti(),V(n)&&(n=n.catch((function(e){throw Ci(t),e}))),[n,function(){return Ci(t)}]},withCtx:In,withDefaults:function(e,t){return null},withDirectives:Fr,withMemo:function(e,t,n,r){var o=n[r];if(o&&el(o,e))return o;var i=t();return i.memo=e.slice(),n[r]=i},withScopeId:function(e){return In},Transition:Rl,TransitionGroup:ea,VueElement:Cl,createApp:Ta,createSSRApp:function(){var e,t=(e=Sa()).createApp.apply(e,arguments),n=t.mount;return t.mount=function(e){var t=Pa(e);if(t)return n(t,!0,t instanceof SVGElement)},t},defineCustomElement:Nl,defineSSRCustomElement:function(e){return Nl(e,Ca)},hydrate:Ca,initDirectivesForSSR:function(){La||(La=!0,aa.getSSRProps=function(e){return{value:e.value}},ca.getSSRProps=function(e,t){var n=e.value;if(t.props&&m(t.props.value,n))return{checked:!0}},ua.getSSRProps=function(e,t){var n=e.value;if(R(n)){if(t.props&&_(n,t.props.value)>-1)return{checked:!0}}else if(B(n)){if(t.props&&n.has(t.props.value))return{checked:!0}}else if(n)return{checked:!0}},va.getSSRProps=function(e,t){if("string"==typeof t.type){var n=ya(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0}},ka.getSSRProps=function(e){if(!e.value)return{style:{display:"none"}}})},render:Na,useCssModule:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"$style",t=Ni();if(!t)return O;var n=t.type.__cssModules;if(!n)return O;var r=n[e];return r||O},useCssVars:function(e){var t=Ni();if(t){var n=function(){return Tl(t.subTree,e(t.proxy))};Jn(n),Cr((function(){var e=new MutationObserver(n);e.observe(t.subTree.el.parentNode,{childList:!0}),Mr((function(){return e.disconnect()}))}))}},vModelCheckbox:ua,vModelDynamic:va,vModelRadio:ca,vModelSelect:fa,vModelText:aa,vShow:ka,withKeys:wa,withModifiers:_a},Symbol.toStringTag,{value:"Module"}));e("aA",Ma);var Ra=e("c","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});function Ia(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ba,Da={exports:{}}; /*! * Quill Editor v1.3.7 * https://quilljs.com/ * Copyright (c) 2014, Jason Chen * Copyright (c) 2013, salesforce.com */"undefined"!=typeof self&&self,Ba=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.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){Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),o=n(18),i=n(19),l=n(45),a=n(46),u=n(47),s=n(48),c=n(49),f=n(12),d=n(32),p=n(33),h=n(31),v=n(1),y={Scope:v.Scope,create:v.create,find:v.find,query:v.query,register:v.register,Container:r.default,Format:o.default,Leaf:i.default,Embed:s.default,Scroll:l.default,Block:u.default,Inline:a.default,Text:c.default,Attributor:{Attribute:f.default,Class:d.default,Style:p.default,Store:h.default}};t.default=y},function(e,t,n){var r,o=this&&this.__extends||(r=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])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});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).message=t,n.name=n.constructor.name,n}return o(t,e),t}(Error);t.ParchmentError=i;var l,a={},u={},s={},c={};function f(e,t){var n;if(void 0===t&&(t=l.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&l.LEVEL&l.BLOCK?n=c.block:e&l.LEVEL&l.INLINE&&(n=c.inline);else if(e instanceof HTMLElement){var r=(e.getAttribute("class")||"").split(/\s+/);for(var o in r)if(n=u[r[o]])break;n=n||s[e.tagName]}return null==n?null:t&l.LEVEL&n.scope&&t&l.TYPE&n.scope?n:null}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"}(l=t.Scope||(t.Scope={})),t.create=function(e,t){var n=f(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)},t.find=function e(n,r){return void 0===r&&(r=!1),null==n?null:null!=n[t.DATA_KEY]?n[t.DATA_KEY].blot:r?e(n.parentNode,r):null},t.query=f,t.register=function e(){for(var t=[],n=0;n1)return t.map((function(t){return e(t)}));var r=t[0];if("string"!=typeof r.blotName&&"string"!=typeof r.attrName)throw new i("Invalid definition");if("abstract"===r.blotName)throw new i("Cannot register abstract class");if(c[r.blotName||r.attrName]=r,"string"==typeof r.keyName)a[r.keyName]=r;else if(null!=r.className&&(u[r.className]=r),null!=r.tagName){Array.isArray(r.tagName)?r.tagName=r.tagName.map((function(e){return e.toUpperCase()})):r.tagName=r.tagName.toUpperCase();var o=Array.isArray(r.tagName)?r.tagName:[r.tagName];o.forEach((function(e){null!=s[e]&&null!=r.className||(s[e]=r)}))}return r}},function(e,t,n){var r=n(51),o=n(11),i=n(3),l=n(20),a=String.fromCharCode(0),u=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};u.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))},u.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},u.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)},u.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=i(!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,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(o(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},u.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},u.prototype.filter=function(e){return this.ops.filter(e)},u.prototype.forEach=function(e){this.ops.forEach(e)},u.prototype.map=function(e){return this.ops.map(e)},u.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(r){(e(r)?t:n).push(r)})),[t,n]},u.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},u.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+l.length(t):t.delete?e-t.delete:e}),0)},u.prototype.length=function(){return this.reduce((function(e,t){return e+l.length(t)}),0)},u.prototype.slice=function(e,t){e=e||0,"number"!=typeof t&&(t=1/0);for(var n=[],r=l.iterator(this.ops),o=0;o0&&n.next(i.retain-a)}for(var s=new u(r);t.hasNext()||n.hasNext();)if("insert"===n.peekType())s.push(n.next());else if("delete"===t.peekType())s.push(t.next());else{var c=Math.min(t.peekLength(),n.peekLength()),f=t.next(c),d=n.next(c);if("number"==typeof d.retain){var p={};"number"==typeof f.retain?p.retain=c:p.insert=f.insert;var h=l.attributes.compose(f.attributes,d.attributes,"number"==typeof f.retain);if(h&&(p.attributes=h),s.push(p),!n.hasNext()&&o(s.ops[s.ops.length-1],p)){var v=new u(t.rest());return s.concat(v).chop()}}else"number"==typeof d.delete&&"number"==typeof f.retain&&s.push(d)}return s.chop()},u.prototype.concat=function(e){var t=new u(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},u.prototype.diff=function(e,t){if(this.ops===e.ops)return new u;var n=[this,e].map((function(t){return t.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:a;throw new Error("diff() called "+(t===e?"on":"with")+" non-document")})).join("")})),i=new u,s=r(n[0],n[1],t),c=l.iterator(this.ops),f=l.iterator(e.ops);return s.forEach((function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case r.INSERT:n=Math.min(f.peekLength(),t),i.push(f.next(n));break;case r.DELETE:n=Math.min(t,c.peekLength()),c.next(n),i.delete(n);break;case r.EQUAL:n=Math.min(c.peekLength(),f.peekLength(),t);var a=c.next(n),u=f.next(n);o(a.insert,u.insert)?i.retain(n,l.attributes.diff(a.attributes,u.attributes)):i.push(u).delete(n)}t-=n}})),i.chop()},u.prototype.eachLine=function(e,t){t=t||"\n";for(var n=l.iterator(this.ops),r=new u,o=0;n.hasNext();){if("insert"!==n.peekType())return;var i=n.peek(),a=l.length(i)-n.peekLength(),s="string"==typeof i.insert?i.insert.indexOf(t,a)-a:-1;if(s<0)r.push(n.next());else if(s>0)r.push(n.next(s));else{if(!1===e(r,n.next(1).attributes||{},o))return;o+=1,r=new u}}r.length()>0&&e(r,{},o)},u.prototype.transform=function(e,t){if(t=!!t,"number"==typeof e)return this.transformPosition(e,t);for(var n=l.iterator(this.ops),r=l.iterator(e.ops),o=new u;n.hasNext()||r.hasNext();)if("insert"!==n.peekType()||!t&&"insert"===r.peekType())if("insert"===r.peekType())o.push(r.next());else{var i=Math.min(n.peekLength(),r.peekLength()),a=n.next(i),s=r.next(i);if(a.delete)continue;s.delete?o.push(s):o.retain(i,l.attributes.transform(a.attributes,s.attributes,t))}else o.retain(l.length(n.next()));return o.chop()},u.prototype.transformPosition=function(e,t){t=!!t;for(var n=l.iterator(this.ops),r=0;n.hasNext()&&r<=e;){var o=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(r0&&(e1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-1)){var r=this.clone();return 0===e?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var i=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},i}}]),t}(a.default.Block);function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"==typeof e.formats&&(t=(0,i.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:b(e.parent,t))}y.blotName="block",y.tagName="P",y.defaultChild="break",y.allowedChildren=[s.default,a.default.Embed,c.default],t.bubbleFormats=b,t.BlockEmbed=v,t.default=y},function(e,t,n){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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);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]:{};if(g(this,e),this.options=q(t,r),this.container=this.options.container,null==this.container)return m.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var o=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 u.default,this.scroll=c.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new a.default(this.scroll),this.selection=new d.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(u.default.events.EDITOR_CHANGE,(function(e){e===u.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(u.default.events.SCROLL_UPDATE,(function(e,t){var r=n.selection.lastRange,o=r&&0===r.length?r.index:void 0;w.call(n,(function(){return n.editor.update(null,t,o)}),e)}));var i=this.clipboard.convert("
"+o+"


");this.setContents(i),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return i(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),h.default.level(e)}},{key:"find",value:function(e){return e.__quill||c.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&m.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 o=e.attrName||e.blotName;"string"==typeof o?this.register("formats/"+o,e,t):Object.keys(e).forEach((function(r){n.register(r,e[r],t)}))}else null==this.imports[e]||r||m.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?c.default.register(t):e.startsWith("modules")&&"function"==typeof t.register&&t.register()}}]),i(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")).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,i=k(e,t,n),l=o(i,4);return e=l[0],t=l[1],n=l[3],w.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]:u.default.sources.API;return w.call(this,(function(){var r=n.getSelection(!0),o=new l.default;if(null==r)return o;if(c.default.query(e,c.default.Scope.BLOCK))o=n.editor.formatLine(r.index,r.length,b({},e,t));else{if(0===r.length)return n.selection.format(e,t),o;o=n.editor.formatText(r.index,r.length,b({},e,t))}return n.setSelection(r,u.default.sources.SILENT),o}),r)}},{key:"formatLine",value:function(e,t,n,r,i){var l,a=this,u=k(e,t,n,r,i),s=o(u,4);return e=s[0],t=s[1],l=s[2],i=s[3],w.call(this,(function(){return a.editor.formatLine(e,t,l)}),i,e,0)}},{key:"formatText",value:function(e,t,n,r,i){var l,a=this,u=k(e,t,n,r,i),s=o(u,4);return e=s[0],t=s[1],l=s[2],i=s[3],w.call(this,(function(){return a.editor.formatText(e,t,l)}),i,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=k(e,t),r=o(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=k(e,t),r=o(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 o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return w.call(this,(function(){return o.editor.insertEmbed(t,n,r)}),i,t)}},{key:"insertText",value:function(e,t,n,r,i){var l,a=this,u=k(e,0,n,r,i),s=o(u,4);return e=s[0],l=s[2],i=s[3],w.call(this,(function(){return a.editor.insertText(e,t,l)}),i,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,i=k(e,t,n),l=o(i,4);return e=l[0],t=l[1],n=l[3],w.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]:u.default.sources.API;return w.call(this,(function(){e=new l.default(e);var n=t.getLength(),r=t.editor.deleteText(0,n),o=t.editor.applyDelta(e),i=o.ops[o.ops.length-1];return null!=i&&"string"==typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),o.delete(1)),r.compose(o)}),n)}},{key:"setSelection",value:function(t,n,r){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var i=k(t,n,r),l=o(i,4);t=l[0],n=l[1],r=l[3],this.selection.setRange(new f.Range(t,n),r),r!==u.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.default.sources.API,n=(new l.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.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]:u.default.sources.API;return w.call(this,(function(){return e=new l.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();function q(e,t){if((t=(0,p.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t)).theme&&t.theme!==_.DEFAULTS.theme){if(t.theme=_.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=v.default;var n=(0,p.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)).reduce((function(e,t){var n=_.import("modules/"+t);return null==n?m.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,p.default)(!0,{},_.DEFAULTS,{modules:r},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 w(e,t,n,r){if(this.options.strict&&!this.isEnabled()&&t===u.default.sources.USER)return new l.default;var o=null==n?null:this.getSelection(),i=this.editor.delta,a=e();if(null!=o&&(!0===n&&(n=o.index),null==r?o=x(o,a,t):0!==r&&(o=x(o,n,r,t)),this.setSelection(o,u.default.sources.SILENT)),a.length()>0){var s,c,f=[u.default.events.TEXT_CHANGE,a,i,t];(s=this.emitter).emit.apply(s,[u.default.events.EDITOR_CHANGE].concat(f)),t!==u.default.sources.SILENT&&(c=this.emitter).emit.apply(c,f)}return a}function k(e,t,n,o,i){var l={};return"number"==typeof e.index&&"number"==typeof e.length?"number"!=typeof t?(i=o,o=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!=typeof t&&(i=o,o=n,n=t,t=0),"object"===(void 0===n?"undefined":r(n))?(l=n,i=o):"string"==typeof n&&(null!=o?l[n]=o:i=n),[e,t,l,i=i||u.default.sources.API]}function x(e,t,n,r){if(null==e)return null;var i=void 0,a=void 0;if(t instanceof l.default){var s=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,r!==u.default.sources.USER)})),c=o(s,2);i=c[0],a=c[1]}else{var d=[e.index,e.index+e.length].map((function(e){return e=0?e+n:Math.max(t,e+n)})),p=o(d,2);i=p[0],a=p[1]}return new f.Range(i,a-i)}_.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},_.events=u.default.events,_.sources=u.default.sources,_.version="1.3.7",_.imports={delta:l.default,parchment:c.default,"core/module":s.default,"core/theme":v.default},t.expandConfig=q,t.overload=k,t.default=_},function(e,t,n){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),o=t.order.indexOf(n);return r>=0||o>=0?r-o: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};o.DEFAULTS={},t.default=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=["error","warn","log","info"],o="warn";function i(e){if(r.indexOf(e)<=r.indexOf(o)){for(var t,n=arguments.length,i=Array(n>1?n-1:0),l=1;l=0;s--)if(f[s]!=d[s])return!1;for(s=f.length-1;s>=0;s--)if(c=f[s],!l(e[c],t[c],n))return!1;return typeof e==typeof t}(e,t,n))};function a(e){return null==e}function u(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length||"function"!=typeof e.copy||"function"!=typeof e.slice||e.length>0&&"number"!=typeof e[0])}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var o=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|o: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){return null!=r.query(e,r.Scope.BLOT&(this.scope|r.Scope.TYPE))&&(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=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n=e+n)){var l=this.newlineIndex(e,!0)+1,u=i-l+1,s=this.isolate(l,u),c=s.next;s.format(r,o),c instanceof t&&c.formatAt(0,e-l+n-u,r,o)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var o=this.descendant(c.default,e),i=r(o,2),l=i[0],a=i[1];l.insertAt(a,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(a.default.create("text","\n")),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&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(e){var t=a.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof a.default.Embed?t.remove():t.unwrap()}))}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(u.default);y.blotName="code-block",y.tagName="PRE",y.TAB=" ",t.Code=v,t.default=y},function(e,t,n){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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n=i&&!p.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,p);var h=t.scroll.line(e),v=o(h,2),b=v[0],g=v[1],m=(0,y.default)({},(0,f.bubbleFormats)(b));if(b instanceof d.default){var _=b.descendant(u.default.Leaf,g),q=o(_,1)[0];m=(0,y.default)(m,(0,f.bubbleFormats)(q))}c=a.default.attributes.diff(m,c)||{}}else if("object"===r(l.insert)){var w=Object.keys(l.insert)[0];if(null==w)return e;t.scroll.insertAt(e,w,l.insert[w])}i+=s}return Object.keys(c).forEach((function(n){t.scroll.formatAt(e,s,n,c[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 l.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(o){if(null==n.scroll.whitelist||n.scroll.whitelist[o]){var i=n.scroll.lines(e,Math.max(t,1)),l=t;i.forEach((function(t){var i=t.length();if(t instanceof s.default){var a=e-t.offset(n.scroll),u=t.newlineIndex(a+l)-a+1;t.formatAt(a,u,o,r[o])}else t.format(o,r[o]);l-=i}))}})),this.scroll.optimize(),this.update((new l.default).retain(e).retain(t,(0,h.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(o){n.scroll.formatAt(e,t,o,r[o])})),this.update((new l.default).retain(e).retain(t,(0,h.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 l.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=o(e,1)[0];t instanceof d.default?n.push(t):t instanceof u.default.Leaf&&r.push(t)})):(n=this.scroll.lines(e,t),r=this.scroll.descendants(u.default.Leaf,e,t));var i=[n,r].map((function(e){if(0===e.length)return{};for(var t=(0,f.bubbleFormats)(e.shift());Object.keys(t).length>0;){var n=e.shift();if(null==n)return t;t=_((0,f.bubbleFormats)(n),t)}return t}));return y.default.apply(y.default,i)}},{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 l.default).retain(e).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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(o){n.scroll.formatAt(e,t.length,o,r[o])})),this.update((new l.default).retain(e).insert(t,(0,h.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===d.default.blotName&&!(e.children.length>1)&&e.children.head instanceof p.default}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),r=this.scroll.line(e+t),i=o(r,2),a=i[0],u=i[1],c=0,f=new l.default;null!=a&&(c=a instanceof s.default?a.newlineIndex(u)-u+1:a.length()-u,f=a.delta().slice(u,u+c-1).insert("\n"));var d=this.getContents(e,t+c).diff((new l.default).insert(n).concat(f)),p=(new l.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(g)&&u.default.find(t[0].target)){var o=u.default.find(t[0].target),i=(0,f.bubbleFormats)(o),a=o.offset(this.scroll),s=t[0].oldValue.replace(c.default.CONTENTS,""),d=(new l.default).insert(s),p=(new l.default).insert(o.value()),h=(new l.default).retain(a).concat(d.diff(p,n));e=h.reduce((function(e,t){return t.insert?e.insert(t.insert,i):e.push(t)}),new l.default),this.delta=r.compose(e)}else this.delta=this.getDelta(),e&&(0,v.default)(r.compose(e),this.delta)||(e=r.diff(this.delta,n));return e}}]),e}();function _(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}),{})}t.default=m},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);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]:0;f(this,e),this.index=t,this.length=n},h=function(){function e(t,n){var r=this;f(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=i.default.create("cursor",this),this.lastRange=this.savedRange=new p(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){r.mouseDown||setTimeout(r.update.bind(r,u.default.sources.USER),1)})),this.emitter.on(u.default.events.EDITOR_CHANGE,(function(e,t){e===u.default.events.TEXT_CHANGE&&t.length()>0&&r.update(u.default.sources.SILENT)})),this.emitter.on(u.default.events.SCROLL_BEFORE_UPDATE,(function(){if(r.hasFocus()){var e=r.getNativeRange();null!=e&&e.start.node!==r.cursor.textNode&&r.emitter.once(u.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(u.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,o=n.startNode,i=n.startOffset,l=n.endNode,a=n.endOffset;r.setNativeRange(o,i,l,a)}})),this.update(u.default.sources.SILENT)}return o(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(u.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&&!i.default.query(e,i.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=i.default.find(n.start.node,!1);if(null==r)return;if(r instanceof i.default.Leaf){var o=r.split(n.start.offset);r.parent.insertBefore(this.cursor,o)}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 o=void 0,i=this.scroll.leaf(e),l=r(i,2),a=l[0],u=l[1];if(null==a)return null;var s=a.position(u,!0),c=r(s,2);o=c[0],u=c[1];var f=document.createRange();if(t>0){f.setStart(o,u);var d=this.scroll.leaf(e+t),p=r(d,2);if(a=p[0],u=p[1],null==a)return null;var h=a.position(u,!0),v=r(h,2);return o=v[0],u=v[1],f.setEnd(o,u),f.getBoundingClientRect()}var y="left",b=void 0;return o instanceof Text?(u0&&(y="right")),{bottom:b.top+b.height,height:b.height,left:b[y],right:b[y],top:b.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 d.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),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 o=n.map((function(e){var n=r(e,2),o=n[0],l=n[1],a=i.default.find(o,!0),u=a.offset(t.scroll);return 0===l?u:a instanceof i.default.Container?u+a.length():u+a.index(o,l)})),l=Math.min(Math.max.apply(Math,c(o)),this.scroll.length()-1),a=Math.min.apply(Math,[l].concat(c(o)));return new p(a,l-a)}},{key:"normalizeNative",value:function(e){if(!v(this.root,e.startContainer)||!e.collapsed&&!v(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){for(var t=e.node,n=e.offset;!(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;n=(t=t.lastChild)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],o=[],i=this.scroll.length();return n.forEach((function(e,n){e=Math.min(i-1,e);var l,a=t.scroll.leaf(e),u=r(a,2),s=u[0],c=u[1],f=s.position(c,0!==n),d=r(f,2);l=d[0],c=d[1],o.push(l,c)})),o.length<2&&(o=o.concat(o)),o}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var o=this.scroll.length()-1,i=this.scroll.line(Math.min(t.index,o)),l=r(i,1)[0],a=l;if(t.length>0){var u=this.scroll.line(Math.min(t.index+t.length,o));a=r(u,1)[0]}if(null!=l&&null!=a){var s=e.getBoundingClientRect();n.tops.bottom&&(e.scrollTop+=n.bottom-s.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,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(d.info("setNativeRange",e,t,n,r),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=e){this.hasFocus()||this.root.focus();var l=(this.getNativeRange()||{}).native;if(null==l||o||e!==l.startContainer||t!==l.startOffset||n!==l.endContainer||r!==l.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 a=document.createRange();a.setStart(e,t),a.setEnd(n,r),i.removeAllRanges(),i.addRange(a)}}else i.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]:u.default.sources.API;if("string"==typeof t&&(n=t,t=!1),d.info("setRange",e),null!=e){var r=this.rangeToNative(e);this.setNativeRange.apply(this,c(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]:u.default.sources.USER,t=this.lastRange,n=this.getRange(),o=r(n,2),i=o[0],s=o[1];if(this.lastRange=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,a.default)(t,this.lastRange)){var c;!this.composing&&null!=s&&s.native.collapsed&&s.start.node!==this.cursor.textNode&&this.cursor.restore();var f,d=[u.default.events.SELECTION_CHANGE,(0,l.default)(this.lastRange),(0,l.default)(t),e];(c=this.emitter).emit.apply(c,[u.default.events.EDITOR_CHANGE].concat(d)),e!==u.default.sources.SILENT&&(f=this.emitter).emit.apply(f,d)}}}]),e}();function v(e,t){try{t.parentNode}catch(n){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=p,t.default=h},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return(e={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=l.Scope.INLINE_BLOT,t}(i.default);t.default=a},function(e,t,n){var r=n(11),o=n(3),i={attributes:{compose:function(e,t,n){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var r=o(!0,{},t);for(var i in n||(r=Object.keys(r).reduce((function(e,t){return null!=r[t]&&(e[t]=r[t]),e}),{})),e)void 0!==e[i]&&void 0===t[i]&&(r[i]=e[i]);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,o){return r(e[o],t[o])||(n[o]=void 0===t[o]?null:t[o]),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 l(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 l(e){this.ops=e,this.index=0,this.offset=0}l.prototype.hasNext=function(){return this.peekLength()<1/0},l.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,r=i.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 o={};return t.attributes&&(o.attributes=t.attributes),"number"==typeof t.retain?o.retain=e:"string"==typeof t.insert?o.insert=t.insert.substr(n,e):o.insert=t.insert,o}return{retain:1/0}},l.prototype.peek=function(){return this.ops[this.index]},l.prototype.peekLength=function(){return this.ops[this.index]?i.length(this.ops[this.index])-this.offset:1/0},l.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"},l.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=i},function(e,t){var n=function(){function e(e,t){return null!=t&&e instanceof t}var t,n,r;try{t=Map}catch(a){t=function(){}}try{n=Set}catch(a){n=function(){}}try{r=Promise}catch(a){r=function(){}}function o(i,a,u,s,c){"object"==typeof a&&(u=a.depth,s=a.prototype,c=a.includeNonEnumerable,a=a.circular);var f=[],d=[],p="undefined"!=typeof Buffer;return void 0===a&&(a=!0),void 0===u&&(u=1/0),function i(u,h){if(null===u)return null;if(0===h)return u;var v,y;if("object"!=typeof u)return u;if(e(u,t))v=new t;else if(e(u,n))v=new n;else if(e(u,r))v=new r((function(e,t){u.then((function(t){e(i(t,h-1))}),(function(e){t(i(e,h-1))}))}));else if(o.__isArray(u))v=[];else if(o.__isRegExp(u))v=new RegExp(u.source,l(u)),u.lastIndex&&(v.lastIndex=u.lastIndex);else if(o.__isDate(u))v=new Date(u.getTime());else{if(p&&Buffer.isBuffer(u))return v=Buffer.allocUnsafe?Buffer.allocUnsafe(u.length):new Buffer(u.length),u.copy(v),v;e(u,Error)?v=Object.create(u):void 0===s?(y=Object.getPrototypeOf(u),v=Object.create(y)):(v=Object.create(s),y=s)}if(a){var b=f.indexOf(u);if(-1!=b)return d[b];f.push(u),d.push(v)}for(var g in e(u,t)&&u.forEach((function(e,t){var n=i(t,h-1),r=i(e,h-1);v.set(n,r)})),e(u,n)&&u.forEach((function(e){var t=i(e,h-1);v.add(t)})),u){var m;y&&(m=Object.getOwnPropertyDescriptor(y,g)),m&&null==m.set||(v[g]=i(u[g],h-1))}if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(u);for(g=0;g<_.length;g++){var q=_[g];(!(k=Object.getOwnPropertyDescriptor(u,q))||k.enumerable||c)&&(v[q]=i(u[q],h-1),k.enumerable||Object.defineProperty(v,q,{enumerable:!1}))}}if(c){var w=Object.getOwnPropertyNames(u);for(g=0;g0){if(a instanceof u.BlockEmbed||p instanceof u.BlockEmbed)return void this.optimize();if(a instanceof f.default){var h=a.newlineIndex(a.length(),!0);if(h>-1&&(a=a.split(h+1))===p)return void this.optimize()}else if(p instanceof f.default){var v=p.newlineIndex(0);v>-1&&p.split(v+1)}var y=p.children.head instanceof c.default?null:p.children.head;a.moveChildren(p,y),a.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,o){(null==this.whitelist||this.whitelist[r])&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,o),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==l.default.query(n,l.default.Scope.BLOCK)){var o=l.default.create(this.statics.defaultChild);this.appendChild(o),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),o.insertAt(0,n,r)}else{var a=l.default.create(n,r);this.appendChild(a)}else i(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===l.default.Scope.INLINE_BLOT){var r=l.default.create(this.statics.defaultChild);r.appendChild(e),e=r}i(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(h,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 o=[],i=r;return t.children.forEachAt(n,r,(function(t,n,r){h(t)?o.push(t):t instanceof l.default.Container&&(o=o.concat(e(t,n,i))),i-=r})),o};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&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(a.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return i(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=a.default.sources.USER;"string"==typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(a.default.events.SCROLL_BEFORE_UPDATE,n,e),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(a.default.events.SCROLL_UPDATE,n,e)}}}]),t}(l.default.Scroll);v.blotName="scroll",v.className="ql-editor",v.tagName="DIV",v.defaultChild="block",v.allowedChildren=[s.default,u.BlockEmbed,d.default],t.default=v},function(e,t,n){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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);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]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=j(e);if(null==r||null==r.key)return b.warn("Attempted to add invalid keyboard binding",r);"function"==typeof t&&(t={handler:t}),"function"==typeof n&&(n={handler:n}),r=(0,u.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 i=n.which||n.keyCode,l=(e.bindings[i]||[]).filter((function(e){return t.match(n,e)}));if(0!==l.length){var u=e.quill.getSelection();if(null!=u&&e.quill.hasFocus()){var s=e.quill.getLine(u.index),c=o(s,2),d=c[0],p=c[1],h=e.quill.getLeaf(u.index),v=o(h,2),y=v[0],b=v[1],g=0===u.length?[y,b]:e.quill.getLeaf(u.index+u.length),m=o(g,2),_=m[0],q=m[1],w=y instanceof f.default.Text?y.value().slice(0,b):"",k=_ instanceof f.default.Text?_.value().slice(q):"",x={collapsed:0===u.length,empty:0===u.length&&d.length()<=1,format:e.quill.getFormat(u),offset:p,prefix:w,suffix:k};l.some((function(t){if(null!=t.collapsed&&t.collapsed!==x.collapsed)return!1;if(null!=t.empty&&t.empty!==x.empty)return!1;if(null!=t.offset&&t.offset!==x.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==x.format[e]})))return!1}else if("object"===r(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=x.format[e]:!1===t.format[e]?null==x.format[e]:(0,a.default)(t.format[e],x.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(x.prefix)||null!=t.suffix&&!t.suffix.test(x.suffix)||!0===t.handler.call(e,u,x))}))&&n.preventDefault()}}}}))}}]),t}(h.default);function _(e,t){var n,r=e===m.keys.LEFT?"prefix":"suffix";return y(n={key:e,shiftKey:t,altKey:null},r,/^$/),y(n,"handler",(function(n){var r=n.index;e===m.keys.RIGHT&&(r+=n.length+1);var i=this.quill.getLeaf(r);return!(o(i,1)[0]instanceof f.default.Embed&&(e===m.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,d.default.sources.USER):this.quill.setSelection(n.index-1,d.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,d.default.sources.USER):this.quill.setSelection(n.index+n.length+1,d.default.sources.USER),1))})),n}function q(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),r=o(n,1)[0],i={};if(0===t.offset){var l=this.quill.getLine(e.index-1),a=o(l,1)[0];if(null!=a&&a.length()>1){var u=r.formats(),s=this.quill.getFormat(e.index-1,1);i=c.default.attributes.diff(u,s)||{}}}var f=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-f,f,d.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(e.index-f,f,i,d.default.sources.USER),this.quill.focus()}}function w(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var r={},i=0,l=this.quill.getLine(e.index),a=o(l,1)[0];if(t.offset>=a.length()-1){var u=this.quill.getLine(e.index+1),s=o(u,1)[0];if(s){var f=a.formats(),p=this.quill.getFormat(e.index,1);r=c.default.attributes.diff(f,p)||{},i=s.length()}}this.quill.deleteText(e.index,n,d.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index+i-1,n,r,d.default.sources.USER)}}function k(e){var t=this.quill.getLines(e),n={};if(t.length>1){var r=t[0].formats(),o=t[t.length-1].formats();n=c.default.attributes.diff(o,r)||{}}this.quill.deleteText(e,d.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,d.default.sources.USER),this.quill.setSelection(e.index,d.default.sources.SILENT),this.quill.focus()}function x(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 f.default.query(n,f.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",r,d.default.sources.USER),this.quill.setSelection(e.index+1,d.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],d.default.sources.USER))}))}function O(e){return{key:m.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=f.default.query("code-block"),r=t.index,i=t.length,l=this.quill.scroll.descendant(n,r),a=o(l,2),u=a[0],s=a[1];if(null!=u){var c=this.quill.getIndex(u),p=u.newlineIndex(s,!0)+1,h=u.newlineIndex(c+s+i),v=u.domNode.textContent.slice(p,h).split("\n");s=0,v.forEach((function(t,o){e?(u.insertAt(p+s,n.TAB),s+=n.TAB.length,0===o?r+=n.TAB.length:i+=n.TAB.length):t.startsWith(n.TAB)&&(u.deleteAt(p+s,n.TAB.length),s-=n.TAB.length,0===o?r-=n.TAB.length:i-=n.TAB.length),s+=t.length+1})),this.quill.update(d.default.sources.USER),this.quill.setSelection(r,i,d.default.sources.SILENT)}}}}function E(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],d.default.sources.USER)}}}function j(e){if("string"==typeof e||"number"==typeof e)return j({key:e});if("object"===(void 0===e?"undefined":r(e))&&(e=(0,l.default)(e,!1)),"string"==typeof e.key)if(null!=m.keys[e.key.toUpperCase()])e.key=m.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[g]=e.shortKey,delete e.shortKey),e}m.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},m.DEFAULTS={bindings:{bold:E("bold"),italic:E("italic"),underline:E("underline"),indent:{key:m.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",d.default.sources.USER)}},outdent:{key:m.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",d.default.sources.USER)}},"outdent backspace":{key:m.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",d.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,d.default.sources.USER)}},"indent code-block":O(!0),"outdent code-block":O(!1),"remove tab":{key:m.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,d.default.sources.USER)}},tab:{key:m.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new s.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,d.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,d.default.sources.SILENT)}},"list empty enter":{key:m.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,d.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,d.default.sources.USER)}},"checklist enter":{key:m.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=o(t,2),r=n[0],i=n[1],l=(0,u.default)({},r.formats(),{list:"checked"}),a=(new s.default).retain(e.index).insert("\n",l).retain(r.length()-i-1).retain(1,{list:"unchecked"});this.quill.updateContents(a,d.default.sources.USER),this.quill.setSelection(e.index+1,d.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:m.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),r=o(n,2),i=r[0],l=r[1],a=(new s.default).retain(e.index).insert("\n",t.format).retain(i.length()-l-1).retain(1,{header:null});this.quill.updateContents(a,d.default.sources.USER),this.quill.setSelection(e.index+1,d.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),i=o(r,2),l=i[0],a=i[1];if(a>n)return!0;var u=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":u="unchecked";break;case"[x]":u="checked";break;case"-":case"*":u="bullet";break;default:u="ordered"}this.quill.insertText(e.index," ",d.default.sources.USER),this.quill.history.cutoff();var c=(new s.default).retain(e.index-a).delete(n+1).retain(l.length()-2-a).retain(1,{list:u});this.quill.updateContents(c,d.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,d.default.sources.SILENT)}},"code exit":{key:m.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=o(t,2),r=n[0],i=n[1],l=(new s.default).retain(e.index+r.length()-i-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(l,d.default.sources.USER)}},"embed left":_(m.keys.LEFT,!1),"embed left shift":_(m.keys.LEFT,!0),"embed right":_(m.keys.RIGHT,!1),"embed right shift":_(m.keys.RIGHT,!0)}},t.default=m,t.SHORTKEY=g},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},i=function(){function e(e,t){for(var n=0;n-1}s.blotName="link",s.tagName="A",s.SANITIZED_URL="about:blank",s.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=s,t.sanitize=c},function(e,t,n){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},o=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 o=document.createEvent("Event");o.initEvent("change",!0,!0),this.select.dispatchEvent(o)}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=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=b(n(0)),o=b(n(5)),i=n(4),l=b(i),a=b(n(16)),u=b(n(25)),s=b(n(24)),c=b(n(35)),f=b(n(6)),d=b(n(22)),p=b(n(7)),h=b(n(55)),v=b(n(42)),y=b(n(23));function b(e){return e&&e.__esModule?e:{default:e}}o.default.register({"blots/block":l.default,"blots/block/embed":i.BlockEmbed,"blots/break":a.default,"blots/container":u.default,"blots/cursor":s.default,"blots/embed":c.default,"blots/inline":f.default,"blots/scroll":d.default,"blots/text":p.default,"modules/clipboard":h.default,"modules/history":v.default,"modules/keyboard":y.default}),r.default.register(l.default,a.default,s.default,f.default,d.default,p.default),t.default=o.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=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){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,n,o){var i=this.isolate(e,t);if(null!=r.query(n,r.Scope.BLOT)&&o)i.wrap(n,o);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var l=r.create(this.statics.scope);i.wrap(l),l.format(n,o)}},e.prototype.insertAt=function(e,t,n){var o=null==n?r.create("text",t):r.create(t,n),i=this.split(e);this.parent.insertBefore(o,i)},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=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),o=n(32),i=n(33),l=n(1),a=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=o.default.keys(this.domNode),a=i.default.keys(this.domNode);t.concat(n).concat(a).forEach((function(t){var n=l.query(t,l.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=a},function(e,t,n){var r,o=this&&this.__extends||(r=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])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function i(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}Object.defineProperty(t,"__esModule",{value:!0});var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(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){i(e,this.keyName).forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(i(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=l},function(e,t,n){var r,o=this&&this.__extends||(r=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])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function i(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}Object.defineProperty(t,"__esModule",{value:!0});var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){return e.split(":")[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[i(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[i(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[i(this.keyName)];return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;nr&&this.stack.undo.length>0){var o=this.stack.undo.pop();n=n.compose(o.undo),e=o.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}(l(n(9)).default);function u(e){var t=e.reduce((function(e,t){return e+=t.delete||0}),0),n=e.length()-t;return function(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)})))}(e)&&(n-=1),n}a.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=a,t.getLastChangeIndex=u},function(e,t,n){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,t,n=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var r=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",n,a.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",n,a.default.sources.USER)),this.quill.root.scrollTop=r;break;case"video":t=(e=n).match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/),n=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;case"formula":if(!n)break;var o=this.quill.getSelection(!0);if(null!=o){var i=o.index+o.length;this.quill.insertEmbed(i,this.root.getAttribute("data-mode"),n,a.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(i+1," ",a.default.sources.USER),this.quill.setSelection(i+2,a.default.sources.USER)}}this.textbox.value="",this.hide()}}]),t}(p.default);function O(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=x,t.default=k},function(e,t,n){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){for(var t,n=this.iterator();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){for(var t=0,n=this.head;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);for(var n,r=this.iterator();n=r();){var o=n.length();if(el?n(r,e-l,Math.min(t,l+u-e)):n(r,0,Math.min(u,e+t-l)),l+=u}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){for(var n,r=this.iterator();n=r();)t=e(t,n);return t},e}();t.default=r},function(e,t,n){var r,o=this&&this.__extends||(r=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])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(17),l=n(1),a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},u=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 o(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,o){this.update(),e.prototype.formatAt.call(this,t,n,r,o)},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);for(var o=[].slice.call(this.observer.takeRecords());o.length>0;)t.push(o.pop());for(var a=function e(t,n){void 0===n&&(n=!0),null!=t&&t!==r&&null!=t.domNode.parentNode&&(null==t.domNode[l.DATA_KEY].mutations&&(t.domNode[l.DATA_KEY].mutations=[]),n&&e(t.parent))},u=function e(t){null!=t.domNode[l.DATA_KEY]&&null!=t.domNode[l.DATA_KEY].mutations&&(t instanceof i.default&&t.children.forEach(e),t.optimize(n))},s=t,c=0;s.length>0;c+=1){if(c>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(s.forEach((function(e){var t=l.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(a(l.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=l.find(e,!1);a(t,!1),t instanceof i.default&&t.children.forEach((function(e){a(e,!1)}))}))):"attributes"===e.type&&a(t.prev)),a(t))})),this.children.forEach(u),o=(s=[].slice.call(this.observer.takeRecords())).slice();o.length>0;)t.push(o.pop())}},t.prototype.update=function(t,n){var r=this;void 0===n&&(n={}),(t=t||this.observer.takeRecords()).map((function(e){var t=l.find(e.target,!0);return null==t?null:null==t.domNode[l.DATA_KEY].mutations?(t.domNode[l.DATA_KEY].mutations=[e],t):(t.domNode[l.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==r&&null!=e.domNode[l.DATA_KEY]&&e.update(e.domNode[l.DATA_KEY].mutations||[],n)})),null!=this.domNode[l.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[l.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=l.Scope.BLOCK_BLOT,t.tagName="DIV",t}(i.default);t.default=u},function(e,t,n){var r,o=this&&this.__extends||(r=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])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),l=n(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(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,o){null!=this.formats()[r]||l.query(r,l.Scope.ATTRIBUTE)?this.isolate(t,n).format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},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 o=this.next;o instanceof t&&o.prev===this&&function(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}(r,o.formats())&&(o.moveChildren(this),o.remove())},t.blotName="inline",t.scope=l.Scope.INLINE_BLOT,t.tagName="SPAN",t}(i.default);t.default=a},function(e,t,n){var r,o=this&&this.__extends||(r=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])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),l=n(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(n){var r=l.query(t.blotName).tagName;if(n.tagName!==r)return e.formats.call(this,n)},t.prototype.format=function(n,r){null!=l.query(n,l.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,o){null!=l.query(r,l.Scope.BLOCK)?this.format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.insertAt=function(t,n,r){if(null==r||null!=l.query(n,l.Scope.INLINE))e.prototype.insertAt.call(this,t,n,r);else{var o=this.split(t),i=l.create(n,r);o.parent.insertBefore(i,o)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=l.Scope.BLOCK_BLOT,t.tagName="P",t}(i.default);t.default=a},function(e,t,n){var r,o=this&&this.__extends||(r=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])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(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,o){0===t&&n===this.length()?this.format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(n(19).default);t.default=i},function(e,t,n){var r,o=this&&this.__extends||(r=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])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),l=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 o(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[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=l.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=l.Scope.INLINE_BLOT,t}(i.default);t.default=a},function(e,t,n){var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)==!t?t:o.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,o=arguments[1],i=0;it.length?e:t,s=e.length>t.length?t:e,c=u.indexOf(s);if(-1!=c)return a=[[1,u.substring(0,c)],[0,s],[1,u.substring(c+s.length)]],e.length>t.length&&(a[0][0]=a[2][0]=n),a;if(1==s.length)return[[n,e],[1,t]];var f=function(e,t){var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length=e.length?[r,o,a,u,f]:null}var a,u,s,c,f,d=o(n,r,Math.ceil(n.length/4)),p=o(n,r,Math.ceil(n.length/2));if(!d&&!p)return null;a=p?d&&d[4].length>p[4].length?d:p:d,e.length>t.length?(u=a[0],s=a[1],c=a[2],f=a[3]):(c=a[0],f=a[1],u=a[2],s=a[3]);var h=a[4];return[u,s,c,f,h]}(e,t);if(f){var d=f[0],p=f[1],h=f[2],v=f[3],y=f[4],b=r(d,h),g=r(p,v);return b.concat([[0,y]],g)}return function(e,t){for(var r=e.length,i=t.length,l=Math.ceil((r+i)/2),a=l,u=2*l,s=new Array(u),c=new Array(u),f=0;fr)v+=2;else if(q>i)h+=2;else if(p&&(x=a+d-m)>=0&&x=(k=r-c[x]))return o(e,t,E,q)}for(var w=-g+y;w<=g-b;w+=2){for(var k,x=a+w,O=(k=w==-g||w!=g&&c[x-1]r)b+=2;else if(O>i)y+=2;else if(!p){var E;if((_=a+d-w)>=0&&_=(k=r-k)))return o(e,t,E,q)}}}return[[n,e],[1,t]]}(e,t)}(e=e.substring(0,e.length-c),t=t.substring(0,t.length-c));return f&&p.unshift([0,f]),d&&p.push([0,d]),a(p),null!=u&&(p=function(e,t){var r=function(e,t){if(0===t)return[0,e];for(var r=0,o=0;o0&&o.splice(i+2,0,[a[0],u]),s(o,i,3)}return e}(p,u)),p=function(e){for(var t=!1,r=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},o=function(e){return e.charCodeAt(e.length-1)>=55296&&e.charCodeAt(e.length-1)<=56319},i=2;i0&&l.push(e[i]);return l}(p),p}function o(e,t,n,o){var i=e.substring(0,n),l=t.substring(0,o),a=e.substring(n),u=t.substring(o),s=r(i,l),c=r(a,u);return s.concat(c)}function i(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n1?(0!==o&&0!==u&&(0!==(t=i(c,s))&&(r-o-u>0&&0==e[r-o-u-1][0]?e[r-o-u-1][1]+=c.substring(0,t):(e.splice(0,0,[0,c.substring(0,t)]),r++),c=c.substring(t),s=s.substring(t)),0!==(t=l(c,s))&&(e[r][1]=c.substring(c.length-t)+e[r][1],c=c.substring(0,c.length-t),s=s.substring(0,s.length-t))),0===o?e.splice(r-u,o+u,[1,c]):0===u?e.splice(r-o,o+u,[n,s]):e.splice(r-o-u,o+u,[n,s],[1,c]),r=r-o-u+(o?1:0)+(u?1:0)+1):0!==r&&0==e[r-1][0]?(e[r-1][1]+=e[r][1],e.splice(r,1)):r++,u=0,o=0,s="",c=""}""===e[e.length-1][1]&&e.pop();var f=!1;for(r=1;r=0&&r>=t-1;r--)if(r+1=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=j(t,n)),parseFloat(r.textIndent||0)>0&&(t=(new a.default).insert("\t").concat(t)),t}],["li",function(e,t){var n=u.default.query(e);if(null==n||"list-item"!==n.blotName||!S(t,"\n"))return t;for(var r=-1,o=e.parentNode;!o.classList.contains("ql-clipboard");)"list"===(u.default.query(o)||{}).blotName&&(r+=1),o=o.parentNode;return r<=0?t:t.compose((new a.default).retain(t.length()-1).retain(1,{indent:r}))}],["b",T.bind(T,"bold")],["i",T.bind(T,"italic")],["style",function(){return new a.default}]],x=[d.AlignAttribute,y.DirectionAttribute].reduce((function(e,t){return e[t.keyName]=t,e}),{}),O=[d.AlignStyle,p.BackgroundStyle,v.ColorStyle,y.DirectionStyle,b.FontStyle,g.SizeStyle].reduce((function(e,t){return e[t.keyName]=t,e}),{}),E=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.root.addEventListener("paste",r.onPaste.bind(r)),r.container=r.quill.addContainer("ql-clipboard"),r.container.setAttribute("contenteditable",!0),r.container.setAttribute("tabindex",-1),r.matchers=[],k.concat(r.options.matchers).forEach((function(e){var t=o(e,2),i=t[0],l=t[1];(n.matchVisual||l!==R)&&r.addMatcher(i,l)})),r}return function(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)}(t,e),i(t,[{key:"addMatcher",value:function(e,t){this.matchers.push([e,t])}},{key:"convert",value:function(e){if("string"==typeof e)return this.container.innerHTML=e.replace(/\>\r?\n +\<"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[h.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new a.default).insert(n,_({},h.default.blotName,t[h.default.blotName]))}var r=this.prepareMatching(),i=o(r,2),l=i[0],u=i[1],s=C(this.container,l,u);return S(s,"\n")&&null==s.ops[s.ops.length-1].attributes&&(s=s.compose((new a.default).retain(s.length()-1).delete(1))),q.log("convert",this.container.innerHTML,s),this.container.innerHTML="",s}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.default.sources.API;if("string"==typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,s.default.sources.SILENT);else{var r=this.convert(t);this.quill.updateContents((new a.default).retain(e).concat(r),n),this.quill.setSelection(e+r.length(),s.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new a.default).retain(n.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(s.default.sources.SILENT),setTimeout((function(){r=r.concat(t.convert()).delete(n.length),t.quill.updateContents(r,s.default.sources.USER),t.quill.setSelection(r.length()-n.length,s.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=o,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach((function(r){var i=o(r,2),l=i[0],a=i[1];switch(l){case Node.TEXT_NODE:n.push(a);break;case Node.ELEMENT_NODE:t.push(a);break;default:[].forEach.call(e.container.querySelectorAll(l),(function(e){e[w]=e[w]||[],e[w].push(a)}))}})),[t,n]}}]),t}(f.default);function j(e,t,n){return"object"===(void 0===t?"undefined":r(t))?Object.keys(t).reduce((function(e,n){return j(e,n,t[n])}),e):e.reduce((function(e,r){return r.attributes&&r.attributes[t]?e.push(r):e.insert(r.insert,(0,l.default)({},_({},t,n),r.attributes))}),new a.default)}function A(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function S(e,t){for(var n="",r=e.ops.length-1;r>=0&&n.length-1}function C(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce((function(t,n){return n(e,t)}),new a.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(r,o){var i=C(o,t,n);return o.nodeType===e.ELEMENT_NODE&&(i=t.reduce((function(e,t){return t(o,e)}),i),i=(o[w]||[]).reduce((function(e,t){return t(o,e)}),i)),r.concat(i)}),new a.default):new a.default}function T(e,t,n){return j(n,e,!0)}function P(e,t){var n=u.default.Attributor.Attribute.keys(e),r=u.default.Attributor.Class.keys(e),o=u.default.Attributor.Style.keys(e),i={};return n.concat(r).concat(o).forEach((function(t){var n=u.default.query(t,u.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(e),i[n.attrName])||(null==(n=x[t])||n.attrName!==t&&n.keyName!==t||(i[n.attrName]=n.value(e)||void 0),null==(n=O[t])||n.attrName!==t&&n.keyName!==t||(n=O[t],i[n.attrName]=n.value(e)||void 0))})),Object.keys(i).length>0&&(t=j(t,i)),t}function L(e,t){var n=u.default.query(e);if(null==n)return t;if(n.prototype instanceof u.default.Embed){var r={},o=n.value(e);null!=o&&(r[n.blotName]=o,t=(new a.default).insert(r,n.formats(e)))}else"function"==typeof n.formats&&(t=j(t,n.blotName,n.formats(e)));return t}function M(e,t){return S(t,"\n")||(N(e)||t.length()>0&&e.nextSibling&&N(e.nextSibling))&&t.insert("\n"),t}function R(e,t){if(N(e)&&null!=e.nextElementSibling&&!S(t,"\n\n")){var n=e.offsetHeight+parseFloat(A(e).marginTop)+parseFloat(A(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function I(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(!A(e.parentNode).whiteSpace.startsWith("pre")){var r=function(e,t){return(t=t.replace(/[^\u00a0]/g,"")).length<1&&e?" ":t};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,r.bind(r,!0)),(null==e.previousSibling&&N(e.parentNode)||null!=e.previousSibling&&N(e.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==e.nextSibling&&N(e.parentNode)||null!=e.nextSibling&&N(e.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return t.insert(n)}E.DEFAULTS={matchers:[],matchVisual:!0},t.default=E,t.matchAttributor=P,t.matchBlot=L,t.matchNewline=M,t.matchSpacing=R,t.matchText=I},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n '},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;nr.right&&(i=r.right-o.right,this.root.style.left=t+i+"px"),o.leftr.bottom){var l=o.bottom-o.top,a=e.bottom-e.top+l;this.root.style.top=n-a+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},i=function(){function e(e,t){for(var n=0;n','','',''].join(""),t.default=g},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=M(n(29)),o=n(36),i=n(38),l=n(64),a=M(n(65)),u=M(n(66)),s=n(67),c=M(s),f=n(37),d=n(26),p=n(39),h=n(40),v=M(n(56)),y=M(n(68)),b=M(n(27)),g=M(n(69)),m=M(n(70)),_=M(n(71)),q=M(n(72)),w=M(n(73)),k=n(13),x=M(k),O=M(n(74)),E=M(n(75)),j=M(n(57)),A=M(n(41)),S=M(n(28)),N=M(n(59)),C=M(n(60)),T=M(n(61)),P=M(n(108)),L=M(n(62));function M(e){return e&&e.__esModule?e:{default:e}}r.default.register({"attributors/attribute/direction":i.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":f.BackgroundClass,"attributors/class/color":d.ColorClass,"attributors/class/direction":i.DirectionClass,"attributors/class/font":p.FontClass,"attributors/class/size":h.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":f.BackgroundStyle,"attributors/style/color":d.ColorStyle,"attributors/style/direction":i.DirectionStyle,"attributors/style/font":p.FontStyle,"attributors/style/size":h.SizeStyle},!0),r.default.register({"formats/align":o.AlignClass,"formats/direction":i.DirectionClass,"formats/indent":l.IndentClass,"formats/background":f.BackgroundStyle,"formats/color":d.ColorStyle,"formats/font":p.FontClass,"formats/size":h.SizeClass,"formats/blockquote":a.default,"formats/code-block":x.default,"formats/header":u.default,"formats/list":c.default,"formats/bold":v.default,"formats/code":k.Code,"formats/italic":y.default,"formats/link":b.default,"formats/script":g.default,"formats/strike":m.default,"formats/underline":_.default,"formats/image":q.default,"formats/video":w.default,"formats/list/item":s.ListItem,"modules/formula":O.default,"modules/syntax":E.default,"modules/toolbar":j.default,"themes/bubble":P.default,"themes/snow":L.default,"ui/icons":A.default,"ui/picker":S.default,"ui/icon-picker":C.default,"ui/color-picker":N.default,"ui/tooltip":T.default},!0),t.default=r.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var r,o=function(){function e(e,t){for(var n=0;n0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return e={},t=this.statics.blotName,n=this.statics.formats(this.domNode),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"insertBefore",value:function(e,n){if(e instanceof d)o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var r=null==n?this.length():n.offset(this),i=this.split(r);i.parent.insertBefore(e,i)}}},{key:"optimize",value:function(e){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&&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=i.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(a.default);p.blotName="list",p.scope=i.default.Scope.BLOCK_BLOT,p.tagName=["OL","UL"],p.defaultChild="list-item",p.allowedChildren=[d],t.ListItem=d,t.default=p},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(56);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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}var a=function(e){function t(){return i(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(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)}(t,e),t}(((r=o)&&r.__esModule?r:{default:r}).default);a.blotName="italic",a.tagName=["EM","I"],t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=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 f.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,u.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(a.default.Embed);d.blotName="image",d.tagName="IMG",t.default=d},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=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 f.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"sanitize",value:function(e){return u.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(l.BlockEmbed);d.blotName="video",d.className="ql-video",d.tagName="IFRAME",t.default=d},function(e,t,n){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}(u(n(13)).default);d.className="ql-syntax";var p=new i.default.Attributor.Class("token","hljs",{scope:i.default.Scope.INLINE}),h=function(e){function t(e,n){s(this,t);var r=c(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 o=null;return r.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(o),o=setTimeout((function(){r.highlight(),o=null}),r.options.interval)})),r.highlight(),r}return f(t,e),r(t,null,[{key:"register",value:function(){l.default.register(p,!0),l.default.register(d,!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(d).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}(a.default);h.DEFAULTS={highlight:null==window.hljs?null:function(e){return window.hljs.highlightAuto(e).value},interval:1e3},t.CodeBlock=d,t.CodeToken=p,t.default=h},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){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 o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},o=function(){function e(e,t){for(var n=0;n0&&o===l.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var i=r.quill.getLines(t.index,t.length);if(1===i.length)r.position(r.quill.getBounds(t));else{var a=i[i.length-1],u=r.quill.getIndex(a),c=Math.min(a.length()-1,t.index+t.length-u),f=r.quill.getBounds(new s.Range(u,c));r.position(f)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()})),r}return h(t,e),o(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),o=this.root.querySelector(".ql-tooltip-arrow");if(o.style.marginLeft="",0===n)return n;o.style.marginLeft=-1*n-o.offsetWidth/2+"px"}}]),t}(a.BaseTooltip);b.TEMPLATE=['','
','','',"
"].join(""),t.BubbleTooltip=b,t.default=y},function(e,t,n){e.exports=n(63)}]).default},Da.exports=Ba();var Fa=Ia(Da.exports),Ua=-1;function za(e,t,n,r){if(e===t)return e?[[0,e]]:[];if(null!=n){var o=function(e,t,n){var r="number"==typeof n?{index:n,length:0}:n.oldRange,o="number"==typeof n?null:n.newRange,i=e.length,l=t.length;if(0===r.length&&(null===o||0===o.length)){var a=r.index,u=e.slice(0,a),s=e.slice(a),c=o?o.index:null,f=a+l-i;if((null===c||c===f)&&!(f<0||f>l)){var d=t.slice(0,f);if((v=t.slice(f))===s){var p=Math.min(a,f);if((b=u.slice(0,p))===(m=d.slice(0,p)))return Xa(b,u.slice(p),d.slice(p),s)}}if(null===c||c===a){var h=a,v=(d=t.slice(0,h),t.slice(h));if(d===u){var y=Math.min(i-h,l-h);if((g=s.slice(s.length-y))===(_=v.slice(v.length-y)))return Xa(u,s.slice(0,s.length-y),v.slice(0,v.length-y),g)}}}if(r.length>0&&o&&0===o.length){var b=e.slice(0,r.index),g=e.slice(r.index+r.length);if(!(l<(p=b.length)+(y=g.length))){var m=t.slice(0,p),_=t.slice(l-y);if(b===m&&g===_)return Xa(b,e.slice(p,i-y),t.slice(p,l-y),g)}}return null}(e,t,n);if(o)return o}var i=Va(e,t),l=e.substring(0,i);i=Ka(e=e.substring(i),t=t.substring(i));var a=e.substring(e.length-i),u=function(e,t){var n;if(!e)return[[1,t]];if(!t)return[[Ua,e]];var r=e.length>t.length?e:t,o=e.length>t.length?t:e,i=r.indexOf(o);if(-1!==i)return n=[[1,r.substring(0,i)],[0,o],[1,r.substring(i+o.length)]],e.length>t.length&&(n[0][0]=n[2][0]=Ua),n;if(1===o.length)return[[Ua,e],[1,t]];var l=function(e,t){var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length=e.length?[r,o,i,l,s]:null}var i,l,a,u,s,c=o(n,r,Math.ceil(n.length/4)),f=o(n,r,Math.ceil(n.length/2));if(!c&&!f)return null;i=f?c&&c[4].length>f[4].length?c:f:c;e.length>t.length?(l=i[0],a=i[1],u=i[2],s=i[3]):(u=i[0],s=i[1],l=i[2],a=i[3]);var d=i[4];return[l,a,u,s,d]}(e,t);if(l){var a=l[0],u=l[1],s=l[2],c=l[3],f=l[4],d=za(a,s),p=za(u,c);return d.concat([[0,f]],p)}return function(e,t){for(var n=e.length,r=t.length,o=Math.ceil((n+r)/2),i=o,l=2*o,a=new Array(l),u=new Array(l),s=0;sn)p+=2;else if(m>r)d+=2;else if(f){if((w=i+c-b)>=0&&w=(q=n-u[w]))return Ha(e,t,x,m)}}for(var _=-y+h;_<=y-v;_+=2){for(var q,w=i+_,k=(q=_===-y||_!==y&&u[w-1]n)v+=2;else if(k>r)h+=2;else if(!f){if((g=i+c-_)>=0&&g=(q=n-q))return Ha(e,t,x,m)}}}}return[[Ua,e],[1,t]]}(e,t)}(e=e.substring(0,e.length-i),t=t.substring(0,t.length-i));return l&&u.unshift([0,l]),a&&u.push([0,a]),$a(u,r),u}function Ha(e,t,n,r){var o=e.substring(0,n),i=t.substring(0,r),l=e.substring(n),a=t.substring(r),u=za(o,i),s=za(l,a);return u.concat(s)}function Va(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n=0&&Ya(e[u][1])){var s=e[u][1].slice(-1);if(e[u][1]=e[u][1].slice(0,-1),l=s+l,a=s+a,!e[u][1]){e.splice(u,1),r--;var c=u-1;e[c]&&1===e[c][0]&&(i++,a=e[c][1]+a,c--),e[c]&&e[c][0]===Ua&&(o++,l=e[c][1]+l,c--),u=c}}if(Ga(e[r][1])){s=e[r][1].charAt(0);e[r][1]=e[r][1].slice(1),l+=s,a+=s}}if(r0||a.length>0){l.length>0&&a.length>0&&(0!==(n=Va(a,l))&&(u>=0?e[u][1]+=a.substring(0,n):(e.splice(0,0,[0,a.substring(0,n)]),r++),a=a.substring(n),l=l.substring(n)),0!==(n=Ka(a,l))&&(e[r][1]=a.substring(a.length-n)+e[r][1],a=a.substring(0,a.length-n),l=l.substring(0,l.length-n)));var f=i+o;0===l.length&&0===a.length?(e.splice(r-f,f),r-=f):0===l.length?(e.splice(r-f,f,[1,a]),r=r-f+1):0===a.length?(e.splice(r-f,f,[Ua,l]),r=r-f+1):(e.splice(r-f,f,[Ua,l],[1,a]),r=r-f+2)}0!==r&&0===e[r-1][0]?(e[r-1][1]+=e[r][1],e.splice(r,1)):r++,i=0,o=0,l="",a=""}""===e[e.length-1][1]&&e.pop();var d=!1;for(r=1;r=55296&&e<=56319}function Za(e){return e>=56320&&e<=57343}function Ga(e){return Za(e.charCodeAt(0))}function Ya(e){return Wa(e.charCodeAt(e.length-1))}function Xa(e,t,n,r){return Ya(e)||Ga(r)?null:function(e){for(var t=[],n=0;n0&&t.push(e[n]);return t}([[0,e],[Ua,t],[1,n],[0,r]])}function Qa(e,t,n){return za(e,t,n,!0)}Qa.INSERT=1,Qa.DELETE=Ua,Qa.EQUAL=0;var Ja=Qa,eu={exports:{}};!function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",i="[object Boolean]",l="[object Date]",a="[object Function]",u="[object GeneratorFunction]",s="[object Map]",c="[object Number]",f="[object Object]",d="[object Promise]",p="[object RegExp]",h="[object Set]",v="[object String]",y="[object Symbol]",b="[object WeakMap]",g="[object ArrayBuffer]",m="[object DataView]",_="[object Float32Array]",q="[object Float64Array]",w="[object Int8Array]",k="[object Int16Array]",x="[object Int32Array]",O="[object Uint8Array]",E="[object Uint8ClampedArray]",j="[object Uint16Array]",A="[object Uint32Array]",S=/\w*$/,N=/^\[object .+?Constructor\]$/,C=/^(?:0|[1-9]\d*)$/,T={};T[o]=T["[object Array]"]=T[g]=T[m]=T[i]=T[l]=T[_]=T[q]=T[w]=T[k]=T[x]=T[s]=T[c]=T[f]=T[p]=T[h]=T[v]=T[y]=T[O]=T[E]=T[j]=T[A]=!0,T["[object Error]"]=T[a]=T[b]=!1;var P="object"==typeof Ra&&Ra&&Ra.Object===Object&&Ra,L="object"==typeof self&&self&&self.Object===Object&&self,M=P||L||Function("return this")(),R=t&&!t.nodeType&&t,I=R&&e&&!e.nodeType&&e,B=I&&I.exports===R;function D(e,t){return e.set(t[0],t[1]),e}function F(e,t){return e.add(t),e}function U(e,t,n,r){var o=-1,i=e?e.length:0;for(r&&i&&(n=e[++o]);++o-1},Oe.prototype.set=function(e,t){var n=this.__data__,r=Ne(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Ee.prototype.clear=function(){this.__data__={hash:new xe,map:new(de||Oe),string:new xe}},Ee.prototype.delete=function(e){return Me(this,e).delete(e)},Ee.prototype.get=function(e){return Me(this,e).get(e)},Ee.prototype.has=function(e){return Me(this,e).has(e)},Ee.prototype.set=function(e,t){return Me(this,e).set(e,t),this},je.prototype.clear=function(){this.__data__=new Oe},je.prototype.delete=function(e){return this.__data__.delete(e)},je.prototype.get=function(e){return this.__data__.get(e)},je.prototype.has=function(e){return this.__data__.has(e)},je.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Oe){var r=n.__data__;if(!de||r.length<199)return r.push([e,t]),this;n=this.__data__=new Ee(r)}return n.set(e,t),this};var Ie=ue?V(ue,Object):function(){return[]},Be=function(e){return J.call(e)};function De(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||C.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=r}(e.length)&&!$e(e)}var Ke=se||function(){return!1};function $e(e){var t=We(e)?J.call(e):"";return t==a||t==u}function We(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ze(e){return Ve(e)?Ae(e):function(e){if(!Fe(e))return ce(e);var t=[];for(var n in Object(e))Q.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}e.exports=function(e){return Ce(e,!0,!0)}}(eu,eu.exports);var tu={exports:{}};!function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",i="[object Array]",l="[object Boolean]",a="[object Date]",u="[object Error]",s="[object Function]",c="[object Map]",f="[object Number]",d="[object Object]",p="[object Promise]",h="[object RegExp]",v="[object Set]",y="[object String]",b="[object Symbol]",g="[object WeakMap]",m="[object ArrayBuffer]",_="[object DataView]",q=/^\[object .+?Constructor\]$/,w=/^(?:0|[1-9]\d*)$/,k={};k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k[o]=k[i]=k[m]=k[l]=k[_]=k[a]=k[u]=k[s]=k[c]=k[f]=k[d]=k[h]=k[v]=k[y]=k[g]=!1;var x="object"==typeof Ra&&Ra&&Ra.Object===Object&&Ra,O="object"==typeof self&&self&&self.Object===Object&&self,E=x||O||Function("return this")(),j=t&&!t.nodeType&&t,A=j&&e&&!e.nodeType&&e,S=A&&A.exports===j,N=S&&x.process,C=function(){try{return N&&N.binding&&N.binding("util")}catch(e){}}(),T=C&&C.isTypedArray;function P(e,t){for(var n=-1,r=null==e?0:e.length;++na))return!1;var s=i.get(e);if(s&&i.get(t))return s==t;var c=-1,f=!0,d=2&n?new ge:void 0;for(i.set(e,t),i.set(t,e);++c-1},ye.prototype.set=function(e,t){var n=this.__data__,r=qe(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},be.prototype.clear=function(){this.size=0,this.__data__={hash:new ve,map:new(re||ye),string:new ve}},be.prototype.delete=function(e){var t=Se(this,e).delete(e);return this.size-=t?1:0,t},be.prototype.get=function(e){return Se(this,e).get(e)},be.prototype.has=function(e){return Se(this,e).has(e)},be.prototype.set=function(e,t){var n=Se(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ge.prototype.add=ge.prototype.push=function(e){return this.__data__.set(e,n),this},ge.prototype.has=function(e){return this.__data__.has(e)},me.prototype.clear=function(){this.__data__=new ye,this.size=0},me.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},me.prototype.get=function(e){return this.__data__.get(e)},me.prototype.has=function(e){return this.__data__.has(e)},me.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ye){var r=n.__data__;if(!re||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new be(r)}return n.set(e,t),this.size=n.size,this};var Ce=J?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n-1&&e%1==0&&e-1&&e%1==0&&e<=r}function Ue(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ze(e){return null!=e&&"object"==typeof e}var He=T?function(e){return function(t){return e(t)}}(T):function(e){return ze(e)&&Fe(e.length)&&!!k[we(e)]};function Ve(e){return null!=(t=e)&&Fe(t.length)&&!De(t)?_e(e):Ee(e);var t}e.exports=function(e,t){return xe(e,t)}}(tu,tu.exports);var nu={},ru=Ra&&Ra.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(nu,"__esModule",{value:!0});var ou,iu=ru(eu.exports),lu=ru(tu.exports);!function(e){e.compose=function(e,t,n){void 0===e&&(e={}),void 0===t&&(t={}),"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var r=iu.default(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},e.diff=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,r){return lu.default(e[r],t[r])||(n[r]=void 0===t[r]?null:t[r]),n}),{});return Object.keys(n).length>0?n:void 0},e.invert=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),e=e||{};var n=Object.keys(t).reduce((function(n,r){return t[r]!==e[r]&&void 0!==e[r]&&(n[r]=t[r]),n}),{});return Object.keys(e).reduce((function(n,r){return e[r]!==t[r]&&void 0===t[r]&&(n[r]=null),n}),n)},e.transform=function(e,t,n){if(void 0===n&&(n=!1),"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}}}(ou||(ou={})),nu.default=ou;var au,uu,su={},cu={};function fu(){if(uu)return su;uu=1;var e=Ra&&Ra.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(su,"__esModule",{value:!0});var t,n=e(function(){if(au)return cu;au=1;var e=Ra&&Ra.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(cu,"__esModule",{value:!0});var t=e(fu()),n=function(){function e(e){this.ops=e,this.index=0,this.offset=0}return e.prototype.hasNext=function(){return this.peekLength()<1/0},e.prototype.next=function(e){e||(e=1/0);var n=this.ops[this.index];if(n){var r=this.offset,o=t.default.length(n);if(e>=o-r?(e=o-r,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof n.delete)return{delete:e};var i={};return n.attributes&&(i.attributes=n.attributes),"number"==typeof n.retain?i.retain=e:"string"==typeof n.insert?i.insert=n.insert.substr(r,e):i.insert=n.insert,i}return{retain:1/0}},e.prototype.peek=function(){return this.ops[this.index]},e.prototype.peekLength=function(){return this.ops[this.index]?t.default.length(this.ops[this.index])-this.offset:1/0},e.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"},e.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}();return cu.default=n,cu}());return function(e){e.iterator=function(e){return new n.default(e)},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}}(t||(t={})),su.default=t,su}var du=Ra&&Ra.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},pu=du(Ja),hu=du(eu.exports),vu=du(tu.exports),yu=du(nu),bu=du(fu()),gu=String.fromCharCode(0);!function(){function e(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]}e.prototype.insert=function(e,t){var n={};return"string"==typeof e&&0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},e.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},e.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)},e.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=hu.default(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,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(vu.default(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},e.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},e.prototype.filter=function(e){return this.ops.filter(e)},e.prototype.forEach=function(e){this.ops.forEach(e)},e.prototype.map=function(e){return this.ops.map(e)},e.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(r){(e(r)?t:n).push(r)})),[t,n]},e.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},e.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+bu.default.length(t):t.delete?e-t.delete:e}),0)},e.prototype.length=function(){return this.reduce((function(e,t){return e+bu.default.length(t)}),0)},e.prototype.slice=function(t,n){void 0===t&&(t=0),void 0===n&&(n=1/0);for(var r=[],o=bu.default.iterator(this.ops),i=0;i0&&r.next(i.retain-l)}for(var a=new e(o);n.hasNext()||r.hasNext();)if("insert"===r.peekType())a.push(r.next());else if("delete"===n.peekType())a.push(n.next());else{var u=Math.min(n.peekLength(),r.peekLength()),s=n.next(u),c=r.next(u);if("number"==typeof c.retain){var f={};"number"==typeof s.retain?f.retain=u:f.insert=s.insert;var d=yu.default.compose(s.attributes,c.attributes,"number"==typeof s.retain);if(d&&(f.attributes=d),a.push(f),!r.hasNext()&&vu.default(a.ops[a.ops.length-1],f)){var p=new e(n.rest());return a.concat(p).chop()}}else"number"==typeof c.delete&&"number"==typeof s.retain&&a.push(c)}return a.chop()},e.prototype.concat=function(t){var n=new e(this.ops.slice());return t.ops.length>0&&(n.push(t.ops[0]),n.ops=n.ops.concat(t.ops.slice(1))),n},e.prototype.diff=function(t,n){if(this.ops===t.ops)return new e;var r=[this,t].map((function(e){return e.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:gu;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")})).join("")})),o=new e,i=pu.default(r[0],r[1],n),l=bu.default.iterator(this.ops),a=bu.default.iterator(t.ops);return i.forEach((function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case pu.default.INSERT:n=Math.min(a.peekLength(),t),o.push(a.next(n));break;case pu.default.DELETE:n=Math.min(t,l.peekLength()),l.next(n),o.delete(n);break;case pu.default.EQUAL:n=Math.min(l.peekLength(),a.peekLength(),t);var r=l.next(n),i=a.next(n);vu.default(r.insert,i.insert)?o.retain(n,yu.default.diff(r.attributes,i.attributes)):o.push(i).delete(n)}t-=n}})),o.chop()},e.prototype.eachLine=function(t,n){void 0===n&&(n="\n");for(var r=bu.default.iterator(this.ops),o=new e,i=0;r.hasNext();){if("insert"!==r.peekType())return;var l=r.peek(),a=bu.default.length(l)-r.peekLength(),u="string"==typeof l.insert?l.insert.indexOf(n,a)-a:-1;if(u<0)o.push(r.next());else if(u>0)o.push(r.next(u));else{if(!1===t(o,r.next(1).attributes||{},i))return;i+=1,o=new e}}o.length()>0&&t(o,{},i)},e.prototype.invert=function(t){var n=new e;return this.reduce((function(e,r){if(r.insert)n.delete(bu.default.length(r));else{if(r.retain&&null==r.attributes)return n.retain(r.retain),e+r.retain;if(r.delete||r.retain&&r.attributes){var o=r.delete||r.retain;return t.slice(e,e+o).forEach((function(e){r.delete?n.push(e):r.retain&&r.attributes&&n.retain(bu.default.length(e),yu.default.invert(r.attributes,e.attributes))})),e+o}}return e}),0),n.chop()},e.prototype.transform=function(t,n){if(void 0===n&&(n=!1),n=!!n,"number"==typeof t)return this.transformPosition(t,n);for(var r=t,o=bu.default.iterator(this.ops),i=bu.default.iterator(r.ops),l=new e;o.hasNext()||i.hasNext();)if("insert"!==o.peekType()||!n&&"insert"===i.peekType())if("insert"===i.peekType())l.push(i.next());else{var a=Math.min(o.peekLength(),i.peekLength()),u=o.next(a),s=i.next(a);if(u.delete)continue;s.delete?l.push(s):l.retain(a,yu.default.transform(u.attributes,s.attributes,n))}else l.retain(bu.default.length(o.next()));return l.chop()},e.prototype.transformPosition=function(e,t){void 0===t&&(t=!1),t=!!t;for(var n=bu.default.iterator(this.ops),r=0;n.hasNext()&&r<=e;){var o=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(r1&&void 0!==arguments[1]?arguments[1]:"api";"html"===e.contentType?b(t):"text"===e.contentType?v(t,r):null==n||n.setContents(t,r)},h=function(e,t){var r;return null!==(r=null==n?void 0:n.getText(e,t))&&void 0!==r?r:""},v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"api";null==n||n.setText(e,t)},y=function(){var e;return null!==(e=null==n?void 0:n.root.innerHTML)&&void 0!==e?e:""},b=function(e){n&&(n.root.innerHTML=e)};return tr((function(){return e.enable}),(function(e){n&&n.enable(e)})),{editor:o,getEditor:function(){return o.value},getToolbar:function(){var e;return null===(e=null==n?void 0:n.getModule("toolbar"))||void 0===e?void 0:e.container},getQuill:function(){if(n)return n;throw'The quill editor hasn\'t been instantiated yet, \n make sure to call this method when the editor ready\n or use v-on:ready="onReady(quill)" event instead.'},getContents:d,setContents:p,getHTML:y,setHTML:b,pasteHTML:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"api",r=null==n?void 0:n.clipboard.convert(e);r&&(null==n||n.setContents(r,t))},getText:h,setText:v,reinit:function(){bn((function(){var e;!t.slots.toolbar&&n&&(null===(e=n.getModule("toolbar"))||void 0===e||e.container.remove()),i()}))}}},render(){var e,n;return[null===(n=(e=this.$slots).toolbar)||void 0===n?void 0:n.call(e),Qi("div",t({ref:"editor"},this.$attrs))]}}))}}}))}();