@betterbugs/web-sdk 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +109 -114
- package/index.js +1 -1
- package/package.json +14 -2
- package/recorder.js +2 -0
- package/types/index.d.ts +22 -18
- package/types/logsData.d.ts +1 -0
- package/types/recording.d.ts +206 -0
- package/types/README.md +0 -146
- package/types/index.js +0 -2
- package/types/index.js.LICENSE.txt +0 -113
- package/types/package.json +0 -28
package/recorder.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see recorder.js.LICENSE.txt */
|
|
2
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Betterbugs=e():t.Betterbugs=e()}(this,(function(){return function(){var __webpack_modules__={537:function(t,e,n){"use strict";var r=n(3036),i=n.n(r),o=n(4725),a=n.n(o)()(i());a.push([t.id,"/*!\n * Quill Editor v2.0.2\n * https://quilljs.com\n * Copyright (c) 2017-2024, Slab\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */\n.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked] > .ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked] > .ql-ui{cursor:pointer}.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;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;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 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}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{list-style-type:none;padding-left:1.5em;position:relative}.ql-editor li > .ql-ui:before{display:inline-block;margin-left:-1.5em;margin-right:.3em;text-align:right;white-space:nowrap;width:1.2em}.ql-editor li[data-list=checked] > .ql-ui,.ql-editor li[data-list=unchecked] > .ql-ui{color:#777}.ql-editor li[data-list=bullet] > .ql-ui:before{content:'\\2022'}.ql-editor li[data-list=checked] > .ql-ui:before{content:'\\2611'}.ql-editor li[data-list=unchecked] > .ql-ui:before{content:'\\2610'}@supports (counter-set:none){.ql-editor li[data-list]{counter-set:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered] > .ql-ui:before{content:counter(list-0, decimal) '. '}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1 > .ql-ui:before{content:counter(list-1, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-set:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2 > .ql-ui:before{content:counter(list-2, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-set:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3 > .ql-ui:before{content:counter(list-3, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-set:list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4 > .ql-ui:before{content:counter(list-4, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5 > .ql-ui:before{content:counter(list-5, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6 > .ql-ui:before{content:counter(list-6, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7 > .ql-ui:before{content:counter(list-7, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8 > .ql-ui:before{content:counter(list-8, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9 > .ql-ui: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 li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl > .ql-ui:before{margin-left:.3em;margin-right:-1.5em;text-align:left}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.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-ui{position:absolute}.ql-editor.ql-blank::before{color:rgba(0,0,0,0.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:'';display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.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:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .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:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .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:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .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:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .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:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.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:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .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:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .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:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.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:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .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:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .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:#06c}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:'';display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-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 .ql-code-block-container{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor .ql-code-block-container{margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor .ql-code-block-container{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-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-code-block-container{position:relative}.ql-code-block-container .ql-ui{right:5px;top:5px}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:'Helvetica Neue','Helvetica','Arial',sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,0.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#ccc}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow + .ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:\"Visit URL:\";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #ccc;content:'Edit';margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:'Remove';margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:'Save';padding-right:0}.ql-snow .ql-tooltip[data-mode=link]::before{content:\"Enter link:\"}.ql-snow .ql-tooltip[data-mode=formula]::before{content:\"Enter formula:\"}.ql-snow .ql-tooltip[data-mode=video]::before{content:\"Enter video:\"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}",""]),e.A=a},3742:function(t,e,n){"use strict";n.r(e);var r=n(3036),i=n.n(r),o=n(4725),a=n.n(o)()(i());a.push([t.id,"@import url(https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800&display=swap);"]),a.push([t.id,'*, ::before, ::after{\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgba(59, 130, 246, 0.5);\n --tw-ring-offset-shadow: 0 0 rgba(0,0,0,0);\n --tw-ring-shadow: 0 0 rgba(0,0,0,0);\n --tw-shadow: 0 0 rgba(0,0,0,0);\n --tw-shadow-colored: 0 0 rgba(0,0,0,0);\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n::backdrop{\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgba(59, 130, 246, 0.5);\n --tw-ring-offset-shadow: 0 0 rgba(0,0,0,0);\n --tw-ring-shadow: 0 0 rgba(0,0,0,0);\n --tw-shadow: 0 0 rgba(0,0,0,0);\n --tw-shadow-colored: 0 0 rgba(0,0,0,0);\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n/*\n! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com\n*/\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: currentColor; /* 2 */\n}\n::before,\n::after {\n --tw-content: \'\';\n}\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user\'s configured `sans` font-family by default.\n5. Use the user\'s configured `sans` font-feature-settings by default.\n6. Use the user\'s configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\nhtml,\n:host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\nabbr:where([title]) {\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n/*\nRemove the default font size and weight for headings.\n*/\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\na {\n color: inherit;\n text-decoration: inherit;\n}\n/*\nAdd the correct font weight in Edge and Safari.\n*/\nb,\nstrong {\n font-weight: bolder;\n}\n/*\n1. Use the user\'s configured `mono` font-family by default.\n2. Use the user\'s configured `mono` font-feature-settings by default.\n3. Use the user\'s configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\ncode,\nkbd,\nsamp,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n/*\nAdd the correct font size in all browsers.\n*/\nsmall {\n font-size: 80%;\n}\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\nsup {\n top: -0.5em;\n}\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\nbutton,\nselect {\n text-transform: none;\n}\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\nbutton,\ninput:where([type=\'button\']),\ninput:where([type=\'reset\']),\ninput:where([type=\'submit\']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n:-moz-focusring {\n outline: auto;\n}\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n:-moz-ui-invalid {\n box-shadow: none;\n}\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\nprogress {\n vertical-align: baseline;\n}\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n[type=\'search\'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n/*\nAdd the correct display in Chrome and Safari.\n*/\nsummary {\n display: list-item;\n}\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\nfieldset {\n margin: 0;\n padding: 0;\n}\nlegend {\n padding: 0;\n}\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n/*\nPrevent resizing textareas horizontally by default.\n*/\ntextarea {\n resize: vertical;\n}\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user\'s configured gray 400 color.\n*/\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n/*\nSet the default cursor for buttons.\n*/\nbutton,\n[role="button"] {\n cursor: pointer;\n}\n/*\nMake sure disabled buttons don\'t get the pointer cursor.\n*/\n:disabled {\n cursor: default;\n}\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden]:where(:not([hidden="until-found"])) {\n display: none;\n}\n.container{\n width: 100%;\n margin-right: auto;\n margin-left: auto;\n padding-right: 3rem;\n padding-left: 3rem;\n}\n@media (min-width: 640px){\n .container{\n max-width: 640px;\n padding-right: 3rem;\n padding-left: 3rem;\n }\n}\n@media (min-width: 768px){\n .container{\n max-width: 768px;\n padding-right: 2.5rem;\n padding-left: 2.5rem;\n }\n}\n@media (min-width: 1024px){\n .container{\n max-width: 1024px;\n padding-right: 2rem;\n padding-left: 2rem;\n }\n}\n@media (min-width: 1280px){\n .container{\n max-width: 1280px;\n padding-right: 5rem;\n padding-left: 5rem;\n }\n}\n@media (min-width: 1536px){\n .container{\n max-width: 1536px;\n padding-right: 5rem;\n padding-left: 5rem;\n }\n}\n.pointer-events-none{\n pointer-events: none !important;\n}\n.visible{\n visibility: visible !important;\n}\n.static{\n position: static !important;\n}\n.fixed{\n position: fixed !important;\n}\n.absolute{\n position: absolute !important;\n}\n.relative{\n position: relative !important;\n}\n.inset-0{\n top: 0px !important;\n right: 0px !important;\n bottom: 0px !important;\n left: 0px !important;\n}\n.inset-y-0{\n top: 0px !important;\n bottom: 0px !important;\n}\n.right-0{\n right: 0px !important;\n}\n.right-2{\n right: 0.5rem !important;\n}\n.right-px{\n right: 1px !important;\n}\n.top-2{\n top: 0.5rem !important;\n}\n.top-px{\n top: 1px !important;\n}\n.z-40{\n z-index: 40 !important;\n}\n.z-50{\n z-index: 50 !important;\n}\n.m-2{\n margin: 0.5rem !important;\n}\n.mx-4{\n margin-left: 1rem !important;\n margin-right: 1rem !important;\n}\n.mx-auto{\n margin-left: auto !important;\n margin-right: auto !important;\n}\n.mx-px{\n margin-left: 1px !important;\n margin-right: 1px !important;\n}\n.my-1{\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n}\n.mb-1{\n margin-bottom: 0.25rem !important;\n}\n.mb-2{\n margin-bottom: 0.5rem !important;\n}\n.mb-3{\n margin-bottom: 0.75rem !important;\n}\n.mb-4{\n margin-bottom: 1rem !important;\n}\n.mb-6{\n margin-bottom: 1.5rem !important;\n}\n.mb-\\[16px\\]{\n margin-bottom: 16px !important;\n}\n.mb-\\[8px\\]{\n margin-bottom: 8px !important;\n}\n.ml-0\\.5{\n margin-left: 0.125rem !important;\n}\n.ml-3{\n margin-left: 0.75rem !important;\n}\n.mt-0\\.5{\n margin-top: 0.125rem !important;\n}\n.mt-1{\n margin-top: 0.25rem !important;\n}\n.mt-16{\n margin-top: 4rem !important;\n}\n.mt-3{\n margin-top: 0.75rem !important;\n}\n.mt-4{\n margin-top: 1rem !important;\n}\n.mt-6{\n margin-top: 1.5rem !important;\n}\n.mt-8{\n margin-top: 2rem !important;\n}\n.block{\n display: block !important;\n}\n.inline-block{\n display: inline-block !important;\n}\n.inline{\n display: inline !important;\n}\n.flex{\n display: flex !important;\n}\n.table{\n display: table !important;\n}\n.hidden{\n display: none !important;\n}\n.h-16{\n height: 4rem !important;\n}\n.h-2\\.5{\n height: 0.625rem !important;\n}\n.h-3{\n height: 0.75rem !important;\n}\n.h-4{\n height: 1rem !important;\n}\n.h-48{\n height: 12rem !important;\n}\n.h-6{\n height: 1.5rem !important;\n}\n.h-8{\n height: 2rem !important;\n}\n.h-\\[100px\\]{\n height: 100px !important;\n}\n.h-\\[180px\\]{\n height: 180px !important;\n}\n.h-\\[32px\\]{\n height: 32px !important;\n}\n.h-\\[36px\\]{\n height: 36px !important;\n}\n.h-\\[400px\\]{\n height: 400px !important;\n}\n.h-\\[80\\%\\]{\n height: 80% !important;\n}\n.h-\\[98px\\]{\n height: 98px !important;\n}\n.h-full{\n height: 100% !important;\n}\n.h-screen{\n height: 100vh !important;\n}\n.min-h-screen{\n min-height: 100vh !important;\n}\n.w-1\\/2{\n width: 50% !important;\n}\n.w-16{\n width: 4rem !important;\n}\n.w-2\\.5{\n width: 0.625rem !important;\n}\n.w-3{\n width: 0.75rem !important;\n}\n.w-32{\n width: 8rem !important;\n}\n.w-4{\n width: 1rem !important;\n}\n.w-48{\n width: 12rem !important;\n}\n.w-6{\n width: 1.5rem !important;\n}\n.w-8{\n width: 2rem !important;\n}\n.w-\\[24px\\]{\n width: 24px !important;\n}\n.w-\\[320px\\]{\n width: 320px !important;\n}\n.w-\\[32px\\]{\n width: 32px !important;\n}\n.w-\\[440px\\]{\n width: 440px !important;\n}\n.w-\\[98px\\]{\n width: 98px !important;\n}\n.w-full{\n width: 100% !important;\n}\n.max-w-6xl{\n max-width: 72rem !important;\n}\n.max-w-md{\n max-width: 28rem !important;\n}\n.flex-1{\n flex: 1 1 0% !important;\n}\n.flex-shrink-0{\n flex-shrink: 0 !important;\n}\n.flex-grow{\n flex-grow: 1 !important;\n}\n.transform{\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n}\n@keyframes pulse{\n 50%{\n opacity: .5;\n }\n}\n.animate-pulse{\n animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;\n}\n.cursor-grab{\n cursor: grab !important;\n}\n.cursor-not-allowed{\n cursor: not-allowed !important;\n}\n.cursor-pointer{\n cursor: pointer !important;\n}\n.resize{\n resize: both !important;\n}\n.appearance-none{\n -webkit-appearance: none !important;\n -moz-appearance: none !important;\n appearance: none !important;\n}\n.flex-col{\n flex-direction: column !important;\n}\n.items-center{\n align-items: center !important;\n}\n.justify-end{\n justify-content: flex-end !important;\n}\n.justify-center{\n justify-content: center !important;\n}\n.justify-between{\n justify-content: space-between !important;\n}\n.gap-1{\n gap: 0.25rem !important;\n}\n.gap-1\\.5{\n gap: 0.375rem !important;\n}\n.gap-2{\n gap: 0.5rem !important;\n}\n.gap-3{\n gap: 0.75rem !important;\n}\n.gap-4{\n gap: 1rem !important;\n}\n.space-x-3 > :not([hidden]) ~ :not([hidden]){\n --tw-space-x-reverse: 0 !important;\n margin-right: calc(0.75rem * 0) !important;\n margin-right: calc(0.75rem * var(--tw-space-x-reverse)) !important;\n margin-left: calc(0.75rem * (1 - 0)) !important;\n margin-left: calc(0.75rem * (1 - var(--tw-space-x-reverse))) !important;\n margin-left: calc(0.75rem * calc(1 - 0)) !important;\n margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse))) !important;\n}\n.space-y-1 > :not([hidden]) ~ :not([hidden]){\n --tw-space-y-reverse: 0 !important;\n margin-top: calc(0.25rem * (1 - 0)) !important;\n margin-top: calc(0.25rem * (1 - var(--tw-space-y-reverse))) !important;\n margin-top: calc(0.25rem * calc(1 - 0)) !important;\n margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse))) !important;\n margin-bottom: calc(0.25rem * 0) !important;\n margin-bottom: calc(0.25rem * var(--tw-space-y-reverse)) !important;\n}\n.space-y-2 > :not([hidden]) ~ :not([hidden]){\n --tw-space-y-reverse: 0 !important;\n margin-top: calc(0.5rem * (1 - 0)) !important;\n margin-top: calc(0.5rem * (1 - var(--tw-space-y-reverse))) !important;\n margin-top: calc(0.5rem * calc(1 - 0)) !important;\n margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse))) !important;\n margin-bottom: calc(0.5rem * 0) !important;\n margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)) !important;\n}\n.space-y-3 > :not([hidden]) ~ :not([hidden]){\n --tw-space-y-reverse: 0 !important;\n margin-top: calc(0.75rem * (1 - 0)) !important;\n margin-top: calc(0.75rem * (1 - var(--tw-space-y-reverse))) !important;\n margin-top: calc(0.75rem * calc(1 - 0)) !important;\n margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse))) !important;\n margin-bottom: calc(0.75rem * 0) !important;\n margin-bottom: calc(0.75rem * var(--tw-space-y-reverse)) !important;\n}\n.overflow-hidden{\n overflow: hidden !important;\n}\n.overflow-y-auto{\n overflow-y: auto !important;\n}\n.rounded{\n border-radius: 0.25rem !important;\n}\n.rounded-2xl{\n border-radius: 1rem !important;\n}\n.rounded-\\[6px\\]{\n border-radius: 6px !important;\n}\n.rounded-full{\n border-radius: 9999px !important;\n}\n.rounded-lg{\n border-radius: 0.5rem !important;\n}\n.rounded-md{\n border-radius: 0.375rem !important;\n}\n.rounded-xl{\n border-radius: 0.75rem !important;\n}\n.rounded-b-\\[6px\\]{\n border-bottom-right-radius: 6px !important;\n border-bottom-left-radius: 6px !important;\n}\n.border{\n border-width: 1px !important;\n}\n.border-\\[\\#2A2A2A\\]{\n --tw-border-opacity: 1 !important;\n border-color: rgba(42, 42, 42, 1) !important;\n border-color: rgba(42, 42, 42, var(--tw-border-opacity, 1)) !important;\n}\n.border-\\[\\#3A3A3A\\]{\n --tw-border-opacity: 1 !important;\n border-color: rgba(58, 58, 58, 1) !important;\n border-color: rgba(58, 58, 58, var(--tw-border-opacity, 1)) !important;\n}\n.border-\\[\\#F65354\\]{\n --tw-border-opacity: 1 !important;\n border-color: rgba(246, 83, 84, 1) !important;\n border-color: rgba(246, 83, 84, var(--tw-border-opacity, 1)) !important;\n}\n.border-\\[var\\(--border-color\\)\\]{\n border-color: var(--border-color) !important;\n}\n.border-gray-700{\n --tw-border-opacity: 1 !important;\n border-color: rgba(55, 65, 81, 1) !important;\n border-color: rgba(55, 65, 81, var(--tw-border-opacity, 1)) !important;\n}\n.border-white\\/\\[0\\.12\\]{\n border-color: rgba(255, 255, 255, 0.12) !important;\n}\n.bg-\\[\\#00DA92\\]{\n --tw-bg-opacity: 1 !important;\n background-color: rgba(0, 218, 146, 1) !important;\n background-color: rgba(0, 218, 146, var(--tw-bg-opacity, 1)) !important;\n}\n.bg-\\[\\#1A1A1A\\]{\n --tw-bg-opacity: 1 !important;\n background-color: rgba(26, 26, 26, 1) !important;\n background-color: rgba(26, 26, 26, var(--tw-bg-opacity, 1)) !important;\n}\n.bg-\\[\\#1E1E1E\\]{\n --tw-bg-opacity: 1 !important;\n background-color: rgba(30, 30, 30, 1) !important;\n background-color: rgba(30, 30, 30, var(--tw-bg-opacity, 1)) !important;\n}\n.bg-\\[\\#1c2221\\]{\n --tw-bg-opacity: 1 !important;\n background-color: rgba(28, 34, 33, 1) !important;\n background-color: rgba(28, 34, 33, var(--tw-bg-opacity, 1)) !important;\n}\n.bg-\\[\\#232728\\]{\n --tw-bg-opacity: 1 !important;\n background-color: rgba(35, 39, 40, 1) !important;\n background-color: rgba(35, 39, 40, var(--tw-bg-opacity, 1)) !important;\n}\n.bg-\\[\\#2A2A2A\\]{\n --tw-bg-opacity: 1 !important;\n background-color: rgba(42, 42, 42, 1) !important;\n background-color: rgba(42, 42, 42, var(--tw-bg-opacity, 1)) !important;\n}\n.bg-\\[\\#2A2A2A\\]\\/90{\n background-color: rgba(42, 42, 42, 0.9) !important;\n}\n.bg-\\[\\#2a2a2a\\]{\n --tw-bg-opacity: 1 !important;\n background-color: rgba(42, 42, 42, 1) !important;\n background-color: rgba(42, 42, 42, var(--tw-bg-opacity, 1)) !important;\n}\n.bg-\\[\\#F65354\\]{\n --tw-bg-opacity: 1 !important;\n background-color: rgba(246, 83, 84, 1) !important;\n background-color: rgba(246, 83, 84, var(--tw-bg-opacity, 1)) !important;\n}\n.bg-\\[\\#FD4243\\]{\n --tw-bg-opacity: 1 !important;\n background-color: rgba(253, 66, 67, 1) !important;\n background-color: rgba(253, 66, 67, var(--tw-bg-opacity, 1)) !important;\n}\n.bg-\\[var\\(--bg-secondary\\)\\]{\n background-color: var(--bg-secondary) !important;\n}\n.bg-\\[var\\(--bg-tertiary\\)\\]{\n background-color: var(--bg-tertiary) !important;\n}\n.bg-\\[var\\(--bg-widget\\)\\]{\n background-color: var(--bg-widget) !important;\n}\n.bg-\\[var\\(--button-bg\\)\\]{\n background-color: var(--button-bg) !important;\n}\n.bg-\\[var\\(--primary-action-bg\\)\\]{\n background-color: var(--primary-action-bg) !important;\n}\n.bg-black{\n --tw-bg-opacity: 1 !important;\n background-color: rgba(0, 0, 0, 1) !important;\n background-color: rgba(0, 0, 0, var(--tw-bg-opacity, 1)) !important;\n}\n.bg-danger\\/10{\n background-color: rgba(244, 40, 41, 0.1) !important;\n}\n.bg-gray-600{\n --tw-bg-opacity: 1 !important;\n background-color: rgba(75, 85, 99, 1) !important;\n background-color: rgba(75, 85, 99, var(--tw-bg-opacity, 1)) !important;\n}\n.bg-gray-800{\n --tw-bg-opacity: 1 !important;\n background-color: rgba(31, 41, 55, 1) !important;\n background-color: rgba(31, 41, 55, var(--tw-bg-opacity, 1)) !important;\n}\n.bg-success{\n --tw-bg-opacity: 1 !important;\n background-color: rgba(0, 218, 146, 1) !important;\n background-color: rgba(0, 218, 146, var(--tw-bg-opacity, 1)) !important;\n}\n.bg-transparent{\n background-color: transparent !important;\n}\n.bg-white{\n --tw-bg-opacity: 1 !important;\n background-color: rgba(255, 255, 255, 1) !important;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity, 1)) !important;\n}\n.bg-white\\/10{\n background-color: rgba(255, 255, 255, 0.1) !important;\n}\n.bg-opacity-50{\n --tw-bg-opacity: 0.5 !important;\n}\n.object-cover{\n -o-object-fit: cover !important;\n object-fit: cover !important;\n}\n.p-1{\n padding: 0.25rem !important;\n}\n.p-1\\.5{\n padding: 0.375rem !important;\n}\n.p-10{\n padding: 2.5rem !important;\n}\n.p-2{\n padding: 0.5rem !important;\n}\n.p-2\\.5{\n padding: 0.625rem !important;\n}\n.p-4{\n padding: 1rem !important;\n}\n.p-6{\n padding: 1.5rem !important;\n}\n.p-8{\n padding: 2rem !important;\n}\n.px-2{\n padding-left: 0.5rem !important;\n padding-right: 0.5rem !important;\n}\n.px-2\\.5{\n padding-left: 0.625rem !important;\n padding-right: 0.625rem !important;\n}\n.px-3{\n padding-left: 0.75rem !important;\n padding-right: 0.75rem !important;\n}\n.px-4{\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n}\n.py-1{\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n}\n.py-1\\.5{\n padding-top: 0.375rem !important;\n padding-bottom: 0.375rem !important;\n}\n.py-2{\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n}\n.py-2\\.5{\n padding-top: 0.625rem !important;\n padding-bottom: 0.625rem !important;\n}\n.py-3{\n padding-top: 0.75rem !important;\n padding-bottom: 0.75rem !important;\n}\n.pb-2{\n padding-bottom: 0.5rem !important;\n}\n.pb-3{\n padding-bottom: 0.75rem !important;\n}\n.pr-2{\n padding-right: 0.5rem !important;\n}\n.pr-8{\n padding-right: 2rem !important;\n}\n.pt-3{\n padding-top: 0.75rem !important;\n}\n.text-center{\n text-align: center !important;\n}\n.text-2xl{\n font-size: 1.5rem !important;\n line-height: 2rem !important;\n}\n.text-3xl{\n font-size: 1.875rem !important;\n line-height: 2.25rem !important;\n}\n.text-\\[12px\\]{\n font-size: 12px !important;\n}\n.text-\\[14px\\]{\n font-size: 14px !important;\n}\n.text-base{\n font-size: 1rem !important;\n line-height: 1.5rem !important;\n}\n.text-lg{\n font-size: 1.125rem !important;\n line-height: 1.75rem !important;\n}\n.text-sm{\n font-size: 0.875rem !important;\n line-height: 1.25rem !important;\n}\n.text-xl{\n font-size: 1.25rem !important;\n line-height: 1.75rem !important;\n}\n.text-xs{\n font-size: 0.75rem !important;\n line-height: 1rem !important;\n}\n.font-medium{\n font-weight: 500 !important;\n}\n.font-semibold{\n font-weight: 600 !important;\n}\n.tabular-nums{\n --tw-numeric-spacing: tabular-nums !important;\n font-feature-settings: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) tabular-nums var(--tw-numeric-fraction) !important;\n font-feature-settings: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction) !important;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) tabular-nums var(--tw-numeric-fraction) !important;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction) !important;\n}\n.text-\\[\\#666666\\]{\n --tw-text-opacity: 1 !important;\n color: rgba(102, 102, 102, 1) !important;\n color: rgba(102, 102, 102, var(--tw-text-opacity, 1)) !important;\n}\n.text-\\[\\#A4A7A6\\]{\n --tw-text-opacity: 1 !important;\n color: rgba(164, 167, 166, 1) !important;\n color: rgba(164, 167, 166, var(--tw-text-opacity, 1)) !important;\n}\n.text-\\[\\#BDBDBD\\]{\n --tw-text-opacity: 1 !important;\n color: rgba(189, 189, 189, 1) !important;\n color: rgba(189, 189, 189, var(--tw-text-opacity, 1)) !important;\n}\n.text-\\[\\#F65354\\]{\n --tw-text-opacity: 1 !important;\n color: rgba(246, 83, 84, 1) !important;\n color: rgba(246, 83, 84, var(--tw-text-opacity, 1)) !important;\n}\n.text-\\[\\#FF4D4D\\]{\n --tw-text-opacity: 1 !important;\n color: rgba(255, 77, 77, 1) !important;\n color: rgba(255, 77, 77, var(--tw-text-opacity, 1)) !important;\n}\n.text-\\[var\\(--danger\\)\\]{\n color: var(--danger) !important;\n}\n.text-\\[var\\(--primary-action-bg\\)\\]{\n color: var(--primary-action-bg) !important;\n}\n.text-\\[var\\(--primary-action-text\\)\\]{\n color: var(--primary-action-text) !important;\n}\n.text-\\[var\\(--text-primary\\)\\]{\n color: var(--text-primary) !important;\n}\n.text-\\[var\\(--text-secondary\\)\\]{\n color: var(--text-secondary) !important;\n}\n.text-\\[var\\(--text-tertiary\\)\\]{\n color: var(--text-tertiary) !important;\n}\n.text-black{\n --tw-text-opacity: 1 !important;\n color: rgba(0, 0, 0, 1) !important;\n color: rgba(0, 0, 0, var(--tw-text-opacity, 1)) !important;\n}\n.text-danger{\n --tw-text-opacity: 1 !important;\n color: rgba(246, 83, 84, 1) !important;\n color: rgba(246, 83, 84, var(--tw-text-opacity, 1)) !important;\n}\n.text-gray-400{\n --tw-text-opacity: 1 !important;\n color: rgba(156, 163, 175, 1) !important;\n color: rgba(156, 163, 175, var(--tw-text-opacity, 1)) !important;\n}\n.text-success{\n --tw-text-opacity: 1 !important;\n color: rgba(0, 218, 146, 1) !important;\n color: rgba(0, 218, 146, var(--tw-text-opacity, 1)) !important;\n}\n.text-success\\/80{\n color: rgba(0, 218, 146, 0.8) !important;\n}\n.text-white{\n --tw-text-opacity: 1 !important;\n color: rgba(255, 255, 255, 1) !important;\n color: rgba(255, 255, 255, var(--tw-text-opacity, 1)) !important;\n}\n.text-white\\/60{\n color: rgba(255, 255, 255, 0.6) !important;\n}\n.opacity-0{\n opacity: 0 !important;\n}\n.opacity-15{\n opacity: 0.15 !important;\n}\n.opacity-5{\n opacity: 0.05 !important;\n}\n.opacity-50{\n opacity: 0.5 !important;\n}\n.opacity-\\[1\\]{\n opacity: 1 !important;\n}\n.shadow{\n --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1) !important;\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;\n box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow) !important;\n}\n.shadow-lg{\n --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;\n --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color) !important;\n box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow) !important;\n}\n.shadow-xl{\n --tw-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;\n --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color) !important;\n box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow) !important;\n}\n.outline{\n outline-style: solid !important;\n}\n.blur{\n --tw-blur: blur(8px) !important;\n filter: blur(8px) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;\n}\n.filter{\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;\n}\n.backdrop-blur-sm{\n --tw-backdrop-blur: blur(4px) !important;\n -webkit-backdrop-filter: blur(4px) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: blur(4px) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n}\n.transition{\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter !important;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter !important;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n}\n.transition-all{\n transition-property: all !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n}\n.transition-colors{\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n}\n.transition-opacity{\n transition-property: opacity !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n}\n.transition-transform{\n transition-property: transform !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n}\n.duration-200{\n transition-duration: 200ms !important;\n}\n.ease-in-out{\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n}\n.ease-out{\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1) !important;\n}\n:root{--background: #ffffff;--foreground: #171717}\n@theme inline{--color-background: var(--background);--color-foreground: var(--foreground);--font-sans: var(--font-geist-sans);--font-mono: var(--font-geist-mono)}\n@media(prefers-color-scheme: dark){:root{--background: #0a0a0a;--foreground: #ededed}}\nbody{background:#ffffff;background:var(--background);color:#171717;color:var(--foreground);font-family:Arial,Helvetica,sans-serif}\n*::-webkit-scrollbar{height:.25rem !important;width:.25rem !important}\n*::-webkit-scrollbar-track{background:rgba(0,0,0,0)}\n*::-webkit-scrollbar-thumb{background:hsla(0,0%,100%,.05);position:absolute;border-radius:15px}\n.new-custom-quill-editor{margin-top:6px;gap:0px;border:none !important}\n.new-custom-quill-editor .ai-typing-animation p,.new-custom-quill-editor .ai-typing-animation li{opacity:0;position:relative;animation:fadeInText .5s ease-out forwards;background:linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 45%, rgb(255, 255, 255) 50%, rgba(255, 255, 255, 0.9) 55%, rgba(255, 255, 255, 0.9) 100%);background-size:200% auto;color:rgba(0,0,0,0);background-clip:text;-webkit-background-clip:text;animation:fadeInText .5s ease-out forwards,shineText 2s linear forwards;transition:visibility 0s, opacity .5s ease-out}\n.new-custom-quill-editor .ai-typing-animation p[style*="visibility: visible"],.new-custom-quill-editor .ai-typing-animation li[style*="visibility: visible"]{animation-play-state:running}\n.new-custom-quill-editor .ai-typing-animation p[style*="visibility: hidden"],.new-custom-quill-editor .ai-typing-animation li[style*="visibility: hidden"]{animation-play-state:paused}\n.new-custom-quill-editor .quill{height:80px}\n.new-custom-quill-editor .quill .ql-container{border:none !important}\n.new-custom-quill-editor .quill .ql-container .ql-editor{padding:5px !important;height:100% !important}\n.new-custom-quill-editor .quill .ql-container .ql-editor p,.new-custom-quill-editor .quill .ql-container .ql-editor li{font-size:.75rem}\n.new-custom-quill-editor .quill .ql-container .ql-editor::-webkit-scrollbar{height:0rem !important;width:.25rem !important}\n.new-custom-quill-editor .quill .ql-container .ql-editor::-webkit-scrollbar-track{background:rgba(0,0,0,0)}\n.new-custom-quill-editor .quill .ql-container .ql-editor::-webkit-scrollbar-thumb{background:hsla(0,0%,100%,.05);position:absolute;border-radius:15px}\n.new-custom-quill-editor .quill .ql-container .ql-editor.ql-blank::before{color:var(--text-tertiary);left:5px !important;font-style:normal !important}\n.new-custom-quill-editor .quill .ql-container .ql-editor pre.ql-syntax,.new-custom-quill-editor .quill .ql-container .ql-editor code,.new-custom-quill-editor .quill .ql-container .ql-editor pre{background-color:hsla(0,0%,100%,.6);color:#000}\n.new-custom-quill-editor .quill .ql-container .ql-editor h1,.new-custom-quill-editor .quill .ql-container .ql-editor h2,.new-custom-quill-editor .quill .ql-container .ql-editor strong{color:#fff !important}\n.new-custom-quill-editor .ql-tooltip{z-index:9999999999 !important;box-shadow:none !important;background-color:#282d2c !important;color:hsla(0,0%,100%,.6) !important;border-radius:4px;left:0 !important}\n.new-custom-quill-editor .ql-tooltip input{background:hsla(0,0%,100%,.05) !important;border:none !important;border-radius:6px;outline:none !important}\n.new-custom-quill-editor .ql-tooltip .ql-action{color:#fff !important}\n.new-custom-quill-editor .ql-tooltip a.ql-preview{max-width:135px !important}\n.new-custom-quill-editor .ql-toolbar{display:flex;align-items:center;border:none !important;background-color:hsla(0,0%,100%,.05);border-top-left-radius:6px;border-top-right-radius:6px;height:36px !important;padding:0px 8px !important;text-align:center}\n.new-custom-quill-editor .ql-toolbar .ql-format{display:block !important}\n.new-custom-quill-editor .ql-toolbar .ql-stroke{stroke:hsla(0,0%,100%,.6) !important}\n.new-custom-quill-editor .ql-toolbar .ql-fill{fill:hsla(0,0%,100%,.6) !important}\n.new-custom-quill-editor .ql-toolbar .ql-picker-options{background-color:#282d2c}\n.new-custom-quill-editor .ql-toolbar .ql-icon-picker{width:26px !important}\n.new-custom-quill-editor .ql-toolbar .ql-picker{float:none !important;float:initial !important;vertical-align:top !important}\n.new-custom-quill-editor .ql-toolbar button{float:none !important;float:initial !important;height:22px !important;color:#fff !important}\n.new-custom-quill-editor .ql-toolbar button:hover .ql-stroke,.new-custom-quill-editor .ql-toolbar button.ql-active .ql-stroke{stroke:#fff !important}\n.new-custom-quill-editor .ql-toolbar button:hover .ql-fill,.new-custom-quill-editor .ql-toolbar button.ql-active .ql-fill{fill:#fff !important}\n.new-custom-quill-editor .ql-toolbar .btn{width:150px !important;color:#fff !important;padding:5px 10px;border-radius:25px;font-weight:500 !important;display:flex !important;align-items:center !important;justify-content:center !important;gap:6px;background:linear-gradient(140.49deg, rgba(0, 218, 146, 0.12) 0.06%, rgba(129, 229, 196, 0.12) 33.5%, rgba(164, 164, 208, 0.12) 81.82%);transition:all .3s}\n.new-custom-quill-editor .ql-toolbar .btn:hover{transition:all .3s}\n.new-custom-quill-editor .ql-toolbar .btn svg{float:none !important;float:initial !important;height:auto !important;height:initial !important}\n.new-custom-quill-editor .ql-toolbar .btn button{height:34px !important;width:150px !important;color:#fff !important;padding:5px 10px;border-radius:25px;font-weight:500 !important;display:flex !important;align-items:center !important;justify-content:center !important;gap:6px}\n.new-custom-quill-editor .ql-toolbar .btn button svg{float:none !important;float:initial !important;height:auto !important;height:initial !important}\ninput::-moz-placeholder, select::-moz-placeholder{color:hsla(0,0%,100%,.4) !important}\ninput::placeholder,select::placeholder{color:hsla(0,0%,100%,.4) !important}\n*::-webkit-scrollbar{height:.25rem !important;width:.25rem !important}\n*::-webkit-scrollbar-track{background:rgba(0,0,0,0)}\n*::-webkit-scrollbar-thumb{background:hsla(0,0%,100%,.05);position:absolute;border-radius:15px}\n.shimmer-btn{position:relative;overflow:hidden}\n.shimmer-btn::after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translateX(-100%);background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.2) 60%, rgba(255, 255, 255, 0));animation:shimmerBtn 1.5s infinite;content:""}\n.placeholder\\:text-\\[var\\(--text-tertiary\\)\\]::-moz-placeholder{\n color: var(--text-tertiary) !important;\n}\n.placeholder\\:text-\\[var\\(--text-tertiary\\)\\]::placeholder{\n color: var(--text-tertiary) !important;\n}\n.placeholder\\:text-gray-500::-moz-placeholder{\n --tw-text-opacity: 1 !important;\n color: rgba(107, 114, 128, 1) !important;\n color: rgba(107, 114, 128, var(--tw-text-opacity, 1)) !important;\n}\n.placeholder\\:text-gray-500::placeholder{\n --tw-text-opacity: 1 !important;\n color: rgba(107, 114, 128, 1) !important;\n color: rgba(107, 114, 128, var(--tw-text-opacity, 1)) !important;\n}\n.focus-within\\:border-\\[var\\(--primary-action-bg\\)\\]:focus-within{\n border-color: var(--primary-action-bg) !important;\n}\n.hover\\:border-\\[var\\(--border-hover\\)\\]:hover{\n border-color: var(--border-hover) !important;\n}\n.hover\\:border-\\[var\\(--primary-action-bg\\)\\]:hover{\n border-color: var(--primary-action-bg) !important;\n}\n.hover\\:bg-\\[\\#2A2A2A\\]:hover{\n --tw-bg-opacity: 1 !important;\n background-color: rgba(42, 42, 42, 1) !important;\n background-color: rgba(42, 42, 42, var(--tw-bg-opacity, 1)) !important;\n}\n.hover\\:bg-\\[\\#3A3A3A\\]:hover{\n --tw-bg-opacity: 1 !important;\n background-color: rgba(58, 58, 58, 1) !important;\n background-color: rgba(58, 58, 58, var(--tw-bg-opacity, 1)) !important;\n}\n.hover\\:bg-\\[\\#F65354\\]\\/90:hover{\n background-color: rgba(246, 83, 84, 0.9) !important;\n}\n.hover\\:bg-\\[var\\(--bg-secondary\\)\\]:hover{\n background-color: var(--bg-secondary) !important;\n}\n.hover\\:bg-\\[var\\(--bg-tertiary\\)\\]:hover{\n background-color: var(--bg-tertiary) !important;\n}\n.hover\\:bg-\\[var\\(--button-hover-bg\\)\\]:hover{\n background-color: var(--button-hover-bg) !important;\n}\n.hover\\:text-\\[var\\(--text-primary\\)\\]:hover{\n color: var(--text-primary) !important;\n}\n.hover\\:text-white:hover{\n --tw-text-opacity: 1 !important;\n color: rgba(255, 255, 255, 1) !important;\n color: rgba(255, 255, 255, var(--tw-text-opacity, 1)) !important;\n}\n.hover\\:opacity-80:hover{\n opacity: 0.8 !important;\n}\n.hover\\:opacity-90:hover{\n opacity: 0.9 !important;\n}\n.focus\\:border-\\[\\#00DA92\\]:focus{\n --tw-border-opacity: 1 !important;\n border-color: rgba(0, 218, 146, 1) !important;\n border-color: rgba(0, 218, 146, var(--tw-border-opacity, 1)) !important;\n}\n.focus\\:border-\\[var\\(--primary-action-bg\\)\\]:focus{\n border-color: var(--primary-action-bg) !important;\n}\n.focus\\:outline-none:focus{\n outline: 2px solid transparent !important;\n outline-offset: 2px !important;\n}\n.focus\\:ring-2:focus{\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 rgba(0,0,0,0) !important;\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0,0,0,0)) !important;\n}\n.focus\\:ring-\\[\\#00DA92\\]\\/50:focus{\n --tw-ring-color: rgba(0, 218, 146, 0.5) !important;\n}\n.focus\\:ring-\\[\\#3A3A3A\\]\\/50:focus{\n --tw-ring-color: rgba(58, 58, 58, 0.5) !important;\n}\n.focus\\:ring-\\[\\#F65354\\]\\/50:focus{\n --tw-ring-color: rgba(246, 83, 84, 0.5) !important;\n}\n.focus\\:ring-\\[var\\(--button-hover-bg\\)\\]:focus{\n --tw-ring-color: var(--button-hover-bg) !important;\n}\n.active\\:bg-\\[var\\(--button-active-bg\\)\\]:active{\n background-color: var(--button-active-bg) !important;\n}\n.group:hover .group-hover\\:scale-110{\n --tw-scale-x: 1.1 !important;\n --tw-scale-y: 1.1 !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(1.1) scaleY(1.1) !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n}\n.group:hover .group-hover\\:opacity-100{\n opacity: 1 !important;\n}',""]),e.default=a},8710:function(t,e,n){t.exports={default:n(6590),__esModule:!0}},5207:function(t,e,n){t.exports={default:n(6479),__esModule:!0}},8976:function(t,e,n){t.exports={default:n(4328),__esModule:!0}},9624:function(t,e,n){t.exports={default:n(4752),__esModule:!0}},2212:function(t,e,n){t.exports={default:n(4316),__esModule:!0}},1151:function(t,e,n){t.exports={default:n(3488),__esModule:!0}},2932:function(t,e,n){t.exports={default:n(9692),__esModule:!0}},2179:function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},2775:function(t,e,n){"use strict";e.__esModule=!0;var r,i=n(8976),o=(r=i)&&r.__esModule?r:{default:r};e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},6326:function(t,e,n){"use strict";e.__esModule=!0;var r,i=n(8710),o=(r=i)&&r.__esModule?r:{default:r};e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},9003:function(t,e,n){"use strict";e.__esModule=!0;var r=a(n(2212)),i=a(n(5207)),o=a(n(5126));function a(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":(0,o.default)(e)));t.prototype=(0,i.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(r.default?(0,r.default)(t,e):t.__proto__=e)}},7264:function(t,e,n){"use strict";e.__esModule=!0;var r,i=n(5126),o=(r=i)&&r.__esModule?r:{default:r};e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":(0,o.default)(e))&&"function"!=typeof e?t:e}},5126:function(t,e,n){"use strict";e.__esModule=!0;var r=a(n(2932)),i=a(n(1151)),o="function"==typeof i.default&&"symbol"==typeof r.default?function(t){return typeof t}:function(t){return t&&"function"==typeof i.default&&t.constructor===i.default&&t!==i.default.prototype?"symbol":typeof t};function a(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof i.default&&"symbol"===o(r.default)?function(t){return void 0===t?"undefined":o(t)}:function(t){return t&&"function"==typeof i.default&&t.constructor===i.default&&t!==i.default.prototype?"symbol":void 0===t?"undefined":o(t)}},6590:function(t,e,n){n(1742),t.exports=n(7830).Object.assign},6479:function(t,e,n){n(3583);var r=n(7830).Object;t.exports=function(t,e){return r.create(t,e)}},4328:function(t,e,n){n(8008);var r=n(7830).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},4752:function(t,e,n){n(4912),t.exports=n(7830).Object.getPrototypeOf},4316:function(t,e,n){n(7420),t.exports=n(7830).Object.setPrototypeOf},3488:function(t,e,n){n(5098),n(3154),n(7244),n(8876),t.exports=n(7830).Symbol},9692:function(t,e,n){n(7383),n(106),t.exports=n(2544).f("iterator")},1587:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},5728:function(t){t.exports=function(){}},6284:function(t,e,n){var r=n(9873);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},2992:function(t,e,n){var r=n(1501),i=n(5653),o=n(5509);t.exports=function(t){return function(e,n,a){var s,l=r(e),u=i(l.length),c=o(a,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},7817:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},7830:function(t){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},6900:function(t,e,n){var r=n(1587);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},9464:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},4715:function(t,e,n){t.exports=!n(9056)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},3818:function(t,e,n){var r=n(9873),i=n(3598).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},6068:function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},1945:function(t,e,n){var r=n(807),i=n(3935),o=n(6585);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var a,s=n(t),l=o.f,u=0;s.length>u;)l.call(t,a=s[u++])&&e.push(a);return e}},5463:function(t,e,n){var r=n(3598),i=n(7830),o=n(6900),a=n(421),s=n(3557),l="prototype",u=function(t,e,n){var c,h,d,f=t&u.F,p=t&u.G,m=t&u.S,g=t&u.P,v=t&u.B,y=t&u.W,b=p?i:i[e]||(i[e]={}),w=b[l],x=p?r:m?r[e]:(r[e]||{})[l];for(c in p&&(n=e),n)(h=!f&&x&&void 0!==x[c])&&s(b,c)||(d=h?x[c]:n[c],b[c]=p&&"function"!=typeof x[c]?n[c]:v&&h?o(d,r):y&&x[c]==d?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[l]=t[l],e}(d):g&&"function"==typeof d?o(Function.call,d):d,g&&((b.virtual||(b.virtual={}))[c]=d,t&u.R&&w&&!w[c]&&a(w,c,d)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},9056:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},3598:function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},3557:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},421:function(t,e,n){var r=n(3895),i=n(724);t.exports=n(4715)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},7652:function(t,e,n){var r=n(3598).document;t.exports=r&&r.documentElement},4676:function(t,e,n){t.exports=!n(4715)&&!n(9056)((function(){return 7!=Object.defineProperty(n(3818)("div"),"a",{get:function(){return 7}}).a}))},5209:function(t,e,n){var r=n(7817);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},8773:function(t,e,n){var r=n(7817);t.exports=Array.isArray||function(t){return"Array"==r(t)}},9873:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},4744:function(t,e,n){"use strict";var r=n(6551),i=n(724),o=n(3948),a={};n(421)(a,n(4654)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},5335:function(t,e,n){"use strict";var r=n(2950),i=n(5463),o=n(4643),a=n(421),s=n(9330),l=n(4744),u=n(3948),c=n(6139),h=n(4654)("iterator"),d=!([].keys&&"next"in[].keys()),f="keys",p="values",m=function(){return this};t.exports=function(t,e,n,g,v,y,b){l(n,e,g);var w,x,A,k=function(t){if(!d&&t in q)return q[t];switch(t){case f:case p:return function(){return new n(this,t)}}return function(){return new n(this,t)}},S=e+" Iterator",E=v==p,C=!1,q=t.prototype,T=q[h]||q["@@iterator"]||v&&q[v],P=T||k(v),D=v?E?k("entries"):P:void 0,_="Array"==e&&q.entries||T;if(_&&(A=c(_.call(new t)))!==Object.prototype&&A.next&&(u(A,S,!0),r||"function"==typeof A[h]||a(A,h,m)),E&&T&&T.name!==p&&(C=!0,P=function(){return T.call(this)}),r&&!b||!d&&!C&&q[h]||a(q,h,P),s[e]=P,s[S]=m,v)if(w={values:E?P:k(p),keys:y?P:k(f),entries:D},b)for(x in w)x in q||o(q,x,w[x]);else i(i.P+i.F*(d||C),e,w);return w}},5794:function(t){t.exports=function(t,e){return{value:e,done:!!t}}},9330:function(t){t.exports={}},2950:function(t){t.exports=!0},6564:function(t,e,n){var r=n(3591)("meta"),i=n(9873),o=n(3557),a=n(3895).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(9056)((function(){return l(Object.preventExtensions({}))})),c=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},h=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!l(t))return"F";if(!e)return"E";c(t)}return t[r].i},getWeak:function(t,e){if(!o(t,r)){if(!l(t))return!0;if(!e)return!1;c(t)}return t[r].w},onFreeze:function(t){return u&&h.NEED&&l(t)&&!o(t,r)&&c(t),t}}},1318:function(t,e,n){"use strict";var r=n(4715),i=n(807),o=n(3935),a=n(6585),s=n(5430),l=n(5209),u=Object.assign;t.exports=!u||n(9056)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){for(var n=s(t),u=arguments.length,c=1,h=o.f,d=a.f;u>c;)for(var f,p=l(arguments[c++]),m=h?i(p).concat(h(p)):i(p),g=m.length,v=0;g>v;)f=m[v++],r&&!d.call(p,f)||(n[f]=p[f]);return n}:u},6551:function(t,e,n){var r=n(6284),i=n(98),o=n(6068),a=n(4582)("IE_PROTO"),s=function(){},l="prototype",u=function(){var t,e=n(3818)("iframe"),r=o.length;for(e.style.display="none",n(7652).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u[l][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[l]=r(t),n=new s,s[l]=null,n[a]=t):n=u(),void 0===e?n:i(n,e)}},3895:function(t,e,n){var r=n(6284),i=n(4676),o=n(9072),a=Object.defineProperty;e.f=n(4715)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},98:function(t,e,n){var r=n(3895),i=n(6284),o=n(807);t.exports=n(4715)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,l=0;s>l;)r.f(t,n=a[l++],e[n]);return t}},7529:function(t,e,n){var r=n(6585),i=n(724),o=n(1501),a=n(9072),s=n(3557),l=n(4676),u=Object.getOwnPropertyDescriptor;e.f=n(4715)?u:function(t,e){if(t=o(t),e=a(e,!0),l)try{return u(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},7234:function(t,e,n){var r=n(1501),i=n(8239).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(r(t))}},8239:function(t,e,n){var r=n(6889),i=n(6068).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},3935:function(t,e){e.f=Object.getOwnPropertySymbols},6139:function(t,e,n){var r=n(3557),i=n(5430),o=n(4582)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},6889:function(t,e,n){var r=n(3557),i=n(1501),o=n(2992)(!1),a=n(4582)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},807:function(t,e,n){var r=n(6889),i=n(6068);t.exports=Object.keys||function(t){return r(t,i)}},6585:function(t,e){e.f={}.propertyIsEnumerable},7347:function(t,e,n){var r=n(5463),i=n(7830),o=n(9056);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},724:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},4643:function(t,e,n){t.exports=n(421)},1194:function(t,e,n){var r=n(9873),i=n(6284),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(6900)(Function.call,n(7529).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},3948:function(t,e,n){var r=n(3895).f,i=n(3557),o=n(4654)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},4582:function(t,e,n){var r=n(3236)("keys"),i=n(3591);t.exports=function(t){return r[t]||(r[t]=i(t))}},3236:function(t,e,n){var r=n(7830),i=n(3598),o="__core-js_shared__",a=i[o]||(i[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(2950)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},8644:function(t,e,n){var r=n(9399),i=n(9464);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),l=r(n),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},5509:function(t,e,n){var r=n(9399),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},9399:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},1501:function(t,e,n){var r=n(5209),i=n(9464);t.exports=function(t){return r(i(t))}},5653:function(t,e,n){var r=n(9399),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},5430:function(t,e,n){var r=n(9464);t.exports=function(t){return Object(r(t))}},9072:function(t,e,n){var r=n(9873);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},3591:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+n).toString(36))}},7832:function(t,e,n){var r=n(3598),i=n(7830),o=n(2950),a=n(2544),s=n(3895).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},2544:function(t,e,n){e.f=n(4654)},4654:function(t,e,n){var r=n(3236)("wks"),i=n(3591),o=n(3598).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},4885:function(t,e,n){"use strict";var r=n(5728),i=n(5794),o=n(9330),a=n(1501);t.exports=n(5335)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},1742:function(t,e,n){var r=n(5463);r(r.S+r.F,"Object",{assign:n(1318)})},3583:function(t,e,n){var r=n(5463);r(r.S,"Object",{create:n(6551)})},8008:function(t,e,n){var r=n(5463);r(r.S+r.F*!n(4715),"Object",{defineProperty:n(3895).f})},4912:function(t,e,n){var r=n(5430),i=n(6139);n(7347)("getPrototypeOf",(function(){return function(t){return i(r(t))}}))},7420:function(t,e,n){var r=n(5463);r(r.S,"Object",{setPrototypeOf:n(1194).set})},3154:function(){},7383:function(t,e,n){"use strict";var r=n(8644)(!0);n(5335)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},5098:function(t,e,n){"use strict";var r=n(3598),i=n(3557),o=n(4715),a=n(5463),s=n(4643),l=n(6564).KEY,u=n(9056),c=n(3236),h=n(3948),d=n(3591),f=n(4654),p=n(2544),m=n(7832),g=n(1945),v=n(8773),y=n(6284),b=n(9873),w=n(5430),x=n(1501),A=n(9072),k=n(724),S=n(6551),E=n(7234),C=n(7529),q=n(3935),T=n(3895),P=n(807),D=C.f,_=T.f,O=E.f,M=r.Symbol,N=r.JSON,I=N&&N.stringify,R="prototype",L=f("_hidden"),F=f("toPrimitive"),B={}.propertyIsEnumerable,j=c("symbol-registry"),z=c("symbols"),V=c("op-symbols"),H=Object[R],U="function"==typeof M&&!!q.f,G=r.QObject,K=!G||!G[R]||!G[R].findChild,W=o&&u((function(){return 7!=S(_({},"a",{get:function(){return _(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=D(H,e);r&&delete H[e],_(t,e,n),r&&t!==H&&_(H,e,r)}:_,X=function(t){var e=z[t]=S(M[R]);return e._k=t,e},Y=U&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},Q=function(t,e,n){return t===H&&Q(V,e,n),y(t),e=A(e,!0),y(n),i(z,e)?(n.enumerable?(i(t,L)&&t[L][e]&&(t[L][e]=!1),n=S(n,{enumerable:k(0,!1)})):(i(t,L)||_(t,L,k(1,{})),t[L][e]=!0),W(t,e,n)):_(t,e,n)},J=function(t,e){y(t);for(var n,r=g(e=x(e)),i=0,o=r.length;o>i;)Q(t,n=r[i++],e[n]);return t},Z=function(t){var e=B.call(this,t=A(t,!0));return!(this===H&&i(z,t)&&!i(V,t))&&(!(e||!i(this,t)||!i(z,t)||i(this,L)&&this[L][t])||e)},$=function(t,e){if(t=x(t),e=A(e,!0),t!==H||!i(z,e)||i(V,e)){var n=D(t,e);return!n||!i(z,e)||i(t,L)&&t[L][e]||(n.enumerable=!0),n}},tt=function(t){for(var e,n=O(x(t)),r=[],o=0;n.length>o;)i(z,e=n[o++])||e==L||e==l||r.push(e);return r},et=function(t){for(var e,n=t===H,r=O(n?V:x(t)),o=[],a=0;r.length>a;)!i(z,e=r[a++])||n&&!i(H,e)||o.push(z[e]);return o};U||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(V,n),i(this,L)&&i(this[L],t)&&(this[L][t]=!1),W(this,t,k(1,n))};return o&&K&&W(H,t,{configurable:!0,set:e}),X(t)},s(M[R],"toString",(function(){return this._k})),C.f=$,T.f=Q,n(8239).f=E.f=tt,n(6585).f=Z,q.f=et,o&&!n(2950)&&s(H,"propertyIsEnumerable",Z,!0),p.f=function(t){return X(f(t))}),a(a.G+a.W+a.F*!U,{Symbol:M});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)f(nt[rt++]);for(var it=P(f.store),ot=0;it.length>ot;)m(it[ot++]);a(a.S+a.F*!U,"Symbol",{for:function(t){return i(j,t+="")?j[t]:j[t]=M(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in j)if(j[e]===t)return e},useSetter:function(){K=!0},useSimple:function(){K=!1}}),a(a.S+a.F*!U,"Object",{create:function(t,e){return void 0===e?S(t):J(S(t),e)},defineProperty:Q,defineProperties:J,getOwnPropertyDescriptor:$,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var at=u((function(){q.f(1)}));a(a.S+a.F*at,"Object",{getOwnPropertySymbols:function(t){return q.f(w(t))}}),N&&a(a.S+a.F*(!U||u((function(){var t=M();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(b(e)||void 0!==t)&&!Y(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Y(e))return e}),r[1]=e,I.apply(N,r)}}),M[R][F]||n(421)(M[R],F,M[R].valueOf),h(M,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},7244:function(t,e,n){n(7832)("asyncIterator")},8876:function(t,e,n){n(7832)("observable")},106:function(t,e,n){n(4885);for(var r=n(3598),i=n(421),o=n(9330),a=n(4654)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=r[u],h=c&&c.prototype;h&&!h[a]&&i(h,a,u),o[u]=o.Array}},4725:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<t.length;u++){var c=[].concat(t[u]);r&&a[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),i&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=i):c[4]="".concat(i)),e.push(c))}},e}},3036:function(t){"use strict";t.exports=function(t){return t[1]}},4677:function(t,e,n){var r=n(3136);t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected String, Found "+typeof t);var e=r(t);return`\n fetch( \n '${e.url}', \n {headers:${JSON.stringify(e.header)},\n method:'${e.method}'}\n )\n .then(console.log, console.error)`}},8602:function(t,e,n){var r=n(23),i=(n(8347),n(5275).parse),o="-",a={request:"method"};function s(t){var e={method:"GET",url:"",httpVersion:"HTTP/1.1",queryString:[],headers:[],cookies:[],postData:{}};return t[0][0]!==o&&t.unshift("--url"),argument_pairs=t.chunk(2),r.each(argument_pairs,(function(t,n,i){var s,l,u,c=t[0].slice(1).toLowerCase(),h=t[1];if(r.isEqual(t[0].substring(0,1),o))switch(c){case"-url":e.url=h.substring(0,h.indexOf("?"))||h,e.queryString=(l=[],u=(s=h).slice(s.indexOf("?")).slice(1),r.isEmpty(u)||r.each(u.split("&"),(function(t){l.push({name:t.split("=")[0],value:t.split("=")[1]})})),l);break;case"h":case"-header":e.headers.push({name:h.split(":")[0].trim(),value:h.split(":")[1].trim()});break;case"-cookie":var d=[];r.each(h.split("; "),(function(t){d.push({name:t.split("=")[0],value:t.split("=")[1]})})),e.cookies=d;break;case"d":case"-data":e.postData={mimeType:"application/json",text:JSON.parse(h)};break;case"x":case"-request":e.method=h;break;default:e[a[c]]=h}})),e}Array.prototype.chunk=function(t){var e=this;return[].concat.apply([],e.map((function(n,r){return r%t?[]:[e.slice(r,r+t)]})))},t.exports=function(t){var e=i(t);if("curl"===e[0]){var n=e.slice(1);if(n.length%2==0||!n[1][0]!=o)return s(n)}}},7753:function(t,e,n){t.exports=function(){"use strict";var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)},e=function(){return(e=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function r(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||((r=r||Array.prototype.slice.call(e,0,i))[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,o=Object.keys,a=Array.isArray;function s(t,e){return"object"!=typeof e||o(e).forEach((function(n){t[n]=e[n]})),t}"undefined"==typeof Promise||i.Promise||(i.Promise=Promise);var l=Object.getPrototypeOf,u={}.hasOwnProperty;function c(t,e){return u.call(t,e)}function h(t,e){"function"==typeof e&&(e=e(l(t))),("undefined"==typeof Reflect?o:Reflect.ownKeys)(e).forEach((function(n){f(t,n,e[n])}))}var d=Object.defineProperty;function f(t,e,n,r){d(t,e,s(n&&c(n,"get")&&"function"==typeof n.get?{get:n.get,set:n.set,configurable:!0}:{value:n,configurable:!0,writable:!0},r))}function p(t){return{from:function(e){return t.prototype=Object.create(e.prototype),f(t.prototype,"constructor",t),{extend:h.bind(null,t.prototype)}}}}var m=Object.getOwnPropertyDescriptor,g=[].slice;function v(t,e,n){return g.call(t,e,n)}function y(t,e){return e(t)}function b(t){if(!t)throw new Error("Assertion Failed")}function w(t){i.setImmediate?setImmediate(t):setTimeout(t,0)}function x(t,e){if("string"==typeof e&&c(t,e))return t[e];if(!e)return t;if("string"!=typeof e){for(var n=[],r=0,i=e.length;r<i;++r){var o=x(t,e[r]);n.push(o)}return n}var a=e.indexOf(".");if(-1!==a){var s=t[e.substr(0,a)];return null==s?void 0:x(s,e.substr(a+1))}}function A(t,e,n){if(t&&void 0!==e&&(!("isFrozen"in Object)||!Object.isFrozen(t)))if("string"!=typeof e&&"length"in e){b("string"!=typeof n&&"length"in n);for(var r=0,i=e.length;r<i;++r)A(t,e[r],n[r])}else{var o,s,l=e.indexOf(".");-1!==l?(o=e.substr(0,l),""===(s=e.substr(l+1))?void 0===n?a(t)&&!isNaN(parseInt(o))?t.splice(o,1):delete t[o]:t[o]=n:A(l=(l=t[o])&&c(t,o)?l:t[o]={},s,n)):void 0===n?a(t)&&!isNaN(parseInt(e))?t.splice(e,1):delete t[e]:t[e]=n}}function k(t){var e,n={};for(e in t)c(t,e)&&(n[e]=t[e]);return n}var S=[].concat;function E(t){return S.apply([],t)}var C="BigUint64Array,BigInt64Array,Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(E([8,16,32,64].map((function(t){return["Int","Uint","Float"].map((function(e){return e+t+"Array"}))})))).filter((function(t){return i[t]})),q=new Set(C.map((function(t){return i[t]}))),T=null;function P(t){return T=new WeakMap,t=function t(e){if(!e||"object"!=typeof e)return e;var n=T.get(e);if(n)return n;if(a(e)){n=[],T.set(e,n);for(var r=0,i=e.length;r<i;++r)n.push(t(e[r]))}else if(q.has(e.constructor))n=e;else{var o,s=l(e);for(o in n=s===Object.prototype?{}:Object.create(s),T.set(e,n),e)c(e,o)&&(n[o]=t(e[o]))}return n}(t),T=null,t}var D={}.toString;function _(t){return D.call(t).slice(8,-1)}var O="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator",M="symbol"==typeof O?function(t){var e;return null!=t&&(e=t[O])&&e.apply(t)}:function(){return null};function N(t,e){return 0<=(e=t.indexOf(e))&&t.splice(e,1),0<=e}var I={};function R(t){var e,n,r,i;if(1===arguments.length){if(a(t))return t.slice();if(this===I&&"string"==typeof t)return[t];if(i=M(t)){for(n=[];!(r=i.next()).done;)n.push(r.value);return n}if(null==t)return[t];if("number"!=typeof(e=t.length))return[t];for(n=new Array(e);e--;)n[e]=t[e];return n}for(e=arguments.length,n=new Array(e);e--;)n[e]=arguments[e];return n}var L="undefined"!=typeof Symbol?function(t){return"AsyncFunction"===t[Symbol.toStringTag]}:function(){return!1},F=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"].concat(lt=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"]),B={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function j(t,e){this.name=t,this.message=e}function z(t,e){return t+". Errors: "+Object.keys(e).map((function(t){return e[t].toString()})).filter((function(t,e,n){return n.indexOf(t)===e})).join("\n")}function V(t,e,n,r){this.failures=e,this.failedKeys=r,this.successCount=n,this.message=z(t,e)}function H(t,e){this.name="BulkError",this.failures=Object.keys(e).map((function(t){return e[t]})),this.failuresByPos=e,this.message=z(t,this.failures)}p(j).from(Error).extend({toString:function(){return this.name+": "+this.message}}),p(V).from(j),p(H).from(j);var U=F.reduce((function(t,e){return t[e]=e+"Error",t}),{}),G=j,K=F.reduce((function(t,e){var n=e+"Error";function r(t,r){this.name=n,t?"string"==typeof t?(this.message="".concat(t).concat(r?"\n "+r:""),this.inner=r||null):"object"==typeof t&&(this.message="".concat(t.name," ").concat(t.message),this.inner=t):(this.message=B[e]||n,this.inner=null)}return p(r).from(G),t[e]=r,t}),{});K.Syntax=SyntaxError,K.Type=TypeError,K.Range=RangeError;var W=lt.reduce((function(t,e){return t[e+"Error"]=K[e],t}),{}),X=F.reduce((function(t,e){return-1===["Syntax","Type","Range"].indexOf(e)&&(t[e+"Error"]=K[e]),t}),{});function Y(){}function Q(t){return t}function J(t,e){return null==t||t===Q?e:function(n){return e(t(n))}}function Z(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function $(t,e){return t===Y?e:function(){var n=t.apply(this,arguments);void 0!==n&&(arguments[0]=n);var r=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var o=e.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?Z(r,this.onsuccess):r),i&&(this.onerror=this.onerror?Z(i,this.onerror):i),void 0!==o?o:n}}function tt(t,e){return t===Y?e:function(){t.apply(this,arguments);var n=this.onsuccess,r=this.onerror;this.onsuccess=this.onerror=null,e.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?Z(n,this.onsuccess):n),r&&(this.onerror=this.onerror?Z(r,this.onerror):r)}}function et(t,e){return t===Y?e:function(n){var r=t.apply(this,arguments);s(n,r);var i=this.onsuccess,o=this.onerror;return this.onsuccess=null,this.onerror=null,n=e.apply(this,arguments),i&&(this.onsuccess=this.onsuccess?Z(i,this.onsuccess):i),o&&(this.onerror=this.onerror?Z(o,this.onerror):o),void 0===r?void 0===n?void 0:n:s(r,n)}}function nt(t,e){return t===Y?e:function(){return!1!==e.apply(this,arguments)&&t.apply(this,arguments)}}function rt(t,e){return t===Y?e:function(){var n=t.apply(this,arguments);if(n&&"function"==typeof n.then){for(var r=this,i=arguments.length,o=new Array(i);i--;)o[i]=arguments[i];return n.then((function(){return e.apply(r,o)}))}return e.apply(this,arguments)}}X.ModifyError=V,X.DexieError=j,X.BulkError=H;var it="undefined"!=typeof location&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function ot(t){it=t}var at={},st=100,lt=(C="undefined"==typeof Promise?[]:function(){var t=Promise.resolve();if("undefined"==typeof crypto||!crypto.subtle)return[t,l(t),t];var e=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[e,l(e),t]}(),C[0]),ut=(F=C[1],C=C[2],F=F&&F.then,lt&<.constructor),ct=!!C,ht=function(t,e){bt.push([t,e]),ft&&(queueMicrotask(Pt),ft=!1)},dt=!0,ft=!0,pt=[],mt=[],gt=Q,vt={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:Y,pgp:!1,env:{},finalize:Y},yt=vt,bt=[],wt=0,xt=[];function At(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");this._listeners=[],this._lib=!1;var e=this._PSD=yt;if("function"!=typeof t){if(t!==at)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(!1===this._state&&Et(this,this._value))}this._state=null,this._value=null,++e.ref,function t(e,n){try{n((function(n){if(null===e._state){if(n===e)throw new TypeError("A promise cannot be resolved with itself.");var r=e._lib&&Dt();n&&"function"==typeof n.then?t(e,(function(t,e){n instanceof At?n._then(t,e):n.then(t,e)})):(e._state=!0,e._value=n,Ct(e)),r&&_t()}}),Et.bind(null,e))}catch(n){Et(e,n)}}(this,t)}var kt={get:function(){var t=yt,e=Bt;function n(n,r){var i=this,o=!t.global&&(t!==yt||e!==Bt),a=o&&!Ht(),s=new At((function(e,s){qt(i,new St(Yt(n,t,o,a),Yt(r,t,o,a),e,s,t))}));return this._consoleTask&&(s._consoleTask=this._consoleTask),s}return n.prototype=at,n},set:function(t){f(this,"then",t&&t.prototype===at?kt:{get:function(){return t},set:kt.set})}};function St(t,e,n,r,i){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.resolve=n,this.reject=r,this.psd=i}function Et(t,e){var n,r;mt.push(e),null===t._state&&(n=t._lib&&Dt(),e=gt(e),t._state=!1,t._value=e,r=t,pt.some((function(t){return t._value===r._value}))||pt.push(r),Ct(t),n&&_t())}function Ct(t){var e=t._listeners;t._listeners=[];for(var n=0,r=e.length;n<r;++n)qt(t,e[n]);var i=t._PSD;--i.ref||i.finalize(),0===wt&&(++wt,ht((function(){0==--wt&&Ot()}),[]))}function qt(t,e){if(null!==t._state){var n=t._state?e.onFulfilled:e.onRejected;if(null===n)return(t._state?e.resolve:e.reject)(t._value);++e.psd.ref,++wt,ht(Tt,[n,t,e])}else t._listeners.push(e)}function Tt(t,e,n){try{var r,i=e._value;!e._state&&mt.length&&(mt=[]),r=it&&e._consoleTask?e._consoleTask.run((function(){return t(i)})):t(i),e._state||-1!==mt.indexOf(i)||function(t){for(var e=pt.length;e;)if(pt[--e]._value===t._value)return pt.splice(e,1)}(e),n.resolve(r)}catch(t){n.reject(t)}finally{0==--wt&&Ot(),--n.psd.ref||n.psd.finalize()}}function Pt(){Xt(vt,(function(){Dt()&&_t()}))}function Dt(){var t=dt;return ft=dt=!1,t}function _t(){var t,e,n;do{for(;0<bt.length;)for(t=bt,bt=[],n=t.length,e=0;e<n;++e){var r=t[e];r[0].apply(null,r[1])}}while(0<bt.length);ft=dt=!0}function Ot(){var t=pt;pt=[],t.forEach((function(t){t._PSD.onunhandled.call(null,t._value,t)}));for(var e=xt.slice(0),n=e.length;n;)e[--n]()}function Mt(t){return new At(at,!1,t)}function Nt(t,e){var n=yt;return function(){var r=Dt(),i=yt;try{return Kt(n,!0),t.apply(this,arguments)}catch(r){e&&e(r)}finally{Kt(i,!1),r&&_t()}}}h(At.prototype,{then:kt,_then:function(t,e){qt(this,new St(null,null,t,e,yt))},catch:function(t){if(1===arguments.length)return this.then(null,t);var e=t,n=arguments[1];return"function"==typeof e?this.then(null,(function(t){return(t instanceof e?n:Mt)(t)})):this.then(null,(function(t){return(t&&t.name===e?n:Mt)(t)}))},finally:function(t){return this.then((function(e){return At.resolve(t()).then((function(){return e}))}),(function(e){return At.resolve(t()).then((function(){return Mt(e)}))}))},timeout:function(t,e){var n=this;return t<1/0?new At((function(r,i){var o=setTimeout((function(){return i(new K.Timeout(e))}),t);n.then(r,i).finally(clearTimeout.bind(null,o))})):this}}),"undefined"!=typeof Symbol&&Symbol.toStringTag&&f(At.prototype,Symbol.toStringTag,"Dexie.Promise"),vt.env=Wt(),h(At,{all:function(){var t=R.apply(null,arguments).map(Ut);return new At((function(e,n){0===t.length&&e([]);var r=t.length;t.forEach((function(i,o){return At.resolve(i).then((function(n){t[o]=n,--r||e(t)}),n)}))}))},resolve:function(t){return t instanceof At?t:t&&"function"==typeof t.then?new At((function(e,n){t.then(e,n)})):new At(at,!0,t)},reject:Mt,race:function(){var t=R.apply(null,arguments).map(Ut);return new At((function(e,n){t.map((function(t){return At.resolve(t).then(e,n)}))}))},PSD:{get:function(){return yt},set:function(t){return yt=t}},totalEchoes:{get:function(){return Bt}},newPSD:zt,usePSD:Xt,scheduler:{get:function(){return ht},set:function(t){ht=t}},rejectionMapper:{get:function(){return gt},set:function(t){gt=t}},follow:function(t,e){return new At((function(n,r){return zt((function(e,n){var r=yt;r.unhandleds=[],r.onunhandled=n,r.finalize=Z((function(){var t,r=this;t=function(){0===r.unhandleds.length?e():n(r.unhandleds[0])},xt.push((function e(){t(),xt.splice(xt.indexOf(e),1)})),++wt,ht((function(){0==--wt&&Ot()}),[])}),r.finalize),t()}),e,n,r)}))}}),ut&&(ut.allSettled&&f(At,"allSettled",(function(){var t=R.apply(null,arguments).map(Ut);return new At((function(e){0===t.length&&e([]);var n=t.length,r=new Array(n);t.forEach((function(t,i){return At.resolve(t).then((function(t){return r[i]={status:"fulfilled",value:t}}),(function(t){return r[i]={status:"rejected",reason:t}})).then((function(){return--n||e(r)}))}))}))})),ut.any&&"undefined"!=typeof AggregateError&&f(At,"any",(function(){var t=R.apply(null,arguments).map(Ut);return new At((function(e,n){0===t.length&&n(new AggregateError([]));var r=t.length,i=new Array(r);t.forEach((function(t,o){return At.resolve(t).then((function(t){return e(t)}),(function(t){i[o]=t,--r||n(new AggregateError(i))}))}))}))})),ut.withResolvers&&(At.withResolvers=ut.withResolvers));var It={awaits:0,echoes:0,id:0},Rt=0,Lt=[],Ft=0,Bt=0,jt=0;function zt(t,e,n,r){var i=yt,o=Object.create(i);return o.parent=i,o.ref=0,o.global=!1,o.id=++jt,vt.env,o.env=ct?{Promise:At,PromiseProp:{value:At,configurable:!0,writable:!0},all:At.all,race:At.race,allSettled:At.allSettled,any:At.any,resolve:At.resolve,reject:At.reject}:{},e&&s(o,e),++i.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()},r=Xt(o,t,n,r),0===o.ref&&o.finalize(),r}function Vt(){return It.id||(It.id=++Rt),++It.awaits,It.echoes+=st,It.id}function Ht(){return!!It.awaits&&(0==--It.awaits&&(It.id=0),It.echoes=It.awaits*st,!0)}function Ut(t){return It.echoes&&t&&t.constructor===ut?(Vt(),t.then((function(t){return Ht(),t}),(function(t){return Ht(),Jt(t)}))):t}function Gt(){var t=Lt[Lt.length-1];Lt.pop(),Kt(t,!1)}function Kt(t,e){var n,r=yt;(e?!It.echoes||Ft++&&t===yt:!Ft||--Ft&&t===yt)||queueMicrotask(e?function(t){++Bt,It.echoes&&0!=--It.echoes||(It.echoes=It.awaits=It.id=0),Lt.push(yt),Kt(t,!0)}.bind(null,t):Gt),t!==yt&&(yt=t,r===vt&&(vt.env=Wt()),ct&&(n=vt.env.Promise,e=t.env,(r.global||t.global)&&(Object.defineProperty(i,"Promise",e.PromiseProp),n.all=e.all,n.race=e.race,n.resolve=e.resolve,n.reject=e.reject,e.allSettled&&(n.allSettled=e.allSettled),e.any&&(n.any=e.any))))}function Wt(){var t=i.Promise;return ct?{Promise:t,PromiseProp:Object.getOwnPropertyDescriptor(i,"Promise"),all:t.all,race:t.race,allSettled:t.allSettled,any:t.any,resolve:t.resolve,reject:t.reject}:{}}function Xt(t,e,n,r,i){var o=yt;try{return Kt(t,!0),e(n,r,i)}finally{Kt(o,!1)}}function Yt(t,e,n,r){return"function"!=typeof t?t:function(){var i=yt;n&&Vt(),Kt(e,!0);try{return t.apply(this,arguments)}finally{Kt(i,!1),r&&queueMicrotask(Ht)}}}function Qt(t){Promise===ut&&0===It.echoes?0===Ft?t():enqueueNativeMicroTask(t):setTimeout(t,0)}-1===(""+F).indexOf("[native code]")&&(Vt=Ht=Y);var Jt=At.reject,Zt=String.fromCharCode(65535),$t="Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.",te="String expected.",ee=[],ne="__dbnames",re="readonly",ie="readwrite";function oe(t,e){return t?e?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:t:e}var ae={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function se(t){return"string"!=typeof t||/\./.test(t)?function(t){return t}:function(e){return void 0===e[t]&&t in e&&delete(e=P(e))[t],e}}function le(){throw K.Type()}function ue(t,e){try{var n=ce(t),r=ce(e);if(n!==r)return"Array"===n?1:"Array"===r?-1:"binary"===n?1:"binary"===r?-1:"string"===n?1:"string"===r?-1:"Date"===n?1:"Date"!==r?NaN:-1;switch(n){case"number":case"Date":case"string":return e<t?1:t<e?-1:0;case"binary":return function(t,e){for(var n=t.length,r=e.length,i=n<r?n:r,o=0;o<i;++o)if(t[o]!==e[o])return t[o]<e[o]?-1:1;return n===r?0:n<r?-1:1}(he(t),he(e));case"Array":return function(t,e){for(var n=t.length,r=e.length,i=n<r?n:r,o=0;o<i;++o){var a=ue(t[o],e[o]);if(0!==a)return a}return n===r?0:n<r?-1:1}(t,e)}}catch(t){}return NaN}function ce(t){var e=typeof t;return"object"!=e?e:ArrayBuffer.isView(t)||"ArrayBuffer"===(t=_(t))?"binary":t}function he(t){return t instanceof Uint8Array?t:ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):new Uint8Array(t)}var de=(fe.prototype._trans=function(t,e,n){var r=this._tx||yt.trans,i=this.name,o=it&&"undefined"!=typeof console&&console.createTask&&void 0;function a(t,n,r){if(!r.schema[i])throw new K.NotFound("Table "+i+" not part of transaction");return e(r.idbtrans,r)}var s=Dt();try{var l=r&&r.db._novip===this.db._novip?r===yt.trans?r._promise(t,a,n):zt((function(){return r._promise(t,a,n)}),{trans:r,transless:yt.transless||yt}):function t(e,n,r,i){if(e.idbdb&&(e._state.openComplete||yt.letThrough||e._vip)){var o=e._createTransaction(n,r,e._dbSchema);try{o.create(),e._state.PR1398_maxLoop=3}catch(o){return o.name===U.InvalidState&&e.isOpen()&&0<--e._state.PR1398_maxLoop?(e.close({disableAutoOpen:!1}),e.open().then((function(){return t(e,n,r,i)}))):Jt(o)}return o._promise(n,(function(t,e){return zt((function(){return yt.trans=o,i(t,e,o)}))})).then((function(t){if("readwrite"===n)try{o.idbtrans.commit()}catch(t){}return"readonly"===n?t:o._completion.then((function(){return t}))}))}if(e._state.openComplete)return Jt(new K.DatabaseClosed(e._state.dbOpenError));if(!e._state.isBeingOpened){if(!e._state.autoOpen)return Jt(new K.DatabaseClosed);e.open().catch(Y)}return e._state.dbReadyPromise.then((function(){return t(e,n,r,i)}))}(this.db,t,[this.name],a);return o&&(l._consoleTask=o,l=l.catch((function(t){return Jt(t)}))),l}finally{s&&_t()}},fe.prototype.get=function(t,e){var n=this;return t&&t.constructor===Object?this.where(t).first(e):null==t?Jt(new K.Type("Invalid argument to Table.get()")):this._trans("readonly",(function(e){return n.core.get({trans:e,key:t}).then((function(t){return n.hook.reading.fire(t)}))})).then(e)},fe.prototype.where=function(t){if("string"==typeof t)return new this.db.WhereClause(this,t);if(a(t))return new this.db.WhereClause(this,"[".concat(t.join("+"),"]"));var e=o(t);if(1===e.length)return this.where(e[0]).equals(t[e[0]]);var n=this.schema.indexes.concat(this.schema.primKey).filter((function(t){if(t.compound&&e.every((function(e){return 0<=t.keyPath.indexOf(e)}))){for(var n=0;n<e.length;++n)if(-1===e.indexOf(t.keyPath[n]))return!1;return!0}return!1})).sort((function(t,e){return t.keyPath.length-e.keyPath.length}))[0];if(n&&this.db._maxKey!==Zt){var r=n.keyPath.slice(0,e.length);return this.where(r).equals(r.map((function(e){return t[e]})))}var i=this.schema.idxByName;function s(t,e){return 0===ue(t,e)}var l=e.reduce((function(e,n){var r=e[0],o=e[1],l=(e=i[n],t[n]);return[r||e,r||!e?oe(o,e&&e.multi?function(t){return t=x(t,n),a(t)&&t.some((function(t){return s(l,t)}))}:function(t){return s(l,x(t,n))}):o]}),[null,null]);return r=l[0],l=l[1],r?this.where(r.name).equals(t[r.keyPath]).filter(l):n?this.filter(l):this.where(e).equals("")},fe.prototype.filter=function(t){return this.toCollection().and(t)},fe.prototype.count=function(t){return this.toCollection().count(t)},fe.prototype.offset=function(t){return this.toCollection().offset(t)},fe.prototype.limit=function(t){return this.toCollection().limit(t)},fe.prototype.each=function(t){return this.toCollection().each(t)},fe.prototype.toArray=function(t){return this.toCollection().toArray(t)},fe.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},fe.prototype.orderBy=function(t){return new this.db.Collection(new this.db.WhereClause(this,a(t)?"[".concat(t.join("+"),"]"):t))},fe.prototype.reverse=function(){return this.toCollection().reverse()},fe.prototype.mapToClass=function(e){var n,r=this.db,i=this.name;function o(){return null!==n&&n.apply(this,arguments)||this}(this.schema.mappedClass=e).prototype instanceof le&&(function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}(o,n=e),Object.defineProperty(o.prototype,"db",{get:function(){return r},enumerable:!1,configurable:!0}),o.prototype.table=function(){return i},e=o);for(var a=new Set,s=e.prototype;s;s=l(s))Object.getOwnPropertyNames(s).forEach((function(t){return a.add(t)}));function u(t){if(!t)return t;var n,r=Object.create(e.prototype);for(n in t)if(!a.has(n))try{r[n]=t[n]}catch(t){}return r}return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=u,this.hook("reading",u),e},fe.prototype.defineClass=function(){return this.mapToClass((function(t){s(this,t)}))},fe.prototype.add=function(t,e){var n=this,r=this.schema.primKey,i=r.auto,o=r.keyPath,a=t;return o&&i&&(a=se(o)(t)),this._trans("readwrite",(function(t){return n.core.mutate({trans:t,type:"add",keys:null!=e?[e]:null,values:[a]})})).then((function(t){return t.numFailures?At.reject(t.failures[0]):t.lastResult})).then((function(e){if(o)try{A(t,o,e)}catch(e){}return e}))},fe.prototype.update=function(t,e){return"object"!=typeof t||a(t)?this.where(":id").equals(t).modify(e):void 0===(t=x(t,this.schema.primKey.keyPath))?Jt(new K.InvalidArgument("Given object does not contain its primary key")):this.where(":id").equals(t).modify(e)},fe.prototype.put=function(t,e){var n=this,r=this.schema.primKey,i=r.auto,o=r.keyPath,a=t;return o&&i&&(a=se(o)(t)),this._trans("readwrite",(function(t){return n.core.mutate({trans:t,type:"put",values:[a],keys:null!=e?[e]:null})})).then((function(t){return t.numFailures?At.reject(t.failures[0]):t.lastResult})).then((function(e){if(o)try{A(t,o,e)}catch(e){}return e}))},fe.prototype.delete=function(t){var e=this;return this._trans("readwrite",(function(n){return e.core.mutate({trans:n,type:"delete",keys:[t]})})).then((function(t){return t.numFailures?At.reject(t.failures[0]):void 0}))},fe.prototype.clear=function(){var t=this;return this._trans("readwrite",(function(e){return t.core.mutate({trans:e,type:"deleteRange",range:ae})})).then((function(t){return t.numFailures?At.reject(t.failures[0]):void 0}))},fe.prototype.bulkGet=function(t){var e=this;return this._trans("readonly",(function(n){return e.core.getMany({keys:t,trans:n}).then((function(t){return t.map((function(t){return e.hook.reading.fire(t)}))}))}))},fe.prototype.bulkAdd=function(t,e,n){var r=this,i=Array.isArray(e)?e:void 0,o=(n=n||(i?void 0:e))?n.allKeys:void 0;return this._trans("readwrite",(function(e){var n=(s=r.schema.primKey).auto;if((s=s.keyPath)&&i)throw new K.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(i&&i.length!==t.length)throw new K.InvalidArgument("Arguments objects and keys must have the same length");var a=t.length,s=s&&n?t.map(se(s)):t;return r.core.mutate({trans:e,type:"add",keys:i,values:s,wantResults:o}).then((function(t){var e=t.numFailures,n=t.results,i=t.lastResult;if(t=t.failures,0===e)return o?n:i;throw new H("".concat(r.name,".bulkAdd(): ").concat(e," of ").concat(a," operations failed"),t)}))}))},fe.prototype.bulkPut=function(t,e,n){var r=this,i=Array.isArray(e)?e:void 0,o=(n=n||(i?void 0:e))?n.allKeys:void 0;return this._trans("readwrite",(function(e){var n=(s=r.schema.primKey).auto;if((s=s.keyPath)&&i)throw new K.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(i&&i.length!==t.length)throw new K.InvalidArgument("Arguments objects and keys must have the same length");var a=t.length,s=s&&n?t.map(se(s)):t;return r.core.mutate({trans:e,type:"put",keys:i,values:s,wantResults:o}).then((function(t){var e=t.numFailures,n=t.results,i=t.lastResult;if(t=t.failures,0===e)return o?n:i;throw new H("".concat(r.name,".bulkPut(): ").concat(e," of ").concat(a," operations failed"),t)}))}))},fe.prototype.bulkUpdate=function(t){var e=this,n=this.core,r=t.map((function(t){return t.key})),i=t.map((function(t){return t.changes})),o=[];return this._trans("readwrite",(function(a){return n.getMany({trans:a,keys:r,cache:"clone"}).then((function(s){var l=[],u=[];t.forEach((function(t,n){var r=t.key,i=t.changes,a=s[n];if(a){for(var c=0,h=Object.keys(i);c<h.length;c++){var d=h[c],f=i[d];if(d===e.schema.primKey.keyPath){if(0!==ue(f,r))throw new K.Constraint("Cannot update primary key in bulkUpdate()")}else A(a,d,f)}o.push(n),l.push(r),u.push(a)}}));var c=l.length;return n.mutate({trans:a,type:"put",keys:l,values:u,updates:{keys:r,changeSpecs:i}}).then((function(t){var n=t.numFailures,r=t.failures;if(0===n)return c;for(var i=0,a=Object.keys(r);i<a.length;i++){var s,l=a[i],u=o[Number(l)];null!=u&&(s=r[l],delete r[l],r[u]=s)}throw new H("".concat(e.name,".bulkUpdate(): ").concat(n," of ").concat(c," operations failed"),r)}))}))}))},fe.prototype.bulkDelete=function(t){var e=this,n=t.length;return this._trans("readwrite",(function(n){return e.core.mutate({trans:n,type:"delete",keys:t})})).then((function(t){var r=t.numFailures,i=t.lastResult;if(t=t.failures,0===r)return i;throw new H("".concat(e.name,".bulkDelete(): ").concat(r," of ").concat(n," operations failed"),t)}))},fe);function fe(){}function pe(t){function e(e,r){if(r){for(var i=arguments.length,o=new Array(i-1);--i;)o[i-1]=arguments[i];return n[e].subscribe.apply(null,o),t}if("string"==typeof e)return n[e]}var n={};e.addEventType=s;for(var r=1,i=arguments.length;r<i;++r)s(arguments[r]);return e;function s(t,r,i){if("object"!=typeof t){var l;r=r||nt;var u={subscribers:[],fire:i=i||Y,subscribe:function(t){-1===u.subscribers.indexOf(t)&&(u.subscribers.push(t),u.fire=r(u.fire,t))},unsubscribe:function(t){u.subscribers=u.subscribers.filter((function(e){return e!==t})),u.fire=u.subscribers.reduce(r,i)}};return n[t]=e[t]=u}o(l=t).forEach((function(t){var e=l[t];if(a(e))s(t,l[t][0],l[t][1]);else{if("asap"!==e)throw new K.InvalidArgument("Invalid event config");var n=s(t,Q,(function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];n.subscribers.forEach((function(t){w((function(){t.apply(null,e)}))}))}))}}))}}function me(t,e){return p(e).from({prototype:t}),e}function ge(t,e){return!(t.filter||t.algorithm||t.or)&&(e?t.justLimit:!t.replayFilter)}function ve(t,e){t.filter=oe(t.filter,e)}function ye(t,e,n){var r=t.replayFilter;t.replayFilter=r?function(){return oe(r(),e())}:e,t.justLimit=n&&!r}function be(t,e){if(t.isPrimKey)return e.primaryKey;var n=e.getIndexByKeyPath(t.index);if(!n)throw new K.Schema("KeyPath "+t.index+" on object store "+e.name+" is not indexed");return n}function we(t,e,n){var r=be(t,e.schema);return e.openCursor({trans:n,values:!t.keysOnly,reverse:"prev"===t.dir,unique:!!t.unique,query:{index:r,range:t.range}})}function xe(t,e,n,r){var i=t.replayFilter?oe(t.filter,t.replayFilter()):t.filter;if(t.or){var o={},a=function(t,n,r){var a,s;i&&!i(n,r,(function(t){return n.stop(t)}),(function(t){return n.fail(t)}))||("[object ArrayBuffer]"==(s=""+(a=n.primaryKey))&&(s=""+new Uint8Array(a)),c(o,s)||(o[s]=!0,e(t,n,r)))};return Promise.all([t.or._iterate(a,n),Ae(we(t,r,n),t.algorithm,a,!t.keysOnly&&t.valueMapper)])}return Ae(we(t,r,n),oe(t.algorithm,i),e,!t.keysOnly&&t.valueMapper)}function Ae(t,e,n,r){var i=Nt(r?function(t,e,i){return n(r(t),e,i)}:n);return t.then((function(t){if(t)return t.start((function(){var n=function(){return t.continue()};e&&!e(t,(function(t){return n=t}),(function(e){t.stop(e),n=Y}),(function(e){t.fail(e),n=Y}))||i(t.value,t,(function(t){return n=t})),n()}))}))}var ke=(Se.prototype.execute=function(t){var e=this["@@propmod"];if(void 0!==e.add){var n=e.add;if(a(n))return r(r([],a(t)?t:[],!0),n,!0).sort();if("number"==typeof n)return(Number(t)||0)+n;if("bigint"==typeof n)try{return BigInt(t)+n}catch(t){return BigInt(0)+n}throw new TypeError("Invalid term ".concat(n))}if(void 0!==e.remove){var i=e.remove;if(a(i))return a(t)?t.filter((function(t){return!i.includes(t)})).sort():[];if("number"==typeof i)return Number(t)-i;if("bigint"==typeof i)try{return BigInt(t)-i}catch(t){return BigInt(0)-i}throw new TypeError("Invalid subtrahend ".concat(i))}return(n=null===(n=e.replacePrefix)||void 0===n?void 0:n[0])&&"string"==typeof t&&t.startsWith(n)?e.replacePrefix[1]+t.substring(n.length):t},Se);function Se(t){this["@@propmod"]=t}var Ee=(Ce.prototype._read=function(t,e){var n=this._ctx;return n.error?n.table._trans(null,Jt.bind(null,n.error)):n.table._trans("readonly",t).then(e)},Ce.prototype._write=function(t){var e=this._ctx;return e.error?e.table._trans(null,Jt.bind(null,e.error)):e.table._trans("readwrite",t,"locked")},Ce.prototype._addAlgorithm=function(t){var e=this._ctx;e.algorithm=oe(e.algorithm,t)},Ce.prototype._iterate=function(t,e){return xe(this._ctx,t,e,this._ctx.table.core)},Ce.prototype.clone=function(t){var e=Object.create(this.constructor.prototype),n=Object.create(this._ctx);return t&&s(n,t),e._ctx=n,e},Ce.prototype.raw=function(){return this._ctx.valueMapper=null,this},Ce.prototype.each=function(t){var e=this._ctx;return this._read((function(n){return xe(e,t,n,e.table.core)}))},Ce.prototype.count=function(t){var e=this;return this._read((function(t){var n=e._ctx,r=n.table.core;if(ge(n,!0))return r.count({trans:t,query:{index:be(n,r.schema),range:n.range}}).then((function(t){return Math.min(t,n.limit)}));var i=0;return xe(n,(function(){return++i,!1}),t,r).then((function(){return i}))})).then(t)},Ce.prototype.sortBy=function(t,e){var n=t.split(".").reverse(),r=n[0],i=n.length-1;function o(t,e){return e?o(t[n[e]],e-1):t[r]}var a="next"===this._ctx.dir?1:-1;function s(t,e){return ue(o(t,i),o(e,i))*a}return this.toArray((function(t){return t.sort(s)})).then(e)},Ce.prototype.toArray=function(t){var e=this;return this._read((function(t){var n=e._ctx;if("next"===n.dir&&ge(n,!0)&&0<n.limit){var r=n.valueMapper,i=be(n,n.table.core.schema);return n.table.core.query({trans:t,limit:n.limit,values:!0,query:{index:i,range:n.range}}).then((function(t){return t=t.result,r?t.map(r):t}))}var o=[];return xe(n,(function(t){return o.push(t)}),t,n.table.core).then((function(){return o}))}),t)},Ce.prototype.offset=function(t){var e=this._ctx;return t<=0||(e.offset+=t,ge(e)?ye(e,(function(){var e=t;return function(t,n){return 0===e||(1===e?--e:n((function(){t.advance(e),e=0})),!1)}})):ye(e,(function(){var e=t;return function(){return--e<0}}))),this},Ce.prototype.limit=function(t){return this._ctx.limit=Math.min(this._ctx.limit,t),ye(this._ctx,(function(){var e=t;return function(t,n,r){return--e<=0&&n(r),0<=e}}),!0),this},Ce.prototype.until=function(t,e){return ve(this._ctx,(function(n,r,i){return!t(n.value)||(r(i),e)})),this},Ce.prototype.first=function(t){return this.limit(1).toArray((function(t){return t[0]})).then(t)},Ce.prototype.last=function(t){return this.reverse().first(t)},Ce.prototype.filter=function(t){var e;return ve(this._ctx,(function(e){return t(e.value)})),(e=this._ctx).isMatch=oe(e.isMatch,t),this},Ce.prototype.and=function(t){return this.filter(t)},Ce.prototype.or=function(t){return new this.db.WhereClause(this._ctx.table,t,this)},Ce.prototype.reverse=function(){return this._ctx.dir="prev"===this._ctx.dir?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},Ce.prototype.desc=function(){return this.reverse()},Ce.prototype.eachKey=function(t){var e=this._ctx;return e.keysOnly=!e.isMatch,this.each((function(e,n){t(n.key,n)}))},Ce.prototype.eachUniqueKey=function(t){return this._ctx.unique="unique",this.eachKey(t)},Ce.prototype.eachPrimaryKey=function(t){var e=this._ctx;return e.keysOnly=!e.isMatch,this.each((function(e,n){t(n.primaryKey,n)}))},Ce.prototype.keys=function(t){var e=this._ctx;e.keysOnly=!e.isMatch;var n=[];return this.each((function(t,e){n.push(e.key)})).then((function(){return n})).then(t)},Ce.prototype.primaryKeys=function(t){var e=this._ctx;if("next"===e.dir&&ge(e,!0)&&0<e.limit)return this._read((function(t){var n=be(e,e.table.core.schema);return e.table.core.query({trans:t,values:!1,limit:e.limit,query:{index:n,range:e.range}})})).then((function(t){return t.result})).then(t);e.keysOnly=!e.isMatch;var n=[];return this.each((function(t,e){n.push(e.primaryKey)})).then((function(){return n})).then(t)},Ce.prototype.uniqueKeys=function(t){return this._ctx.unique="unique",this.keys(t)},Ce.prototype.firstKey=function(t){return this.limit(1).keys((function(t){return t[0]})).then(t)},Ce.prototype.lastKey=function(t){return this.reverse().firstKey(t)},Ce.prototype.distinct=function(){var t;if(!(t=(t=this._ctx).index&&t.table.schema.idxByName[t.index])||!t.multi)return this;var e={};return ve(this._ctx,(function(t){var n=t.primaryKey.toString();return t=c(e,n),e[n]=!0,!t})),this},Ce.prototype.modify=function(t){var e=this,n=this._ctx;return this._write((function(r){var i,a,s;s="function"==typeof t?t:(i=o(t),a=i.length,function(e){for(var n=!1,r=0;r<a;++r){var o=i[r],s=t[o],l=x(e,o);s instanceof ke?(A(e,o,s.execute(l)),n=!0):l!==s&&(A(e,o,s),n=!0)}return n});var l,u=n.table.core,c=(l=u.schema.primaryKey).outbound,h=l.extractKey,d=200;function f(t,e){var n=e.failures;e=e.numFailures,m+=t-e;for(var r=0,i=o(n);r<i.length;r++){var a=i[r];p.push(n[a])}}(l=e.db._options.modifyChunkSize)&&(d="object"==typeof l?l[u.name]||l["*"]||200:l);var p=[],m=0,g=[];return e.clone().primaryKeys().then((function(e){function i(n){var a=Math.min(d,e.length-n);return u.getMany({trans:r,keys:e.slice(n,n+a),cache:"immutable"}).then((function(l){for(var p=[],m=[],g=c?[]:null,v=[],y=0;y<a;++y){var b=l[y],w={value:P(b),primKey:e[n+y]};!1!==s.call(w,w.value,w)&&(null==w.value?v.push(e[n+y]):c||0===ue(h(b),h(w.value))?(m.push(w.value),c&&g.push(e[n+y])):(v.push(e[n+y]),p.push(w.value)))}return Promise.resolve(0<p.length&&u.mutate({trans:r,type:"add",values:p}).then((function(t){for(var e in t.failures)v.splice(parseInt(e),1);f(p.length,t)}))).then((function(){return(0<m.length||o&&"object"==typeof t)&&u.mutate({trans:r,type:"put",keys:g,values:m,criteria:o,changeSpec:"function"!=typeof t&&t,isAdditionalChunk:0<n}).then((function(t){return f(m.length,t)}))})).then((function(){return(0<v.length||o&&t===qe)&&u.mutate({trans:r,type:"delete",keys:v,criteria:o,isAdditionalChunk:0<n}).then((function(t){return f(v.length,t)}))})).then((function(){return e.length>n+a&&i(n+d)}))}))}var o=ge(n)&&n.limit===1/0&&("function"!=typeof t||t===qe)&&{index:n.index,range:n.range};return i(0).then((function(){if(0<p.length)throw new V("Error modifying one or more objects",p,m,g);return e.length}))}))}))},Ce.prototype.delete=function(){var t=this._ctx,e=t.range;return ge(t)&&(t.isPrimKey||3===e.type)?this._write((function(n){var r=t.table.core.schema.primaryKey,i=e;return t.table.core.count({trans:n,query:{index:r,range:i}}).then((function(e){return t.table.core.mutate({trans:n,type:"deleteRange",range:i}).then((function(t){var n=t.failures;if(t.lastResult,t.results,t=t.numFailures)throw new V("Could not delete some values",Object.keys(n).map((function(t){return n[t]})),e-t);return e-t}))}))})):this.modify(qe)},Ce);function Ce(){}var qe=function(t,e){return e.value=null};function Te(t,e){return t<e?-1:t===e?0:1}function Pe(t,e){return e<t?-1:t===e?0:1}function De(t,e,n){return(t=t instanceof Ie?new t.Collection(t):t)._ctx.error=new(n||TypeError)(e),t}function _e(t){return new t.Collection(t,(function(){return Ne("")})).limit(0)}function Oe(t,e,n,r){var i,o,a,s,l,u,c,h=n.length;if(!n.every((function(t){return"string"==typeof t})))return De(t,te);function d(t){i="next"===t?function(t){return t.toUpperCase()}:function(t){return t.toLowerCase()},o="next"===t?function(t){return t.toLowerCase()}:function(t){return t.toUpperCase()},a="next"===t?Te:Pe;var e=n.map((function(t){return{lower:o(t),upper:i(t)}})).sort((function(t,e){return a(t.lower,e.lower)}));s=e.map((function(t){return t.upper})),l=e.map((function(t){return t.lower})),c="next"===(u=t)?"":r}d("next"),(t=new t.Collection(t,(function(){return Me(s[0],l[h-1]+r)})))._ondirectionchange=function(t){d(t)};var f=0;return t._addAlgorithm((function(t,n,r){var i=t.key;if("string"!=typeof i)return!1;var d=o(i);if(e(d,l,f))return!0;for(var p=null,m=f;m<h;++m){var g=function(t,e,n,r,i,o){for(var a=Math.min(t.length,r.length),s=-1,l=0;l<a;++l){var u=e[l];if(u!==r[l])return i(t[l],n[l])<0?t.substr(0,l)+n[l]+n.substr(l+1):i(t[l],r[l])<0?t.substr(0,l)+r[l]+n.substr(l+1):0<=s?t.substr(0,s)+e[s]+n.substr(s+1):null;i(t[l],u)<0&&(s=l)}return a<r.length&&"next"===o?t+n.substr(t.length):a<t.length&&"prev"===o?t.substr(0,n.length):s<0?null:t.substr(0,s)+r[s]+n.substr(s+1)}(i,d,s[m],l[m],a,u);null===g&&null===p?f=m+1:(null===p||0<a(p,g))&&(p=g)}return n(null!==p?function(){t.continue(p+c)}:r),!1})),t}function Me(t,e,n,r){return{type:2,lower:t,upper:e,lowerOpen:n,upperOpen:r}}function Ne(t){return{type:1,lower:t,upper:t}}var Ie=(Object.defineProperty(Re.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!1,configurable:!0}),Re.prototype.between=function(t,e,n,r){n=!1!==n,r=!0===r;try{return 0<this._cmp(t,e)||0===this._cmp(t,e)&&(n||r)&&(!n||!r)?_e(this):new this.Collection(this,(function(){return Me(t,e,!n,!r)}))}catch(t){return De(this,$t)}},Re.prototype.equals=function(t){return null==t?De(this,$t):new this.Collection(this,(function(){return Ne(t)}))},Re.prototype.above=function(t){return null==t?De(this,$t):new this.Collection(this,(function(){return Me(t,void 0,!0)}))},Re.prototype.aboveOrEqual=function(t){return null==t?De(this,$t):new this.Collection(this,(function(){return Me(t,void 0,!1)}))},Re.prototype.below=function(t){return null==t?De(this,$t):new this.Collection(this,(function(){return Me(void 0,t,!1,!0)}))},Re.prototype.belowOrEqual=function(t){return null==t?De(this,$t):new this.Collection(this,(function(){return Me(void 0,t)}))},Re.prototype.startsWith=function(t){return"string"!=typeof t?De(this,te):this.between(t,t+Zt,!0,!0)},Re.prototype.startsWithIgnoreCase=function(t){return""===t?this.startsWith(t):Oe(this,(function(t,e){return 0===t.indexOf(e[0])}),[t],Zt)},Re.prototype.equalsIgnoreCase=function(t){return Oe(this,(function(t,e){return t===e[0]}),[t],"")},Re.prototype.anyOfIgnoreCase=function(){var t=R.apply(I,arguments);return 0===t.length?_e(this):Oe(this,(function(t,e){return-1!==e.indexOf(t)}),t,"")},Re.prototype.startsWithAnyOfIgnoreCase=function(){var t=R.apply(I,arguments);return 0===t.length?_e(this):Oe(this,(function(t,e){return e.some((function(e){return 0===t.indexOf(e)}))}),t,Zt)},Re.prototype.anyOf=function(){var t=this,e=R.apply(I,arguments),n=this._cmp;try{e.sort(n)}catch(r){return De(this,$t)}if(0===e.length)return _e(this);var r=new this.Collection(this,(function(){return Me(e[0],e[e.length-1])}));r._ondirectionchange=function(r){n="next"===r?t._ascending:t._descending,e.sort(n)};var i=0;return r._addAlgorithm((function(t,r,o){for(var a=t.key;0<n(a,e[i]);)if(++i===e.length)return r(o),!1;return 0===n(a,e[i])||(r((function(){t.continue(e[i])})),!1)})),r},Re.prototype.notEqual=function(t){return this.inAnyRange([[-1/0,t],[t,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},Re.prototype.noneOf=function(){var t=R.apply(I,arguments);if(0===t.length)return new this.Collection(this);try{t.sort(this._ascending)}catch(t){return De(this,$t)}var e=t.reduce((function(t,e){return t?t.concat([[t[t.length-1][1],e]]):[[-1/0,e]]}),null);return e.push([t[t.length-1],this.db._maxKey]),this.inAnyRange(e,{includeLowers:!1,includeUppers:!1})},Re.prototype.inAnyRange=function(t,e){var n=this,r=this._cmp,i=this._ascending,o=this._descending,a=this._min,s=this._max;if(0===t.length)return _e(this);if(!t.every((function(t){return void 0!==t[0]&&void 0!==t[1]&&i(t[0],t[1])<=0})))return De(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",K.InvalidArgument);var l,u=!e||!1!==e.includeLowers,c=e&&!0===e.includeUppers,h=i;function d(t,e){return h(t[0],e[0])}try{(l=t.reduce((function(t,e){for(var n=0,i=t.length;n<i;++n){var o=t[n];if(r(e[0],o[1])<0&&0<r(e[1],o[0])){o[0]=a(o[0],e[0]),o[1]=s(o[1],e[1]);break}}return n===i&&t.push(e),t}),[])).sort(d)}catch(t){return De(this,$t)}var f=0,p=c?function(t){return 0<i(t,l[f][1])}:function(t){return 0<=i(t,l[f][1])},m=u?function(t){return 0<o(t,l[f][0])}:function(t){return 0<=o(t,l[f][0])},g=p;return(t=new this.Collection(this,(function(){return Me(l[0][0],l[l.length-1][1],!u,!c)})))._ondirectionchange=function(t){h="next"===t?(g=p,i):(g=m,o),l.sort(d)},t._addAlgorithm((function(t,e,r){for(var o,a=t.key;g(a);)if(++f===l.length)return e(r),!1;return!p(o=a)&&!m(o)||(0===n._cmp(a,l[f][1])||0===n._cmp(a,l[f][0])||e((function(){h===i?t.continue(l[f][0]):t.continue(l[f][1])})),!1)})),t},Re.prototype.startsWithAnyOf=function(){var t=R.apply(I,arguments);return t.every((function(t){return"string"==typeof t}))?0===t.length?_e(this):this.inAnyRange(t.map((function(t){return[t,t+Zt]}))):De(this,"startsWithAnyOf() only works with strings")},Re);function Re(){}function Le(t){return Nt((function(e){return Fe(e),t(e.target.error),!1}))}function Fe(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault()}var Be="storagemutated",je="x-storagemutated-1",ze=pe(null,Be),Ve=(He.prototype._lock=function(){return b(!yt.global),++this._reculock,1!==this._reculock||yt.global||(yt.lockOwnerFor=this),this},He.prototype._unlock=function(){if(b(!yt.global),0==--this._reculock)for(yt.global||(yt.lockOwnerFor=null);0<this._blockedFuncs.length&&!this._locked();){var t=this._blockedFuncs.shift();try{Xt(t[1],t[0])}catch(t){}}return this},He.prototype._locked=function(){return this._reculock&&yt.lockOwnerFor!==this},He.prototype.create=function(t){var e=this;if(!this.mode)return this;var n=this.db.idbdb,r=this.db._state.dbOpenError;if(b(!this.idbtrans),!t&&!n)switch(r&&r.name){case"DatabaseClosedError":throw new K.DatabaseClosed(r);case"MissingAPIError":throw new K.MissingAPI(r.message,r);default:throw new K.OpenFailed(r)}if(!this.active)throw new K.TransactionInactive;return b(null===this._completion._state),(t=this.idbtrans=t||(this.db.core||n).transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability})).onerror=Nt((function(n){Fe(n),e._reject(t.error)})),t.onabort=Nt((function(n){Fe(n),e.active&&e._reject(new K.Abort(t.error)),e.active=!1,e.on("abort").fire(n)})),t.oncomplete=Nt((function(){e.active=!1,e._resolve(),"mutatedParts"in t&&ze.storagemutated.fire(t.mutatedParts)})),this},He.prototype._promise=function(t,e,n){var r=this;if("readwrite"===t&&"readwrite"!==this.mode)return Jt(new K.ReadOnly("Transaction is readonly"));if(!this.active)return Jt(new K.TransactionInactive);if(this._locked())return new At((function(i,o){r._blockedFuncs.push([function(){r._promise(t,e,n).then(i,o)},yt])}));if(n)return zt((function(){var t=new At((function(t,n){r._lock();var i=e(t,n,r);i&&i.then&&i.then(t,n)}));return t.finally((function(){return r._unlock()})),t._lib=!0,t}));var i=new At((function(t,n){var i=e(t,n,r);i&&i.then&&i.then(t,n)}));return i._lib=!0,i},He.prototype._root=function(){return this.parent?this.parent._root():this},He.prototype.waitFor=function(t){var e,n=this._root(),r=At.resolve(t);n._waitingFor?n._waitingFor=n._waitingFor.then((function(){return r})):(n._waitingFor=r,n._waitingQueue=[],e=n.idbtrans.objectStore(n.storeNames[0]),function t(){for(++n._spinCount;n._waitingQueue.length;)n._waitingQueue.shift()();n._waitingFor&&(e.get(-1/0).onsuccess=t)}());var i=n._waitingFor;return new At((function(t,e){r.then((function(e){return n._waitingQueue.push(Nt(t.bind(null,e)))}),(function(t){return n._waitingQueue.push(Nt(e.bind(null,t)))})).finally((function(){n._waitingFor===i&&(n._waitingFor=null)}))}))},He.prototype.abort=function(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new K.Abort))},He.prototype.table=function(t){var e=this._memoizedTables||(this._memoizedTables={});if(c(e,t))return e[t];var n=this.schema[t];if(!n)throw new K.NotFound("Table "+t+" not part of transaction");return(n=new this.db.Table(t,n,this)).core=this.db.core.table(t),e[t]=n},He);function He(){}function Ue(t,e,n,r,i,o,a){return{name:t,keyPath:e,unique:n,multi:r,auto:i,compound:o,src:(n&&!a?"&":"")+(r?"*":"")+(i?"++":"")+Ge(e)}}function Ge(t){return"string"==typeof t?t:t?"["+[].join.call(t,"+")+"]":""}function Ke(t,e,n){return{name:t,primKey:e,indexes:n,mappedClass:null,idxByName:(r=function(t){return[t.name,t]},n.reduce((function(t,e,n){return(n=r(e,n))&&(t[n[0]]=n[1]),t}),{}))};var r}var We=function(t){try{return t.only([[]]),We=function(){return[[]]},[[]]}catch(t){return We=function(){return Zt},Zt}};function Xe(t){return null==t?function(){}:"string"==typeof t?1===(e=t).split(".").length?function(t){return t[e]}:function(t){return x(t,e)}:function(e){return x(e,t)};var e}function Ye(t){return[].slice.call(t)}var Qe=0;function Je(t){return null==t?":id":"string"==typeof t?t:"[".concat(t.join("+"),"]")}function Ze(t,e,n){function r(t){if(3===t.type)return null;if(4===t.type)throw new Error("Cannot convert never type to IDBKeyRange");var n=t.lower,r=t.upper,i=t.lowerOpen;return t=t.upperOpen,void 0===n?void 0===r?null:e.upperBound(r,!!t):void 0===r?e.lowerBound(n,!!i):e.bound(n,r,!!i,!!t)}function i(t){var e,n=t.name;return{name:n,schema:t,mutate:function(t){var e=t.trans,i=t.type,o=t.keys,a=t.values,s=t.range;return new Promise((function(t,l){t=Nt(t);var u=e.objectStore(n),c=null==u.keyPath,h="put"===i||"add"===i;if(!h&&"delete"!==i&&"deleteRange"!==i)throw new Error("Invalid operation type: "+i);var d,f=(o||a||{length:1}).length;if(o&&a&&o.length!==a.length)throw new Error("Given keys array must have same length as given values array.");if(0===f)return t({numFailures:0,failures:{},results:[],lastResult:void 0});function p(t){++v,Fe(t)}var m=[],g=[],v=0;if("deleteRange"===i){if(4===s.type)return t({numFailures:v,failures:g,results:[],lastResult:void 0});3===s.type?m.push(d=u.clear()):m.push(d=u.delete(r(s)))}else{var y=(c=h?c?[a,o]:[a,null]:[o,null])[0],b=c[1];if(h)for(var w=0;w<f;++w)m.push(d=b&&void 0!==b[w]?u[i](y[w],b[w]):u[i](y[w])),d.onerror=p;else for(w=0;w<f;++w)m.push(d=u[i](y[w])),d.onerror=p}function x(e){e=e.target.result,m.forEach((function(t,e){return null!=t.error&&(g[e]=t.error)})),t({numFailures:v,failures:g,results:"delete"===i?o:m.map((function(t){return t.result})),lastResult:e})}d.onerror=function(t){p(t),x(t)},d.onsuccess=x}))},getMany:function(t){var e=t.trans,r=t.keys;return new Promise((function(t,i){t=Nt(t);for(var o,a=e.objectStore(n),s=r.length,l=new Array(s),u=0,c=0,h=function(e){e=e.target,l[e._pos]=e.result,++c===u&&t(l)},d=Le(i),f=0;f<s;++f)null!=r[f]&&((o=a.get(r[f]))._pos=f,o.onsuccess=h,o.onerror=d,++u);0===u&&t(l)}))},get:function(t){var e=t.trans,r=t.key;return new Promise((function(t,i){t=Nt(t);var o=e.objectStore(n).get(r);o.onsuccess=function(e){return t(e.target.result)},o.onerror=Le(i)}))},query:(e=c,function(t){return new Promise((function(i,o){i=Nt(i);var a,s,l,u=t.trans,c=t.values,h=t.limit,d=t.query,f=h===1/0?void 0:h,p=d.index;if(d=d.range,u=u.objectStore(n),p=p.isPrimaryKey?u:u.index(p.name),d=r(d),0===h)return i({result:[]});e?((f=c?p.getAll(d,f):p.getAllKeys(d,f)).onsuccess=function(t){return i({result:t.target.result})},f.onerror=Le(o)):(a=0,s=!c&&"openKeyCursor"in p?p.openKeyCursor(d):p.openCursor(d),l=[],s.onsuccess=function(t){var e=s.result;return e?(l.push(c?e.value:e.primaryKey),++a===h?i({result:l}):void e.continue()):i({result:l})},s.onerror=Le(o))}))}),openCursor:function(t){var e=t.trans,i=t.values,o=t.query,a=t.reverse,s=t.unique;return new Promise((function(t,l){t=Nt(t);var u=o.index,c=o.range,h=e.objectStore(n),d=(h=u.isPrimaryKey?h:h.index(u.name),u=a?s?"prevunique":"prev":s?"nextunique":"next",!i&&"openKeyCursor"in h?h.openKeyCursor(r(c),u):h.openCursor(r(c),u));d.onerror=Le(l),d.onsuccess=Nt((function(n){var r,i,o,a,s=d.result;s?(s.___id=++Qe,s.done=!1,r=s.continue.bind(s),i=(i=s.continuePrimaryKey)&&i.bind(s),o=s.advance.bind(s),a=function(){throw new Error("Cursor not stopped")},s.trans=e,s.stop=s.continue=s.continuePrimaryKey=s.advance=function(){throw new Error("Cursor not started")},s.fail=Nt(l),s.next=function(){var t=this,e=1;return this.start((function(){return e--?t.continue():t.stop()})).then((function(){return t}))},s.start=function(t){function e(){if(d.result)try{t()}catch(t){s.fail(t)}else s.done=!0,s.start=function(){throw new Error("Cursor behind last entry")},s.stop()}var n=new Promise((function(t,e){t=Nt(t),d.onerror=Le(e),s.fail=e,s.stop=function(e){s.stop=s.continue=s.continuePrimaryKey=s.advance=a,t(e)}}));return d.onsuccess=Nt((function(t){d.onsuccess=e,e()})),s.continue=r,s.continuePrimaryKey=i,s.advance=o,e(),n},t(s)):t(null)}),l)}))},count:function(t){var e=t.query,i=t.trans,o=e.index,a=e.range;return new Promise((function(t,e){var s=i.objectStore(n),l=o.isPrimaryKey?s:s.index(o.name);(l=(s=r(a))?l.count(s):l.count()).onsuccess=Nt((function(e){return t(e.target.result)})),l.onerror=Le(e)}))}}}var o,s,l,u=(s=n,l=Ye((o=t).objectStoreNames),{schema:{name:o.name,tables:l.map((function(t){return s.objectStore(t)})).map((function(t){var e=t.keyPath,n=t.autoIncrement,r=a(e),i={};return n={name:t.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:null==e,compound:r,keyPath:e,autoIncrement:n,unique:!0,extractKey:Xe(e)},indexes:Ye(t.indexNames).map((function(e){return t.index(e)})).map((function(t){var e=t.name,n=t.unique,r=t.multiEntry;return t=t.keyPath,r={name:e,compound:a(t),keyPath:t,unique:n,multiEntry:r,extractKey:Xe(t)},i[Je(t)]=r})),getIndexByKeyPath:function(t){return i[Je(t)]}},i[":id"]=n.primaryKey,null!=e&&(i[Je(e)]=n.primaryKey),n}))},hasGetAll:0<l.length&&"getAll"in s.objectStore(l[0])&&!("undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}),c=(n=u.schema,u.hasGetAll),h=(u=n.tables.map(i),{});return u.forEach((function(t){return h[t.name]=t})),{stack:"dbcore",transaction:t.transaction.bind(t),table:function(t){if(!h[t])throw new Error("Table '".concat(t,"' not found"));return h[t]},MIN_KEY:-1/0,MAX_KEY:We(e),schema:n}}function $e(t,n,r,i){var o=r.IDBKeyRange;return r.indexedDB,{dbcore:(i=Ze(n,o,i),t.dbcore.reduce((function(t,n){return n=n.create,e(e({},t),n(t))}),i))}}function tn(t,e){var n=e.db;e=$e(t._middlewares,n,t._deps,e),t.core=e.dbcore,t.tables.forEach((function(e){var n=e.name;t.core.schema.tables.some((function(t){return t.name===n}))&&(e.core=t.core.table(n),t[n]instanceof t.Table&&(t[n].core=e.core))}))}function en(t,e,n,r){n.forEach((function(n){var i=r[n];e.forEach((function(e){var r=function t(e,n){return m(e,n)||(e=l(e))&&t(e,n)}(e,n);(!r||"value"in r&&void 0===r.value)&&(e===t.Transaction.prototype||e instanceof t.Transaction?f(e,n,{get:function(){return this.table(n)},set:function(t){d(this,n,{value:t,writable:!0,configurable:!0,enumerable:!0})}}):e[n]=new t.Table(n,i))}))}))}function nn(t,e){e.forEach((function(e){for(var n in e)e[n]instanceof t.Table&&delete e[n]}))}function rn(t,e){return t._cfg.version-e._cfg.version}function on(t,e,n,r){var i=t._dbSchema;n.objectStoreNames.contains("$meta")&&!i.$meta&&(i.$meta=Ke("$meta",fn("")[0],[]),t._storeNames.push("$meta"));var a=t._createTransaction("readwrite",t._storeNames,i);a.create(n),a._completion.catch(r);var s=a._reject.bind(a),l=yt.transless||yt;zt((function(){return yt.trans=a,yt.transless=l,0!==e?(tn(t,n),u=e,((r=a).storeNames.includes("$meta")?r.table("$meta").get("version").then((function(t){return null!=t?t:u})):At.resolve(u)).then((function(e){return i=e,s=a,l=n,u=[],e=(r=t)._versions,c=r._dbSchema=hn(0,r.idbdb,l),0!==(e=e.filter((function(t){return t._cfg.version>=i}))).length?(e.forEach((function(t){u.push((function(){var e=c,n=t._cfg.dbschema;dn(r,e,l),dn(r,n,l),c=r._dbSchema=n;var a=sn(e,n);a.add.forEach((function(t){ln(l,t[0],t[1].primKey,t[1].indexes)})),a.change.forEach((function(t){if(t.recreate)throw new K.Upgrade("Not yet support for changing primary key");var e=l.objectStore(t.name);t.add.forEach((function(t){return cn(e,t)})),t.change.forEach((function(t){e.deleteIndex(t.name),cn(e,t)})),t.del.forEach((function(t){return e.deleteIndex(t)}))}));var u=t._cfg.contentUpgrade;if(u&&t._cfg.version>i){tn(r,l),s._memoizedTables={};var h=k(n);a.del.forEach((function(t){h[t]=e[t]})),nn(r,[r.Transaction.prototype]),en(r,[r.Transaction.prototype],o(h),h),s.schema=h;var d,f=L(u);return f&&Vt(),a=At.follow((function(){var t;(d=u(s))&&f&&(t=Ht.bind(null,null),d.then(t,t))})),d&&"function"==typeof d.then?At.resolve(d):a.then((function(){return d}))}})),u.push((function(e){var n,i,o=t._cfg.dbschema;n=o,i=e,[].slice.call(i.db.objectStoreNames).forEach((function(t){return null==n[t]&&i.db.deleteObjectStore(t)})),nn(r,[r.Transaction.prototype]),en(r,[r.Transaction.prototype],r._storeNames,r._dbSchema),s.schema=r._dbSchema})),u.push((function(e){r.idbdb.objectStoreNames.contains("$meta")&&(Math.ceil(r.idbdb.version/10)===t._cfg.version?(r.idbdb.deleteObjectStore("$meta"),delete r._dbSchema.$meta,r._storeNames=r._storeNames.filter((function(t){return"$meta"!==t}))):e.objectStore("$meta").put(t._cfg.version,"version"))}))})),function t(){return u.length?At.resolve(u.shift()(s.idbtrans)).then(t):At.resolve()}().then((function(){un(c,l)}))):At.resolve();var r,i,s,l,u,c})).catch(s)):(o(i).forEach((function(t){ln(n,t,i[t].primKey,i[t].indexes)})),tn(t,n),void At.follow((function(){return t.on.populate.fire(a)})).catch(s));var r,u}))}function an(t,e){un(t._dbSchema,e),e.db.version%10!=0||e.objectStoreNames.contains("$meta")||e.db.createObjectStore("$meta").add(Math.ceil(e.db.version/10-1),"version");var n=hn(0,t.idbdb,e);dn(t,t._dbSchema,e);for(var r=0,i=sn(n,t._dbSchema).change;r<i.length;r++){var o=function(t){if(t.change.length||t.recreate)return{value:void 0};var n=e.objectStore(t.name);t.add.forEach((function(t){cn(n,t)}))}(i[r]);if("object"==typeof o)return o.value}}function sn(t,e){var n,r={del:[],add:[],change:[]};for(n in t)e[n]||r.del.push(n);for(n in e){var i=t[n],o=e[n];if(i){var a={name:n,def:o,recreate:!1,del:[],add:[],change:[]};if(""+(i.primKey.keyPath||"")!=""+(o.primKey.keyPath||"")||i.primKey.auto!==o.primKey.auto)a.recreate=!0,r.change.push(a);else{var s=i.idxByName,l=o.idxByName,u=void 0;for(u in s)l[u]||a.del.push(u);for(u in l){var c=s[u],h=l[u];c?c.src!==h.src&&a.change.push(h):a.add.push(h)}(0<a.del.length||0<a.add.length||0<a.change.length)&&r.change.push(a)}}else r.add.push([n,o])}return r}function ln(t,e,n,r){var i=t.db.createObjectStore(e,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach((function(t){return cn(i,t)})),i}function un(t,e){o(t).forEach((function(n){e.db.objectStoreNames.contains(n)||ln(e,n,t[n].primKey,t[n].indexes)}))}function cn(t,e){t.createIndex(e.name,e.keyPath,{unique:e.unique,multiEntry:e.multi})}function hn(t,e,n){var r={};return v(e.objectStoreNames,0).forEach((function(t){for(var e=n.objectStore(t),i=Ue(Ge(s=e.keyPath),s||"",!0,!1,!!e.autoIncrement,s&&"string"!=typeof s,!0),o=[],a=0;a<e.indexNames.length;++a){var s=(l=e.index(e.indexNames[a])).keyPath,l=Ue(l.name,s,!!l.unique,!!l.multiEntry,!1,s&&"string"!=typeof s,!1);o.push(l)}r[t]=Ke(t,i,o)})),r}function dn(t,e,n){for(var r=n.db.objectStoreNames,o=0;o<r.length;++o){var a=r[o],s=n.objectStore(a);t._hasGetAll="getAll"in s;for(var l=0;l<s.indexNames.length;++l){var u=s.indexNames[l],c=s.index(u).keyPath,h="string"==typeof c?c:"["+v(c).join("+")+"]";!e[a]||(c=e[a].idxByName[h])&&(c.name=u,delete e[a].idxByName[h],e[a].idxByName[u]=c)}}"undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&i.WorkerGlobalScope&&i instanceof i.WorkerGlobalScope&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604&&(t._hasGetAll=!1)}function fn(t){return t.split(",").map((function(t,e){var n=(t=t.trim()).replace(/([&*]|\+\+)/g,""),r=/^\[/.test(n)?n.match(/^\[(.*)\]$/)[1].split("+"):n;return Ue(n,r||null,/\&/.test(t),/\*/.test(t),/\+\+/.test(t),a(r),0===e)}))}var pn=(mn.prototype._parseStoresSpec=function(t,e){o(t).forEach((function(n){if(null!==t[n]){var r=fn(t[n]),i=r.shift();if(i.unique=!0,i.multi)throw new K.Schema("Primary key cannot be multi-valued");r.forEach((function(t){if(t.auto)throw new K.Schema("Only primary key can be marked as autoIncrement (++)");if(!t.keyPath)throw new K.Schema("Index must have a name and cannot be an empty string")})),e[n]=Ke(n,i,r)}}))},mn.prototype.stores=function(t){var e=this.db;this._cfg.storesSource=this._cfg.storesSource?s(this._cfg.storesSource,t):t,t=e._versions;var n={},r={};return t.forEach((function(t){s(n,t._cfg.storesSource),r=t._cfg.dbschema={},t._parseStoresSpec(n,r)})),e._dbSchema=r,nn(e,[e._allTables,e,e.Transaction.prototype]),en(e,[e._allTables,e,e.Transaction.prototype,this._cfg.tables],o(r),r),e._storeNames=o(r),this},mn.prototype.upgrade=function(t){return this._cfg.contentUpgrade=rt(this._cfg.contentUpgrade||Y,t),this},mn);function mn(){}function gn(t,e){var n=t._dbNamesDB;return n||(n=t._dbNamesDB=new er(ne,{addons:[],indexedDB:t,IDBKeyRange:e})).version(1).stores({dbnames:"name"}),n.table("dbnames")}function vn(t){return t&&"function"==typeof t.databases}function yn(t){return zt((function(){return yt.letThrough=!0,t()}))}function bn(t){return!("from"in t)}var wn=function(t,e){if(!this){var n=new wn;return t&&"d"in t&&s(n,t),n}s(this,arguments.length?{d:1,from:t,to:1<arguments.length?e:t}:{d:0})};function xn(t,e,n){var r=ue(e,n);if(!isNaN(r)){if(0<r)throw RangeError();if(bn(t))return s(t,{from:e,to:n,d:1});var i=t.l;if(r=t.r,ue(n,t.from)<0)return i?xn(i,e,n):t.l={from:e,to:n,d:1,l:null,r:null},En(t);if(0<ue(e,t.to))return r?xn(r,e,n):t.r={from:e,to:n,d:1,l:null,r:null},En(t);ue(e,t.from)<0&&(t.from=e,t.l=null,t.d=r?r.d+1:1),0<ue(n,t.to)&&(t.to=n,t.r=null,t.d=t.l?t.l.d+1:1),n=!t.r,i&&!t.l&&An(t,i),r&&n&&An(t,r)}}function An(t,e){bn(e)||function t(e,n){var r=n.from,i=n.to,o=n.l;n=n.r,xn(e,r,i),o&&t(e,o),n&&t(e,n)}(t,e)}function kn(t,e){var n=Sn(e),r=n.next();if(r.done)return!1;for(var i=r.value,o=Sn(t),a=o.next(i.from),s=a.value;!r.done&&!a.done;){if(ue(s.from,i.to)<=0&&0<=ue(s.to,i.from))return!0;ue(i.from,s.from)<0?i=(r=n.next(s.from)).value:s=(a=o.next(i.from)).value}return!1}function Sn(t){var e=bn(t)?null:{s:0,n:t};return{next:function(t){for(var n=0<arguments.length;e;)switch(e.s){case 0:if(e.s=1,n)for(;e.n.l&&ue(t,e.n.from)<0;)e={up:e,n:e.n.l,s:1};else for(;e.n.l;)e={up:e,n:e.n.l,s:1};case 1:if(e.s=2,!n||ue(t,e.n.to)<=0)return{value:e.n,done:!1};case 2:if(e.n.r){e.s=3,e={up:e,n:e.n.r,s:0};continue}case 3:e=e.up}return{done:!0}}}}function En(t){var n,r,i=((null===(n=t.r)||void 0===n?void 0:n.d)||0)-((null===(r=t.l)||void 0===r?void 0:r.d)||0),o=1<i?"r":i<-1?"l":"";o&&(n="r"==o?"l":"r",r=e({},t),i=t[o],t.from=i.from,t.to=i.to,t[o]=i[o],r[o]=i[n],(t[n]=r).d=Cn(r)),t.d=Cn(t)}function Cn(t){var e=t.r;return t=t.l,(e?t?Math.max(e.d,t.d):e.d:t?t.d:0)+1}function qn(t,e){return o(e).forEach((function(n){t[n]?An(t[n],e[n]):t[n]=function t(e){var n,r,i={};for(n in e)c(e,n)&&(r=e[n],i[n]=!r||"object"!=typeof r||q.has(r.constructor)?r:t(r));return i}(e[n])})),t}function Tn(t,e){return t.all||e.all||Object.keys(t).some((function(n){return e[n]&&kn(e[n],t[n])}))}h(wn.prototype,((F={add:function(t){return An(this,t),this},addKey:function(t){return xn(this,t,t),this},addKeys:function(t){var e=this;return t.forEach((function(t){return xn(e,t,t)})),this},hasKey:function(t){var e=Sn(this).next(t).value;return e&&ue(e.from,t)<=0&&0<=ue(e.to,t)}})[O]=function(){return Sn(this)},F));var Pn={},Dn={},_n=!1;function On(t){qn(Dn,t),_n||(_n=!0,setTimeout((function(){_n=!1,Mn(Dn,!(Dn={}))}),0))}function Mn(t,e){void 0===e&&(e=!1);var n=new Set;if(t.all)for(var r=0,i=Object.values(Pn);r<i.length;r++)Nn(a=i[r],t,n,e);else for(var o in t){var a,s=/^idb\:\/\/(.*)\/(.*)\//.exec(o);s&&(o=s[1],s=s[2],(a=Pn["idb://".concat(o,"/").concat(s)])&&Nn(a,t,n,e))}n.forEach((function(t){return t()}))}function Nn(t,e,n,r){for(var i=[],o=0,a=Object.entries(t.queries.query);o<a.length;o++){for(var s=a[o],l=s[0],u=[],c=0,h=s[1];c<h.length;c++){var d=h[c];Tn(e,d.obsSet)?d.subscribers.forEach((function(t){return n.add(t)})):r&&u.push(d)}r&&i.push([l,u])}if(r)for(var f=0,p=i;f<p.length;f++){var m=p[f];l=m[0],u=m[1],t.queries.query[l]=u}}function In(t){var e=t._state,n=t._deps.indexedDB;if(e.isBeingOpened||t.idbdb)return e.dbReadyPromise.then((function(){return e.dbOpenError?Jt(e.dbOpenError):t}));e.isBeingOpened=!0,e.dbOpenError=null,e.openComplete=!1;var r=e.openCanceller,i=Math.round(10*t.verno),a=!1;function s(){if(e.openCanceller!==r)throw new K.DatabaseClosed("db.open() was cancelled")}function l(){return new At((function(r,u){if(s(),!n)throw new K.MissingAPI;var c=t.name,f=e.autoSchema||!i?n.open(c):n.open(c,i);if(!f)throw new K.MissingAPI;f.onerror=Le(u),f.onblocked=Nt(t._fireOnBlocked),f.onupgradeneeded=Nt((function(r){var i;h=f.transaction,e.autoSchema&&!t._options.allowEmptyDB?(f.onerror=Fe,h.abort(),f.result.close(),(i=n.deleteDatabase(c)).onsuccess=i.onerror=Nt((function(){u(new K.NoSuchDatabase("Database ".concat(c," doesnt exist")))}))):(h.onerror=Le(u),r=r.oldVersion>Math.pow(2,62)?0:r.oldVersion,d=r<1,t.idbdb=f.result,a&&an(t,h),on(t,r/10,h,u))}),u),f.onsuccess=Nt((function(){h=null;var n,s,u,p,m,g=t.idbdb=f.result,y=v(g.objectStoreNames);if(0<y.length)try{var b=g.transaction(1===(p=y).length?p[0]:p,"readonly");if(e.autoSchema)s=g,u=b,(n=t).verno=s.version/10,u=n._dbSchema=hn(0,s,u),n._storeNames=v(s.objectStoreNames,0),en(n,[n._allTables],o(u),u);else if(dn(t,t._dbSchema,b),((m=sn(hn(0,(m=t).idbdb,b),m._dbSchema)).add.length||m.change.some((function(t){return t.add.length||t.change.length})))&&!a)return g.close(),i=g.version+1,a=!0,r(l());tn(t,b)}catch(n){}ee.push(t),g.onversionchange=Nt((function(n){e.vcFired=!0,t.on("versionchange").fire(n)})),g.onclose=Nt((function(e){t.on("close").fire(e)})),d&&(m=t._deps,b=c,g=m.indexedDB,m=m.IDBKeyRange,vn(g)||b===ne||gn(g,m).put({name:b}).catch(Y)),r()}),u)})).catch((function(t){switch(null==t?void 0:t.name){case"UnknownError":if(0<e.PR1398_maxLoop)return e.PR1398_maxLoop--,l();break;case"VersionError":if(0<i)return i=0,l()}return At.reject(t)}))}var u,c=e.dbReadyResolve,h=null,d=!1;return At.race([r,("undefined"==typeof navigator?At.resolve():!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent)&&indexedDB.databases?new Promise((function(t){function e(){return indexedDB.databases().finally(t)}u=setInterval(e,100),e()})).finally((function(){return clearInterval(u)})):Promise.resolve()).then(l)]).then((function(){return s(),e.onReadyBeingFired=[],At.resolve(yn((function(){return t.on.ready.fire(t.vip)}))).then((function n(){if(0<e.onReadyBeingFired.length){var r=e.onReadyBeingFired.reduce(rt,Y);return e.onReadyBeingFired=[],At.resolve(yn((function(){return r(t.vip)}))).then(n)}}))})).finally((function(){e.openCanceller===r&&(e.onReadyBeingFired=null,e.isBeingOpened=!1)})).catch((function(n){e.dbOpenError=n;try{h&&h.abort()}catch(n){}return r===e.openCanceller&&t._close(),Jt(n)})).finally((function(){e.openComplete=!0,c()})).then((function(){var e;return d&&(e={},t.tables.forEach((function(n){n.schema.indexes.forEach((function(r){r.name&&(e["idb://".concat(t.name,"/").concat(n.name,"/").concat(r.name)]=new wn(-1/0,[[[]]]))})),e["idb://".concat(t.name,"/").concat(n.name,"/")]=e["idb://".concat(t.name,"/").concat(n.name,"/:dels")]=new wn(-1/0,[[[]]])})),ze(Be).fire(e),Mn(e,!0)),t}))}function Rn(t){function e(e){return t.next(e)}var n=i(e),r=i((function(e){return t.throw(e)}));function i(t){return function(e){var i=t(e);return e=i.value,i.done?e:e&&"function"==typeof e.then?e.then(n,r):a(e)?Promise.all(e).then(n,r):n(e)}}return i(e)()}function Ln(t,e,n){for(var r=a(t)?t.slice():[t],i=0;i<n;++i)r.push(e);return r}var Fn={stack:"dbcore",name:"VirtualIndexMiddleware",level:1,create:function(t){return e(e({},t),{table:function(n){var r=t.table(n),i=r.schema,o={},a=[];function s(t,n,r){var i=Je(t),l=o[i]=o[i]||[],u=null==t?0:"string"==typeof t?1:t.length,c=0<n;return c=e(e({},r),{name:c?"".concat(i,"(virtual-from:").concat(r.name,")"):r.name,lowLevelIndex:r,isVirtual:c,keyTail:n,keyLength:u,extractKey:Xe(t),unique:!c&&r.unique}),l.push(c),c.isPrimaryKey||a.push(c),1<u&&s(2===u?t[0]:t.slice(0,u-1),n+1,r),l.sort((function(t,e){return t.keyTail-e.keyTail})),c}n=s(i.primaryKey.keyPath,0,i.primaryKey),o[":id"]=[n];for(var l=0,u=i.indexes;l<u.length;l++){var c=u[l];s(c.keyPath,0,c)}function h(n){var r,i=n.query.index;return i.isVirtual?e(e({},n),{query:{index:i.lowLevelIndex,range:(r=n.query.range,i=i.keyTail,{type:1===r.type?2:r.type,lower:Ln(r.lower,r.lowerOpen?t.MAX_KEY:t.MIN_KEY,i),lowerOpen:!0,upper:Ln(r.upper,r.upperOpen?t.MIN_KEY:t.MAX_KEY,i),upperOpen:!0})}}):n}return e(e({},r),{schema:e(e({},i),{primaryKey:n,indexes:a,getIndexByKeyPath:function(t){return(t=o[Je(t)])&&t[0]}}),count:function(t){return r.count(h(t))},query:function(t){return r.query(h(t))},openCursor:function(e){var n=e.query.index,i=n.keyTail,o=n.isVirtual,a=n.keyLength;return o?r.openCursor(h(e)).then((function(t){return t&&s(t)})):r.openCursor(e);function s(n){return Object.create(n,{continue:{value:function(r){null!=r?n.continue(Ln(r,e.reverse?t.MAX_KEY:t.MIN_KEY,i)):e.unique?n.continue(n.key.slice(0,a).concat(e.reverse?t.MIN_KEY:t.MAX_KEY,i)):n.continue()}},continuePrimaryKey:{value:function(e,r){n.continuePrimaryKey(Ln(e,t.MAX_KEY,i),r)}},primaryKey:{get:function(){return n.primaryKey}},key:{get:function(){var t=n.key;return 1===a?t[0]:t.slice(0,a)}},value:{get:function(){return n.value}}})}}})}})}};function Bn(t,e,n,r){return n=n||{},r=r||"",o(t).forEach((function(i){var o,a,s;c(e,i)?(o=t[i],a=e[i],"object"==typeof o&&"object"==typeof a&&o&&a?(s=_(o))!==_(a)?n[r+i]=e[i]:"Object"===s?Bn(o,a,n,r+i+"."):o!==a&&(n[r+i]=e[i]):o!==a&&(n[r+i]=e[i])):n[r+i]=void 0})),o(e).forEach((function(i){c(t,i)||(n[r+i]=e[i])})),n}function jn(t,e){return"delete"===e.type?e.keys:e.keys||e.values.map(t.extractKey)}var zn={stack:"dbcore",name:"HooksMiddleware",level:2,create:function(t){return e(e({},t),{table:function(n){var i=t.table(n),o=i.schema.primaryKey;return e(e({},i),{mutate:function(t){var a=yt.trans,s=a.table(n).hook,l=s.deleting,u=s.creating,h=s.updating;switch(t.type){case"add":if(u.fire===Y)break;return a._promise("readwrite",(function(){return d(t)}),!0);case"put":if(u.fire===Y&&h.fire===Y)break;return a._promise("readwrite",(function(){return d(t)}),!0);case"delete":if(l.fire===Y)break;return a._promise("readwrite",(function(){return d(t)}),!0);case"deleteRange":if(l.fire===Y)break;return a._promise("readwrite",(function(){return function t(n,r,a){return i.query({trans:n,values:!1,query:{index:o,range:r},limit:a}).then((function(i){var o=i.result;return d({type:"delete",keys:o,trans:n}).then((function(i){return 0<i.numFailures?Promise.reject(i.failures[0]):o.length<a?{failures:[],numFailures:0,lastResult:void 0}:t(n,e(e({},r),{lower:o[o.length-1],lowerOpen:!0}),a)}))}))}(t.trans,t.range,1e4)}),!0)}return i.mutate(t);function d(t){var n,a,s,d=yt.trans,f=t.keys||jn(o,t);if(!f)throw new Error("Keys missing");return"delete"!==(t="add"===t.type||"put"===t.type?e(e({},t),{keys:f}):e({},t)).type&&(t.values=r([],t.values,!0)),t.keys&&(t.keys=r([],t.keys,!0)),n=i,s=f,("add"===(a=t).type?Promise.resolve([]):n.getMany({trans:a.trans,keys:s,cache:"immutable"})).then((function(e){var n=f.map((function(n,r){var i,a,s,f=e[r],p={onerror:null,onsuccess:null};return"delete"===t.type?l.fire.call(p,n,f,d):"add"===t.type||void 0===f?(i=u.fire.call(p,n,t.values[r],d),null==n&&null!=i&&(t.keys[r]=n=i,o.outbound||A(t.values[r],o.keyPath,n))):(i=Bn(f,t.values[r]),(a=h.fire.call(p,i,n,f,d))&&(s=t.values[r],Object.keys(a).forEach((function(t){c(s,t)?s[t]=a[t]:A(s,t,a[t])})))),p}));return i.mutate(t).then((function(r){for(var i=r.failures,o=r.results,a=r.numFailures,s=(r=r.lastResult,0);s<f.length;++s){var l=(o||f)[s],u=n[s];null==l?u.onerror&&u.onerror(i[s]):u.onsuccess&&u.onsuccess("put"===t.type&&e[s]?t.values[s]:l)}return{failures:i,results:o,numFailures:a,lastResult:r}})).catch((function(t){return n.forEach((function(e){return e.onerror&&e.onerror(t)})),Promise.reject(t)}))}))}}})}})}};function Vn(t,e,n){try{if(!e)return null;if(e.keys.length<t.length)return null;for(var r=[],i=0,o=0;i<e.keys.length&&o<t.length;++i)0===ue(e.keys[i],t[o])&&(r.push(n?P(e.values[i]):e.values[i]),++o);return r.length===t.length?r:null}catch(t){return null}}var Hn={stack:"dbcore",level:-1,create:function(t){return{table:function(n){var r=t.table(n);return e(e({},r),{getMany:function(t){if(!t.cache)return r.getMany(t);var e=Vn(t.keys,t.trans._cache,"clone"===t.cache);return e?At.resolve(e):r.getMany(t).then((function(e){return t.trans._cache={keys:t.keys,values:"clone"===t.cache?P(e):e},e}))},mutate:function(t){return"add"!==t.type&&(t.trans._cache=null),r.mutate(t)}})}}}};function Un(t,e){return"readonly"===t.trans.mode&&!!t.subscr&&!t.trans.explicit&&"disabled"!==t.trans.db._options.cache&&!e.schema.primaryKey.outbound}function Gn(t,e){switch(t){case"query":return e.values&&!e.unique;case"get":case"getMany":case"count":case"openCursor":return!1}}var Kn={stack:"dbcore",level:0,name:"Observability",create:function(t){var n=t.schema.name,r=new wn(t.MIN_KEY,t.MAX_KEY);return e(e({},t),{transaction:function(e,n,r){if(yt.subscr&&"readonly"!==n)throw new K.ReadOnly("Readwrite transaction in liveQuery context. Querier source: ".concat(yt.querier));return t.transaction(e,n,r)},table:function(i){var s=t.table(i),l=s.schema,u=l.primaryKey,c=l.indexes,h=u.extractKey,d=u.outbound,f=u.autoIncrement&&c.filter((function(t){return t.compound&&t.keyPath.includes(u.keyPath)})),p=e(e({},s),{mutate:function(e){function o(t){return t="idb://".concat(n,"/").concat(i,"/").concat(t),m[t]||(m[t]=new wn)}var c,h,d,p=e.trans,m=e.mutatedParts||(e.mutatedParts={}),g=o(""),v=o(":dels"),y=e.type,b="deleteRange"===e.type?[e.range]:"delete"===e.type?[e.keys]:e.values.length<50?[jn(u,e).filter((function(t){return t})),e.values]:[],w=b[0],x=b[1];return b=e.trans._cache,a(w)?(g.addKeys(w),(b="delete"===y||w.length===x.length?Vn(w,b):null)||v.addKeys(w),(b||x)&&(c=o,h=b,d=x,l.indexes.forEach((function(t){var e=c(t.name||"");function n(e){return null!=e?t.extractKey(e):null}function r(n){return t.multiEntry&&a(n)?n.forEach((function(t){return e.addKey(t)})):e.addKey(n)}(h||d).forEach((function(t,e){var i=h&&n(h[e]);0!==ue(i,e=d&&n(d[e]))&&(null!=i&&r(i),null!=e&&r(e))}))})))):w?(x={from:null!==(x=w.lower)&&void 0!==x?x:t.MIN_KEY,to:null!==(x=w.upper)&&void 0!==x?x:t.MAX_KEY},v.add(x),g.add(x)):(g.add(r),v.add(r),l.indexes.forEach((function(t){return o(t.name).add(r)}))),s.mutate(e).then((function(t){return!w||"add"!==e.type&&"put"!==e.type||(g.addKeys(t.results),f&&f.forEach((function(n){for(var r=e.values.map((function(t){return n.extractKey(t)})),i=n.keyPath.findIndex((function(t){return t===u.keyPath})),a=0,s=t.results.length;a<s;++a)r[a][i]=t.results[a];o(n.name).addKeys(r)}))),p.mutatedParts=qn(p.mutatedParts||{},m),t}))}}),m=(c=function(e){e=(n=e.query).index;var n=n.range;return[e,new wn(null!==(e=n.lower)&&void 0!==e?e:t.MIN_KEY,null!==(n=n.upper)&&void 0!==n?n:t.MAX_KEY)]},{get:function(t){return[u,new wn(t.key)]},getMany:function(t){return[u,(new wn).addKeys(t.keys)]},count:c,query:c,openCursor:c});return o(m).forEach((function(t){p[t]=function(o){var a=!!(p=yt.subscr),l=Un(yt,s)&&Gn(t,o)?o.obsSet={}:p;if(a){var u=function(t){return t="idb://".concat(n,"/").concat(i,"/").concat(t),l[t]||(l[t]=new wn)},c=u(""),f=u(":dels"),p=(a=(p=m[t](o))[0],p[1]);if(("query"===t&&a.isPrimaryKey&&!o.values?f:u(a.name||"")).add(p),!a.isPrimaryKey){if("count"!==t){var g="query"===t&&d&&o.values&&s.query(e(e({},o),{values:!1}));return s[t].apply(this,arguments).then((function(e){if("query"===t){if(d&&o.values)return g.then((function(t){return t=t.result,c.addKeys(t),e}));var n=o.values?e.result.map(h):e.result;(o.values?c:f).addKeys(n)}else if("openCursor"===t){var r=e,i=o.values;return r&&Object.create(r,{key:{get:function(){return f.addKey(r.primaryKey),r.key}},primaryKey:{get:function(){var t=r.primaryKey;return f.addKey(t),t}},value:{get:function(){return i&&c.addKey(r.primaryKey),r.value}}})}return e}))}f.add(r)}}return s[t].apply(this,arguments)}})),p}})}};function Wn(t,n,r){if(0===r.numFailures)return n;if("deleteRange"===n.type)return null;var i=n.keys?n.keys.length:"values"in n&&n.values?n.values.length:1;return r.numFailures===i?null:(n=e({},n),a(n.keys)&&(n.keys=n.keys.filter((function(t,e){return!(e in r.failures)}))),"values"in n&&a(n.values)&&(n.values=n.values.filter((function(t,e){return!(e in r.failures)}))),n)}function Xn(t,e){return n=t,(void 0===(r=e).lower||(r.lowerOpen?0<ue(n,r.lower):0<=ue(n,r.lower)))&&(void 0===e.upper||(e.upperOpen?ue(t,e.upper)<0:ue(t,e.upper)<=0));var n,r}function Yn(t,e,n,r,i,o){if(!n||0===n.length)return t;var s=e.query.index,l=s.multiEntry,u=e.query.range,c=r.schema.primaryKey.extractKey,h=s.extractKey,d=(s.lowLevelIndex||s).extractKey;return n=n.reduce((function(t,n){var r=t,i=[];if("add"===n.type||"put"===n.type)for(var o=new wn,s=n.values.length-1;0<=s;--s){var d,f=n.values[s],p=c(f);o.hasKey(p)||(d=h(f),(l&&a(d)?d.some((function(t){return Xn(t,u)})):Xn(d,u))&&(o.addKey(p),i.push(f)))}switch(n.type){case"add":var m=(new wn).addKeys(e.values?t.map((function(t){return c(t)})):t);r=t.concat(e.values?i.filter((function(t){return t=c(t),!m.hasKey(t)&&(m.addKey(t),!0)})):i.map((function(t){return c(t)})).filter((function(t){return!m.hasKey(t)&&(m.addKey(t),!0)})));break;case"put":var g=(new wn).addKeys(n.values.map((function(t){return c(t)})));r=t.filter((function(t){return!g.hasKey(e.values?c(t):t)})).concat(e.values?i:i.map((function(t){return c(t)})));break;case"delete":var v=(new wn).addKeys(n.keys);r=t.filter((function(t){return!v.hasKey(e.values?c(t):t)}));break;case"deleteRange":var y=n.range;r=t.filter((function(t){return!Xn(c(t),y)}))}return r}),t),n===t?t:(n.sort((function(t,e){return ue(d(t),d(e))||ue(c(t),c(e))})),e.limit&&e.limit<1/0&&(n.length>e.limit?n.length=e.limit:t.length===e.limit&&n.length<e.limit&&(i.dirty=!0)),o?Object.freeze(n):n)}function Qn(t,e){return 0===ue(t.lower,e.lower)&&0===ue(t.upper,e.upper)&&!!t.lowerOpen==!!e.lowerOpen&&!!t.upperOpen==!!e.upperOpen}function Jn(t,e){return function(t,e,n,r){if(void 0===t)return void 0!==e?-1:0;if(void 0===e)return 1;if(0===(e=ue(t,e))){if(n&&r)return 0;if(n)return 1;if(r)return-1}return e}(t.lower,e.lower,t.lowerOpen,e.lowerOpen)<=0&&0<=function(t,e,n,r){if(void 0===t)return void 0!==e?1:0;if(void 0===e)return-1;if(0===(e=ue(t,e))){if(n&&r)return 0;if(n)return-1;if(r)return 1}return e}(t.upper,e.upper,t.upperOpen,e.upperOpen)}function Zn(t,e,n,r){t.subscribers.add(n),r.addEventListener("abort",(function(){var r,i;t.subscribers.delete(n),0===t.subscribers.size&&(r=t,i=e,setTimeout((function(){0===r.subscribers.size&&N(i,r)}),3e3))}))}var $n={stack:"dbcore",level:0,name:"Cache",create:function(t){var n=t.schema.name;return e(e({},t),{transaction:function(e,r,i){var o,a,s=t.transaction(e,r,i);return"readwrite"===r&&(a=(o=new AbortController).signal,i=function(i){return function(){if(o.abort(),"readwrite"===r){for(var a=new Set,l=0,u=e;l<u.length;l++){var c=u[l],h=Pn["idb://".concat(n,"/").concat(c)];if(h){var d=t.table(c),f=h.optimisticOps.filter((function(t){return t.trans===s}));if(s._explicit&&i&&s.mutatedParts)for(var p=0,m=Object.values(h.queries.query);p<m.length;p++)for(var g=0,v=(w=m[p]).slice();g<v.length;g++)Tn((x=v[g]).obsSet,s.mutatedParts)&&(N(w,x),x.subscribers.forEach((function(t){return a.add(t)})));else if(0<f.length){h.optimisticOps=h.optimisticOps.filter((function(t){return t.trans!==s}));for(var y=0,b=Object.values(h.queries.query);y<b.length;y++)for(var w,x,A,k=0,S=(w=b[y]).slice();k<S.length;k++)null!=(x=S[k]).res&&s.mutatedParts&&(i&&!x.dirty?(A=Object.isFrozen(x.res),A=Yn(x.res,x.req,f,d,x,A),x.dirty?(N(w,x),x.subscribers.forEach((function(t){return a.add(t)}))):A!==x.res&&(x.res=A,x.promise=At.resolve({result:A}))):(x.dirty&&N(w,x),x.subscribers.forEach((function(t){return a.add(t)}))))}}}a.forEach((function(t){return t()}))}}},s.addEventListener("abort",i(!1),{signal:a}),s.addEventListener("error",i(!1),{signal:a}),s.addEventListener("complete",i(!0),{signal:a})),s},table:function(r){var i=t.table(r),o=i.schema.primaryKey;return e(e({},i),{mutate:function(t){var a=yt.trans;if(o.outbound||"disabled"===a.db._options.cache||a.explicit||"readwrite"!==a.idbtrans.mode)return i.mutate(t);var s=Pn["idb://".concat(n,"/").concat(r)];return s?(a=i.mutate(t),"add"!==t.type&&"put"!==t.type||!(50<=t.values.length||jn(o,t).some((function(t){return null==t})))?(s.optimisticOps.push(t),t.mutatedParts&&On(t.mutatedParts),a.then((function(e){0<e.numFailures&&(N(s.optimisticOps,t),(e=Wn(0,t,e))&&s.optimisticOps.push(e),t.mutatedParts&&On(t.mutatedParts))})),a.catch((function(){N(s.optimisticOps,t),t.mutatedParts&&On(t.mutatedParts)}))):a.then((function(n){var r=Wn(0,e(e({},t),{values:t.values.map((function(t,r){var i;return n.failures[r]||A(t=null!==(i=o.keyPath)&&void 0!==i&&i.includes(".")?P(t):e({},t),o.keyPath,n.results[r]),t}))}),n);s.optimisticOps.push(r),queueMicrotask((function(){return t.mutatedParts&&On(t.mutatedParts)}))})),a):i.mutate(t)},query:function(t){if(!Un(yt,i)||!Gn("query",t))return i.query(t);var e="immutable"===(null===(s=yt.trans)||void 0===s?void 0:s.db._options.cache),o=(u=yt).requery,a=u.signal,s=function(t,e,n,r){var i=Pn["idb://".concat(t,"/").concat(e)];if(!i)return[];if(!(e=i.queries[n]))return[null,!1,i,null];var o=e[(r.query?r.query.index.name:null)||""];if(!o)return[null,!1,i,null];switch(n){case"query":var a=o.find((function(t){return t.req.limit===r.limit&&t.req.values===r.values&&Qn(t.req.query.range,r.query.range)}));return a?[a,!0,i,o]:[o.find((function(t){return("limit"in t.req?t.req.limit:1/0)>=r.limit&&(!r.values||t.req.values)&&Jn(t.req.query.range,r.query.range)})),!1,i,o];case"count":return a=o.find((function(t){return Qn(t.req.query.range,r.query.range)})),[a,!!a,i,o]}}(n,r,"query",t),l=s[0],u=s[1],c=s[2],h=s[3];return l&&u?l.obsSet=t.obsSet:(u=i.query(t).then((function(t){var n=t.result;if(l&&(l.res=n),e){for(var r=0,i=n.length;r<i;++r)Object.freeze(n[r]);Object.freeze(n)}else t.result=P(n);return t})).catch((function(t){return h&&l&&N(h,l),Promise.reject(t)})),l={obsSet:t.obsSet,promise:u,subscribers:new Set,type:"query",req:t,dirty:!1},h?h.push(l):(h=[l],(c=c||(Pn["idb://".concat(n,"/").concat(r)]={queries:{query:{},count:{}},objs:new Map,optimisticOps:[],unsignaledParts:{}})).queries.query[t.query.index.name||""]=h)),Zn(l,h,o,a),l.promise.then((function(n){return{result:Yn(n.result,t,null==c?void 0:c.optimisticOps,i,l,e)}}))}})}})}};function tr(t,e){return new Proxy(t,{get:function(t,n,r){return"db"===n?e:Reflect.get(t,n,r)}})}var er=(nr.prototype.version=function(t){if(isNaN(t)||t<.1)throw new K.Type("Given version is not a positive number");if(t=Math.round(10*t)/10,this.idbdb||this._state.isBeingOpened)throw new K.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,t);var e=this._versions,n=e.filter((function(e){return e._cfg.version===t}))[0];return n||(n=new this.Version(t),e.push(n),e.sort(rn),n.stores({}),this._state.autoSchema=!1,n)},nr.prototype._whenReady=function(t){var e=this;return this.idbdb&&(this._state.openComplete||yt.letThrough||this._vip)?t():new At((function(t,n){if(e._state.openComplete)return n(new K.DatabaseClosed(e._state.dbOpenError));if(!e._state.isBeingOpened){if(!e._state.autoOpen)return void n(new K.DatabaseClosed);e.open().catch(Y)}e._state.dbReadyPromise.then(t,n)})).then(t)},nr.prototype.use=function(t){var e=t.stack,n=t.create,r=t.level,i=t.name;return i&&this.unuse({stack:e,name:i}),(t=this._middlewares[e]||(this._middlewares[e]=[])).push({stack:e,create:n,level:null==r?10:r,name:i}),t.sort((function(t,e){return t.level-e.level})),this},nr.prototype.unuse=function(t){var e=t.stack,n=t.name,r=t.create;return e&&this._middlewares[e]&&(this._middlewares[e]=this._middlewares[e].filter((function(t){return r?t.create!==r:!!n&&t.name!==n}))),this},nr.prototype.open=function(){var t=this;return Xt(vt,(function(){return In(t)}))},nr.prototype._close=function(){var t=this._state,e=ee.indexOf(this);if(0<=e&&ee.splice(e,1),this.idbdb){try{this.idbdb.close()}catch(e){}this.idbdb=null}t.isBeingOpened||(t.dbReadyPromise=new At((function(e){t.dbReadyResolve=e})),t.openCanceller=new At((function(e,n){t.cancelOpen=n})))},nr.prototype.close=function(t){var e=(void 0===t?{disableAutoOpen:!0}:t).disableAutoOpen;t=this._state,e?(t.isBeingOpened&&t.cancelOpen(new K.DatabaseClosed),this._close(),t.autoOpen=!1,t.dbOpenError=new K.DatabaseClosed):(this._close(),t.autoOpen=this._options.autoOpen||t.isBeingOpened,t.openComplete=!1,t.dbOpenError=null)},nr.prototype.delete=function(t){var e=this;void 0===t&&(t={disableAutoOpen:!0});var n=0<arguments.length&&"object"!=typeof arguments[0],r=this._state;return new At((function(i,o){function a(){e.close(t);var n=e._deps.indexedDB.deleteDatabase(e.name);n.onsuccess=Nt((function(){var t,n,r;t=e._deps,n=e.name,r=t.indexedDB,t=t.IDBKeyRange,vn(r)||n===ne||gn(r,t).delete(n).catch(Y),i()})),n.onerror=Le(o),n.onblocked=e._fireOnBlocked}if(n)throw new K.InvalidArgument("Invalid closeOptions argument to db.delete()");r.isBeingOpened?r.dbReadyPromise.then(a):a()}))},nr.prototype.backendDB=function(){return this.idbdb},nr.prototype.isOpen=function(){return null!==this.idbdb},nr.prototype.hasBeenClosed=function(){var t=this._state.dbOpenError;return t&&"DatabaseClosed"===t.name},nr.prototype.hasFailed=function(){return null!==this._state.dbOpenError},nr.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(nr.prototype,"tables",{get:function(){var t=this;return o(this._allTables).map((function(e){return t._allTables[e]}))},enumerable:!1,configurable:!0}),nr.prototype.transaction=function(){var t=function(t,e,n){var r=arguments.length;if(r<2)throw new K.InvalidArgument("Too few arguments");for(var i=new Array(r-1);--r;)i[r-1]=arguments[r];return n=i.pop(),[t,E(i),n]}.apply(this,arguments);return this._transaction.apply(this,t)},nr.prototype._transaction=function(t,e,n){var r=this,i=yt.trans;i&&i.db===this&&-1===t.indexOf("!")||(i=null);var o,a,s=-1!==t.indexOf("?");t=t.replace("!","").replace("?","");try{if(a=e.map((function(t){if("string"!=typeof(t=t instanceof r.Table?t.name:t))throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return t})),"r"==t||t===re)o=re;else{if("rw"!=t&&t!=ie)throw new K.InvalidArgument("Invalid transaction mode: "+t);o=ie}if(i){if(i.mode===re&&o===ie){if(!s)throw new K.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");i=null}i&&a.forEach((function(t){if(i&&-1===i.storeNames.indexOf(t)){if(!s)throw new K.SubTransaction("Table "+t+" not included in parent transaction.");i=null}})),s&&i&&!i.active&&(i=null)}}catch(n){return i?i._promise(null,(function(t,e){e(n)})):Jt(n)}var l=function t(e,n,r,i,o){return At.resolve().then((function(){var a=yt.transless||yt,s=e._createTransaction(n,r,e._dbSchema,i);if(s.explicit=!0,a={trans:s,transless:a},i)s.idbtrans=i.idbtrans;else try{s.create(),s.idbtrans._explicit=!0,e._state.PR1398_maxLoop=3}catch(a){return a.name===U.InvalidState&&e.isOpen()&&0<--e._state.PR1398_maxLoop?(e.close({disableAutoOpen:!1}),e.open().then((function(){return t(e,n,r,null,o)}))):Jt(a)}var l,u=L(o);return u&&Vt(),a=At.follow((function(){var t;(l=o.call(s,s))&&(u?(t=Ht.bind(null,null),l.then(t,t)):"function"==typeof l.next&&"function"==typeof l.throw&&(l=Rn(l)))}),a),(l&&"function"==typeof l.then?At.resolve(l).then((function(t){return s.active?t:Jt(new K.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))})):a.then((function(){return l}))).then((function(t){return i&&s._resolve(),s._completion.then((function(){return t}))})).catch((function(t){return s._reject(t),Jt(t)}))}))}.bind(null,this,o,a,i,n);return i?i._promise(o,l,"lock"):yt.trans?Xt(yt.transless,(function(){return r._whenReady(l)})):this._whenReady(l)},nr.prototype.table=function(t){if(!c(this._allTables,t))throw new K.InvalidTable("Table ".concat(t," does not exist"));return this._allTables[t]},nr);function nr(t,n){var r=this;this._middlewares={},this.verno=0;var i=nr.dependencies;this._options=n=e({addons:nr.addons,autoOpen:!0,indexedDB:i.indexedDB,IDBKeyRange:i.IDBKeyRange,cache:"cloned"},n),this._deps={indexedDB:n.indexedDB,IDBKeyRange:n.IDBKeyRange},i=n.addons,this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;var o,a,s,l,u,c={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:Y,dbReadyPromise:null,cancelOpen:Y,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3,autoOpen:n.autoOpen};c.dbReadyPromise=new At((function(t){c.dbReadyResolve=t})),c.openCanceller=new At((function(t,e){c.cancelOpen=e})),this._state=c,this.name=t,this.on=pe(this,"populate","blocked","versionchange","close",{ready:[rt,Y]}),this.on.ready.subscribe=y(this.on.ready.subscribe,(function(t){return function(e,n){nr.vip((function(){var i,o=r._state;o.openComplete?(o.dbOpenError||At.resolve().then(e),n&&t(e)):o.onReadyBeingFired?(o.onReadyBeingFired.push(e),n&&t(e)):(t(e),i=r,n||t((function t(){i.on.ready.unsubscribe(e),i.on.ready.unsubscribe(t)})))}))}})),this.Collection=(o=this,me(Ee.prototype,(function(t,e){this.db=o;var n=ae,r=null;if(e)try{n=e()}catch(t){r=t}var i=t._ctx;t=(e=i.table).hook.reading.fire,this._ctx={table:e,index:i.index,isPrimKey:!i.index||e.schema.primKey.keyPath&&i.index===e.schema.primKey.name,range:n,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:r,or:i.or,valueMapper:t!==Q?t:null}}))),this.Table=(a=this,me(de.prototype,(function(t,e,n){this.db=a,this._tx=n,this.name=t,this.schema=e,this.hook=a._allTables[t]?a._allTables[t].hook:pe(null,{creating:[$,Y],reading:[J,Q],updating:[et,Y],deleting:[tt,Y]})}))),this.Transaction=(s=this,me(Ve.prototype,(function(t,e,n,r,i){var o=this;this.db=s,this.mode=t,this.storeNames=e,this.schema=n,this.chromeTransactionDurability=r,this.idbtrans=null,this.on=pe(this,"complete","error","abort"),this.parent=i||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new At((function(t,e){o._resolve=t,o._reject=e})),this._completion.then((function(){o.active=!1,o.on.complete.fire()}),(function(t){var e=o.active;return o.active=!1,o.on.error.fire(t),o.parent?o.parent._reject(t):e&&o.idbtrans&&o.idbtrans.abort(),Jt(t)}))}))),this.Version=(l=this,me(pn.prototype,(function(t){this.db=l,this._cfg={version:t,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}}))),this.WhereClause=(u=this,me(Ie.prototype,(function(t,e,n){if(this.db=u,this._ctx={table:t,index:":id"===e?null:e,or:n},this._cmp=this._ascending=ue,this._descending=function(t,e){return ue(e,t)},this._max=function(t,e){return 0<ue(t,e)?t:e},this._min=function(t,e){return ue(t,e)<0?t:e},this._IDBKeyRange=u._deps.IDBKeyRange,!this._IDBKeyRange)throw new K.MissingAPI}))),this.on("versionchange",(function(t){t.newVersion,r.close({disableAutoOpen:!1})})),this.on("blocked",(function(t){!t.newVersion||(t.newVersion,t.oldVersion)})),this._maxKey=We(n.IDBKeyRange),this._createTransaction=function(t,e,n,i){return new r.Transaction(t,e,n,r._options.chromeTransactionDurability,i)},this._fireOnBlocked=function(t){r.on("blocked").fire(t),ee.filter((function(t){return t.name===r.name&&t!==r&&!t._state.vcFired})).map((function(e){return e.on("versionchange").fire(t)}))},this.use(Hn),this.use($n),this.use(Kn),this.use(Fn),this.use(zn);var h=new Proxy(this,{get:function(t,e,n){if("_vip"===e)return!0;if("table"===e)return function(t){return tr(r.table(t),h)};var i=Reflect.get(t,e,n);return i instanceof de?tr(i,h):"tables"===e?i.map((function(t){return tr(t,h)})):"_createTransaction"===e?function(){return tr(i.apply(this,arguments),h)}:i}});this.vip=h,i.forEach((function(t){return t(r)}))}F="undefined"!=typeof Symbol&&"observable"in Symbol?Symbol.observable:"@@observable";var rr,ir=(or.prototype.subscribe=function(t,e,n){return this._subscribe(t&&"function"!=typeof t?t:{next:t,error:e,complete:n})},or.prototype[F]=function(){return this},or);function or(t){this._subscribe=t}try{rr={indexedDB:i.indexedDB||i.mozIndexedDB||i.webkitIndexedDB||i.msIndexedDB,IDBKeyRange:i.IDBKeyRange||i.webkitIDBKeyRange}}catch(C){rr={indexedDB:null,IDBKeyRange:null}}function ar(t){var e,n=!1,r=new ir((function(r){var i,o=L(t),a=!1,s={},l={},u={get closed(){return a},unsubscribe:function(){a||(a=!0,i&&i.abort(),h&&ze.storagemutated.unsubscribe(f))}};r.start&&r.start(u);var h=!1,d=function(){return Qt(p)},f=function(t){qn(s,t),Tn(l,s)&&d()},p=function(){var u,p,m;!a&&rr.indexedDB&&(s={},u={},i&&i.abort(),i=new AbortController,m=function(e){var n=Dt();try{o&&Vt();var r=zt(t,e);return r=o?r.finally(Ht):r}finally{n&&_t()}}(p={subscr:u,signal:i.signal,requery:d,querier:t,trans:null}),Promise.resolve(m).then((function(t){n=!0,e=t,a||p.signal.aborted||(s={},function(t){for(var e in t)if(c(t,e))return;return 1}(l=u)||h||(ze(Be,f),h=!0),Qt((function(){return!a&&r.next&&r.next(t)})))}),(function(t){n=!1,["DatabaseClosedError","AbortError"].includes(null==t?void 0:t.name)||a||Qt((function(){a||r.error&&r.error(t)}))})))};return setTimeout(d,0),u}));return r.hasValue=function(){return n},r.getValue=function(){return e},r}var sr=er;function lr(t){var e=cr;try{cr=!0,ze.storagemutated.fire(t),Mn(t,!0)}finally{cr=e}}h(sr,e(e({},X),{delete:function(t){return new sr(t,{addons:[]}).delete()},exists:function(t){return new sr(t,{addons:[]}).open().then((function(t){return t.close(),!0})).catch("NoSuchDatabaseError",(function(){return!1}))},getDatabaseNames:function(t){try{return n=(e=sr.dependencies).indexedDB,e=e.IDBKeyRange,(vn(n)?Promise.resolve(n.databases()).then((function(t){return t.map((function(t){return t.name})).filter((function(t){return t!==ne}))})):gn(n,e).toCollection().primaryKeys()).then(t)}catch(t){return Jt(new K.MissingAPI)}var e,n},defineClass:function(){return function(t){s(this,t)}},ignoreTransaction:function(t){return yt.trans?Xt(yt.transless,t):t()},vip:yn,async:function(t){return function(){try{var e=Rn(t.apply(this,arguments));return e&&"function"==typeof e.then?e:At.resolve(e)}catch(e){return Jt(e)}}},spawn:function(t,e,n){try{var r=Rn(t.apply(n,e||[]));return r&&"function"==typeof r.then?r:At.resolve(r)}catch(t){return Jt(t)}},currentTransaction:{get:function(){return yt.trans||null}},waitFor:function(t,e){return e=At.resolve("function"==typeof t?sr.ignoreTransaction(t):t).timeout(e||6e4),yt.trans?yt.trans.waitFor(e):e},Promise:At,debug:{get:function(){return it},set:function(t){ot(t)}},derive:p,extend:s,props:h,override:y,Events:pe,on:ze,liveQuery:ar,extendObservabilitySet:qn,getByKeyPath:x,setByKeyPath:A,delByKeyPath:function(t,e){"string"==typeof e?A(t,e,void 0):"length"in e&&[].map.call(e,(function(e){A(t,e,void 0)}))},shallowClone:k,deepClone:P,getObjectDiff:Bn,cmp:ue,asap:w,minKey:-1/0,addons:[],connections:ee,errnames:U,dependencies:rr,cache:Pn,semVer:"4.0.11",version:"4.0.11".split(".").map((function(t){return parseInt(t)})).reduce((function(t,e,n){return t+e/Math.pow(10,2*n)}))})),sr.maxKey=We(sr.dependencies.IDBKeyRange),"undefined"!=typeof dispatchEvent&&"undefined"!=typeof addEventListener&&(ze(Be,(function(t){cr||(t=new CustomEvent(je,{detail:t}),cr=!0,dispatchEvent(t),cr=!1)})),addEventListener(je,(function(t){t=t.detail,cr||lr(t)})));var ur,cr=!1,hr=function(){};return"undefined"!=typeof BroadcastChannel&&((hr=function(){(ur=new BroadcastChannel(je)).onmessage=function(t){return t.data&&lr(t.data)}})(),"function"==typeof ur.unref&&ur.unref(),ze(Be,(function(t){cr||ur.postMessage(t)}))),"undefined"!=typeof addEventListener&&(addEventListener("pagehide",(function(t){if(!er.disableBfCache&&t.persisted){null!=ur&&ur.close();for(var e=0,n=ee;e<n.length;e++)n[e].close({disableAutoOpen:!1})}})),addEventListener("pageshow",(function(t){!er.disableBfCache&&t.persisted&&(hr(),lr({all:new wn(-1/0,[[]])}))}))),At.rejectionMapper=function(t,e){return!t||t instanceof j||t instanceof TypeError||t instanceof SyntaxError||!t.name||!W[t.name]?t:(e=new W[t.name](e||t.message,t),"stack"in t&&f(e,"stack",{get:function(){return this.inner.stack}}),e)},ot(it),e(er,Object.freeze({__proto__:null,Dexie:er,liveQuery:ar,Entity:le,cmp:ue,PropModification:ke,replacePrefix:function(t,e){return new ke({replacePrefix:[t,e]})},add:function(t){return new ke({add:t})},remove:function(t){return new ke({remove:t})},default:er,RangeSet:wn,mergeRanges:An,rangesOverlap:kn}),{default:er}),er}()},5291:function(t){"use strict";var e=Object.prototype.hasOwnProperty,n="~";function r(){}function i(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function o(t,e,r,o,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new i(r,o||t,a),l=n?n+e:e;return t._events[l]?t._events[l].fn?t._events[l]=[t._events[l],s]:t._events[l].push(s):(t._events[l]=s,t._eventsCount++),t}function a(t,e){0==--t._eventsCount?t._events=new r:delete t._events[e]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var t,r,i=[];if(0===this._eventsCount)return i;for(r in t=this._events)e.call(t,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},s.prototype.listeners=function(t){var e=n?n+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);i<o;i++)a[i]=r[i].fn;return a},s.prototype.listenerCount=function(t){var e=n?n+t:t,r=this._events[e];return r?r.fn?1:r.length:0},s.prototype.emit=function(t,e,r,i,o,a){var s=n?n+t:t;if(!this._events[s])return!1;var l,u,c=this._events[s],h=arguments.length;if(c.fn){switch(c.once&&this.removeListener(t,c.fn,void 0,!0),h){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,e),!0;case 3:return c.fn.call(c.context,e,r),!0;case 4:return c.fn.call(c.context,e,r,i),!0;case 5:return c.fn.call(c.context,e,r,i,o),!0;case 6:return c.fn.call(c.context,e,r,i,o,a),!0}for(u=1,l=new Array(h-1);u<h;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var d,f=c.length;for(u=0;u<f;u++)switch(c[u].once&&this.removeListener(t,c[u].fn,void 0,!0),h){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,e);break;case 3:c[u].fn.call(c[u].context,e,r);break;case 4:c[u].fn.call(c[u].context,e,r,i);break;default:if(!l)for(d=1,l=new Array(h-1);d<h;d++)l[d-1]=arguments[d];c[u].fn.apply(c[u].context,l)}}return!0},s.prototype.on=function(t,e,n){return o(this,t,e,n,!1)},s.prototype.once=function(t,e,n){return o(this,t,e,n,!0)},s.prototype.removeListener=function(t,e,r,i){var o=n?n+t:t;if(!this._events[o])return this;if(!e)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==e||i&&!s.once||r&&s.context!==r||a(this,o);else{for(var l=0,u=[],c=s.length;l<c;l++)(s[l].fn!==e||i&&!s[l].once||r&&s[l].context!==r)&&u.push(s[l]);u.length?this._events[o]=1===u.length?u[0]:u:a(this,o)}return this},s.prototype.removeAllListeners=function(t){var e;return t?(e=n?n+t:t,this._events[e]&&a(this,e)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,t.exports=s},6199:function(t){var e=-1;function n(t,f,p,m,g){if(t===f)return t?[[0,t]]:[];if(null!=p){var y=function(t,e,n){var r="number"==typeof n?{index:n,length:0}:n.oldRange,i="number"==typeof n?null:n.newRange,o=t.length,a=e.length;if(0===r.length&&(null===i||0===i.length)){var s=r.index,l=t.slice(0,s),u=t.slice(s),c=i?i.index:null,h=s+a-o;if((null===c||c===h)&&!(h<0||h>a)){var d=e.slice(0,h);if((m=e.slice(h))===u){var f=Math.min(s,h);if((y=l.slice(0,f))===(w=d.slice(0,f)))return v(y,l.slice(f),d.slice(f),u)}}if(null===c||c===s){var p=s,m=(d=e.slice(0,p),e.slice(p));if(d===l){var g=Math.min(o-p,a-p);if((b=u.slice(u.length-g))===(x=m.slice(m.length-g)))return v(l,u.slice(0,u.length-g),m.slice(0,m.length-g),b)}}}if(r.length>0&&i&&0===i.length){var y=t.slice(0,r.index),b=t.slice(r.index+r.length);if(!(a<(f=y.length)+(g=b.length))){var w=e.slice(0,f),x=e.slice(a-g);if(y===w&&b===x)return v(y,t.slice(f,o-g),e.slice(f,a-g),b)}}return null}(t,f,p);if(y)return y}var b=i(t,f),w=t.substring(0,b);b=a(t=t.substring(b),f=f.substring(b));var x=t.substring(t.length-b),A=function(t,o){var s;if(!t)return[[1,o]];if(!o)return[[e,t]];var l=t.length>o.length?t:o,u=t.length>o.length?o:t,c=l.indexOf(u);if(-1!==c)return s=[[1,l.substring(0,c)],[0,u],[1,l.substring(c+u.length)]],t.length>o.length&&(s[0][0]=s[2][0]=e),s;if(1===u.length)return[[e,t],[1,o]];var h=function(t,e){var n=t.length>e.length?t:e,r=t.length>e.length?e:t;if(n.length<4||2*r.length<n.length)return null;function o(t,e,n){for(var r,o,s,l,u=t.substring(n,n+Math.floor(t.length/4)),c=-1,h="";-1!==(c=e.indexOf(u,c+1));){var d=i(t.substring(n),e.substring(c)),f=a(t.substring(0,n),e.substring(0,c));h.length<f+d&&(h=e.substring(c-f,c)+e.substring(c,c+d),r=t.substring(0,n-f),o=t.substring(n+d),s=e.substring(0,c-f),l=e.substring(c+d))}return 2*h.length>=t.length?[r,o,s,l,h]:null}var s,l,u,c,h,d=o(n,r,Math.ceil(n.length/4)),f=o(n,r,Math.ceil(n.length/2));if(!d&&!f)return null;s=f?d&&d[4].length>f[4].length?d:f:d;t.length>e.length?(l=s[0],u=s[1],c=s[2],h=s[3]):(c=s[0],h=s[1],l=s[2],u=s[3]);var p=s[4];return[l,u,c,h,p]}(t,o);if(h){var d=h[0],f=h[1],p=h[2],m=h[3],g=h[4],v=n(d,p),y=n(f,m);return v.concat([[0,g]],y)}return function(t,n){for(var i=t.length,o=n.length,a=Math.ceil((i+o)/2),s=a,l=2*a,u=new Array(l),c=new Array(l),h=0;h<l;h++)u[h]=-1,c[h]=-1;u[s+1]=0,c[s+1]=0;for(var d=i-o,f=d%2!=0,p=0,m=0,g=0,v=0,y=0;y<a;y++){for(var b=-y+p;b<=y-m;b+=2){for(var w=s+b,x=(C=b===-y||b!==y&&u[w-1]<u[w+1]?u[w+1]:u[w-1]+1)-b;C<i&&x<o&&t.charAt(C)===n.charAt(x);)C++,x++;if(u[w]=C,C>i)m+=2;else if(x>o)p+=2;else if(f){if((S=s+d-b)>=0&&S<l&&-1!==c[S])if(C>=(k=i-c[S]))return r(t,n,C,x)}}for(var A=-y+g;A<=y-v;A+=2){for(var k,S=s+A,E=(k=A===-y||A!==y&&c[S-1]<c[S+1]?c[S+1]:c[S-1]+1)-A;k<i&&E<o&&t.charAt(i-k-1)===n.charAt(o-E-1);)k++,E++;if(c[S]=k,k>i)v+=2;else if(E>o)g+=2;else if(!f){if((w=s+d-A)>=0&&w<l&&-1!==u[w]){var C;x=s+(C=u[w])-w;if(C>=(k=i-k))return r(t,n,C,x)}}}}return[[e,t],[1,n]]}(t,o)}(t=t.substring(0,t.length-b),f=f.substring(0,f.length-b));return w&&A.unshift([0,w]),x&&A.push([0,x]),d(A,g),m&&function(t){var n=!1,r=[],i=0,f=null,p=0,m=0,g=0,v=0,y=0;for(;p<t.length;)0==t[p][0]?(r[i++]=p,m=v,g=y,v=0,y=0,f=t[p][1]):(1==t[p][0]?v+=t[p][1].length:y+=t[p][1].length,f&&f.length<=Math.max(m,g)&&f.length<=Math.max(v,y)&&(t.splice(r[i-1],0,[e,f]),t[r[i-1]+1][0]=1,i--,p=--i>0?r[i-1]:-1,m=0,g=0,v=0,y=0,f=null,n=!0)),p++;n&&d(t);(function(t){function e(t,e){if(!t||!e)return 6;var n=t.charAt(t.length-1),r=e.charAt(0),i=n.match(s),o=r.match(s),a=i&&n.match(l),d=o&&r.match(l),f=a&&n.match(u),p=d&&r.match(u),m=f&&t.match(c),g=p&&e.match(h);return m||g?5:f||p?4:i&&!a&&d?3:a||d?2:i||o?1:0}var n=1;for(;n<t.length-1;){if(0==t[n-1][0]&&0==t[n+1][0]){var r=t[n-1][1],i=t[n][1],o=t[n+1][1],d=a(r,i);if(d){var f=i.substring(i.length-d);r=r.substring(0,r.length-d),i=f+i.substring(0,i.length-d),o=f+o}for(var p=r,m=i,g=o,v=e(r,i)+e(i,o);i.charAt(0)===o.charAt(0);){r+=i.charAt(0),i=i.substring(1)+o.charAt(0),o=o.substring(1);var y=e(r,i)+e(i,o);y>=v&&(v=y,p=r,m=i,g=o)}t[n-1][1]!=p&&(p?t[n-1][1]=p:(t.splice(n-1,1),n--),t[n][1]=m,g?t[n+1][1]=g:(t.splice(n+1,1),n--))}n++}})(t),p=1;for(;p<t.length;){if(t[p-1][0]==e&&1==t[p][0]){var b=t[p-1][1],w=t[p][1],x=o(b,w),A=o(w,b);x>=A?(x>=b.length/2||x>=w.length/2)&&(t.splice(p,0,[0,w.substring(0,x)]),t[p-1][1]=b.substring(0,b.length-x),t[p+1][1]=w.substring(x),p++):(A>=b.length/2||A>=w.length/2)&&(t.splice(p,0,[0,b.substring(0,A)]),t[p-1][0]=1,t[p-1][1]=w.substring(0,w.length-A),t[p+1][0]=e,t[p+1][1]=b.substring(A),p++),p++}p++}}(A),A}function r(t,e,r,i){var o=t.substring(0,r),a=e.substring(0,i),s=t.substring(r),l=e.substring(i),u=n(o,a),c=n(s,l);return u.concat(c)}function i(t,e){if(!t||!e||t.charAt(0)!==e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,o=0;n<i;)t.substring(o,i)==e.substring(o,i)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return f(t.charCodeAt(i-1))&&i--,i}function o(t,e){var n=t.length,r=e.length;if(0==n||0==r)return 0;n>r?t=t.substring(n-r):n<r&&(e=e.substring(0,n));var i=Math.min(n,r);if(t==e)return i;for(var o=0,a=1;;){var s=t.substring(i-a),l=e.indexOf(s);if(-1==l)return o;a+=l,0!=l&&t.substring(i-a)!=e.substring(0,a)||(o=a,a++)}}function a(t,e){if(!t||!e||t.slice(-1)!==e.slice(-1))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,o=0;n<i;)t.substring(t.length-i,t.length-o)==e.substring(e.length-i,e.length-o)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return p(t.charCodeAt(t.length-i))&&i--,i}var s=/[^a-zA-Z0-9]/,l=/\s/,u=/[\r\n]/,c=/\n\r?\n$/,h=/^\r?\n\r?\n/;function d(t,n){t.push([0,""]);for(var r,o=0,s=0,l=0,u="",c="";o<t.length;)if(o<t.length-1&&!t[o][1])t.splice(o,1);else switch(t[o][0]){case 1:l++,c+=t[o][1],o++;break;case e:s++,u+=t[o][1],o++;break;case 0:var h=o-l-s-1;if(n){if(h>=0&&g(t[h][1])){var f=t[h][1].slice(-1);if(t[h][1]=t[h][1].slice(0,-1),u=f+u,c=f+c,!t[h][1]){t.splice(h,1),o--;var p=h-1;t[p]&&1===t[p][0]&&(l++,c=t[p][1]+c,p--),t[p]&&t[p][0]===e&&(s++,u=t[p][1]+u,p--),h=p}}if(m(t[o][1])){f=t[o][1].charAt(0);t[o][1]=t[o][1].slice(1),u+=f,c+=f}}if(o<t.length-1&&!t[o][1]){t.splice(o,1);break}if(u.length>0||c.length>0){u.length>0&&c.length>0&&(0!==(r=i(c,u))&&(h>=0?t[h][1]+=c.substring(0,r):(t.splice(0,0,[0,c.substring(0,r)]),o++),c=c.substring(r),u=u.substring(r)),0!==(r=a(c,u))&&(t[o][1]=c.substring(c.length-r)+t[o][1],c=c.substring(0,c.length-r),u=u.substring(0,u.length-r)));var v=l+s;0===u.length&&0===c.length?(t.splice(o-v,v),o-=v):0===u.length?(t.splice(o-v,v,[1,c]),o=o-v+1):0===c.length?(t.splice(o-v,v,[e,u]),o=o-v+1):(t.splice(o-v,v,[e,u],[1,c]),o=o-v+2)}0!==o&&0===t[o-1][0]?(t[o-1][1]+=t[o][1],t.splice(o,1)):o++,l=0,s=0,u="",c=""}""===t[t.length-1][1]&&t.pop();var y=!1;for(o=1;o<t.length-1;)0===t[o-1][0]&&0===t[o+1][0]&&(t[o][1].substring(t[o][1].length-t[o-1][1].length)===t[o-1][1]?(t[o][1]=t[o-1][1]+t[o][1].substring(0,t[o][1].length-t[o-1][1].length),t[o+1][1]=t[o-1][1]+t[o+1][1],t.splice(o-1,1),y=!0):t[o][1].substring(0,t[o+1][1].length)==t[o+1][1]&&(t[o-1][1]+=t[o+1][1],t[o][1]=t[o][1].substring(t[o+1][1].length)+t[o+1][1],t.splice(o+1,1),y=!0)),o++;y&&d(t,n)}function f(t){return t>=55296&&t<=56319}function p(t){return t>=56320&&t<=57343}function m(t){return p(t.charCodeAt(0))}function g(t){return f(t.charCodeAt(t.length-1))}function v(t,n,r,i){return g(t)||m(i)?null:function(t){for(var e=[],n=0;n<t.length;n++)t[n][1].length>0&&e.push(t[n]);return e}([[0,t],[e,n],[1,r],[0,i]])}function y(t,e,r,i){return n(t,e,r,i,!0)}y.INSERT=1,y.DELETE=e,y.EQUAL=0,t.exports=y},4827:function(t,e){"use strict";const n=t=>{const e=t.method;return e&&{GET:" -X GET",POST:" -X POST",PUT:" -X PUT",PATCH:" -X PATCH",DELETE:" -X DELETE",HEAD:" -X HEAD",OPTIONS:" -X OPTIONS"}[e.toUpperCase()]||""},r=t=>"function"==typeof Headers&&t instanceof Headers,i=(t,e)=>` -H "${t}: ${`${e}`.replace(/(\\|")/g,"\\$1")}"`,o=(t={})=>{const{headers:e}=t;let n=!1,o="";return r(e)?e.forEach(((t,e)=>{"content-length"!==e.toLocaleLowerCase()&&(o+=i(e,t)),"accept-encoding"===e.toLocaleLowerCase()&&(n=!0)})):e&&Object.keys(e).map((t=>{"content-length"!==t.toLocaleLowerCase()&&(o+=i(t,e[t])),"accept-encoding"===t.toLocaleLowerCase()&&(n=!0)})),{params:o,isEncode:n}};function a(t){return"string"==typeof t?t.replace(/'/g,"'\\''"):t}function s(t){return t?"object"==typeof t?` --data-binary '${a(JSON.stringify(t))}'`:` --data-binary '${a(t)}'`:""}function l(t){return t?" --compressed":""}const u=(t,e)=>{let r,i;"string"==typeof t||t instanceof URL?(r=t,i=e||{}):(r=(t||{}).url,i=t||{});const{body:a}=i,u=o(i);return`curl '${r}'${n(i)}${u.params||""}${s(a)}${l(u.isEncode)}`};e.Ay=u},7760:function(t,e,n){t=n.nmd(t);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Boolean]",s="[object Date]",l="[object Function]",u="[object GeneratorFunction]",c="[object Map]",h="[object Number]",d="[object Object]",f="[object Promise]",p="[object RegExp]",m="[object Set]",g="[object String]",v="[object Symbol]",y="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",x="[object Float32Array]",A="[object Float64Array]",k="[object Int8Array]",S="[object Int16Array]",E="[object Int32Array]",C="[object Uint8Array]",q="[object Uint8ClampedArray]",T="[object Uint16Array]",P="[object Uint32Array]",D=/\w*$/,_=/^\[object .+?Constructor\]$/,O=/^(?:0|[1-9]\d*)$/,M={};M[o]=M["[object Array]"]=M[b]=M[w]=M[a]=M[s]=M[x]=M[A]=M[k]=M[S]=M[E]=M[c]=M[h]=M[d]=M[p]=M[m]=M[g]=M[v]=M[C]=M[q]=M[T]=M[P]=!0,M["[object Error]"]=M[l]=M[y]=!1;var N="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,I="object"==typeof self&&self&&self.Object===Object&&self,R=N||I||Function("return this")(),L=e&&!e.nodeType&&e,F=L&&t&&!t.nodeType&&t,B=F&&F.exports===L;function j(t,e){return t.set(e[0],e[1]),t}function z(t,e){return t.add(e),t}function V(t,e,n,r){var i=-1,o=t?t.length:0;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function H(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function U(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function G(t,e){return function(n){return t(e(n))}}function K(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var W,X=Array.prototype,Y=Function.prototype,Q=Object.prototype,J=R["__core-js_shared__"],Z=(W=/[^.]+$/.exec(J&&J.keys&&J.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"",$=Y.toString,tt=Q.hasOwnProperty,et=Q.toString,nt=RegExp("^"+$.call(tt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=B?R.Buffer:void 0,it=R.Symbol,ot=R.Uint8Array,at=G(Object.getPrototypeOf,Object),st=Object.create,lt=Q.propertyIsEnumerable,ut=X.splice,ct=Object.getOwnPropertySymbols,ht=rt?rt.isBuffer:void 0,dt=G(Object.keys,Object),ft=Ft(R,"DataView"),pt=Ft(R,"Map"),mt=Ft(R,"Promise"),gt=Ft(R,"Set"),vt=Ft(R,"WeakMap"),yt=Ft(Object,"create"),bt=Ht(ft),wt=Ht(pt),xt=Ht(mt),At=Ht(gt),kt=Ht(vt),St=it?it.prototype:void 0,Et=St?St.valueOf:void 0;function Ct(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function qt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Tt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Pt(t){this.__data__=new qt(t)}function Dt(t,e){var n=Gt(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Kt(t)}(t)&&tt.call(t,"callee")&&(!lt.call(t,"callee")||et.call(t)==o)}(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],r=n.length,i=!!r;for(var a in t)!e&&!tt.call(t,a)||i&&("length"==a||zt(a,r))||n.push(a);return n}function _t(t,e,n){var r=t[e];tt.call(t,e)&&Ut(r,n)&&(void 0!==n||e in t)||(t[e]=n)}function Ot(t,e){for(var n=t.length;n--;)if(Ut(t[n][0],e))return n;return-1}function Mt(t,e,n,r,i,f,y){var _;if(r&&(_=f?r(t,i,f,y):r(t)),void 0!==_)return _;if(!Yt(t))return t;var O=Gt(t);if(O){if(_=function(t){var e=t.length,n=t.constructor(e);e&&"string"==typeof t[0]&&tt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!e)return function(t,e){var n=-1,r=t.length;e||(e=Array(r));for(;++n<r;)e[n]=t[n];return e}(t,_)}else{var N=jt(t),I=N==l||N==u;if(Wt(t))return function(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}(t,e);if(N==d||N==o||I&&!f){if(H(t))return f?t:{};if(_=function(t){return"function"!=typeof t.constructor||Vt(t)?{}:(e=at(t),Yt(e)?st(e):{});var e}(I?{}:t),!e)return function(t,e){return Rt(t,Bt(t),e)}(t,function(t,e){return t&&Rt(e,Qt(e),t)}(_,t))}else{if(!M[N])return f?t:{};_=function(t,e,n,r){var i=t.constructor;switch(e){case b:return It(t);case a:case s:return new i(+t);case w:return function(t,e){var n=e?It(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,r);case x:case A:case k:case S:case E:case C:case q:case T:case P:return function(t,e){var n=e?It(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(t,r);case c:return function(t,e,n){var r=e?n(U(t),!0):U(t);return V(r,j,new t.constructor)}(t,r,n);case h:case g:return new i(t);case p:return function(t){var e=new t.constructor(t.source,D.exec(t));return e.lastIndex=t.lastIndex,e}(t);case m:return function(t,e,n){var r=e?n(K(t),!0):K(t);return V(r,z,new t.constructor)}(t,r,n);case v:return o=t,Et?Object(Et.call(o)):{}}var o}(t,N,Mt,e)}}y||(y=new Pt);var R=y.get(t);if(R)return R;if(y.set(t,_),!O)var L=n?function(t){return function(t,e,n){var r=e(t);return Gt(t)?r:function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}(r,n(t))}(t,Qt,Bt)}(t):Qt(t);return function(t,e){for(var n=-1,r=t?t.length:0;++n<r&&!1!==e(t[n],n,t););}(L||t,(function(i,o){L&&(i=t[o=i]),_t(_,o,Mt(i,e,n,r,o,t,y))})),_}function Nt(t){return!(!Yt(t)||(e=t,Z&&Z in e))&&(Xt(t)||H(t)?nt:_).test(Ht(t));var e}function It(t){var e=new t.constructor(t.byteLength);return new ot(e).set(new ot(t)),e}function Rt(t,e,n,r){n||(n={});for(var i=-1,o=e.length;++i<o;){var a=e[i],s=r?r(n[a],t[a],a,n,t):void 0;_t(n,a,void 0===s?t[a]:s)}return n}function Lt(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Ft(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Nt(n)?n:void 0}Ct.prototype.clear=function(){this.__data__=yt?yt(null):{}},Ct.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},Ct.prototype.get=function(t){var e=this.__data__;if(yt){var n=e[t];return n===r?void 0:n}return tt.call(e,t)?e[t]:void 0},Ct.prototype.has=function(t){var e=this.__data__;return yt?void 0!==e[t]:tt.call(e,t)},Ct.prototype.set=function(t,e){return this.__data__[t]=yt&&void 0===e?r:e,this},qt.prototype.clear=function(){this.__data__=[]},qt.prototype.delete=function(t){var e=this.__data__,n=Ot(e,t);return!(n<0)&&(n==e.length-1?e.pop():ut.call(e,n,1),!0)},qt.prototype.get=function(t){var e=this.__data__,n=Ot(e,t);return n<0?void 0:e[n][1]},qt.prototype.has=function(t){return Ot(this.__data__,t)>-1},qt.prototype.set=function(t,e){var n=this.__data__,r=Ot(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},Tt.prototype.clear=function(){this.__data__={hash:new Ct,map:new(pt||qt),string:new Ct}},Tt.prototype.delete=function(t){return Lt(this,t).delete(t)},Tt.prototype.get=function(t){return Lt(this,t).get(t)},Tt.prototype.has=function(t){return Lt(this,t).has(t)},Tt.prototype.set=function(t,e){return Lt(this,t).set(t,e),this},Pt.prototype.clear=function(){this.__data__=new qt},Pt.prototype.delete=function(t){return this.__data__.delete(t)},Pt.prototype.get=function(t){return this.__data__.get(t)},Pt.prototype.has=function(t){return this.__data__.has(t)},Pt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof qt){var r=n.__data__;if(!pt||r.length<199)return r.push([t,e]),this;n=this.__data__=new Tt(r)}return n.set(t,e),this};var Bt=ct?G(ct,Object):function(){return[]},jt=function(t){return et.call(t)};function zt(t,e){return!!(e=null==e?i:e)&&("number"==typeof t||O.test(t))&&t>-1&&t%1==0&&t<e}function Vt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Q)}function Ht(t){if(null!=t){try{return $.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Ut(t,e){return t===e||t!=t&&e!=e}(ft&&jt(new ft(new ArrayBuffer(1)))!=w||pt&&jt(new pt)!=c||mt&&jt(mt.resolve())!=f||gt&&jt(new gt)!=m||vt&&jt(new vt)!=y)&&(jt=function(t){var e=et.call(t),n=e==d?t.constructor:void 0,r=n?Ht(n):void 0;if(r)switch(r){case bt:return w;case wt:return c;case xt:return f;case At:return m;case kt:return y}return e});var Gt=Array.isArray;function Kt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=i}(t.length)&&!Xt(t)}var Wt=ht||function(){return!1};function Xt(t){var e=Yt(t)?et.call(t):"";return e==l||e==u}function Yt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Qt(t){return Kt(t)?Dt(t):function(t){if(!Vt(t))return dt(t);var e=[];for(var n in Object(t))tt.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}t.exports=function(t){return Mt(t,!0,!0)}},3691:function(t,e,n){t=n.nmd(t);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",h="[object Map]",d="[object Number]",f="[object Object]",p="[object Promise]",m="[object RegExp]",g="[object Set]",v="[object String]",y="[object Symbol]",b="[object WeakMap]",w="[object ArrayBuffer]",x="[object DataView]",A=/^\[object .+?Constructor\]$/,k=/^(?:0|[1-9]\d*)$/,S={};S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S[o]=S[a]=S[w]=S[s]=S[x]=S[l]=S[u]=S[c]=S[h]=S[d]=S[f]=S[m]=S[g]=S[v]=S[b]=!1;var E="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,C="object"==typeof self&&self&&self.Object===Object&&self,q=E||C||Function("return this")(),T=e&&!e.nodeType&&e,P=T&&t&&!t.nodeType&&t,D=P&&P.exports===T,_=D&&E.process,O=function(){try{return _&&_.binding&&_.binding("util")}catch(t){}}(),M=O&&O.isTypedArray;function N(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function I(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function R(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var L,F,B,j=Array.prototype,z=Function.prototype,V=Object.prototype,H=q["__core-js_shared__"],U=z.toString,G=V.hasOwnProperty,K=(L=/[^.]+$/.exec(H&&H.keys&&H.keys.IE_PROTO||""))?"Symbol(src)_1."+L:"",W=V.toString,X=RegExp("^"+U.call(G).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Y=D?q.Buffer:void 0,Q=q.Symbol,J=q.Uint8Array,Z=V.propertyIsEnumerable,$=j.splice,tt=Q?Q.toStringTag:void 0,et=Object.getOwnPropertySymbols,nt=Y?Y.isBuffer:void 0,rt=(F=Object.keys,B=Object,function(t){return F(B(t))}),it=Ot(q,"DataView"),ot=Ot(q,"Map"),at=Ot(q,"Promise"),st=Ot(q,"Set"),lt=Ot(q,"WeakMap"),ut=Ot(Object,"create"),ct=Rt(it),ht=Rt(ot),dt=Rt(at),ft=Rt(st),pt=Rt(lt),mt=Q?Q.prototype:void 0,gt=mt?mt.valueOf:void 0;function vt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function yt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function bt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function wt(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new bt;++e<n;)this.add(t[e])}function xt(t){var e=this.__data__=new yt(t);this.size=e.size}function At(t,e){var n=Bt(t),r=!n&&Ft(t),i=!n&&!r&&jt(t),o=!n&&!r&&!i&&Gt(t),a=n||r||i||o,s=a?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],l=s.length;for(var u in t)!e&&!G.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||It(u,l))||s.push(u);return s}function kt(t,e){for(var n=t.length;n--;)if(Lt(t[n][0],e))return n;return-1}function St(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":tt&&tt in Object(t)?function(t){var e=G.call(t,tt),n=t[tt];try{t[tt]=void 0;var r=!0}catch(t){}var i=W.call(t);r&&(e?t[tt]=n:delete t[tt]);return i}(t):function(t){return W.call(t)}(t)}function Et(t){return Ut(t)&&St(t)==o}function Ct(t,e,n,r,i){return t===e||(null==t||null==e||!Ut(t)&&!Ut(e)?t!=t&&e!=e:function(t,e,n,r,i,c){var p=Bt(t),b=Bt(e),A=p?a:Nt(t),k=b?a:Nt(e),S=(A=A==o?f:A)==f,E=(k=k==o?f:k)==f,C=A==k;if(C&&jt(t)){if(!jt(e))return!1;p=!0,S=!1}if(C&&!S)return c||(c=new xt),p||Gt(t)?Pt(t,e,n,r,i,c):function(t,e,n,r,i,o,a){switch(n){case x:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case w:return!(t.byteLength!=e.byteLength||!o(new J(t),new J(e)));case s:case l:case d:return Lt(+t,+e);case u:return t.name==e.name&&t.message==e.message;case m:case v:return t==e+"";case h:var c=I;case g:var f=1&r;if(c||(c=R),t.size!=e.size&&!f)return!1;var p=a.get(t);if(p)return p==e;r|=2,a.set(t,e);var b=Pt(c(t),c(e),r,i,o,a);return a.delete(t),b;case y:if(gt)return gt.call(t)==gt.call(e)}return!1}(t,e,A,n,r,i,c);if(!(1&n)){var q=S&&G.call(t,"__wrapped__"),T=E&&G.call(e,"__wrapped__");if(q||T){var P=q?t.value():t,D=T?e.value():e;return c||(c=new xt),i(P,D,n,r,c)}}if(!C)return!1;return c||(c=new xt),function(t,e,n,r,i,o){var a=1&n,s=Dt(t),l=s.length,u=Dt(e),c=u.length;if(l!=c&&!a)return!1;var h=l;for(;h--;){var d=s[h];if(!(a?d in e:G.call(e,d)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var p=!0;o.set(t,e),o.set(e,t);var m=a;for(;++h<l;){var g=t[d=s[h]],v=e[d];if(r)var y=a?r(v,g,d,e,t,o):r(g,v,d,t,e,o);if(!(void 0===y?g===v||i(g,v,n,r,o):y)){p=!1;break}m||(m="constructor"==d)}if(p&&!m){var b=t.constructor,w=e.constructor;b==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(p=!1)}return o.delete(t),o.delete(e),p}(t,e,n,r,i,c)}(t,e,n,r,Ct,i))}function qt(t){return!(!Ht(t)||function(t){return!!K&&K in t}(t))&&(zt(t)?X:A).test(Rt(t))}function Tt(t){if(n=(e=t)&&e.constructor,r="function"==typeof n&&n.prototype||V,e!==r)return rt(t);var e,n,r,i=[];for(var o in Object(t))G.call(t,o)&&"constructor"!=o&&i.push(o);return i}function Pt(t,e,n,r,i,o){var a=1&n,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(t);if(u&&o.get(e))return u==e;var c=-1,h=!0,d=2&n?new wt:void 0;for(o.set(t,e),o.set(e,t);++c<s;){var f=t[c],p=e[c];if(r)var m=a?r(p,f,c,e,t,o):r(f,p,c,t,e,o);if(void 0!==m){if(m)continue;h=!1;break}if(d){if(!N(e,(function(t,e){if(a=e,!d.has(a)&&(f===t||i(f,t,n,r,o)))return d.push(e);var a}))){h=!1;break}}else if(f!==p&&!i(f,p,n,r,o)){h=!1;break}}return o.delete(t),o.delete(e),h}function Dt(t){return function(t,e,n){var r=e(t);return Bt(t)?r:function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}(r,n(t))}(t,Kt,Mt)}function _t(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Ot(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return qt(n)?n:void 0}vt.prototype.clear=function(){this.__data__=ut?ut(null):{},this.size=0},vt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},vt.prototype.get=function(t){var e=this.__data__;if(ut){var n=e[t];return n===r?void 0:n}return G.call(e,t)?e[t]:void 0},vt.prototype.has=function(t){var e=this.__data__;return ut?void 0!==e[t]:G.call(e,t)},vt.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ut&&void 0===e?r:e,this},yt.prototype.clear=function(){this.__data__=[],this.size=0},yt.prototype.delete=function(t){var e=this.__data__,n=kt(e,t);return!(n<0)&&(n==e.length-1?e.pop():$.call(e,n,1),--this.size,!0)},yt.prototype.get=function(t){var e=this.__data__,n=kt(e,t);return n<0?void 0:e[n][1]},yt.prototype.has=function(t){return kt(this.__data__,t)>-1},yt.prototype.set=function(t,e){var n=this.__data__,r=kt(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},bt.prototype.clear=function(){this.size=0,this.__data__={hash:new vt,map:new(ot||yt),string:new vt}},bt.prototype.delete=function(t){var e=_t(this,t).delete(t);return this.size-=e?1:0,e},bt.prototype.get=function(t){return _t(this,t).get(t)},bt.prototype.has=function(t){return _t(this,t).has(t)},bt.prototype.set=function(t,e){var n=_t(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},wt.prototype.add=wt.prototype.push=function(t){return this.__data__.set(t,r),this},wt.prototype.has=function(t){return this.__data__.has(t)},xt.prototype.clear=function(){this.__data__=new yt,this.size=0},xt.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},xt.prototype.get=function(t){return this.__data__.get(t)},xt.prototype.has=function(t){return this.__data__.has(t)},xt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof yt){var r=n.__data__;if(!ot||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new bt(r)}return n.set(t,e),this.size=n.size,this};var Mt=et?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}(et(t),(function(e){return Z.call(t,e)})))}:function(){return[]},Nt=St;function It(t,e){return!!(e=null==e?i:e)&&("number"==typeof t||k.test(t))&&t>-1&&t%1==0&&t<e}function Rt(t){if(null!=t){try{return U.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Lt(t,e){return t===e||t!=t&&e!=e}(it&&Nt(new it(new ArrayBuffer(1)))!=x||ot&&Nt(new ot)!=h||at&&Nt(at.resolve())!=p||st&&Nt(new st)!=g||lt&&Nt(new lt)!=b)&&(Nt=function(t){var e=St(t),n=e==f?t.constructor:void 0,r=n?Rt(n):"";if(r)switch(r){case ct:return x;case ht:return h;case dt:return p;case ft:return g;case pt:return b}return e});var Ft=Et(function(){return arguments}())?Et:function(t){return Ut(t)&&G.call(t,"callee")&&!Z.call(t,"callee")},Bt=Array.isArray;var jt=nt||function(){return!1};function zt(t){if(!Ht(t))return!1;var e=St(t);return e==c||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Vt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=i}function Ht(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ut(t){return null!=t&&"object"==typeof t}var Gt=M?function(t){return function(e){return t(e)}}(M):function(t){return Ut(t)&&Vt(t.length)&&!!S[St(t)]};function Kt(t){return null!=(e=t)&&Vt(e.length)&&!zt(e)?At(t):Tt(t);var e}t.exports=function(t,e){return Ct(t,e)}},4990:function(module,exports,__webpack_require__){var factory;"undefined"!=typeof document&&"undefined"!=typeof navigator&&(factory=function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var n,r,i=t.length;for(n=0;n<i;n+=1)for(var o in r=t[n].prototype)Object.prototype.hasOwnProperty.call(r,o)&&(e.prototype[o]=r[o])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].pause()},resume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].resume()},setRate:function(t){var e,n=this.audios.length;for(e=0;e<n;e+=1)this.audios[e].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):window.Howl?new window.Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(t,e){var n,r=0,i=[];switch(t){case"int16":case"uint8c":n=1;break;default:n=1.1}for(r=0;r<e;r+=1)i.push(n);return i}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(e,n){return"float32"===e?new Float32Array(n):"int16"===e?new Int16Array(n):"uint8c"===e?new Uint8ClampedArray(n):t(e,n)}:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){return _typeof$6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],n=e.length;for(t=0;t<n;t+=1)BMMath[e[t]]=Math[e[t]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"===_typeof$6(t)&&t.length){var e,n=createSizedArray(t.length),r=t.length;for(e=0;e<r;e+=1)n[e]=Math.abs(t[e]);return n}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(t){_shouldRoundValues=!!t}function bmRnd(t){return _shouldRoundValues?Math.round(t):t}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,n,r){this.type=t,this.currentTime=e,this.totalTime=n,this.direction=r<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,n,r){this.type=t,this.currentLoop=n,this.totalLoops=e,this.direction=r<0?-1:1}function BMSegmentStartEvent(t,e,n){this.type=t,this.firstFrame=e,this.totalFrames=n}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}function BMAnimationConfigErrorEvent(t,e){this.type=t,this.nativeError=e}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(t,e,n){var r,i,o,a,s,l,u,c;switch(l=n*(1-e),u=n*(1-(s=6*t-(a=Math.floor(6*t)))*e),c=n*(1-(1-s)*e),a%6){case 0:r=n,i=c,o=l;break;case 1:r=u,i=n,o=l;break;case 2:r=l,i=n,o=c;break;case 3:r=l,i=u,o=n;break;case 4:r=c,i=l,o=n;break;case 5:r=n,i=l,o=u}return[r,i,o]}function RGBtoHSV(t,e,n){var r,i=Math.max(t,e,n),o=Math.min(t,e,n),a=i-o,s=0===i?0:a/i,l=i/255;switch(i){case o:r=0;break;case t:r=e-n+a*(e<n?6:0),r/=6*a;break;case e:r=n-t+2*a,r/=6*a;break;case n:r=t-e+4*a,r/=6*a}return[r,s,l]}function addSaturationToRGB(t,e){var n=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return n[1]+=e,n[1]>1?n[1]=1:n[1]<=0&&(n[1]=0),HSVtoRGB(n[0],n[1],n[2])}function addBrightnessToRGB(t,e){var n=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return n[2]+=e,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),HSVtoRGB(n[0],n[1],n[2])}function addHueToRGB(t,e){var n=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return n[0]+=e/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),HSVtoRGB(n[0],n[1],n[2])}var rgbToHex=function(){var t,e,n=[];for(t=0;t<256;t+=1)e=t.toString(16),n[t]=1===e.length?"0"+e:e;return function(t,e,r){return t<0&&(t=0),e<0&&(e=0),r<0&&(r=0),"#"+n[t]+n[e]+n[r]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t},getIdPrefix=function(){return idPrefix$1};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return _typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$5(t)}var dataManager=function(){var t,e,n=1,r=[],i={onmessage:function(){},postMessage:function(e){t({data:e})}},o={postMessage:function(t){i.onmessage({data:t})}};function a(){e||(e=function(e){if(window.Worker&&window.Blob&&getWebWorker()){var n=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"}),r=URL.createObjectURL(n);return new Worker(r)}return t=e,i}((function(t){if(o.dataManager||(o.dataManager=function(){function t(i,o){var a,s,l,u,c,d,f=i.length;for(s=0;s<f;s+=1)if("ks"in(a=i[s])&&!a.completed){if(a.completed=!0,a.hasMask){var p=a.masksProperties;for(u=p.length,l=0;l<u;l+=1)if(p[l].pt.k.i)r(p[l].pt.k);else for(d=p[l].pt.k.length,c=0;c<d;c+=1)p[l].pt.k[c].s&&r(p[l].pt.k[c].s[0]),p[l].pt.k[c].e&&r(p[l].pt.k[c].e[0])}0===a.ty?(a.layers=e(a.refId,o),t(a.layers,o)):4===a.ty?n(a.shapes):5===a.ty&&h(a)}}function e(t,e){var n=function(t,e){for(var n=0,r=e.length;n<r;){if(e[n].id===t)return e[n];n+=1}return null}(t,e);return n?n.layers.__used?JSON.parse(JSON.stringify(n.layers)):(n.layers.__used=!0,n.layers):null}function n(t){var e,i,o;for(e=t.length-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)r(t[e].ks.k);else for(o=t[e].ks.k.length,i=0;i<o;i+=1)t[e].ks.k[i].s&&r(t[e].ks.k[i].s[0]),t[e].ks.k[i].e&&r(t[e].ks.k[i].e[0]);else"gr"===t[e].ty&&n(t[e].it)}function r(t){var e,n=t.i.length;for(e=0;e<n;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function i(t,e){var n=e?e.split("."):[100,100,100];return t[0]>n[0]||!(n[0]>t[0])&&(t[1]>n[1]||!(n[1]>t[1])&&(t[2]>n[2]||!(n[2]>t[2])&&null))}var o,a=function(){var t=[4,4,14];function e(t){var e,n,r,i=t.length;for(e=0;e<i;e+=1)5===t[e].ty&&(r=void 0,r=(n=t[e]).t.d,n.t.d={k:[{s:r,t:0}]})}return function(n){if(i(t,n.v)&&(e(n.layers),n.assets)){var r,o=n.assets.length;for(r=0;r<o;r+=1)n.assets[r].layers&&e(n.assets[r].layers)}}}(),s=(o=[4,7,99],function(t){if(t.chars&&!i(o,t.v)){var e,r=t.chars.length;for(e=0;e<r;e+=1){var a=t.chars[e];a.data&&a.data.shapes&&(n(a.data.shapes),a.data.ip=0,a.data.op=99999,a.data.st=0,a.data.sr=1,a.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},t.chars[e].t||(a.data.shapes.push({ty:"no"}),a.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),l=function(){var t=[5,7,15];function e(t){var e,n,r=t.length;for(e=0;e<r;e+=1)5===t[e].ty&&(n=void 0,"number"==typeof(n=t[e].t.p).a&&(n.a={a:0,k:n.a}),"number"==typeof n.p&&(n.p={a:0,k:n.p}),"number"==typeof n.r&&(n.r={a:0,k:n.r}))}return function(n){if(i(t,n.v)&&(e(n.layers),n.assets)){var r,o=n.assets.length;for(r=0;r<o;r+=1)n.assets[r].layers&&e(n.assets[r].layers)}}}(),u=function(){var t=[4,1,9];function e(t){var n,r,i,o=t.length;for(n=0;n<o;n+=1)if("gr"===t[n].ty)e(t[n].it);else if("fl"===t[n].ty||"st"===t[n].ty)if(t[n].c.k&&t[n].c.k[0].i)for(i=t[n].c.k.length,r=0;r<i;r+=1)t[n].c.k[r].s&&(t[n].c.k[r].s[0]/=255,t[n].c.k[r].s[1]/=255,t[n].c.k[r].s[2]/=255,t[n].c.k[r].s[3]/=255),t[n].c.k[r].e&&(t[n].c.k[r].e[0]/=255,t[n].c.k[r].e[1]/=255,t[n].c.k[r].e[2]/=255,t[n].c.k[r].e[3]/=255);else t[n].c.k[0]/=255,t[n].c.k[1]/=255,t[n].c.k[2]/=255,t[n].c.k[3]/=255}function n(t){var n,r=t.length;for(n=0;n<r;n+=1)4===t[n].ty&&e(t[n].shapes)}return function(e){if(i(t,e.v)&&(n(e.layers),e.assets)){var r,o=e.assets.length;for(r=0;r<o;r+=1)e.assets[r].layers&&n(e.assets[r].layers)}}}(),c=function(){var t=[4,4,18];function e(t){var n,r,i;for(n=t.length-1;n>=0;n-=1)if("sh"===t[n].ty)if(t[n].ks.k.i)t[n].ks.k.c=t[n].closed;else for(i=t[n].ks.k.length,r=0;r<i;r+=1)t[n].ks.k[r].s&&(t[n].ks.k[r].s[0].c=t[n].closed),t[n].ks.k[r].e&&(t[n].ks.k[r].e[0].c=t[n].closed);else"gr"===t[n].ty&&e(t[n].it)}function n(t){var n,r,i,o,a,s,l=t.length;for(r=0;r<l;r+=1){if((n=t[r]).hasMask){var u=n.masksProperties;for(o=u.length,i=0;i<o;i+=1)if(u[i].pt.k.i)u[i].pt.k.c=u[i].cl;else for(s=u[i].pt.k.length,a=0;a<s;a+=1)u[i].pt.k[a].s&&(u[i].pt.k[a].s[0].c=u[i].cl),u[i].pt.k[a].e&&(u[i].pt.k[a].e[0].c=u[i].cl)}4===n.ty&&e(n.shapes)}}return function(e){if(i(t,e.v)&&(n(e.layers),e.assets)){var r,o=e.assets.length;for(r=0;r<o;r+=1)e.assets[r].layers&&n(e.assets[r].layers)}}}();function h(t){0===t.t.a.length&&t.t.p}var d={completeData:function(n){n.__complete||(u(n),a(n),s(n),l(n),c(n),t(n.layers,n.assets),function(n,r){if(n){var i=0,o=n.length;for(i=0;i<o;i+=1)1===n[i].t&&(n[i].data.layers=e(n[i].data.refId,r),t(n[i].data.layers,r))}}(n.chars,n.assets),n.__complete=!0)}};return d.checkColors=u,d.checkChars=s,d.checkPathProperties=l,d.checkShapes=c,d.completeLayers=t,d}()),o.assetLoader||(o.assetLoader=function(){function t(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"===_typeof$5(t.response)?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}return{load:function(e,n,r,i){var o,a=new XMLHttpRequest;try{a.responseType="json"}catch(t){}a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)o=t(a),r(o);else try{o=t(a),r(o)}catch(t){i&&i(t)}};try{a.open(["G","E","T"].join(""),e,!0)}catch(t){a.open(["G","E","T"].join(""),n+"/"+e,!0)}a.send()}}}()),"loadAnimation"===t.data.type)o.assetLoader.load(t.data.path,t.data.fullPath,(function(e){o.dataManager.completeData(e),o.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){o.postMessage({id:t.data.id,status:"error"})}));else if("complete"===t.data.type){var e=t.data.animation;o.dataManager.completeData(e),o.postMessage({id:t.data.id,payload:e,status:"success"})}else"loadData"===t.data.type&&o.assetLoader.load(t.data.path,t.data.fullPath,(function(e){o.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){o.postMessage({id:t.data.id,status:"error"})}))})),e.onmessage=function(t){var e=t.data,n=e.id,i=r[n];r[n]=null,"success"===e.status?i.onComplete(e.payload):i.onError&&i.onError()})}function s(t,e){var i="processId_"+(n+=1);return r[i]={onComplete:t,onError:e},i}return{loadAnimation:function(t,n,r){a();var i=s(n,r);e.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:i})},loadData:function(t,n,r){a();var i=s(n,r);e.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:i})},completeAnimation:function(t,n,r){a();var i=s(n,r);e.postMessage({type:"complete",animation:t,id:i})}}}(),ImagePreloader=function(){var t=function(){var t=createTag("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(t,e,n){var r="";if(t.e)r=t.p;else if(e){var i=t.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),r=e+i}else r=n,r+=t.u?t.u:"",r+=t.p;return r}function i(t){var e=0,n=setInterval(function(){(t.getBBox().width||e>500)&&(this._imageLoaded(),clearInterval(n)),e+=1}.bind(this),50)}function o(t){var e={assetData:t},n=r(t,this.assetsPath,this.path);return dataManager.loadData(n,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function a(){this._imageLoaded=e.bind(this),this._footageLoaded=n.bind(this),this.testImageLoaded=i.bind(this),this.createFootageData=o.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return a.prototype={loadAssets:function(t,e){var n;this.imagesLoadedCb=e;var r=t.length;for(n=0;n<r;n+=1)t[n].layers||(t[n].t&&"seq"!==t[n].t?3===t[n].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[n]))):(this.totalImages+=1,this.images.push(this._createImageData(t[n]))))},setAssetsPath:function(t){this.assetsPath=t||""},setPath:function(t){this.path=t||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(t){for(var e=0,n=this.images.length;e<n;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(e){var n=r(e,this.assetsPath,this.path),i=createTag("img");i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){o.img=t,this._imageLoaded()}.bind(this),!1),i.src=n;var o={img:i,assetData:e};return o},createImageData:function(e){var n=r(e,this.assetsPath,this.path),i=createNS("image");isSafari?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){o.img=t,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",n),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i);var o={img:i,assetData:e};return o},imageLoaded:e,footageLoaded:n,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},a}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var n=this._cbs[t],r=0;r<n.length;r+=1)n[r](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){for(var n=0,r=this._cbs[t].length;n<r;)this._cbs[t][n]===e&&(this._cbs[t].splice(n,1),n-=1,r-=1),n+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var markerParser=function(){function t(t){for(var e,n=t.split("\r\n"),r={},i=0,o=0;o<n.length;o+=1)2===(e=n[o].split(":")).length&&(r[e[0]]=e[1].trim(),i+=1);if(0===i)throw new Error;return r}return function(e){for(var n=[],r=0;r<e.length;r+=1){var i=e[r],o={time:i.tm,duration:i.dr};try{o.payload=JSON.parse(e[r].cm)}catch(n){try{o.payload=t(e[r].cm)}catch(t){o.payload={name:e[r].cm}}}n.push(o)}return n}}(),ProjectInterface=function(){function t(t){this.compositions.push(t)}return function(){function e(t){for(var e=0,n=this.compositions.length;e<n;){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(t,e){renderers[t]=e};function getRenderer(t){return renderers[t]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var t in renderers)if(renderers[t])return t;return""}function _typeof$4(t){return _typeof$4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$4(t)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var n=getRenderer(e);this.renderer=new n(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||void 0===t.loop||!0===t.loop?this.loop=!0:!1===t.loop?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(t,"autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&"object"!==_typeof$4(e)&&(e=JSON.parse(e));var n={wrapper:t,animationData:e},r=t.attributes;n.path=r.getNamedItem("data-animation-path")?r.getNamedItem("data-animation-path").value:r.getNamedItem("data-bm-path")?r.getNamedItem("data-bm-path").value:r.getNamedItem("bm-path")?r.getNamedItem("bm-path").value:"",n.animType=r.getNamedItem("data-anim-type")?r.getNamedItem("data-anim-type").value:r.getNamedItem("data-bm-type")?r.getNamedItem("data-bm-type").value:r.getNamedItem("bm-type")?r.getNamedItem("bm-type").value:r.getNamedItem("data-bm-renderer")?r.getNamedItem("data-bm-renderer").value:r.getNamedItem("bm-renderer")?r.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var i=r.getNamedItem("data-anim-loop")?r.getNamedItem("data-anim-loop").value:r.getNamedItem("data-bm-loop")?r.getNamedItem("data-bm-loop").value:r.getNamedItem("bm-loop")?r.getNamedItem("bm-loop").value:"";"false"===i?n.loop=!1:"true"===i?n.loop=!0:""!==i&&(n.loop=parseInt(i,10));var o=r.getNamedItem("data-anim-autoplay")?r.getNamedItem("data-anim-autoplay").value:r.getNamedItem("data-bm-autoplay")?r.getNamedItem("data-bm-autoplay").value:!r.getNamedItem("bm-autoplay")||r.getNamedItem("bm-autoplay").value;n.autoplay="false"!==o,n.name=r.getNamedItem("data-name")?r.getNamedItem("data-name").value:r.getNamedItem("data-bm-name")?r.getNamedItem("data-bm-name").value:r.getNamedItem("bm-name")?r.getNamedItem("bm-name").value:"","false"===(r.getNamedItem("data-anim-prerender")?r.getNamedItem("data-anim-prerender").value:r.getNamedItem("data-bm-prerender")?r.getNamedItem("data-bm-prerender").value:r.getNamedItem("bm-prerender")?r.getNamedItem("bm-prerender").value:"")&&(n.prerender=!1),n.path?this.setParams(n):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,n,r=this.animationData.layers,i=r.length,o=t.layers,a=o.length;for(n=0;n<a;n+=1)for(e=0;e<i;){if(r[e].id===o[n].id){r[e]=o[n];break}e+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(i=t.assets.length,e=0;e<i;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var n=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(n,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(t,e){var n="number"==typeof t?t:void 0,r="number"==typeof e?e:void 0;this.renderer.updateContainerSize(n,r)},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,n=0;n<this.markers.length;n+=1)if((e=this.markers[n]).payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,n){if(!n||this.name===n){var r=Number(t);if(isNaN(r)){var i=this.getMarkerData(t);i&&this.goToAndStop(i.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,n){if(!n||this.name===n){var r=Number(t);if(isNaN(r)){var i=this.getMarkerData(t);i&&(i.duration?this.playSegments([i.time,i.time+i.duration],!0):this.goToAndStop(i.time,!0))}else this.goToAndStop(r,e,n);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,n=!1;e>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(n=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(n=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),n&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var n=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?n=t:this.currentRawFrame+this.firstFrame>e&&(n=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==n&&this.goToAndStop(n,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===_typeof$4(t[0])){var n,r=t.length;for(n=0;n<r;n+=1)this.segments.push(t[n])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(t){this.loop=t},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var n=t.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),e=this.assetsPath+n}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,n=this.assets.length;e<n;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(t,e,n){try{this.renderer.getElementByPath(t).updateDocumentData(e,n)}catch(t){}},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],n=0,r=0,i=0,o=!0,a=!1;function s(t){for(var n=0,i=t.target;n<r;)e[n].animation===i&&(e.splice(n,1),n-=1,r-=1,i.isPaused||c()),n+=1}function l(t,n){if(!t)return null;for(var i=0;i<r;){if(e[i].elem===t&&null!==e[i].elem)return e[i].animation;i+=1}var o=new AnimationItem;return h(o,t),o.setData(t,n),o}function u(){i+=1,p()}function c(){i-=1}function h(t,n){t.addEventListener("destroy",s),t.addEventListener("_active",u),t.addEventListener("_idle",c),e.push({elem:n,animation:t}),r+=1}function d(t){var s,l=t-n;for(s=0;s<r;s+=1)e[s].animation.advanceTime(l);n=t,i&&!a?window.requestAnimationFrame(d):o=!0}function f(t){n=t,window.requestAnimationFrame(d)}function p(){!a&&i&&o&&(window.requestAnimationFrame(f),o=!1)}return t.registerAnimation=l,t.loadAnimation=function(t){var e=new AnimationItem;return h(e,null),e.setParams(t),e},t.setSpeed=function(t,n){var i;for(i=0;i<r;i+=1)e[i].animation.setSpeed(t,n)},t.setDirection=function(t,n){var i;for(i=0;i<r;i+=1)e[i].animation.setDirection(t,n)},t.play=function(t){var n;for(n=0;n<r;n+=1)e[n].animation.play(t)},t.pause=function(t){var n;for(n=0;n<r;n+=1)e[n].animation.pause(t)},t.stop=function(t){var n;for(n=0;n<r;n+=1)e[n].animation.stop(t)},t.togglePause=function(t){var n;for(n=0;n<r;n+=1)e[n].animation.togglePause(t)},t.searchAnimations=function(t,e,n){var r,i=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),o=i.length;for(r=0;r<o;r+=1)n&&i[r].setAttribute("data-bm-type",n),l(i[r],t);if(e&&0===o){n||(n="svg");var a=document.getElementsByTagName("body")[0];a.innerText="";var s=createTag("div");s.style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",n),a.appendChild(s),l(s,t)}},t.resize=function(){var t;for(t=0;t<r;t+=1)e[t].animation.resize()},t.goToAndStop=function(t,n,i){var o;for(o=0;o<r;o+=1)e[o].animation.goToAndStop(t,n,i)},t.destroy=function(t){var n;for(n=r-1;n>=0;n-=1)e[n].animation.destroy(t)},t.freeze=function(){a=!0},t.unfreeze=function(){a=!1,p()},t.setVolume=function(t,n){var i;for(i=0;i<r;i+=1)e[i].animation.setVolume(t,n)},t.mute=function(t){var n;for(n=0;n<r;n+=1)e[n].animation.mute(t)},t.unmute=function(t){var n;for(n=0;n<r;n+=1)e[n].animation.unmute(t)},t.getRegisteredAnimations=function(){var t,n=e.length,r=[];for(t=0;t<n;t+=1)r.push(e[t].animation);return r},t}(),BezierFactory=function(){var t={getBezierEasing:function(t,n,r,i,o){var a=o||("bez_"+t+"_"+n+"_"+r+"_"+i).replace(/\./g,"p");if(e[a])return e[a];var s=new c([t,n,r,i]);return e[a]=s,s}},e={},n=11,r=1/(n-1),i="function"==typeof Float32Array;function o(t,e){return 1-3*e+3*t}function a(t,e){return 3*e-6*t}function s(t){return 3*t}function l(t,e,n){return((o(e,n)*t+a(e,n))*t+s(e))*t}function u(t,e,n){return 3*o(e,n)*t*t+2*a(e,n)*t+s(e)}function c(t){this._p=t,this._mSampleValues=i?new Float32Array(n):new Array(n),this._precomputed=!1,this.get=this.get.bind(this)}return c.prototype={get:function(t){var e=this._p[0],n=this._p[1],r=this._p[2],i=this._p[3];return this._precomputed||this._precompute(),e===n&&r===i?t:0===t?0:1===t?1:l(this._getTForX(t),n,i)},_precompute:function(){var t=this._p[0],e=this._p[1],n=this._p[2],r=this._p[3];this._precomputed=!0,t===e&&n===r||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;i<n;++i)this._mSampleValues[i]=l(i*r,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],o=this._mSampleValues,a=0,s=1,c=n-1;s!==c&&o[s]<=t;++s)a+=r;var h=a+(t-o[--s])/(o[s+1]-o[s])*r,d=u(h,e,i);return d>=.001?function(t,e,n,r){for(var i=0;i<4;++i){var o=u(e,n,r);if(0===o)return e;e-=(l(e,n,r)-t)/o}return e}(t,h,e,i):0===d?h:function(t,e,n,r,i){var o,a,s=0;do{(o=l(a=e+(n-e)/2,r,i)-t)>0?n=a:e=a}while(Math.abs(o)>1e-7&&++s<10);return a}(t,a,a+r,e,i)}},t}(),pooling={double:function(t){return t.concat(createSizedArray(t.length))}},poolFactory=function(t,e,n){var r=0,i=t,o=createSizedArray(i);return{newElement:function(){return r?o[r-=1]:e()},release:function(t){r===i&&(o=pooling.double(o),i*=2),n&&n(t),o[r]=t,r+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(t){var e,n=t.lengths.length;for(e=0;e<n;e+=1)bezierLengthPool.release(t.lengths[e]);t.lengths.length=0}));function bezFunction(){var t=Math;function e(t,e,n,r,i,o){var a=t*r+e*i+n*o-i*r-o*t-n*e;return a>-.001&&a<.001}var n=function(t,e,n,r){var i,o,a,s,l,u,c=getDefaultCurveSegments(),h=0,d=[],f=[],p=bezierLengthPool.newElement();for(a=n.length,i=0;i<c;i+=1){for(l=i/(c-1),u=0,o=0;o<a;o+=1)s=bmPow(1-l,3)*t[o]+3*bmPow(1-l,2)*l*n[o]+3*(1-l)*bmPow(l,2)*r[o]+bmPow(l,3)*e[o],d[o]=s,null!==f[o]&&(u+=bmPow(d[o]-f[o],2)),f[o]=d[o];u&&(h+=u=bmSqrt(u)),p.percents[i]=l,p.lengths[i]=h}return p.addedLength=h,p};function r(t){this.segmentLength=0,this.points=new Array(t)}function i(t,e){this.partialLength=t,this.point=e}var o,a=(o={},function(t,n,a,s){var l=(t[0]+"_"+t[1]+"_"+n[0]+"_"+n[1]+"_"+a[0]+"_"+a[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!o[l]){var u,c,h,d,f,p,m,g=getDefaultCurveSegments(),v=0,y=null;2===t.length&&(t[0]!==n[0]||t[1]!==n[1])&&e(t[0],t[1],n[0],n[1],t[0]+a[0],t[1]+a[1])&&e(t[0],t[1],n[0],n[1],n[0]+s[0],n[1]+s[1])&&(g=2);var b=new r(g);for(h=a.length,u=0;u<g;u+=1){for(m=createSizedArray(h),f=u/(g-1),p=0,c=0;c<h;c+=1)d=bmPow(1-f,3)*t[c]+3*bmPow(1-f,2)*f*(t[c]+a[c])+3*(1-f)*bmPow(f,2)*(n[c]+s[c])+bmPow(f,3)*n[c],m[c]=d,null!==y&&(p+=bmPow(m[c]-y[c],2));v+=p=bmSqrt(p),b.points[u]=new i(p,m),y=m}b.segmentLength=v,o[l]=b}return o[l]});function s(t,e){var n=e.percents,r=e.lengths,i=n.length,o=bmFloor((i-1)*t),a=t*e.addedLength,s=0;if(o===i-1||0===o||a===r[o])return n[o];for(var l=r[o]>a?-1:1,u=!0;u;)if(r[o]<=a&&r[o+1]>a?(s=(a-r[o])/(r[o+1]-r[o]),u=!1):o+=l,o<0||o>=i-1){if(o===i-1)return n[o];u=!1}return n[o]+(n[o+1]-n[o])*s}var l=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,r=segmentsLengthPool.newElement(),i=t.c,o=t.v,a=t.o,s=t.i,l=t._length,u=r.lengths,c=0;for(e=0;e<l-1;e+=1)u[e]=n(o[e],o[e+1],a[e],s[e+1]),c+=u[e].addedLength;return i&&l&&(u[e]=n(o[e],o[0],a[e],s[0]),c+=u[e].addedLength),r.totalLength=c,r},getNewSegment:function(e,n,r,i,o,a,u){o<0?o=0:o>1&&(o=1);var c,h=s(o,u),d=s(a=a>1?1:a,u),f=e.length,p=1-h,m=1-d,g=p*p*p,v=h*p*p*3,y=h*h*p*3,b=h*h*h,w=p*p*m,x=h*p*m+p*h*m+p*p*d,A=h*h*m+p*h*d+h*p*d,k=h*h*d,S=p*m*m,E=h*m*m+p*d*m+p*m*d,C=h*d*m+p*d*d+h*m*d,q=h*d*d,T=m*m*m,P=d*m*m+m*d*m+m*m*d,D=d*d*m+m*d*d+d*m*d,_=d*d*d;for(c=0;c<f;c+=1)l[4*c]=t.round(1e3*(g*e[c]+v*r[c]+y*i[c]+b*n[c]))/1e3,l[4*c+1]=t.round(1e3*(w*e[c]+x*r[c]+A*i[c]+k*n[c]))/1e3,l[4*c+2]=t.round(1e3*(S*e[c]+E*r[c]+C*i[c]+q*n[c]))/1e3,l[4*c+3]=t.round(1e3*(T*e[c]+P*r[c]+D*i[c]+_*n[c]))/1e3;return l},getPointInSegment:function(e,n,r,i,o,a){var l=s(o,a),u=1-l;return[t.round(1e3*(u*u*u*e[0]+(l*u*u+u*l*u+u*u*l)*r[0]+(l*l*u+u*l*l+l*u*l)*i[0]+l*l*l*n[0]))/1e3,t.round(1e3*(u*u*u*e[1]+(l*u*u+u*l*u+u*u*l)*r[1]+(l*l*u+u*l*l+l*u*l)*i[1]+l*l*l*n[1]))/1e3]},buildBezierData:a,pointOnLine2D:e,pointOnLine3D:function(n,r,i,o,a,s,l,u,c){if(0===i&&0===s&&0===c)return e(n,r,o,a,l,u);var h,d=t.sqrt(t.pow(o-n,2)+t.pow(a-r,2)+t.pow(s-i,2)),f=t.sqrt(t.pow(l-n,2)+t.pow(u-r,2)+t.pow(c-i,2)),p=t.sqrt(t.pow(l-o,2)+t.pow(u-a,2)+t.pow(c-s,2));return(h=d>f?d>p?d-f-p:p-f-d:p>f?p-f-d:f-d-p)>-1e-4&&h<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var n,r=this.offsetTime;"multidimensional"===this.propType&&(n=createTypedArray("float32",this.pv.length));for(var i,o,a,s,l,u,c,h,d,f=e.lastIndex,p=f,m=this.keyframes.length-1,g=!0;g;){if(i=this.keyframes[p],o=this.keyframes[p+1],p===m-1&&t>=o.t-r){i.h&&(i=o),f=0;break}if(o.t-r>t){f=p;break}p<m-1?p+=1:(f=0,g=!1)}a=this.keyframesMetadata[p]||{};var v,y=o.t-r,b=i.t-r;if(i.to){a.bezierData||(a.bezierData=bez.buildBezierData(i.s,o.s||i.e,i.to,i.ti));var w=a.bezierData;if(t>=y||t<b){var x=t>=y?w.points.length-1:0;for(l=w.points[x].point.length,s=0;s<l;s+=1)n[s]=w.points[x].point[s]}else{a.__fnct?d=a.__fnct:(d=BezierFactory.getBezierEasing(i.o.x,i.o.y,i.i.x,i.i.y,i.n).get,a.__fnct=d),u=d((t-b)/(y-b));var A,k=w.segmentLength*u,S=e.lastFrame<t&&e._lastKeyframeIndex===p?e._lastAddedLength:0;for(h=e.lastFrame<t&&e._lastKeyframeIndex===p?e._lastPoint:0,g=!0,c=w.points.length;g;){if(S+=w.points[h].partialLength,0===k||0===u||h===w.points.length-1){for(l=w.points[h].point.length,s=0;s<l;s+=1)n[s]=w.points[h].point[s];break}if(k>=S&&k<S+w.points[h+1].partialLength){for(A=(k-S)/w.points[h+1].partialLength,l=w.points[h].point.length,s=0;s<l;s+=1)n[s]=w.points[h].point[s]+(w.points[h+1].point[s]-w.points[h].point[s])*A;break}h<c-1?h+=1:g=!1}e._lastPoint=h,e._lastAddedLength=S-w.points[h].partialLength,e._lastKeyframeIndex=p}}else{var E,C,q,T,P;if(m=i.s.length,v=o.s||i.e,this.sh&&1!==i.h)t>=y?(n[0]=v[0],n[1]=v[1],n[2]=v[2]):t<=b?(n[0]=i.s[0],n[1]=i.s[1],n[2]=i.s[2]):quaternionToEuler(n,slerp(createQuaternion(i.s),createQuaternion(v),(t-b)/(y-b)));else for(p=0;p<m;p+=1)1!==i.h&&(t>=y?u=1:t<b?u=0:(i.o.x.constructor===Array?(a.__fnct||(a.__fnct=[]),a.__fnct[p]?d=a.__fnct[p]:(E=void 0===i.o.x[p]?i.o.x[0]:i.o.x[p],C=void 0===i.o.y[p]?i.o.y[0]:i.o.y[p],q=void 0===i.i.x[p]?i.i.x[0]:i.i.x[p],T=void 0===i.i.y[p]?i.i.y[0]:i.i.y[p],d=BezierFactory.getBezierEasing(E,C,q,T).get,a.__fnct[p]=d)):a.__fnct?d=a.__fnct:(E=i.o.x,C=i.o.y,q=i.i.x,T=i.i.y,d=BezierFactory.getBezierEasing(E,C,q,T).get,i.keyframeMetadata=d),u=d((t-b)/(y-b)))),v=o.s||i.e,P=1===i.h?i.s[p]:i.s[p]+(v[p]-i.s[p])*u,"multidimensional"===this.propType?n[p]=P:n=P}return e.lastIndex=f,n}function slerp(t,e,n){var r,i,o,a,s,l=[],u=t[0],c=t[1],h=t[2],d=t[3],f=e[0],p=e[1],m=e[2],g=e[3];return(i=u*f+c*p+h*m+d*g)<0&&(i=-i,f=-f,p=-p,m=-m,g=-g),1-i>1e-6?(r=Math.acos(i),o=Math.sin(r),a=Math.sin((1-n)*r)/o,s=Math.sin(n*r)/o):(a=1-n,s=n),l[0]=a*u+s*f,l[1]=a*c+s*p,l[2]=a*h+s*m,l[3]=a*d+s*g,l}function quaternionToEuler(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=Math.atan2(2*r*o-2*n*i,1-2*r*r-2*i*i),s=Math.asin(2*n*r+2*i*o),l=Math.atan2(2*n*o-2*r*i,1-2*n*n-2*i*i);t[0]=a/degToRads,t[1]=s/degToRads,t[2]=l/degToRads}function createQuaternion(t){var e=t[0]*degToRads,n=t[1]*degToRads,r=t[2]*degToRads,i=Math.cos(e/2),o=Math.cos(n/2),a=Math.cos(r/2),s=Math.sin(e/2),l=Math.sin(n/2),u=Math.sin(r/2);return[s*l*a+i*o*u,s*o*a+i*l*u,i*l*a-s*o*u,i*o*a-s*l*u]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=n&&t>=n||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var r=this.interpolateValue(t,this._caching);this.pv=r}return this._caching.lastFrame=t,this.pv}function setVValue(t){var e;if("unidimensional"===this.propType)e=t*this.mult,mathAbs(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var n=0,r=this.v.length;n<r;)e=t[n]*this.mult,mathAbs(this.v[n]-e)>1e-5&&(this.v[n]=e,this._mdf=!0),n+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var e=this.effectsSequence.length,n=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)n=this.effectsSequence[t](n);this.setVValue(n),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function ValueProperty(t,e,n,r){this.propType="unidimensional",this.mult=n||1,this.data=e,this.v=n?e.k*n:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=r,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(t,e,n,r){var i;this.propType="multidimensional",this.mult=n||1,this.data=e,this._mdf=!1,this.elem=t,this.container=r,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o=e.k.length;for(this.v=createTypedArray("float32",o),this.pv=createTypedArray("float32",o),this.vel=createTypedArray("float32",o),i=0;i<o;i+=1)this.v[i]=e.k[i]*this.mult,this.pv[i]=e.k[i];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(t,e,n,r){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=n||1,this.elem=t,this.container=r,this.comp=t.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(t,e,n,r){var i;this.propType="multidimensional";var o,a,s,l,u=e.k.length;for(i=0;i<u-1;i+=1)e.k[i].to&&e.k[i].s&&e.k[i+1]&&e.k[i+1].s&&(o=e.k[i].s,a=e.k[i+1].s,s=e.k[i].to,l=e.k[i].ti,(2===o.length&&(o[0]!==a[0]||o[1]!==a[1])&&bez.pointOnLine2D(o[0],o[1],a[0],a[1],o[0]+s[0],o[1]+s[1])&&bez.pointOnLine2D(o[0],o[1],a[0],a[1],a[0]+l[0],a[1]+l[1])||3===o.length&&(o[0]!==a[0]||o[1]!==a[1]||o[2]!==a[2])&&bez.pointOnLine3D(o[0],o[1],o[2],a[0],a[1],a[2],o[0]+s[0],o[1]+s[1],o[2]+s[2])&&bez.pointOnLine3D(o[0],o[1],o[2],a[0],a[1],a[2],a[0]+l[0],a[1]+l[1],a[2]+l[2]))&&(e.k[i].to=null,e.k[i].ti=null),o[0]===a[0]&&o[1]===a[1]&&0===s[0]&&0===s[1]&&0===l[0]&&0===l[1]&&(2===o.length||o[2]===a[2]&&0===s[2]&&0===l[2])&&(e.k[i].to=null,e.k[i].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=e,this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=n||1,this.elem=t,this.container=r,this.comp=t.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var c=e.k[0].s.length;for(this.v=createTypedArray("float32",c),this.pv=createTypedArray("float32",c),i=0;i<c;i+=1)this.v[i]=initFrame,this.pv[i]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",c)},this.addEffect=addEffect}var PropertyFactory={getProp:function(t,e,n,r,i){var o;if(e.sid&&(e=t.globalData.slotManager.getProp(e)),e.k.length)if("number"==typeof e.k[0])o=new MultiDimensionalProperty(t,e,r,i);else switch(n){case 0:o=new KeyframedValueProperty(t,e,r,i);break;case 1:o=new KeyframedMultidimensionalProperty(t,e,r,i)}else o=new ValueProperty(t,e,r,i);return o.effectsSequence.length&&i.addDynamicProperty(o),o}};function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var t;this._mdf=!1;var e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var n=0;n<e;)this.v[n]=pointPool.newElement(),this.o[n]=pointPool.newElement(),this.i[n]=pointPool.newElement(),n+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,n,r,i){var o;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),n){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[]}(!o[r]||o[r]&&!i)&&(o[r]=pointPool.newElement()),o[r][0]=t,o[r][1]=e},ShapePath.prototype.setTripleAt=function(t,e,n,r,i,o,a,s){this.setXYAt(t,e,"v",a,s),this.setXYAt(n,r,"o",a,s),this.setXYAt(i,o,"i",a,s)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,n=this.o,r=this.i,i=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],r[0][0],r[0][1],n[0][0],n[0][1],0,!1),i=1);var o,a=this._length-1,s=this._length;for(o=i;o<s;o+=1)t.setTripleAt(e[a][0],e[a][1],r[a][0],r[a][1],n[a][0],n[a][1],o,!1),a-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(t){var e,n=t._length;for(e=0;e<n;e+=1)pointPool.release(t.v[e]),pointPool.release(t.i[e]),pointPool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1})),factory.clone=function(t){var e,n=factory.newElement(),r=void 0===t._length?t.v.length:t._length;for(n.setLength(r),n.c=t.c,e=0;e<r;e+=1)n.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return n},factory),factory;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(t){var e,n=t._length;for(e=0;e<n;e+=1)shapePool.release(t.shapes[e]);t._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=t,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ob,_length,_maxLength,pool,ShapePropertyFactory=function(){var t=-999999;function e(t,e,n){var r,i,o,a,s,l,u,c,h,d=n.lastIndex,f=this.keyframes;if(t<f[0].t-this.offsetTime)r=f[0].s[0],o=!0,d=0;else if(t>=f[f.length-1].t-this.offsetTime)r=f[f.length-1].s?f[f.length-1].s[0]:f[f.length-2].e[0],o=!0;else{for(var p,m,g,v=d,y=f.length-1,b=!0;b&&(p=f[v],!((m=f[v+1]).t-this.offsetTime>t));)v<y-1?v+=1:b=!1;if(g=this.keyframesMetadata[v]||{},d=v,!(o=1===p.h)){if(t>=m.t-this.offsetTime)c=1;else if(t<p.t-this.offsetTime)c=0;else{var w;g.__fnct?w=g.__fnct:(w=BezierFactory.getBezierEasing(p.o.x,p.o.y,p.i.x,p.i.y).get,g.__fnct=w),c=w((t-(p.t-this.offsetTime))/(m.t-this.offsetTime-(p.t-this.offsetTime)))}i=m.s?m.s[0]:p.e[0]}r=p.s[0]}for(l=e._length,u=r.i[0].length,n.lastIndex=d,a=0;a<l;a+=1)for(s=0;s<u;s+=1)h=o?r.i[a][s]:r.i[a][s]+(i.i[a][s]-r.i[a][s])*c,e.i[a][s]=h,h=o?r.o[a][s]:r.o[a][s]+(i.o[a][s]-r.o[a][s])*c,e.o[a][s]=h,h=o?r.v[a][s]:r.v[a][s]+(i.v[a][s]-r.v[a][s])*c,e.v[a][s]=h}function n(){var e=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime,i=this._caching.lastFrame;return i!==t&&(i<n&&e<n||i>r&&e>r)||(this._caching.lastIndex=i<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function r(){this.paths=this.localShapeCollection}function i(t){(function(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var n,r=t._length;for(n=0;n<r;n+=1)if(t.v[n][0]!==e.v[n][0]||t.v[n][1]!==e.v[n][1]||t.o[n][0]!==e.o[n][0]||t.o[n][1]!==e.o[n][1]||t.i[n][0]!==e.i[n][0]||t.i[n][1]!==e.i[n][1])return!1;return!0})(this.v,t)||(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function o(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t,e;this.lock=!0,this._mdf=!1,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var n=this.effectsSequence.length;for(e=0;e<n;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function a(t,e,n){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var i=3===n?e.pt.k:e.ks.k;this.v=shapePool.clone(i),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function s(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function l(e,i,o){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===o?i.pt.k:i.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var a=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,a),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=r,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[n.bind(this)]}a.prototype.interpolateShape=e,a.prototype.getValue=o,a.prototype.setVValue=i,a.prototype.addEffect=s,l.prototype.getValue=o,l.prototype.interpolateShape=e,l.prototype.setVValue=i,l.prototype.addEffect=s;var u=function(){var t=roundCorner;function e(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var e=this.p.v[0],n=this.p.v[1],r=this.s.v[0]/2,i=this.s.v[1]/2,o=3!==this.d,a=this.v;a.v[0][0]=e,a.v[0][1]=n-i,a.v[1][0]=o?e+r:e-r,a.v[1][1]=n,a.v[2][0]=e,a.v[2][1]=n+i,a.v[3][0]=o?e-r:e+r,a.v[3][1]=n,a.i[0][0]=o?e-r*t:e+r*t,a.i[0][1]=n-i,a.i[1][0]=o?e+r:e-r,a.i[1][1]=n-i*t,a.i[2][0]=o?e+r*t:e-r*t,a.i[2][1]=n+i,a.i[3][0]=o?e-r:e+r,a.i[3][1]=n+i*t,a.o[0][0]=o?e+r*t:e-r*t,a.o[0][1]=n-i,a.o[1][0]=o?e+r:e-r,a.o[1][1]=n+i*t,a.o[2][0]=o?e-r*t:e+r*t,a.o[2][1]=n+i,a.o[3][0]=o?e-r:e+r,a.o[3][1]=n-i*t}},extendPrototype([DynamicPropertyContainer],e),e}(),c=function(){function t(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=PropertyFactory.getProp(t,e.ir,0,0,this),this.is=PropertyFactory.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,n,r,i=2*Math.floor(this.pt.v),o=2*Math.PI/i,a=!0,s=this.or.v,l=this.ir.v,u=this.os.v,c=this.is.v,h=2*Math.PI*s/(2*i),d=2*Math.PI*l/(2*i),f=-Math.PI/2;f+=this.r.v;var p=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<i;t+=1){n=a?u:c,r=a?h:d;var m=(e=a?s:l)*Math.cos(f),g=e*Math.sin(f),v=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),y=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-v*r*n*p,g-y*r*n*p,m+v*r*n*p,g+y*r*n*p,t,!0),a=!a,f+=o*p}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),n=2*Math.PI/e,r=this.or.v,i=this.os.v,o=2*Math.PI*r/(4*e),a=.5*-Math.PI,s=3===this.data.d?-1:1;for(a+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var l=r*Math.cos(a),u=r*Math.sin(a),c=0===l&&0===u?0:u/Math.sqrt(l*l+u*u),h=0===l&&0===u?0:-l/Math.sqrt(l*l+u*u);l+=+this.p.v[0],u+=+this.p.v[1],this.v.setTripleAt(l,u,l-c*o*i*s,u-h*o*i*s,l+c*o*i*s,u+h*o*i*s,t,!0),a+=n*s}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),h=function(){function t(t,e){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],n=this.s.v[0]/2,r=this.s.v[1]/2,i=bmMin(n,r,this.r.v),o=i*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+n,e-r+i,t+n,e-r+i,t+n,e-r+o,0,!0),this.v.setTripleAt(t+n,e+r-i,t+n,e+r-o,t+n,e+r-i,1,!0),0!==i?(this.v.setTripleAt(t+n-i,e+r,t+n-i,e+r,t+n-o,e+r,2,!0),this.v.setTripleAt(t-n+i,e+r,t-n+o,e+r,t-n+i,e+r,3,!0),this.v.setTripleAt(t-n,e+r-i,t-n,e+r-i,t-n,e+r-o,4,!0),this.v.setTripleAt(t-n,e-r+i,t-n,e-r+o,t-n,e-r+i,5,!0),this.v.setTripleAt(t-n+i,e-r,t-n+i,e-r,t-n+o,e-r,6,!0),this.v.setTripleAt(t+n-i,e-r,t+n-o,e-r,t+n-i,e-r,7,!0)):(this.v.setTripleAt(t-n,e+r,t-n+o,e+r,t-n,e+r,2),this.v.setTripleAt(t-n,e-r,t-n,e-r+o,t-n,e-r,3))):(this.v.setTripleAt(t+n,e-r+i,t+n,e-r+o,t+n,e-r+i,0,!0),0!==i?(this.v.setTripleAt(t+n-i,e-r,t+n-i,e-r,t+n-o,e-r,1,!0),this.v.setTripleAt(t-n+i,e-r,t-n+o,e-r,t-n+i,e-r,2,!0),this.v.setTripleAt(t-n,e-r+i,t-n,e-r+i,t-n,e-r+o,3,!0),this.v.setTripleAt(t-n,e+r-i,t-n,e+r-o,t-n,e+r-i,4,!0),this.v.setTripleAt(t-n+i,e+r,t-n+i,e+r,t-n+o,e+r,5,!0),this.v.setTripleAt(t+n-i,e+r,t+n-o,e+r,t+n-i,e+r,6,!0),this.v.setTripleAt(t+n,e+r-i,t+n,e+r-i,t+n,e+r-o,7,!0)):(this.v.setTripleAt(t-n,e-r,t-n+o,e-r,t-n,e-r,1,!0),this.v.setTripleAt(t-n,e+r,t-n,e+r-o,t-n,e+r,2,!0),this.v.setTripleAt(t+n,e+r,t+n-o,e+r,t+n,e+r,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],t),t}(),d={getShapeProp:function(t,e,n){var r;return 3===n||4===n?r=(3===n?e.pt:e.ks).k.length?new l(t,e,n):new a(t,e,n):5===n?r=new h(t,e):6===n?r=new u(t,e):7===n&&(r=new c(t,e)),r.k&&t.addDynamicProperty(r),r},getConstructorFunction:function(){return a},getKeyframedConstructorFunction:function(){return l}};return d}(),Matrix=function(){var t=Math.cos,e=Math.sin,n=Math.tan,r=Math.round;function i(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function o(n){if(0===n)return this;var r=t(n),i=e(n);return this._t(r,-i,0,0,i,r,0,0,0,0,1,0,0,0,0,1)}function a(n){if(0===n)return this;var r=t(n),i=e(n);return this._t(1,0,0,0,0,r,-i,0,0,i,r,0,0,0,0,1)}function s(n){if(0===n)return this;var r=t(n),i=e(n);return this._t(r,0,i,0,0,1,0,0,-i,0,r,0,0,0,0,1)}function l(n){if(0===n)return this;var r=t(n),i=e(n);return this._t(r,-i,0,0,i,r,0,0,0,0,1,0,0,0,0,1)}function u(t,e){return this._t(1,e,t,1,0,0)}function c(t,e){return this.shear(n(t),n(e))}function h(r,i){var o=t(i),a=e(i);return this._t(o,a,0,0,-a,o,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(r),1,0,0,0,0,1,0,0,0,0,1)._t(o,-a,0,0,a,o,0,0,0,0,1,0,0,0,0,1)}function d(t,e,n){return n||0===n||(n=1),1===t&&1===e&&1===n?this:this._t(t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1)}function f(t,e,n,r,i,o,a,s,l,u,c,h,d,f,p,m){return this.props[0]=t,this.props[1]=e,this.props[2]=n,this.props[3]=r,this.props[4]=i,this.props[5]=o,this.props[6]=a,this.props[7]=s,this.props[8]=l,this.props[9]=u,this.props[10]=c,this.props[11]=h,this.props[12]=d,this.props[13]=f,this.props[14]=p,this.props[15]=m,this}function p(t,e,n){return n=n||0,0!==t||0!==e||0!==n?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,n,1):this}function m(t,e,n,r,i,o,a,s,l,u,c,h,d,f,p,m){var g=this.props;if(1===t&&0===e&&0===n&&0===r&&0===i&&1===o&&0===a&&0===s&&0===l&&0===u&&1===c&&0===h)return g[12]=g[12]*t+g[15]*d,g[13]=g[13]*o+g[15]*f,g[14]=g[14]*c+g[15]*p,g[15]*=m,this._identityCalculated=!1,this;var v=g[0],y=g[1],b=g[2],w=g[3],x=g[4],A=g[5],k=g[6],S=g[7],E=g[8],C=g[9],q=g[10],T=g[11],P=g[12],D=g[13],_=g[14],O=g[15];return g[0]=v*t+y*i+b*l+w*d,g[1]=v*e+y*o+b*u+w*f,g[2]=v*n+y*a+b*c+w*p,g[3]=v*r+y*s+b*h+w*m,g[4]=x*t+A*i+k*l+S*d,g[5]=x*e+A*o+k*u+S*f,g[6]=x*n+A*a+k*c+S*p,g[7]=x*r+A*s+k*h+S*m,g[8]=E*t+C*i+q*l+T*d,g[9]=E*e+C*o+q*u+T*f,g[10]=E*n+C*a+q*c+T*p,g[11]=E*r+C*s+q*h+T*m,g[12]=P*t+D*i+_*l+O*d,g[13]=P*e+D*o+_*u+O*f,g[14]=P*n+D*a+_*c+O*p,g[15]=P*r+D*s+_*h+O*m,this._identityCalculated=!1,this}function g(t){var e=t.props;return this.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}function v(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function y(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function b(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function w(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function x(t,e,n){return{x:t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]}}function A(t,e,n){return t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12]}function k(t,e,n){return t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13]}function S(t,e,n){return t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]}function E(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,n=-this.props[1]/t,r=-this.props[4]/t,i=this.props[0]/t,o=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,a=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,s=new Matrix;return s.props[0]=e,s.props[1]=n,s.props[4]=r,s.props[5]=i,s.props[12]=o,s.props[13]=a,s}function C(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function q(t){var e,n=t.length,r=[];for(e=0;e<n;e+=1)r[e]=C(t[e]);return r}function T(t,e,n){var r=createTypedArray("float32",6);if(this.isIdentity())r[0]=t[0],r[1]=t[1],r[2]=e[0],r[3]=e[1],r[4]=n[0],r[5]=n[1];else{var i=this.props[0],o=this.props[1],a=this.props[4],s=this.props[5],l=this.props[12],u=this.props[13];r[0]=t[0]*i+t[1]*a+l,r[1]=t[0]*o+t[1]*s+u,r[2]=e[0]*i+e[1]*a+l,r[3]=e[0]*o+e[1]*s+u,r[4]=n[0]*i+n[1]*a+l,r[5]=n[0]*o+n[1]*s+u}return r}function P(t,e,n){return this.isIdentity()?[t,e,n]:[t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]]}function D(t,e){if(this.isIdentity())return t+","+e;var n=this.props;return Math.round(100*(t*n[0]+e*n[4]+n[12]))/100+","+Math.round(100*(t*n[1]+e*n[5]+n[13]))/100}function _(){for(var t=0,e=this.props,n="matrix3d(";t<16;)n+=r(1e4*e[t])/1e4,n+=15===t?")":",",t+=1;return n}function O(t){return t<1e-6&&t>0||t>-1e-6&&t<0?r(1e4*t)/1e4:t}function M(){var t=this.props;return"matrix("+O(t[0])+","+O(t[1])+","+O(t[4])+","+O(t[5])+","+O(t[12])+","+O(t[13])+")"}return function(){this.reset=i,this.rotate=o,this.rotateX=a,this.rotateY=s,this.rotateZ=l,this.skew=c,this.skewFromAxis=h,this.shear=u,this.scale=d,this.setTransform=f,this.translate=p,this.transform=m,this.multiply=g,this.applyToPoint=x,this.applyToX=A,this.applyToY=k,this.applyToZ=S,this.applyToPointArray=P,this.applyToTriplePoints=T,this.applyToPointStringified=D,this.toCSS=_,this.to2dCSS=M,this.clone=b,this.cloneFromProps=w,this.equals=y,this.inversePoints=q,this.inversePoint=C,this.getInverseMatrix=E,this._t=this.transform,this.isIdentity=v,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){return _typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$3(t)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(t){setLocationHref(t)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"==typeof t)switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(t,e){"expressions"===t&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),n=0;n<e.length;n+=1){var r=e[n].split("=");if(decodeURIComponent(r[0])==t)return decodeURIComponent(r[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.13.0";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&__webpack_require__.amdO}catch(t){}var ShapeModifiers=function(){var t={},e={};return t.registerModifier=function(t,n){e[t]||(e[t]=n)},t.getModifier=function(t,n,r){return new e[t](n,r)},t}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,n,r,i){var o=[];e<=1?o.push({s:t,e:e}):t>=1?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1}));var a,s,l=[],u=o.length;for(a=0;a<u;a+=1){var c,h;(s=o[a]).e*i<r||s.s*i>r+n||(c=s.s*i<=r?0:(s.s*i-r)/n,h=s.e*i>=r+n?1:(s.e*i-r)/n,l.push([c,h]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(t){var e,n=t.length;for(e=0;e<n;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,n,r,i;if(this._mdf||t){var o=this.o.v%360/360;if(o<0&&(o+=1),(e=this.s.v>1?1+o:this.s.v<0?0+o:this.s.v+o)>(n=this.e.v>1?1+o:this.e.v<0?0+o:this.e.v+o)){var a=e;e=n,n=a}e=1e-4*Math.round(1e4*e),n=1e-4*Math.round(1e4*n),this.sValue=e,this.eValue=n}else e=this.sValue,n=this.eValue;var s,l,u,c,h,d=this.shapes.length,f=0;if(n===e)for(i=0;i<d;i+=1)this.shapes[i].localShapeCollection.releaseShapes(),this.shapes[i].shape._mdf=!0,this.shapes[i].shape.paths=this.shapes[i].localShapeCollection,this._mdf&&(this.shapes[i].pathsData.length=0);else if(1===n&&0===e||0===n&&1===e){if(this._mdf)for(i=0;i<d;i+=1)this.shapes[i].pathsData.length=0,this.shapes[i].shape._mdf=!0}else{var p,m,g=[];for(i=0;i<d;i+=1)if((p=this.shapes[i]).shape._mdf||this._mdf||t||2===this.m){if(l=(r=p.shape.paths)._length,h=0,!p.shape._mdf&&p.pathsData.length)h=p.totalShapeLength;else{for(u=this.releasePathsData(p.pathsData),s=0;s<l;s+=1)c=bez.getSegmentsLength(r.shapes[s]),u.push(c),h+=c.totalLength;p.totalShapeLength=h,p.pathsData=u}f+=h,p.shape._mdf=!0}else p.shape.paths=p.localShapeCollection;var v,y=e,b=n,w=0;for(i=d-1;i>=0;i-=1)if((p=this.shapes[i]).shape._mdf){for((m=p.localShapeCollection).releaseShapes(),2===this.m&&d>1?(v=this.calculateShapeEdges(e,n,p.totalShapeLength,w,f),w+=p.totalShapeLength):v=[[y,b]],l=v.length,s=0;s<l;s+=1){y=v[s][0],b=v[s][1],g.length=0,b<=1?g.push({s:p.totalShapeLength*y,e:p.totalShapeLength*b}):y>=1?g.push({s:p.totalShapeLength*(y-1),e:p.totalShapeLength*(b-1)}):(g.push({s:p.totalShapeLength*y,e:p.totalShapeLength}),g.push({s:0,e:p.totalShapeLength*(b-1)}));var x=this.addShapes(p,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(p.shape.paths.shapes[p.shape.paths._length-1].c){var A=x.pop();this.addPaths(x,m),x=this.addShapes(p,g[1],A)}else this.addPaths(x,m),x=this.addShapes(p,g[1]);this.addPaths(x,m)}}p.shape.paths=m}}},TrimModifier.prototype.addPaths=function(t,e){var n,r=t.length;for(n=0;n<r;n+=1)e.addShape(t[n])},TrimModifier.prototype.addSegment=function(t,e,n,r,i,o,a){i.setXYAt(e[0],e[1],"o",o),i.setXYAt(n[0],n[1],"i",o+1),a&&i.setXYAt(t[0],t[1],"v",o),i.setXYAt(r[0],r[1],"v",o+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,n,r){e.setXYAt(t[1],t[5],"o",n),e.setXYAt(t[2],t[6],"i",n+1),r&&e.setXYAt(t[0],t[4],"v",n),e.setXYAt(t[3],t[7],"v",n+1)},TrimModifier.prototype.addShapes=function(t,e,n){var r,i,o,a,s,l,u,c,h=t.pathsData,d=t.shape.paths.shapes,f=t.shape.paths._length,p=0,m=[],g=!0;for(n?(s=n._length,c=n._length):(n=shapePool.newElement(),s=0,c=0),m.push(n),r=0;r<f;r+=1){for(l=h[r].lengths,n.c=d[r].c,o=d[r].c?l.length:l.length+1,i=1;i<o;i+=1)if(p+(a=l[i-1]).addedLength<e.s)p+=a.addedLength,n.c=!1;else{if(p>e.e){n.c=!1;break}e.s<=p&&e.e>=p+a.addedLength?(this.addSegment(d[r].v[i-1],d[r].o[i-1],d[r].i[i],d[r].v[i],n,s,g),g=!1):(u=bez.getNewSegment(d[r].v[i-1],d[r].v[i],d[r].o[i-1],d[r].i[i],(e.s-p)/a.addedLength,(e.e-p)/a.addedLength,l[i-1]),this.addSegmentFromArray(u,n,s,g),g=!1,n.c=!1),p+=a.addedLength,s+=1}if(d[r].c&&l.length){if(a=l[i-1],p<=e.e){var v=l[i-1].addedLength;e.s<=p&&e.e>=p+v?(this.addSegment(d[r].v[i-1],d[r].o[i-1],d[r].i[0],d[r].v[0],n,s,g),g=!1):(u=bez.getNewSegment(d[r].v[i-1],d[r].v[0],d[r].o[i-1],d[r].i[0],(e.s-p)/v,(e.e-p)/v,l[i-1]),this.addSegmentFromArray(u,n,s,g),g=!1,n.c=!1)}else n.c=!1;p+=a.addedLength,s+=1}if(n._length&&(n.setXYAt(n.v[c][0],n.v[c][1],"i",c),n.setXYAt(n.v[n._length-1][0],n.v[n._length-1][1],"o",n._length-1)),p>e.e)break;r<f-1&&(n=shapePool.newElement(),g=!0,m.push(n),s=0)}return m},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var n=e/100,r=[0,0],i=t._length,o=0;for(o=0;o<i;o+=1)r[0]+=t.v[o][0],r[1]+=t.v[o][1];r[0]/=i,r[1]/=i;var a,s,l,u,c,h,d=shapePool.newElement();for(d.c=t.c,o=0;o<i;o+=1)a=t.v[o][0]+(r[0]-t.v[o][0])*n,s=t.v[o][1]+(r[1]-t.v[o][1])*n,l=t.o[o][0]+(r[0]-t.o[o][0])*-n,u=t.o[o][1]+(r[1]-t.o[o][1])*-n,c=t.i[o][0]+(r[0]-t.i[o][0])*-n,h=t.i[o][1]+(r[1]-t.i[o][1])*-n,d.setTripleAt(a,s,l,u,c,h,o);return d},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,n,r,i,o,a,s=this.shapes.length,l=this.amount.v;if(0!==l)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,i=o.shape.paths._length,r=0;r<i;r+=1)a.addShape(this.processPath(e[r],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(t,e,n){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(n||t),e.p&&e.p.s?(this.px=PropertyFactory.getProp(t,e.p.x,0,0,this),this.py=PropertyFactory.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=PropertyFactory.getProp(t,e.p.z,0,0,this))):this.p=PropertyFactory.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=PropertyFactory.getProp(t,e.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(t,e.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(t,e.rz,0,degToRads,this),e.or.k[0].ti){var r,i=e.or.k.length;for(r=0;r<i;r+=1)e.or.k[r].to=null,e.or.k[r].ti=null}this.or=PropertyFactory.getProp(t,e.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(t,e.r||{k:0},0,degToRads,this);e.sk&&(this.sk=PropertyFactory.getProp(t,e.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(t,e.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=PropertyFactory.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return e.prototype={applyToMatrix:function(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){var n;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var r,i;if(n=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(r=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/n,0),i=this.p.getValueAtTime(this.p.keyframes[0].t/n,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(r=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/n,0),i=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/n,0)):(r=this.p.pv,i=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/n,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){r=[],i=[];var o=this.px,a=this.py;o._caching.lastFrame+o.offsetTime<=o.keyframes[0].t?(r[0]=o.getValueAtTime((o.keyframes[0].t+.01)/n,0),r[1]=a.getValueAtTime((a.keyframes[0].t+.01)/n,0),i[0]=o.getValueAtTime(o.keyframes[0].t/n,0),i[1]=a.getValueAtTime(a.keyframes[0].t/n,0)):o._caching.lastFrame+o.offsetTime>=o.keyframes[o.keyframes.length-1].t?(r[0]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/n,0),r[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/n,0),i[0]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/n,0),i[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/n,0)):(r=[o.pv,a.pv],i[0]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/n,o.offsetTime),i[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/n,a.offsetTime))}else r=i=t;this.v.rotate(-Math.atan2(r[1]-i[1],r[0]-i[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],e),e.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},e.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,n,r){return new e(t,n,r)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(t,e){return 1e5*Math.abs(t-e)<=Math.min(Math.abs(t),Math.abs(e))}function floatZero(t){return Math.abs(t)<=1e-5}function lerp(t,e,n){return t*(1-n)+e*n}function lerpPoint(t,e,n){return[lerp(t[0],e[0],n),lerp(t[1],e[1],n)]}function quadRoots(t,e,n){if(0===t)return[];var r=e*e-4*t*n;if(r<0)return[];var i=-e/(2*t);if(0===r)return[i];var o=Math.sqrt(r)/(2*t);return[i-o,i+o]}function polynomialCoefficients(t,e,n,r){return[3*e-t-3*n+r,3*t-6*e+3*n,-3*t+3*e,t]}function singlePoint(t){return new PolynomialBezier(t,t,t,t,!1)}function PolynomialBezier(t,e,n,r,i){i&&pointEqual(t,e)&&(e=lerpPoint(t,r,1/3)),i&&pointEqual(n,r)&&(n=lerpPoint(t,r,2/3));var o=polynomialCoefficients(t[0],e[0],n[0],r[0]),a=polynomialCoefficients(t[1],e[1],n[1],r[1]);this.a=[o[0],a[0]],this.b=[o[1],a[1]],this.c=[o[2],a[2]],this.d=[o[3],a[3]],this.points=[t,e,n,r]}function extrema(t,e){var n=t.points[0][e],r=t.points[t.points.length-1][e];if(n>r){var i=r;r=n,n=i}for(var o=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),a=0;a<o.length;a+=1)if(o[a]>0&&o[a]<1){var s=t.point(o[a])[e];s<n?n=s:s>r&&(r=s)}return{min:n,max:r}}function intersectData(t,e,n){var r=t.boundingBox();return{cx:r.cx,cy:r.cy,width:r.width,height:r.height,bez:t,t:(e+n)/2,t1:e,t2:n}}function splitData(t){var e=t.bez.split(.5);return[intersectData(e[0],t.t1,t.t),intersectData(e[1],t.t,t.t2)]}function boxIntersect(t,e){return 2*Math.abs(t.cx-e.cx)<t.width+e.width&&2*Math.abs(t.cy-e.cy)<t.height+e.height}function intersectsImpl(t,e,n,r,i,o){if(boxIntersect(t,e))if(n>=o||t.width<=r&&t.height<=r&&e.width<=r&&e.height<=r)i.push([t.t,e.t]);else{var a=splitData(t),s=splitData(e);intersectsImpl(a[0],s[0],n+1,r,i,o),intersectsImpl(a[0],s[1],n+1,r,i,o),intersectsImpl(a[1],s[0],n+1,r,i,o),intersectsImpl(a[1],s[1],n+1,r,i,o)}}function crossProduct(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function lineIntersection(t,e,n,r){var i=[t[0],t[1],1],o=[e[0],e[1],1],a=[n[0],n[1],1],s=[r[0],r[1],1],l=crossProduct(crossProduct(i,o),crossProduct(a,s));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function polarOffset(t,e,n){return[t[0]+Math.cos(e)*n,t[1]-Math.sin(e)*n]}function pointDistance(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function pointEqual(t,e){return floatEqual(t[0],e[0])&&floatEqual(t[1],e[1])}function ZigZagModifier(){}function setPoint(t,e,n,r,i,o,a){var s=n-Math.PI/2,l=n+Math.PI/2,u=e[0]+Math.cos(n)*r*i,c=e[1]-Math.sin(n)*r*i;t.setTripleAt(u,c,u+Math.cos(s)*o,c-Math.sin(s)*o,u+Math.cos(l)*a,c-Math.sin(l)*a,t.length())}function getPerpendicularVector(t,e){var n=[e[0]-t[0],e[1]-t[1]],r=.5*-Math.PI;return[Math.cos(r)*n[0]-Math.sin(r)*n[1],Math.sin(r)*n[0]+Math.cos(r)*n[1]]}function getProjectingAngle(t,e){var n=0===e?t.length()-1:e-1,r=(e+1)%t.length(),i=getPerpendicularVector(t.v[n],t.v[r]);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(t,e,n,r,i,o,a){var s=getProjectingAngle(e,n),l=e.v[n%e._length],u=e.v[0===n?e._length-1:n-1],c=e.v[(n+1)%e._length],h=2===o?Math.sqrt(Math.pow(l[0]-u[0],2)+Math.pow(l[1]-u[1],2)):0,d=2===o?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0;setPoint(t,e.v[n%e._length],s,a,r,d/(2*(i+1)),h/(2*(i+1)),o)}function zigZagSegment(t,e,n,r,i,o){for(var a=0;a<r;a+=1){var s=(a+1)/(r+1),l=2===i?Math.sqrt(Math.pow(e.points[3][0]-e.points[0][0],2)+Math.pow(e.points[3][1]-e.points[0][1],2)):0,u=e.normalAngle(s);setPoint(t,e.point(s),u,o,n,l/(2*(r+1)),l/(2*(r+1)),i),o=-o}return o}function linearOffset(t,e,n){var r=Math.atan2(e[0]-t[0],e[1]-t[1]);return[polarOffset(t,r,n),polarOffset(e,r,n)]}function offsetSegment(t,e){var n,r,i,o,a,s,l;n=(l=linearOffset(t.points[0],t.points[1],e))[0],r=l[1],i=(l=linearOffset(t.points[1],t.points[2],e))[0],o=l[1],a=(l=linearOffset(t.points[2],t.points[3],e))[0],s=l[1];var u=lineIntersection(n,r,i,o);null===u&&(u=r);var c=lineIntersection(a,s,i,o);return null===c&&(c=a),new PolynomialBezier(n,u,c,s)}function joinLines(t,e,n,r,i){var o=e.points[3],a=n.points[0];if(3===r)return o;if(pointEqual(o,a))return o;if(2===r){var s=-e.tangentAngle(1),l=-n.tangentAngle(0)+Math.PI,u=lineIntersection(o,polarOffset(o,s+Math.PI/2,100),a,polarOffset(a,s+Math.PI/2,100)),c=u?pointDistance(u,o):pointDistance(o,a)/2,h=polarOffset(o,s,2*c*roundCorner);return t.setXYAt(h[0],h[1],"o",t.length()-1),h=polarOffset(a,l,2*c*roundCorner),t.setTripleAt(a[0],a[1],a[0],a[1],h[0],h[1],t.length()),a}var d=lineIntersection(pointEqual(o,e.points[2])?e.points[0]:e.points[2],o,a,pointEqual(a,n.points[1])?n.points[3]:n.points[1]);return d&&pointDistance(d,o)<i?(t.setTripleAt(d[0],d[1],d[0],d[1],d[0],d[1],t.length()),d):o}function getIntersection(t,e){var n=t.intersections(e);return n.length&&floatEqual(n[0][0],1)&&n.shift(),n.length?n[0]:null}function pruneSegmentIntersection(t,e){var n=t.slice(),r=e.slice(),i=getIntersection(t[t.length-1],e[0]);return i&&(n[t.length-1]=t[t.length-1].split(i[0])[0],r[0]=e[0].split(i[1])[1]),t.length>1&&e.length>1&&(i=getIntersection(t[0],e[e.length-1]))?[[t[0].split(i[0])[0]],[e[e.length-1].split(i[1])[1]]]:[n,r]}function pruneIntersections(t){for(var e,n=1;n<t.length;n+=1)e=pruneSegmentIntersection(t[n-1],t[n]),t[n-1]=e[0],t[n]=e[1];return t.length>1&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var n,r,i,o,a=t.inflectionPoints();if(0===a.length)return[offsetSegment(t,e)];if(1===a.length||floatEqual(a[1],1))return n=(i=t.split(a[0]))[0],r=i[1],[offsetSegment(n,e),offsetSegment(r,e)];n=(i=t.split(a[0]))[0];var s=(a[1]-a[0])/(1-a[0]);return o=(i=i[1].split(s))[0],r=i[1],[offsetSegment(n,e),offsetSegment(o,e),offsetSegment(r,e)]}function OffsetPathModifier(){}function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],n="normal",r="normal",i=e.length,o=0;o<i;o+=1)switch(e[o].toLowerCase()){case"italic":r="italic";break;case"bold":n="700";break;case"black":n="900";break;case"medium":n="500";break;case"regular":case"normal":n="400";break;case"light":case"thin":n="200"}return{style:r,weight:t.fWeight||n}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,n,r,i,o){var a=o?-1:1,s=r.s.v[0]+(1-r.s.v[0])*(1-i),l=r.s.v[1]+(1-r.s.v[1])*(1-i);t.translate(r.p.v[0]*a*i,r.p.v[1]*a*i,r.p.v[2]),e.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),e.rotate(-r.r.v*a*i),e.translate(r.a.v[0],r.a.v[1],r.a.v[2]),n.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),n.scale(o?1/s:s,o?1/l:l),n.translate(r.a.v[0],r.a.v[1],r.a.v[2])},RepeaterModifier.prototype.init=function(t,e,n,r){for(this.elem=t,this.arr=e,this.pos=n,this.elemsData=r,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[n]);n>0;)n-=1,this._elements.unshift(e[n]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,n=t.length;for(e=0;e<n;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var n,r=t.length;for(n=0;n<r;n+=1)t[n]._render=e,"gr"===t[n].ty&&this.changeGroupRender(t[n].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,n,r,i,o,a=!1;if(this._mdf||t){var s,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var u={it:this.cloneElements(this._elements),ty:"gr"};u.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,u),this._groups.splice(0,0,u),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(o=0,r=0;r<=this._groups.length-1;r+=1){if(s=o<l,this._groups[r]._render=s,this.changeGroupRender(this._groups[r].it,s),!s){var c=this.elemsData[r].it,h=c[c.length-1];0!==h.transform.op.v?(h.transform.op._mdf=!0,h.transform.op.v=0):h.transform.op._mdf=!1}o+=1}this._currentCopies=l;var d=this.o.v,f=d%1,p=d>0?Math.floor(d):Math.ceil(d),m=this.pMatrix.props,g=this.rMatrix.props,v=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var y,b,w=0;if(d>0){for(;w<p;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),w+=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,f,!1),w+=f)}else if(d<0){for(;w>p;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),w-=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-f,!0),w-=f)}for(r=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,o=this._currentCopies;o;){if(b=(n=(e=this.elemsData[r].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(r/(this._currentCopies-1)),0!==w){for((0!==r&&1===i||r!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),y=0;y<b;y+=1)n[y]=this.matrix.props[y];this.matrix.reset()}else for(this.matrix.reset(),y=0;y<b;y+=1)n[y]=this.matrix.props[y];w+=1,o-=1,r+=i}}else for(o=this._currentCopies,r=0,i=1;o;)n=(e=this.elemsData[r].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,o-=1,r+=i;return a},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var n,r=shapePool.newElement();r.c=t.c;var i,o,a,s,l,u,c,h,d,f,p,m,g=t._length,v=0;for(n=0;n<g;n+=1)i=t.v[n],a=t.o[n],o=t.i[n],i[0]===a[0]&&i[1]===a[1]&&i[0]===o[0]&&i[1]===o[1]?0!==n&&n!==g-1||t.c?(s=0===n?t.v[g-1]:t.v[n-1],u=(l=Math.sqrt(Math.pow(i[0]-s[0],2)+Math.pow(i[1]-s[1],2)))?Math.min(l/2,e)/l:0,c=p=i[0]+(s[0]-i[0])*u,h=m=i[1]-(i[1]-s[1])*u,d=c-(c-i[0])*roundCorner,f=h-(h-i[1])*roundCorner,r.setTripleAt(c,h,d,f,p,m,v),v+=1,s=n===g-1?t.v[0]:t.v[n+1],u=(l=Math.sqrt(Math.pow(i[0]-s[0],2)+Math.pow(i[1]-s[1],2)))?Math.min(l/2,e)/l:0,c=d=i[0]+(s[0]-i[0])*u,h=f=i[1]+(s[1]-i[1])*u,p=c-(c-i[0])*roundCorner,m=h-(h-i[1])*roundCorner,r.setTripleAt(c,h,d,f,p,m,v),v+=1):(r.setTripleAt(i[0],i[1],a[0],a[1],o[0],o[1],v),v+=1):(r.setTripleAt(t.v[n][0],t.v[n][1],t.o[n][0],t.o[n][1],t.i[n][0],t.i[n][1],v),v+=1);return r},RoundCornersModifier.prototype.processShapes=function(t){var e,n,r,i,o,a,s=this.shapes.length,l=this.rd.v;if(0!==l)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,i=o.shape.paths._length,r=0;r<i;r+=1)a.addShape(this.processPath(e[r],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},PolynomialBezier.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},PolynomialBezier.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},PolynomialBezier.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(t))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,n=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(n<0)return[];var r=Math.sqrt(n);return floatZero(r)?r>0&&r<1?[e]:[]:[e-r,e+r].filter((function(t){return t>0&&t<1}))},PolynomialBezier.prototype.split=function(t){if(t<=0)return[singlePoint(this.points[0]),this];if(t>=1)return[this,singlePoint(this.points[this.points.length-1])];var e=lerpPoint(this.points[0],this.points[1],t),n=lerpPoint(this.points[1],this.points[2],t),r=lerpPoint(this.points[2],this.points[3],t),i=lerpPoint(e,n,t),o=lerpPoint(n,r,t),a=lerpPoint(i,o,t);return[new PolynomialBezier(this.points[0],e,i,a,!0),new PolynomialBezier(a,o,r,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}},PolynomialBezier.prototype.intersections=function(t,e,n){void 0===e&&(e=2),void 0===n&&(n=7);var r=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,r,n),r},PolynomialBezier.shapeSegment=function(t,e){var n=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[n],t.v[n],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var n=(e+1)%t.length();return new PolynomialBezier(t.v[n],t.i[n],t.o[e],t.v[e],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(t,e.s,0,null,this),this.frequency=PropertyFactory.getProp(t,e.r,0,null,this),this.pointsType=PropertyFactory.getProp(t,e.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(t,e,n,r){var i=t._length,o=shapePool.newElement();if(o.c=t.c,t.c||(i-=1),0===i)return o;var a=-1,s=PolynomialBezier.shapeSegment(t,0);zigZagCorner(o,t,0,e,n,r,a);for(var l=0;l<i;l+=1)a=zigZagSegment(o,s,e,n,r,-a),s=l!==i-1||t.c?PolynomialBezier.shapeSegment(t,(l+1)%i):null,zigZagCorner(o,t,l+1,e,n,r,a);return o},ZigZagModifier.prototype.processShapes=function(t){var e,n,r,i,o,a,s=this.shapes.length,l=this.amplitude.v,u=Math.max(0,Math.round(this.frequency.v)),c=this.pointsType.v;if(0!==l)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,i=o.shape.paths._length,r=0;r<i;r+=1)a.addShape(this.processPath(e[r],l,u,c));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this.miterLimit=PropertyFactory.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(t,e,n,r){var i=shapePool.newElement();i.c=t.c;var o,a,s,l=t.length();t.c||(l-=1);var u=[];for(o=0;o<l;o+=1)s=PolynomialBezier.shapeSegment(t,o),u.push(offsetSegmentSplit(s,e));if(!t.c)for(o=l-1;o>=0;o-=1)s=PolynomialBezier.shapeSegmentInverted(t,o),u.push(offsetSegmentSplit(s,e));u=pruneIntersections(u);var c=null,h=null;for(o=0;o<u.length;o+=1){var d=u[o];for(h&&(c=joinLines(i,h,d[0],n,r)),h=d[d.length-1],a=0;a<d.length;a+=1)s=d[a],c&&pointEqual(s.points[0],c)?i.setXYAt(s.points[1][0],s.points[1][1],"o",i.length()-1):i.setTripleAt(s.points[0][0],s.points[0][1],s.points[1][0],s.points[1][1],s.points[0][0],s.points[0][1],i.length()),i.setTripleAt(s.points[3][0],s.points[3][1],s.points[3][0],s.points[3][1],s.points[2][0],s.points[2][1],i.length()),c=s.points[3]}return u.length&&joinLines(i,h,u[0][0],n,r),i},OffsetPathModifier.prototype.processShapes=function(t){var e,n,r,i,o,a,s=this.shapes.length,l=this.amount.v,u=this.miterLimit.v,c=this.lineJoin;if(0!==l)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,i=o.shape.paths._length,r=0;r<i;r+=1)a.addShape(this.processPath(e[r],l,c,u));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var t={w:0,size:0,shapes:[],data:{shapes:[]}},e=[];e=e.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var n=127988,r=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function i(t,e){var n=createTag("span");n.setAttribute("aria-hidden",!0),n.style.fontFamily=e;var r=createTag("span");r.innerText="giItT1WQy@!-/#",n.style.position="absolute",n.style.left="-10000px",n.style.top="-10000px",n.style.fontSize="300px",n.style.fontVariant="normal",n.style.fontStyle="normal",n.style.fontWeight="normal",n.style.letterSpacing="0",n.appendChild(r),document.body.appendChild(n);var i=r.offsetWidth;return r.style.fontFamily=function(t){var e,n=t.split(","),r=n.length,i=[];for(e=0;e<r;e+=1)"sans-serif"!==n[e]&&"monospace"!==n[e]&&i.push(n[e]);return i.join(",")}(t)+", "+e,{node:r,w:i,parent:n}}function o(t,e){var n,r=document.body&&e?"svg":"canvas",i=getFontProperties(t);if("svg"===r){var o=createNS("text");o.style.fontSize="100px",o.setAttribute("font-family",t.fFamily),o.setAttribute("font-style",i.style),o.setAttribute("font-weight",i.weight),o.textContent="1",t.fClass?(o.style.fontFamily="inherit",o.setAttribute("class",t.fClass)):o.style.fontFamily=t.fFamily,e.appendChild(o),n=o}else{var a=new OffscreenCanvas(500,500).getContext("2d");a.font=i.style+" "+i.weight+" 100px "+t.fFamily,n=a}return{measureText:function(t){return"svg"===r?(n.textContent=t,n.getComputedTextLength()):n.measureText(t).width}}}function a(t){var e=0,n=t.charCodeAt(0);if(n>=55296&&n<=56319){var r=t.charCodeAt(1);r>=56320&&r<=57343&&(e=1024*(n-55296)+r-56320+65536)}return e}function s(t){var e=a(t);return e>=127462&&e<=127487}var l=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};l.isModifier=function(t,e){var n=t.toString(16)+e.toString(16);return-1!==r.indexOf(n)},l.isZeroWidthJoiner=function(t){return 8205===t},l.isFlagEmoji=function(t){return s(t.substr(0,2))&&s(t.substr(2,2))},l.isRegionalCode=s,l.isCombinedCharacter=function(t){return-1!==e.indexOf(t)},l.isRegionalFlag=function(t,e){var r=a(t.substr(e,2));if(r!==n)return!1;var i=0;for(e+=2;i<5;){if((r=a(t.substr(e,2)))<917601||r>917626)return!1;i+=1,e+=2}return 917631===a(t.substr(e,2))},l.isVariationSelector=function(t){return 65039===t},l.BLACK_FLAG_CODE_POINT=n;var u={addChars:function(t){if(t){var e;this.chars||(this.chars=[]);var n,r,i=t.length,o=this.chars.length;for(e=0;e<i;e+=1){for(n=0,r=!1;n<o;)this.chars[n].style===t[e].style&&this.chars[n].fFamily===t[e].fFamily&&this.chars[n].ch===t[e].ch&&(r=!0),n+=1;r||(this.chars.push(t[e]),o+=1)}}},addFonts:function(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);if(!document.body)return this.isLoaded=!0,t.list.forEach((function(t){t.helper=o(t),t.cache={}})),void(this.fonts=t.list);var n,r=t.list,a=r.length,s=a;for(n=0;n<a;n+=1){var l,u,c=!0;if(r[n].loaded=!1,r[n].monoCase=i(r[n].fFamily,"monospace"),r[n].sansCase=i(r[n].fFamily,"sans-serif"),r[n].fPath){if("p"===r[n].fOrigin||3===r[n].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+r[n].fFamily+'"], style[f-origin="3"][f-family="'+r[n].fFamily+'"]')).length>0&&(c=!1),c){var h=createTag("style");h.setAttribute("f-forigin",r[n].fOrigin),h.setAttribute("f-origin",r[n].origin),h.setAttribute("f-family",r[n].fFamily),h.type="text/css",h.innerText="@font-face {font-family: "+r[n].fFamily+"; font-style: normal; src: url('"+r[n].fPath+"');}",e.appendChild(h)}}else if("g"===r[n].fOrigin||1===r[n].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),u=0;u<l.length;u+=1)-1!==l[u].href.indexOf(r[n].fPath)&&(c=!1);if(c){var d=createTag("link");d.setAttribute("f-forigin",r[n].fOrigin),d.setAttribute("f-origin",r[n].origin),d.type="text/css",d.rel="stylesheet",d.href=r[n].fPath,document.body.appendChild(d)}}else if("t"===r[n].fOrigin||2===r[n].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),u=0;u<l.length;u+=1)r[n].fPath===l[u].src&&(c=!1);if(c){var f=createTag("link");f.setAttribute("f-forigin",r[n].fOrigin),f.setAttribute("f-origin",r[n].origin),f.setAttribute("rel","stylesheet"),f.setAttribute("href",r[n].fPath),e.appendChild(f)}}}else r[n].loaded=!0,s-=1;r[n].helper=o(r[n],e),r[n].cache={},this.fonts.push(r[n])}0===s?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(e,n,r){for(var i=0,o=this.chars.length;i<o;){if(this.chars[i].ch===e&&this.chars[i].style===n&&this.chars[i].fFamily===r)return this.chars[i];i+=1}return("string"==typeof e&&13!==e.charCodeAt(0)||!e)&&console&&console.warn&&!this._warned&&(this._warned=!0),t},getFontByName:function(t){for(var e=0,n=this.fonts.length;e<n;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,n){var r=this.getFontByName(e),i=t;if(!r.cache[i]){var o=r.helper;if(" "===t){var a=o.measureText("|"+t+"|"),s=o.measureText("||");r.cache[i]=(a-s)/100}else r.cache[i]=o.measureText(t)/100}return r.cache[i]*n},checkLoadedFonts:function(){var t,e,n,r=this.fonts.length,i=r;for(t=0;t<r;t+=1)this.fonts[t].loaded?i-=1:"n"===this.fonts[t].fOrigin||0===this.fonts[t].origin?this.fonts[t].loaded=!0:(e=this.fonts[t].monoCase.node,n=this.fonts[t].monoCase.w,e.offsetWidth!==n?(i-=1,this.fonts[t].loaded=!0):(e=this.fonts[t].sansCase.node,n=this.fonts[t].sansCase.w,e.offsetWidth!==n&&(i-=1,this.fonts[t].loaded=!0)),this.fonts[t].loaded&&(this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent),this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));0!==i&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return l.prototype=u,l}();function SlotManager(t){this.animationData=t}function slotFactory(t){return new SlotManager(t)}function RenderableElement(){}SlotManager.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(t){return blendModeEnums[t]||""}),blendModeEnums;function SliderEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function AngleEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function ColorEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,1,0,n)}function PointEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,1,0,n)}function LayerIndexEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function MaskIndexEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function CheckboxEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var n,r=t.ef||[];this.effectElements=[];var i,o=r.length;for(n=0;n<o;n+=1)i=new GroupEffect(r[n],e),this.effectElements.push(i)}function GroupEffect(t,e){this.init(t,e)}function BaseElement(){}function FrameElement(){}function FootageElement(t,e,n){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,n)}function AudioElement(t,e,n){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,n),this._isPlaying=!1,this._canPlay=!1;var r=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(r),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){var n;this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var r,i=this.data.ef.length,o=this.data.ef;for(n=0;n<i;n+=1){switch(r=null,o[n].ty){case 0:r=new SliderEffect(o[n],e,this);break;case 1:r=new AngleEffect(o[n],e,this);break;case 2:r=new ColorEffect(o[n],e,this);break;case 3:r=new PointEffect(o[n],e,this);break;case 4:case 7:r=new CheckboxEffect(o[n],e,this);break;case 10:r=new LayerIndexEffect(o[n],e,this);break;case 11:r=new MaskIndexEffect(o[n],e,this);break;case 5:r=new EffectsManager(o[n],e,this);break;default:r=new NoValueEffect(o[n],e,this)}r&&this.effectElements.push(r)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var e=t("layer"),n=t("effects"),r=t("shape"),i=t("text"),o=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var a=n.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(a),0===this.data.ty||this.data.xt?this.compInterface=o(this):4===this.data.ty?(this.layerInterface.shapeInterface=r(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=i(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,n){this.globalData=e,this.comp=n,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var n,r=this.dynamicProperties.length;for(n=0;n<r;n+=1)(e||this._isParent&&"transform"===this.dynamicProperties[n].propType)&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var t=getExpressionInterfaces();if(t){var e=t("footage");this.layerInterface=e(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var n=this._volume*this._volumeMultiplier;this._previousVolume!==n&&(this._previousVolume=n,this.audio.volume(n))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(t){var e,n,r=this.layers.length;for(this.completeLayers=!0,e=r-1;e>=0;e-=1)this.elements[e]||(n=this.layers[e]).ip-n.st<=t-this.layers[e].st&&n.op-n.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:default:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){var e;this.completeLayers=!1;var n,r=t.length,i=this.layers.length;for(e=0;e<r;e+=1)for(n=0;n<i;){if(this.layers[n].id===t[e].id){this.layers[n]=t[e];break}n+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,n){for(var r=this.elements,i=this.layers,o=0,a=i.length;o<a;)i[o].ind==e&&(r[o]&&!0!==r[o]?(n.push(r[o]),r[o].setAsParent(),void 0!==i[o].parent?this.buildElementParenting(t,i[o].parent,n):t.setHierarchy(n)):(this.buildItem(o),this.addPendingElement(t))),o+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,n=t.length;for(e=0;e<n;e+=1)if(t[e].xt){var r=this.createComp(t[e]);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},BaseRenderer.prototype.getElementById=function(t){var e,n=this.elements.length;for(e=0;e<n;e+=1)if(this.elements[e].data.ind===t)return this.elements[e];return null},BaseRenderer.prototype.getElementByPath=function(t){var e,n=t.shift();if("number"==typeof n)e=this.elements[n];else{var r,i=this.elements.length;for(r=0;r<i;r+=1)if(this.elements[r].data.nm===n){e=this.elements[r];break}}return 0===t.length?e:e.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(t),this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}function MaskElement(t,e,n){this.data=t,this.element=e,this.globalData=n,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var r,i,o=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var s,l,u,c,h,d,f=this.masksProperties,p=0,m=[],g=createElementID(),v="clipPath",y="clip-path";for(r=0;r<a;r+=1)if(("a"!==f[r].mode&&"n"!==f[r].mode||f[r].inv||100!==f[r].o.k||f[r].o.x)&&(v="mask",y="mask"),"s"!==f[r].mode&&"i"!==f[r].mode||0!==p?u=null:((u=createNS("rect")).setAttribute("fill","#ffffff"),u.setAttribute("width",this.element.comp.data.w||0),u.setAttribute("height",this.element.comp.data.h||0),m.push(u)),i=createNS("path"),"n"===f[r].mode)this.viewData[r]={op:PropertyFactory.getProp(this.element,f[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[r],3),elem:i,lastPath:""},o.appendChild(i);else{var b;if(p+=1,i.setAttribute("fill","s"===f[r].mode?"#000000":"#ffffff"),i.setAttribute("clip-rule","nonzero"),0!==f[r].x.k?(v="mask",y="mask",d=PropertyFactory.getProp(this.element,f[r].x,0,null,this.element),b=createElementID(),(c=createNS("filter")).setAttribute("id",b),(h=createNS("feMorphology")).setAttribute("operator","erode"),h.setAttribute("in","SourceGraphic"),h.setAttribute("radius","0"),c.appendChild(h),o.appendChild(c),i.setAttribute("stroke","s"===f[r].mode?"#000000":"#ffffff")):(h=null,d=null),this.storedData[r]={elem:i,x:d,expan:h,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===f[r].mode){l=m.length;var w=createNS("g");for(s=0;s<l;s+=1)w.appendChild(m[s]);var x=createNS("mask");x.setAttribute("mask-type","alpha"),x.setAttribute("id",g+"_"+p),x.appendChild(i),o.appendChild(x),w.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+p+")"),m.length=0,m.push(w)}else m.push(i);f[r].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[r]={elem:i,lastPath:"",op:PropertyFactory.getProp(this.element,f[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[r],3),invRect:u},this.viewData[r].prop.k||this.drawPath(f[r],this.viewData[r].prop.v,this.viewData[r])}for(this.maskElement=createNS(v),a=m.length,r=0;r<a;r+=1)this.maskElement.appendChild(m[r]);p>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(y,"url("+getLocationHref()+"#"+g+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var t=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,n=0,r=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<r;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),n=0;n<r;n+=1)e.multiply(this.hierarchy[n].finalTransform.mProp.v)}this.localTransforms&&!this.finalTransform._matMdf||(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,e=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<e;)this.localTransforms[t]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[t]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),t+=1;if(this.finalTransform._localMatMdf){var n=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(n),t=1;t<e;t+=1){var r=this.localTransforms[t].matrix;n.multiply(r)}n.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var i=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)i*=.01*this.localTransforms[t].opacity;this.finalTransform.localOpacity=i}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var e=0,n=t.length;for(e=0;e<n;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var n,r=!0,i=this.comp;r;)i.finalTransform?(i.data.hasMask&&e.splice(0,0,i.finalTransform),i=i.comp):r=!1;var o,a=e.length;for(n=0;n<a;n+=1)o=e[n].mat.applyToPointArray(0,0,0),t=[t[0]-o[0],t[1]-o[1],0];return t},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,n=this.element.finalTransform.mat,r=this.masksProperties.length;for(e=0;e<r;e+=1)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",n.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var i=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[e].filterId+")")),i.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(t,e,n){var r,i,o=" M"+e.v[0][0]+","+e.v[0][1];for(i=e._length,r=1;r<i;r+=1)o+=" C"+e.o[r-1][0]+","+e.o[r-1][1]+" "+e.i[r][0]+","+e.i[r][1]+" "+e.v[r][0]+","+e.v[r][1];if(e.c&&i>1&&(o+=" C"+e.o[r-1][0]+","+e.o[r-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),n.lastPath!==o){var a="";n.elem&&(e.c&&(a=t.inv?this.solidPath+o:o),n.elem.setAttribute("d",a)),n.lastPath=o}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={createFilter:function(t,e){var n=createNS("filter");return n.setAttribute("id",t),!0!==e&&(n.setAttribute("filterUnits","objectBoundingBox"),n.setAttribute("x","0%"),n.setAttribute("y","0%"),n.setAttribute("width","100%"),n.setAttribute("height","100%")),n},createAlphaToLuminanceFilter:function(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t}};return t}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!=typeof OffscreenCanvas};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(t){var e,n,r="SourceGraphic",i=t.data.ef?t.data.ef.length:0,o=createElementID(),a=filtersFactory.createFilter(o,!0),s=0;for(this.filters=[],e=0;e<i;e+=1){n=null;var l=t.data.ef[e].ty;registeredEffects$1[l]&&(n=new(0,registeredEffects$1[l].effect)(a,t.effectsManager.effectElements[e],t,idPrefix+s,r),r=idPrefix+s,registeredEffects$1[l].countsAsEffect&&(s+=1)),n&&this.filters.push(n)}s&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&t.addRenderableComponent(this)}function registerEffect$1(t,e,n){registeredEffects$1[t]={effect:e,countsAsEffect:n}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(t,e,n){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,n),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(t){var e,n=this.filters.length;for(e=0;e<n;e+=1)this.filters[e].renderFrame(t)},SVGEffects.prototype.getEffects=function(t){var e,n=this.filters.length,r=[];for(e=0;e<n;e+=1)this.filters[e].type===t&&r.push(this.filters[e]);return r},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var e=createNS("g");e.setAttribute("id",this.layerId),e.appendChild(this.layerElement),t=e,this.globalData.defs.appendChild(e)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var n=createNS("clipPath"),r=createNS("path");r.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var i=createElementID();if(n.setAttribute("id",i),n.appendChild(r),this.globalData.defs.appendChild(n),this.checkMasks()){var o=createNS("g");o.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),o.appendChild(this.layerElement),this.transformedElement=o,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var e,n,r,i,o=this.layerId+"_"+t;if(1===t||3===t){var a=createNS("mask");a.setAttribute("id",o),a.setAttribute("mask-type",3===t?"luminance":"alpha"),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),a.appendChild(r),this.globalData.defs.appendChild(a),featureSupport.maskType||1!==t||(a.setAttribute("mask-type","luminance"),e=createElementID(),n=filtersFactory.createFilter(e),this.globalData.defs.appendChild(n),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(i=createNS("g")).appendChild(r),a.appendChild(i),i.setAttribute("filter","url("+getLocationHref()+"#"+e+")"))}else if(2===t){var s=createNS("mask");s.setAttribute("id",o),s.setAttribute("mask-type","alpha");var l=createNS("g");s.appendChild(l),e=createElementID(),n=filtersFactory.createFilter(e);var u=createNS("feComponentTransfer");u.setAttribute("in","SourceGraphic"),n.appendChild(u);var c=createNS("feFuncA");c.setAttribute("type","table"),c.setAttribute("tableValues","1.0 0.0"),u.appendChild(c),this.globalData.defs.appendChild(n);var h=createNS("rect");h.setAttribute("width",this.comp.data.w),h.setAttribute("height",this.comp.data.h),h.setAttribute("x","0"),h.setAttribute("y","0"),h.setAttribute("fill","#ffffff"),h.setAttribute("opacity","0"),l.setAttribute("filter","url("+getLocationHref()+"#"+e+")"),l.appendChild(h),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(r),featureSupport.maskType||(s.setAttribute("mask-type","luminance"),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),i=createNS("g"),l.appendChild(h),i.appendChild(this.layerElement),l.appendChild(i)),this.globalData.defs.appendChild(s)}this.matteMasks[t]=o}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initTransform(t,e,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(t){var e,n=this.shapeModifiers.length;for(e=0;e<n;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=this.shapeModifiers.length;0<e;)if(this.shapeModifiers[0].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();for(t=(e=this.shapeModifiers.length)-1;t>=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,n=0,r=e.length;n<r;){if(e[n].elem===t)return e[n].pos;n+=1}return 0},addProcessedElement:function(t,e){for(var n=this.processedElements,r=n.length;r;)if(n[r-=1].elem===t)return void(n[r].pos=e);n.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(t,e,n){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=n,this.lvl=e,this._isAnimated=!!n.k;for(var r=0,i=t.length;r<i;){if(t[r].mProps.dynamicProperties.length){this._isAnimated=!0;break}r+=1}}function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(t,e,n,r){var i;this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=n,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(r);var o,a=e.length||0;for(i=0;i<a;i+=1)o=PropertyFactory.getProp(t,e[i].v,0,0,this),this.k=o.k||this.k,this.dataProps[i]={n:e[i].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=n,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=n}function SVGNoStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=n}function GradientProperty(t,e,n){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var r=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=createTypedArray("float32",r),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=r,this.initDynamicPropertyContainer(n),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,n)}function SVGGradientStrokeStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,n),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,n){this.transform={mProps:t,op:e,container:n},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,n=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<n;e+=1)"o"!==this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(t,e){for(var n=0,r=this.o.length/2;n<r;){if(Math.abs(t[4*n]-t[4*e+2*n])>.01)return!1;n+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,n,r,i=4*this.data.p;for(e=0;e<i;e+=1)n=e%4==0?100:255,r=Math.round(this.prop.v[e]*n),this.c[e]!==r&&(this.c[e]=r,this._cmdf=!t);if(this.o.length)for(i=this.prop.v.length,e=4*this.data.p;e<i;e+=1)n=e%2==0?100:1,r=e%2==0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==r&&(this.o[e-4*this.data.p]=r,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,n){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=n,this.stops=[],this.setGradientData(n.pElem,e),this.setGradientOpacity(e,n),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var n=createElementID(),r=createNS(1===e.t?"linearGradient":"radialGradient");r.setAttribute("id",n),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse");var i,o,a,s=[];for(a=4*e.g.p,o=0;o<a;o+=4)i=createNS("stop"),r.appendChild(i),s.push(i);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+n+")"),this.gf=r,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var n,r,i,o=createNS("mask"),a=createNS("path");o.appendChild(a);var s=createElementID(),l=createElementID();o.setAttribute("id",l);var u=createNS(1===t.t?"linearGradient":"radialGradient");u.setAttribute("id",s),u.setAttribute("spreadMethod","pad"),u.setAttribute("gradientUnits","userSpaceOnUse"),i=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var c=this.stops;for(r=4*t.g.p;r<i;r+=2)(n=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),u.appendChild(n),c.push(n);a.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),"gs"===t.ty&&(a.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj&&a.setAttribute("stroke-miterlimit",t.ml)),this.of=u,this.ms=o,this.ost=c,this.maskId=l,e.msElem=a}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(t,e,n,r){if(0===e)return"";var i,o=t.o,a=t.i,s=t.v,l=" M"+r.applyToPointStringified(s[0][0],s[0][1]);for(i=1;i<e;i+=1)l+=" C"+r.applyToPointStringified(o[i-1][0],o[i-1][1])+" "+r.applyToPointStringified(a[i][0],a[i][1])+" "+r.applyToPointStringified(s[i][0],s[i][1]);return n&&e&&(l+=" C"+r.applyToPointStringified(o[i-1][0],o[i-1][1])+" "+r.applyToPointStringified(a[0][0],a[0][1])+" "+r.applyToPointStringified(s[0][0],s[0][1]),l+="z"),l},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix;function n(t,e,n){(n||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(n||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function r(){}function i(n,r,i){var o,a,s,l,u,c,h,d,f,p,m=r.styles.length,g=r.lvl;for(c=0;c<m;c+=1){if(l=r.sh._mdf||i,r.styles[c].lvl<g){for(d=e.reset(),f=g-r.styles[c].lvl,p=r.transformers.length-1;!l&&f>0;)l=r.transformers[p].mProps._mdf||l,f-=1,p-=1;if(l)for(f=g-r.styles[c].lvl,p=r.transformers.length-1;f>0;)d.multiply(r.transformers[p].mProps.v),f-=1,p-=1}else d=t;if(a=(h=r.sh.paths)._length,l){for(s="",o=0;o<a;o+=1)(u=h.shapes[o])&&u._length&&(s+=buildShapeString(u,u._length,u.c,d));r.caches[c]=s}else s=r.caches[c];r.styles[c].d+=!0===n.hd?"":s,r.styles[c]._mdf=l||r.styles[c]._mdf}}function o(t,e,n){var r=e.style;(e.c._mdf||n)&&r.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||n)&&r.pElem.setAttribute("fill-opacity",e.o.v)}function a(t,e,n){s(t,e,n),l(0,e,n)}function s(t,e,n){var r,i,o,a,s,l=e.gf,u=e.g._hasOpacity,c=e.s.v,h=e.e.v;if(e.o._mdf||n){var d="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(d,e.o.v)}if(e.s._mdf||n){var f=1===t.t?"x1":"cx",p="x1"===f?"y1":"cy";l.setAttribute(f,c[0]),l.setAttribute(p,c[1]),u&&!e.g._collapsable&&(e.of.setAttribute(f,c[0]),e.of.setAttribute(p,c[1]))}if(e.g._cmdf||n){r=e.cst;var m=e.g.c;for(o=r.length,i=0;i<o;i+=1)(a=r[i]).setAttribute("offset",m[4*i]+"%"),a.setAttribute("stop-color","rgb("+m[4*i+1]+","+m[4*i+2]+","+m[4*i+3]+")")}if(u&&(e.g._omdf||n)){var g=e.g.o;for(o=(r=e.g._collapsable?e.cst:e.ost).length,i=0;i<o;i+=1)a=r[i],e.g._collapsable||a.setAttribute("offset",g[2*i]+"%"),a.setAttribute("stop-opacity",g[2*i+1])}if(1===t.t)(e.e._mdf||n)&&(l.setAttribute("x2",h[0]),l.setAttribute("y2",h[1]),u&&!e.g._collapsable&&(e.of.setAttribute("x2",h[0]),e.of.setAttribute("y2",h[1])));else if((e.s._mdf||e.e._mdf||n)&&(s=Math.sqrt(Math.pow(c[0]-h[0],2)+Math.pow(c[1]-h[1],2)),l.setAttribute("r",s),u&&!e.g._collapsable&&e.of.setAttribute("r",s)),e.s._mdf||e.e._mdf||e.h._mdf||e.a._mdf||n){s||(s=Math.sqrt(Math.pow(c[0]-h[0],2)+Math.pow(c[1]-h[1],2)));var v=Math.atan2(h[1]-c[1],h[0]-c[0]),y=e.h.v;y>=1?y=.99:y<=-1&&(y=-.99);var b=s*y,w=Math.cos(v+e.a.v)*b+c[0],x=Math.sin(v+e.a.v)*b+c[1];l.setAttribute("fx",w),l.setAttribute("fy",x),u&&!e.g._collapsable&&(e.of.setAttribute("fx",w),e.of.setAttribute("fy",x))}}function l(t,e,n){var r=e.style,i=e.d;i&&(i._mdf||n)&&i.dashStr&&(r.pElem.setAttribute("stroke-dasharray",i.dashStr),r.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),e.c&&(e.c._mdf||n)&&r.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||n)&&r.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||n)&&(r.pElem.setAttribute("stroke-width",e.w.v),r.msElem&&r.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:function(t){switch(t.ty){case"fl":return o;case"gf":return s;case"gs":return a;case"st":return l;case"sh":case"el":case"rc":case"sr":return i;case"tr":return n;case"no":return r;default:return null}}}}();function SVGShapeElement(t,e,n){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,n),this.prevViewData=[]}function LetterProps(t,e,n,r,i,o){this.o=t,this.sw=e,this.sc=n,this.fc=r,this.m=i,this.p=o,this._mdf={o:!0,sw:!!e,sc:!!n,fc:!!r,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,e.d&&e.d.sid&&(e.d=t.globalData.slotManager.getProp(e.d)),this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e,n,r,i=this.shapes.length,o=this.stylesList.length,a=[],s=!1;for(n=0;n<o;n+=1){for(r=this.stylesList[n],s=!1,a.length=0,t=0;t<i;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(r)&&(a.push(e),s=e._isAnimated||s);a.length>1&&s&&this.setShapesAsAnimated(a)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,n=t.length;for(e=0;e<n;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var n,r=new SVGStyleData(t,e),i=r.pElem;return"st"===t.ty?n=new SVGStrokeStyleData(this,t,r):"fl"===t.ty?n=new SVGFillStyleData(this,t,r):"gf"===t.ty||"gs"===t.ty?(n=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,r),this.globalData.defs.appendChild(n.gf),n.maskId&&(this.globalData.defs.appendChild(n.ms),this.globalData.defs.appendChild(n.of),i.setAttribute("mask","url("+getLocationHref()+"#"+n.maskId+")"))):"no"===t.ty&&(n=new SVGNoStyleData(this,t,r)),"st"!==t.ty&&"gs"!==t.ty||(i.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),i.setAttribute("fill-opacity","0"),1===t.lj&&i.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&i.setAttribute("fill-rule","evenodd"),t.ln&&i.setAttribute("id",t.ln),t.cl&&i.setAttribute("class",t.cl),t.bm&&(i.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(r),this.addToAnimatedContents(t,n),n},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var n=TransformPropertyFactory.getTransformProperty(this,t,this),r=new SVGTransformData(n,n.o,e);return this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createShapeElement=function(t,e,n){var r=4;"rc"===t.ty?r=5:"el"===t.ty?r=6:"sr"===t.ty&&(r=7);var i=new SVGShapeData(e,n,ShapePropertyFactory.getShapeProp(this,t,r,this));return this.shapes.push(i),this.addShapeToModifiers(i),this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var n=0,r=this.animatedContents.length;n<r;){if(this.animatedContents[n].element===e)return;n+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e,n=t.styles,r=this.stylesList.length;for(e=0;e<r;e+=1)-1!==n.indexOf(this.stylesList[e])||this.stylesList[e].closed||n.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,n,r,i,o,a){var s,l,u,c,h,d,f=[].concat(o),p=t.length-1,m=[],g=[];for(s=p;s>=0;s-=1){if((d=this.searchProcessedElement(t[s]))?e[s]=n[d-1]:t[s]._render=a,"fl"===t[s].ty||"st"===t[s].ty||"gf"===t[s].ty||"gs"===t[s].ty||"no"===t[s].ty)d?e[s].style.closed=t[s].hd:e[s]=this.createStyleElement(t[s],i),t[s]._render&&e[s].style.pElem.parentNode!==r&&r.appendChild(e[s].style.pElem),m.push(e[s].style);else if("gr"===t[s].ty){if(d)for(u=e[s].it.length,l=0;l<u;l+=1)e[s].prevViewData[l]=e[s].it[l];else e[s]=this.createGroupElement(t[s]);this.searchShapes(t[s].it,e[s].it,e[s].prevViewData,e[s].gr,i+1,f,a),t[s]._render&&e[s].gr.parentNode!==r&&r.appendChild(e[s].gr)}else"tr"===t[s].ty?(d||(e[s]=this.createTransformElement(t[s],r)),c=e[s].transform,f.push(c)):"sh"===t[s].ty||"rc"===t[s].ty||"el"===t[s].ty||"sr"===t[s].ty?(d||(e[s]=this.createShapeElement(t[s],f,i)),this.setElementStyles(e[s])):"tm"===t[s].ty||"rd"===t[s].ty||"ms"===t[s].ty||"pb"===t[s].ty||"zz"===t[s].ty||"op"===t[s].ty?(d?(h=e[s]).closed=!1:((h=ShapeModifiers.getModifier(t[s].ty)).init(this,t[s]),e[s]=h,this.shapeModifiers.push(h)),g.push(h)):"rp"===t[s].ty&&(d?(h=e[s]).closed=!0:(h=ShapeModifiers.getModifier(t[s].ty),e[s]=h,h.init(this,t,s,e),this.shapeModifiers.push(h),a=!1),g.push(h));this.addProcessedElement(t[s],s+1)}for(p=m.length,s=0;s<p;s+=1)m[s].closed=!0;for(p=g.length,s=0;s<p;s+=1)g[s].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var t;this.renderModifiers();var e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,n=this.animatedContents.length;for(t=0;t<n;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(t,e,n,r,i,o){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var a=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,a=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,a=!0),this.sc!==n&&(this.sc=n,this._mdf.sc=!0,a=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,a=!0),this.m!==i&&(this.m=i,this._mdf.m=!0,a=!0),!o.length||this.p[0]===o[0]&&this.p[1]===o[1]&&this.p[4]===o[4]&&this.p[5]===o[5]&&this.p[12]===o[12]&&this.p[13]===o[13]||(this.p=o,this._mdf.p=!0,a=!0),a},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,n=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var r;this.lock=!0,this._mdf=!1;var i=this.effectsSequence.length,o=t||this.data.d.k[this.keysIndex].s;for(r=0;r<i;r+=1)o=n!==this.keysIndex?this.effectsSequence[r](o,o.t):this.effectsSequence[r](this.currentData,o.t);e!==o&&this.setCurrentData(o),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,n=0,r=t.length;n<=r-1&&!(n===r-1||t[n+1].t>e);)n+=1;return this.keysIndex!==n&&(this.keysIndex=n),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,n,r=[],i=0,o=t.length,a=!1,s=!1,l="";i<o;)a=s,s=!1,e=t.charCodeAt(i),l=t.charAt(i),FontManager.isCombinedCharacter(e)?a=!0:e>=55296&&e<=56319?FontManager.isRegionalFlag(t,i)?l=t.substr(i,14):(n=t.charCodeAt(i+1))>=56320&&n<=57343&&(FontManager.isModifier(e,n)?(l=t.substr(i,2),a=!0):l=FontManager.isFlagEmoji(t.substr(i,4))?t.substr(i,4):t.substr(i,2)):e>56319?(n=t.charCodeAt(i+1),FontManager.isVariationSelector(e)&&(a=!0)):FontManager.isZeroWidthJoiner(e)&&(a=!0,s=!0),a?(r[r.length-1]+=l,a=!1):r.push(l),i+=l.length;return r},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,n,r,i,o,a,s,l=this.elem.globalData.fontManager,u=this.data,c=[],h=0,d=u.m.g,f=0,p=0,m=0,g=[],v=0,y=0,b=l.getFontByName(t.f),w=0,x=getFontProperties(b);t.fWeight=x.weight,t.fStyle=x.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),n=t.finalText.length,t.finalLineHeight=t.lh;var A,k=t.tr/1e3*t.finalSize;if(t.sz)for(var S,E,C=!0,q=t.sz[0],T=t.sz[1];C;){S=0,v=0,n=(E=this.buildFinalText(t.t)).length,k=t.tr/1e3*t.finalSize;var P=-1;for(e=0;e<n;e+=1)A=E[e].charCodeAt(0),r=!1," "===E[e]?P=e:13!==A&&3!==A||(v=0,r=!0,S+=t.finalLineHeight||1.2*t.finalSize),l.chars?(s=l.getCharData(E[e],b.fStyle,b.fFamily),w=r?0:s.w*t.finalSize/100):w=l.measureText(E[e],t.f,t.finalSize),v+w>q&&" "!==E[e]?(-1===P?n+=1:e=P,S+=t.finalLineHeight||1.2*t.finalSize,E.splice(e,P===e?1:0,"\r"),P=-1,v=0):(v+=w,v+=k);S+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&T<S?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=E,n=t.finalText.length,C=!1)}v=-k,w=0;var D,_=0;for(e=0;e<n;e+=1)if(r=!1,13===(A=(D=t.finalText[e]).charCodeAt(0))||3===A?(_=0,g.push(v),y=v>y?v:y,v=-2*k,i="",r=!0,m+=1):i=D,l.chars?(s=l.getCharData(D,b.fStyle,l.getFontByName(t.f).fFamily),w=r?0:s.w*t.finalSize/100):w=l.measureText(i,t.f,t.finalSize)," "===D?_+=w+k:(v+=w+k+_,_=0),c.push({l:w,an:w,add:f,n:r,anIndexes:[],val:i,line:m,animatorJustifyOffset:0}),2==d){if(f+=w,""===i||" "===i||e===n-1){for(""!==i&&" "!==i||(f-=w);p<=e;)c[p].an=f,c[p].ind=h,c[p].extra=w,p+=1;h+=1,f=0}}else if(3==d){if(f+=w,""===i||e===n-1){for(""===i&&(f-=w);p<=e;)c[p].an=f,c[p].ind=h,c[p].extra=w,p+=1;f=0,h+=1}}else c[h].ind=h,c[h].extra=0,h+=1;if(t.l=c,y=v>y?v:y,g.push(v),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=y,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=g;var O,M,N,I,R=u.a;a=R.length;var L=[];for(o=0;o<a;o+=1){for((O=R[o]).a.sc&&(t.strokeColorAnim=!0),O.a.sw&&(t.strokeWidthAnim=!0),(O.a.fc||O.a.fh||O.a.fs||O.a.fb)&&(t.fillColorAnim=!0),I=0,N=O.s.b,e=0;e<n;e+=1)(M=c[e]).anIndexes[o]=I,(1==N&&""!==M.val||2==N&&""!==M.val&&" "!==M.val||3==N&&(M.n||" "==M.val||e==n-1)||4==N&&(M.n||e==n-1))&&(1===O.s.rn&&L.push(I),I+=1);u.a[o].s.totalChars=I;var F,B=-1;if(1===O.s.rn)for(e=0;e<n;e+=1)B!=(M=c[e]).anIndexes[o]&&(B=M.anIndexes[o],F=L.splice(Math.floor(Math.random()*L.length),1)[0]),M.anIndexes[o]=F}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=b.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var n=this.copyData({},this.data.d.k[e].s);n=this.copyData(n,t),this.data.d.k[e].s=n,this.recalculate(e),this.setCurrentData(n),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,n=Math.floor;function r(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=PropertyFactory.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?PropertyFactory.getProp(t,e.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(t,e.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(t,e.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(t,e.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(t,e.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return r.prototype={getMult:function(r){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var i=0,o=0,a=1,s=1;this.ne.v>0?i=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:s=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,o,a,s).get,u=0,c=this.finalS,h=this.finalE,d=this.data.sh;if(2===d)u=l(u=h===c?r>=h?1:0:t(0,e(.5/(h-c)+(r-c)/(h-c),1)));else if(3===d)u=l(u=h===c?r>=h?0:1:1-t(0,e(.5/(h-c)+(r-c)/(h-c),1)));else if(4===d)h===c?u=0:(u=t(0,e(.5/(h-c)+(r-c)/(h-c),1)))<.5?u*=2:u=1-2*(u-.5),u=l(u);else if(5===d){if(h===c)u=0;else{var f=h-c,p=-f/2+(r=e(t(0,r+.5-c),h-c)),m=f/2;u=Math.sqrt(1-p*p/(m*m))}u=l(u)}else 6===d?(h===c?u=0:(r=e(t(0,r+.5-c),h-c),u=(1+Math.cos(Math.PI+2*Math.PI*r/(h-c)))/2),u=l(u)):(r>=n(c)&&(u=t(0,e(r-c<0?e(h,1)-(c-r):h-r,1))),u=l(u));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var v=.5-.5*g;u<v?u=0:(u=(u-v)/g)>1&&(u=1)}return u*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,n=this.o.v/e,r=this.s.v/e+n,i=this.e.v/e+n;if(r>i){var o=r;r=i,i=o}this.finalS=r,this.finalE=i}},extendPrototype([DynamicPropertyContainer],r),{getTextSelectorProp:function(t,e,n){return new r(t,e,n)}}}();function TextAnimatorDataProperty(t,e,n){var r={propType:!1},i=PropertyFactory.getProp,o=e.a;this.a={r:o.r?i(t,o.r,0,degToRads,n):r,rx:o.rx?i(t,o.rx,0,degToRads,n):r,ry:o.ry?i(t,o.ry,0,degToRads,n):r,sk:o.sk?i(t,o.sk,0,degToRads,n):r,sa:o.sa?i(t,o.sa,0,degToRads,n):r,s:o.s?i(t,o.s,1,.01,n):r,a:o.a?i(t,o.a,1,0,n):r,o:o.o?i(t,o.o,0,.01,n):r,p:o.p?i(t,o.p,1,0,n):r,sw:o.sw?i(t,o.sw,0,0,n):r,sc:o.sc?i(t,o.sc,1,0,n):r,fc:o.fc?i(t,o.fc,1,0,n):r,fh:o.fh?i(t,o.fh,0,0,n):r,fs:o.fs?i(t,o.fs,0,.01,n):r,fb:o.fb?i(t,o.fb,0,.01,n):r,t:o.t?i(t,o.t,0,0,n):r},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,n),this.s.t=e.s.t}function TextAnimatorProperty(t,e,n){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=n,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(n)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,n=this._textData.a.length,r=PropertyFactory.getProp;for(t=0;t<n;t+=1)e=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:r(this._elem,this._textData.p.a,0,0,this),f:r(this._elem,this._textData.p.f,0,0,this),l:r(this._elem,this._textData.p.l,0,0,this),r:r(this._elem,this._textData.p.r,0,0,this),p:r(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=r(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var n,r,i,o,a,s,l,u,c,h,d,f,p,m,g,v,y,b,w,x=this._moreOptions.alignment.v,A=this._animatorsData,k=this._textData,S=this.mHelper,E=this._renderType,C=this.renderedLetters.length,q=t.l;if(this._hasMaskedPath){if(w=this._pathData.m,!this._pathData.n||this._pathData._mdf){var T,P=w.v;for(this._pathData.r.v&&(P=P.reverse()),a={tLength:0,segments:[]},o=P._length-1,v=0,i=0;i<o;i+=1)T=bez.buildBezierData(P.v[i],P.v[i+1],[P.o[i][0]-P.v[i][0],P.o[i][1]-P.v[i][1]],[P.i[i+1][0]-P.v[i+1][0],P.i[i+1][1]-P.v[i+1][1]]),a.tLength+=T.segmentLength,a.segments.push(T),v+=T.segmentLength;i=o,w.v.c&&(T=bez.buildBezierData(P.v[i],P.v[0],[P.o[i][0]-P.v[i][0],P.o[i][1]-P.v[i][1]],[P.i[0][0]-P.v[0][0],P.i[0][1]-P.v[0][1]]),a.tLength+=T.segmentLength,a.segments.push(T),v+=T.segmentLength),this._pathData.pi=a}if(a=this._pathData.pi,s=this._pathData.f.v,d=0,h=1,u=0,c=!0,m=a.segments,s<0&&w.v.c)for(a.tLength<Math.abs(s)&&(s=-Math.abs(s)%a.tLength),h=(p=m[d=m.length-1].points).length-1;s<0;)s+=p[h].partialLength,(h-=1)<0&&(h=(p=m[d-=1].points).length-1);f=(p=m[d].points)[h-1],g=(l=p[h]).partialLength}o=q.length,n=0,r=0;var D,_,O,M,N,I=1.2*t.finalSize*.714,R=!0;O=A.length;var L,F,B,j,z,V,H,U,G,K,W,X,Y=-1,Q=s,J=d,Z=h,$=-1,tt="",et=this.defaultPropsArray;if(2===t.j||1===t.j){var nt=0,rt=0,it=2===t.j?-.5:-1,ot=0,at=!0;for(i=0;i<o;i+=1)if(q[i].n){for(nt&&(nt+=rt);ot<i;)q[ot].animatorJustifyOffset=nt,ot+=1;nt=0,at=!0}else{for(_=0;_<O;_+=1)(D=A[_].a).t.propType&&(at&&2===t.j&&(rt+=D.t.v*it),(N=A[_].s.getMult(q[i].anIndexes[_],k.a[_].s.totalChars)).length?nt+=D.t.v*N[0]*it:nt+=D.t.v*N*it);at=!1}for(nt&&(nt+=rt);ot<i;)q[ot].animatorJustifyOffset=nt,ot+=1}for(i=0;i<o;i+=1){if(S.reset(),j=1,q[i].n)n=0,r+=t.yOffset,r+=R?1:0,s=Q,R=!1,this._hasMaskedPath&&(h=Z,f=(p=m[d=J].points)[h-1],g=(l=p[h]).partialLength,u=0),tt="",W="",G="",X="",et=this.defaultPropsArray;else{if(this._hasMaskedPath){if($!==q[i].line){switch(t.j){case 1:s+=v-t.lineWidths[q[i].line];break;case 2:s+=(v-t.lineWidths[q[i].line])/2}$=q[i].line}Y!==q[i].ind&&(q[Y]&&(s+=q[Y].extra),s+=q[i].an/2,Y=q[i].ind),s+=x[0]*q[i].an*.005;var st=0;for(_=0;_<O;_+=1)(D=A[_].a).p.propType&&((N=A[_].s.getMult(q[i].anIndexes[_],k.a[_].s.totalChars)).length?st+=D.p.v[0]*N[0]:st+=D.p.v[0]*N),D.a.propType&&((N=A[_].s.getMult(q[i].anIndexes[_],k.a[_].s.totalChars)).length?st+=D.a.v[0]*N[0]:st+=D.a.v[0]*N);for(c=!0,this._pathData.a.v&&(s=.5*q[0].an+(v-this._pathData.f.v-.5*q[0].an-.5*q[q.length-1].an)*Y/(o-1),s+=this._pathData.f.v);c;)u+g>=s+st||!p?(y=(s+st-u)/l.partialLength,F=f.point[0]+(l.point[0]-f.point[0])*y,B=f.point[1]+(l.point[1]-f.point[1])*y,S.translate(-x[0]*q[i].an*.005,-x[1]*I*.01),c=!1):p&&(u+=l.partialLength,(h+=1)>=p.length&&(h=0,m[d+=1]?p=m[d].points:w.v.c?(h=0,p=m[d=0].points):(u-=l.partialLength,p=null)),p&&(f=l,g=(l=p[h]).partialLength));L=q[i].an/2-q[i].add,S.translate(-L,0,0)}else L=q[i].an/2-q[i].add,S.translate(-L,0,0),S.translate(-x[0]*q[i].an*.005,-x[1]*I*.01,0);for(_=0;_<O;_+=1)(D=A[_].a).t.propType&&(N=A[_].s.getMult(q[i].anIndexes[_],k.a[_].s.totalChars),0===n&&0===t.j||(this._hasMaskedPath?N.length?s+=D.t.v*N[0]:s+=D.t.v*N:N.length?n+=D.t.v*N[0]:n+=D.t.v*N));for(t.strokeWidthAnim&&(V=t.sw||0),t.strokeColorAnim&&(z=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(H=[t.fc[0],t.fc[1],t.fc[2]]),_=0;_<O;_+=1)(D=A[_].a).a.propType&&((N=A[_].s.getMult(q[i].anIndexes[_],k.a[_].s.totalChars)).length?S.translate(-D.a.v[0]*N[0],-D.a.v[1]*N[1],D.a.v[2]*N[2]):S.translate(-D.a.v[0]*N,-D.a.v[1]*N,D.a.v[2]*N));for(_=0;_<O;_+=1)(D=A[_].a).s.propType&&((N=A[_].s.getMult(q[i].anIndexes[_],k.a[_].s.totalChars)).length?S.scale(1+(D.s.v[0]-1)*N[0],1+(D.s.v[1]-1)*N[1],1):S.scale(1+(D.s.v[0]-1)*N,1+(D.s.v[1]-1)*N,1));for(_=0;_<O;_+=1){if(D=A[_].a,N=A[_].s.getMult(q[i].anIndexes[_],k.a[_].s.totalChars),D.sk.propType&&(N.length?S.skewFromAxis(-D.sk.v*N[0],D.sa.v*N[1]):S.skewFromAxis(-D.sk.v*N,D.sa.v*N)),D.r.propType&&(N.length?S.rotateZ(-D.r.v*N[2]):S.rotateZ(-D.r.v*N)),D.ry.propType&&(N.length?S.rotateY(D.ry.v*N[1]):S.rotateY(D.ry.v*N)),D.rx.propType&&(N.length?S.rotateX(D.rx.v*N[0]):S.rotateX(D.rx.v*N)),D.o.propType&&(N.length?j+=(D.o.v*N[0]-j)*N[0]:j+=(D.o.v*N-j)*N),t.strokeWidthAnim&&D.sw.propType&&(N.length?V+=D.sw.v*N[0]:V+=D.sw.v*N),t.strokeColorAnim&&D.sc.propType)for(U=0;U<3;U+=1)N.length?z[U]+=(D.sc.v[U]-z[U])*N[0]:z[U]+=(D.sc.v[U]-z[U])*N;if(t.fillColorAnim&&t.fc){if(D.fc.propType)for(U=0;U<3;U+=1)N.length?H[U]+=(D.fc.v[U]-H[U])*N[0]:H[U]+=(D.fc.v[U]-H[U])*N;D.fh.propType&&(H=N.length?addHueToRGB(H,D.fh.v*N[0]):addHueToRGB(H,D.fh.v*N)),D.fs.propType&&(H=N.length?addSaturationToRGB(H,D.fs.v*N[0]):addSaturationToRGB(H,D.fs.v*N)),D.fb.propType&&(H=N.length?addBrightnessToRGB(H,D.fb.v*N[0]):addBrightnessToRGB(H,D.fb.v*N))}}for(_=0;_<O;_+=1)(D=A[_].a).p.propType&&(N=A[_].s.getMult(q[i].anIndexes[_],k.a[_].s.totalChars),this._hasMaskedPath?N.length?S.translate(0,D.p.v[1]*N[0],-D.p.v[2]*N[1]):S.translate(0,D.p.v[1]*N,-D.p.v[2]*N):N.length?S.translate(D.p.v[0]*N[0],D.p.v[1]*N[1],-D.p.v[2]*N[2]):S.translate(D.p.v[0]*N,D.p.v[1]*N,-D.p.v[2]*N));if(t.strokeWidthAnim&&(G=V<0?0:V),t.strokeColorAnim&&(K="rgb("+Math.round(255*z[0])+","+Math.round(255*z[1])+","+Math.round(255*z[2])+")"),t.fillColorAnim&&t.fc&&(W="rgb("+Math.round(255*H[0])+","+Math.round(255*H[1])+","+Math.round(255*H[2])+")"),this._hasMaskedPath){if(S.translate(0,-t.ls),S.translate(0,x[1]*I*.01+r,0),this._pathData.p.v){b=(l.point[1]-f.point[1])/(l.point[0]-f.point[0]);var lt=180*Math.atan(b)/Math.PI;l.point[0]<f.point[0]&&(lt+=180),S.rotate(-lt*Math.PI/180)}S.translate(F,B,0),s-=x[0]*q[i].an*.005,q[i+1]&&Y!==q[i+1].ind&&(s+=q[i].an/2,s+=.001*t.tr*t.finalSize)}else{switch(S.translate(n,r,0),t.ps&&S.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:S.translate(q[i].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[q[i].line]),0,0);break;case 2:S.translate(q[i].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[q[i].line])/2,0,0)}S.translate(0,-t.ls),S.translate(L,0,0),S.translate(x[0]*q[i].an*.005,x[1]*I*.01,0),n+=q[i].l+.001*t.tr*t.finalSize}"html"===E?tt=S.toCSS():"svg"===E?tt=S.to2dCSS():et=[S.props[0],S.props[1],S.props[2],S.props[3],S.props[4],S.props[5],S.props[6],S.props[7],S.props[8],S.props[9],S.props[10],S.props[11],S.props[12],S.props[13],S.props[14],S.props[15]],X=j}C<=i?(M=new LetterProps(X,G,K,W,tt,et),this.renderedLetters.push(M),C+=1,this.lettersChangedFlag=!0):(M=this.renderedLetters[i],this.lettersChangedFlag=M.update(X,G,K,W,tt,et)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(t,e,n){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,n),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},ITextElement.prototype.createPathShape=function(t,e){var n,r,i=e.length,o="";for(n=0;n<i;n+=1)"sh"===e[n].ty&&(r=e[n].ks.k,o+=buildShapeString(r,r.i.length,!0,t));return o},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,n,r,i){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[n]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[n])/2,0,0)}e.translate(r,i,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(t,e,n){this.textSpans=[],this.renderType="svg",this.initElement(t,e,n)}function ISolidElement(t,e,n){this.initElement(t,e,n)}function NullElement(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initFrame(),this.initTransform(t,e,n),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(t,e,n){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,n),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var n="";if(e&&e.title){var r=createNS("title"),i=createElementID();r.setAttribute("id",i),r.textContent=e.title,this.svgElement.appendChild(r),n+=i}if(e&&e.description){var o=createNS("desc"),a=createElementID();o.setAttribute("id",a),o.textContent=e.description,this.svgElement.appendChild(o),n+=" "+a}n&&this.svgElement.setAttribute("aria-labelledby",n);var s=createNS("defs");this.svgElement.appendChild(s);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&!1===e.hideOnTransparent),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height,runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){for(var e=0,n=t.length,r=[],i="";e<n;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(r.push(i),i=""):i+=t[e],e+=1;return r.push(i),r},SVGTextLottieElement.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var n=t.shapes[0];if(n.it){var r=n.it[n.it.length-1];r.s&&(r.s.k[0]=e,r.s.k[1]=e)}}return t},SVGTextLottieElement.prototype.buildNewText=function(){var t,e;this.addDynamicProperty(this);var n=this.textProperty.currentData;this.renderedLetters=createSizedArray(n?n.l.length:0),n.fc?this.layerElement.setAttribute("fill",this.buildColor(n.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),n.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(n.sc)),this.layerElement.setAttribute("stroke-width",n.sw)),this.layerElement.setAttribute("font-size",n.finalSize);var r=this.globalData.fontManager.getFontByName(n.f);if(r.fClass)this.layerElement.setAttribute("class",r.fClass);else{this.layerElement.setAttribute("font-family",r.fFamily);var i=n.fWeight,o=n.fStyle;this.layerElement.setAttribute("font-style",o),this.layerElement.setAttribute("font-weight",i)}this.layerElement.setAttribute("aria-label",n.t);var a,s=n.l||[],l=!!this.globalData.fontManager.chars;e=s.length;var u=this.mHelper,c=this.data.singleShape,h=0,d=0,f=!0,p=.001*n.tr*n.finalSize;if(!c||l||n.sz){var m,g=this.textSpans.length;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!l||!c||0===t){if(a=g>t?this.textSpans[t].span:createNS(l?"g":"text"),g<=t){if(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=a,l){var v=createNS("g");a.appendChild(v),this.textSpans[t].childSpan=v}this.textSpans[t].span=a,this.layerElement.appendChild(a)}a.style.display="inherit"}if(u.reset(),c&&(s[t].n&&(h=-p,d+=n.yOffset,d+=f?1:0,f=!1),this.applyTextPropertiesToMatrix(n,u,s[t].line,h,d),h+=s[t].l||0,h+=p),l){var y;if(1===(m=this.globalData.fontManager.getCharData(n.finalText[t],r.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily)).t)y=new SVGCompElement(m.data,this.globalData,this);else{var b=emptyShapeData;m.data&&m.data.shapes&&(b=this.buildShapeData(m.data,n.finalSize)),y=new SVGShapeElement(b,this.globalData,this)}if(this.textSpans[t].glyph){var w=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(w.layerElement),w.destroy()}this.textSpans[t].glyph=y,y._debug=!0,y.prepareFrame(0),y.renderFrame(),this.textSpans[t].childSpan.appendChild(y.layerElement),1===m.t&&this.textSpans[t].childSpan.setAttribute("transform","scale("+n.finalSize/100+","+n.finalSize/100+")")}else c&&a.setAttribute("transform","translate("+u.props[12]+","+u.props[13]+")"),a.textContent=s[t].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}c&&a&&a.setAttribute("d","")}else{var x=this.textContainer,A="start";switch(n.j){case 1:A="end";break;case 2:A="middle";break;default:A="start"}x.setAttribute("text-anchor",A),x.setAttribute("letter-spacing",p);var k=this.buildTextContents(n.finalText);for(e=k.length,d=n.ps?n.ps[1]+n.ascent:0,t=0;t<e;t+=1)(a=this.textSpans[t].span||createNS("tspan")).textContent=k[t],a.setAttribute("x",0),a.setAttribute("y",d),a.style.display="inherit",x.appendChild(a),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=a,d+=n.finalLineHeight;this.layerElement.appendChild(x)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e,n=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<n;t+=1)(e=this.textSpans[t].glyph)&&(e.prepareFrame(this.comp.renderedFrame-this.data.st),e._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var n,r,i,o=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(e=a.length,t=0;t<e;t+=1)a[t].n||(n=o[t],r=this.textSpans[t].span,(i=this.textSpans[t].glyph)&&i.renderFrame(),n._mdf.m&&r.setAttribute("transform",n.m),n._mdf.o&&r.setAttribute("opacity",n.o),n._mdf.sw&&r.setAttribute("stroke-width",n.sw),n._mdf.sc&&r.setAttribute("stroke",n.sc),n._mdf.fc&&r.setAttribute("fill",n.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRendererBase.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRendererBase.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRendererBase.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var n=createNS("clipPath"),r=createNS("rect");r.setAttribute("width",t.w),r.setAttribute("height",t.h),r.setAttribute("x",0),r.setAttribute("y",0);var i=createElementID();n.setAttribute("id",i),n.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),e.appendChild(n),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(t){var e=0,n=this.layers.length;for(e=0;e<n;e+=1)if(this.layers[e].ind===t)return e;return-1},SVGRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){e[t]=!0;var n=this.createItem(this.layers[t]);if(e[t]=n,getExpressionsPlugin()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(n),n.initExpressions()),this.appendElementInPos(n,t),this.layers[t].tt){var r="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(-1===r)return;if(this.elements[r]&&!0!==this.elements[r]){var i=e[r].getMatte(this.layers[t].tt);n.setMatte(i)}else this.buildItem(r),this.addPendingElement(n)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,n=this.elements.length;e<n;){if(this.elements[e]===t){var r="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,i=this.elements[r].getMatte(this.layers[e].tt);t.setMatte(i);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){var e;null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var n=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=n-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<n;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){var n=t.getBaseElement();if(n){for(var r,i=0;i<e;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement()&&(r=this.elements[i].getBaseElement()),i+=1;r?this.layerElement.insertBefore(n,r):this.layerElement.appendChild(n)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initTransform(t,e,n),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var n,r=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st),this.elements[n]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},ShapeTransformManager.prototype={addTransformSequence:function(t){var e,n=t.length,r="_";for(e=0;e<n;e+=1)r+=t[e].transform.key+"_";var i=this.sequences[r];return i||(i={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[r]=i,this.sequenceList.push(i)),i},processSequence:function(t,e){for(var n=0,r=t.transforms.length,i=e;n<r&&!e;){if(t.transforms[n].transform.mProps._mdf){i=!0;break}n+=1}if(i)for(t.finalTransform.reset(),n=r-1;n>=0;n-=1)t.finalTransform.multiply(t.transforms[n].transform.mProps.v);t._mdf=i},processSequences:function(t){var e,n=this.sequenceList.length;for(e=0;e<n;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",e=null,n=null,r=null;function i(){var i,o,a;e||(i=createNS("svg"),o=createNS("filter"),a=createNS("feColorMatrix"),o.setAttribute("id",t),a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),o.appendChild(a),i.appendChild(o),i.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(i.style.display="none"),r=i,document.body.appendChild(r),e=createTag("canvas"),(n=e.getContext("2d")).filter="url(#"+t+")",n.fillStyle="rgba(0,0,0,0)",n.fillRect(0,0,1,1))}return{load:i,get:function(r){return e||i(),e.width=r.width,e.height=r.height,n.filter="url(#"+t+")",e}}};function createCanvas(t,e){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(t,e);var n=createTag("canvas");return n.width=t,n.height=e,n}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas:createCanvas},registeredEffects={};function CVEffects(t){var e,n,r=t.data.ef?t.data.ef.length:0;for(this.filters=[],e=0;e<r;e+=1){n=null;var i=t.data.ef[e].ty;registeredEffects[i]&&(n=new(0,registeredEffects[i].effect)(t.effectsManager.effectElements[e],t)),n&&this.filters.push(n)}this.filters.length&&t.addRenderableComponent(this)}function registerEffect(t,e){registeredEffects[t]={effect:e}}function CVMaskElement(t,e){var n;this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r=this.masksProperties.length,i=!1;for(n=0;n<r;n+=1)"n"!==this.masksProperties[n].mode&&(i=!0),this.viewData[n]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[n],3);this.hasMasks=i,i&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(t){var e,n=this.filters.length;for(e=0;e<n;e+=1)this.filters[e].renderFrame(t)},CVEffects.prototype.getEffects=function(t){var e,n=this.filters.length,r=[];for(e=0;e<n;e+=1)this.filters[e].type===t&&r.push(this.filters[e]);return r},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,n,r,i=this.element.finalTransform.mat,o=this.element.canvasContext,a=this.masksProperties.length;for(o.beginPath(),t=0;t<a;t+=1)if("n"!==this.masksProperties[t].mode){var s;this.masksProperties[t].inv&&(o.moveTo(0,0),o.lineTo(this.element.globalData.compSize.w,0),o.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),o.lineTo(0,this.element.globalData.compSize.h),o.lineTo(0,0)),r=this.viewData[t].v,e=i.applyToPointArray(r.v[0][0],r.v[0][1],0),o.moveTo(e[0],e[1]);var l=r._length;for(s=1;s<l;s+=1)n=i.applyToTriplePoints(r.o[s-1],r.i[s],r.v[s]),o.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);n=i.applyToTriplePoints(r.o[s-1],r.i[0],r.v[0]),o.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5])}this.element.globalData.renderer.save(!0),o.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(t,e,n,r){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var i,o=4;"rc"===e.ty?o=5:"el"===e.ty?o=6:"sr"===e.ty&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,o,t);var a,s=n.length;for(i=0;i<s;i+=1)n[i].closed||(a={transforms:r.addTransformSequence(n[i].transforms),trNodes:[]},this.styledShapes.push(a),n[i].elements.push(a))}function CVShapeElement(t,e,n){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,n)}function CVTextElement(t,e,n){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,n)}function CVImageElement(t,e,n){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,n)}function CVSolidElement(t,e,n){this.initElement(t,e,n)}function CanvasRendererBase(){}function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){var t;for(this.stack=[],this.cArrPos=0,this.cTr=new Matrix,t=0;t<15;t+=1){var e=new CanvasContext;this.stack[t]=e}this._length=15,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}function CVCompElement(t,e,n){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,n),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||"",runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}function HBaseElement(){}function HSolidElement(t,e,n){this.initElement(t,e,n)}function HShapeElement(t,e,n){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,n),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,n){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,n)}function HCameraElement(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initHierarchy();var r=PropertyFactory.getProp;if(this.pe=r(this,t.pe,0,0,this),t.ks.p.s?(this.px=r(this,t.ks.p.x,1,0,this),this.py=r(this,t.ks.p.y,1,0,this),this.pz=r(this,t.ks.p.z,1,0,this)):this.p=r(this,t.ks.p,1,0,this),t.ks.a&&(this.a=r(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var i,o=t.ks.or.k.length;for(i=0;i<o;i+=1)t.ks.or.k[i].to=null,t.ks.or.k[i].ti=null}this.or=r(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=r(this,t.ks.rx,0,degToRads,this),this.ry=r(this,t.ks.ry,0,degToRads,this),this.rz=r(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(t,e,n){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,n)}function HybridRendererBase(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(t,e,n){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,n),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"},runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var t=this.globalData.canvasContext,e=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(e);var n=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(n),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0].getContext("2d");this.clearCanvas(t),t.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],e=t.getContext("2d");if(this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var n=assetLoader.getLumaCanvas(this.canvasContext.canvas);n.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(n,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(t){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var e=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(e),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(t,e){var n={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},r={};if("fl"===t.ty||"st"===t.ty?(r.c=PropertyFactory.getProp(this,t.c,1,255,this),r.c.k||(n.co="rgb("+bmFloor(r.c.v[0])+","+bmFloor(r.c.v[1])+","+bmFloor(r.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(r.s=PropertyFactory.getProp(this,t.s,1,null,this),r.e=PropertyFactory.getProp(this,t.e,1,null,this),r.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),r.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),r.g=new GradientProperty(this,t.g,this)),r.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"===t.ty||"gs"===t.ty){if(n.lc=lineCapEnum[t.lc||2],n.lj=lineJoinEnum[t.lj||2],1==t.lj&&(n.ml=t.ml),r.w=PropertyFactory.getProp(this,t.w,0,null,this),r.w.k||(n.wi=r.w.v),t.d){var i=new DashProperty(this,t.d,"canvas",this);r.d=i,r.d.k||(n.da=r.d.dashArray,n.do=r.d.dashoffset[0])}}else n.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(n),r.style=n,r},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(t){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}}},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,n=this.stylesList.length;for(e=0;e<n;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,n=t.length;for(e=0;e<n;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,n,r,i){var o,a,s,l,u,c,h=t.length-1,d=[],f=[],p=[].concat(i);for(o=h;o>=0;o-=1){if((l=this.searchProcessedElement(t[o]))?e[o]=n[l-1]:t[o]._shouldRender=r,"fl"===t[o].ty||"st"===t[o].ty||"gf"===t[o].ty||"gs"===t[o].ty)l?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],p),d.push(e[o].style);else if("gr"===t[o].ty){if(l)for(s=e[o].it.length,a=0;a<s;a+=1)e[o].prevViewData[a]=e[o].it[a];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,r,p)}else"tr"===t[o].ty?(l||(c=this.createTransformElement(t[o]),e[o]=c),p.push(e[o]),this.addTransformToStyleList(e[o])):"sh"===t[o].ty||"rc"===t[o].ty||"el"===t[o].ty||"sr"===t[o].ty?l||(e[o]=this.createShapeElement(t[o])):"tm"===t[o].ty||"rd"===t[o].ty||"pb"===t[o].ty||"zz"===t[o].ty||"op"===t[o].ty?(l?(u=e[o]).closed=!1:((u=ShapeModifiers.getModifier(t[o].ty)).init(this,t[o]),e[o]=u,this.shapeModifiers.push(u)),f.push(u)):"rp"===t[o].ty&&(l?(u=e[o]).closed=!0:(u=ShapeModifiers.getModifier(t[o].ty),e[o]=u,u.init(this,t,o,e),this.shapeModifiers.push(u),r=!1),f.push(u));this.addProcessedElement(t[o],o+1)}for(this.removeTransformFromStyleList(),this.closeStyles(d),h=f.length,o=0;o<h;o+=1)f[o].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e,n,r,i,o,a,s,l,u=this.stylesList.length,c=this.globalData.renderer,h=this.globalData.canvasContext;for(t=0;t<u;t+=1)if(("st"!==(s=(l=this.stylesList[t]).type)&&"gs"!==s||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(c.save(),o=l.elements,"st"===s||"gs"===s?(c.ctxStrokeStyle("st"===s?l.co:l.grd),c.ctxLineWidth(l.wi),c.ctxLineCap(l.lc),c.ctxLineJoin(l.lj),c.ctxMiterLimit(l.ml||0)):c.ctxFillStyle("fl"===s?l.co:l.grd),c.ctxOpacity(l.coOp),"st"!==s&&"gs"!==s&&h.beginPath(),c.ctxTransform(l.preTransforms.finalTransform.props),n=o.length,e=0;e<n;e+=1){for("st"!==s&&"gs"!==s||(h.beginPath(),l.da&&(h.setLineDash(l.da),h.lineDashOffset=l.do)),i=(a=o[e].trNodes).length,r=0;r<i;r+=1)"m"===a[r].t?h.moveTo(a[r].p[0],a[r].p[1]):"c"===a[r].t?h.bezierCurveTo(a[r].pts[0],a[r].pts[1],a[r].pts[2],a[r].pts[3],a[r].pts[4],a[r].pts[5]):h.closePath();"st"!==s&&"gs"!==s||(c.ctxStroke(),l.da&&h.setLineDash(this.dashResetter))}"st"!==s&&"gs"!==s&&this.globalData.renderer.ctxFill(l.r),c.restore()}},CVShapeElement.prototype.renderShape=function(t,e,n,r){var i,o;for(o=t,i=e.length-1;i>=0;i-=1)"tr"===e[i].ty?(o=n[i].transform,this.renderShapeTransform(t,o)):"sh"===e[i].ty||"el"===e[i].ty||"rc"===e[i].ty||"sr"===e[i].ty?this.renderPath(e[i],n[i]):"fl"===e[i].ty?this.renderFill(e[i],n[i],o):"st"===e[i].ty?this.renderStroke(e[i],n[i],o):"gf"===e[i].ty||"gs"===e[i].ty?this.renderGradientFill(e[i],n[i],o):"gr"===e[i].ty?this.renderShape(o,e[i].it,n[i].it):e[i].ty;r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var n,r,i,o=t.trNodes,a=e.paths,s=a._length;o.length=0;var l=t.transforms.finalTransform;for(i=0;i<s;i+=1){var u=a.shapes[i];if(u&&u.v){for(r=u._length,n=1;n<r;n+=1)1===n&&o.push({t:"m",p:l.applyToPointArray(u.v[0][0],u.v[0][1],0)}),o.push({t:"c",pts:l.applyToTriplePoints(u.o[n-1],u.i[n],u.v[n])});1===r&&o.push({t:"m",p:l.applyToPointArray(u.v[0][0],u.v[0][1],0)}),u.c&&r&&(o.push({t:"c",pts:l.applyToTriplePoints(u.o[n-1],u.i[0],u.v[0])}),o.push({t:"z"}))}}t.trNodes=o}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var n,r=e.styledShapes.length;for(n=0;n<r;n+=1)this.renderStyledShape(e.styledShapes[n],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,n){var r=e.style;(e.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=e.o.v*n.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,n){var r,i=e.style;if(!i.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var o,a=this.globalData.canvasContext,s=e.s.v,l=e.e.v;if(1===t.t)r=a.createLinearGradient(s[0],s[1],l[0],l[1]);else{var u=Math.sqrt(Math.pow(s[0]-l[0],2)+Math.pow(s[1]-l[1],2)),c=Math.atan2(l[1]-s[1],l[0]-s[0]),h=e.h.v;h>=1?h=.99:h<=-1&&(h=-.99);var d=u*h,f=Math.cos(c+e.a.v)*d+s[0],p=Math.sin(c+e.a.v)*d+s[1];r=a.createRadialGradient(f,p,0,s[0],s[1],u)}var m=t.g.p,g=e.g.c,v=1;for(o=0;o<m;o+=1)e.g._hasOpacity&&e.g._collapsable&&(v=e.g.o[2*o+1]),r.addColorStop(g[4*o]/100,"rgba("+g[4*o+1]+","+g[4*o+2]+","+g[4*o+3]+","+v+")");i.grd=r}i.coOp=e.o.v*n.opacity},CVShapeElement.prototype.renderStroke=function(t,e,n){var r=e.style,i=e.d;i&&(i._mdf||this._isFirstFrame)&&(r.da=i.dashArray,r.do=i.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=e.o.v*n.opacity),(e.w._mdf||this._isFirstFrame)&&(r.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var n=!1;t.sc&&(n=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var r,i,o,a,s,l,u,c,h,d,f,p,m=this.globalData.fontManager.getFontByName(t.f),g=t.l,v=this.mHelper;this.stroke=n,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,i=t.finalText.length;var y=this.data.singleShape,b=.001*t.tr*t.finalSize,w=0,x=0,A=!0,k=0;for(r=0;r<i;r+=1){a=(o=this.globalData.fontManager.getCharData(t.finalText[r],m.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily))&&o.data||{},v.reset(),y&&g[r].n&&(w=-b,x+=t.yOffset,x+=A?1:0,A=!1),h=(u=a.shapes?a.shapes[0].it:[]).length,v.scale(t.finalSize/100,t.finalSize/100),y&&this.applyTextPropertiesToMatrix(t,v,g[r].line,w,x),f=createSizedArray(h-1);var S=0;for(c=0;c<h;c+=1)if("sh"===u[c].ty){for(l=u[c].ks.k.i.length,d=u[c].ks.k,p=[],s=1;s<l;s+=1)1===s&&p.push(v.applyToX(d.v[0][0],d.v[0][1],0),v.applyToY(d.v[0][0],d.v[0][1],0)),p.push(v.applyToX(d.o[s-1][0],d.o[s-1][1],0),v.applyToY(d.o[s-1][0],d.o[s-1][1],0),v.applyToX(d.i[s][0],d.i[s][1],0),v.applyToY(d.i[s][0],d.i[s][1],0),v.applyToX(d.v[s][0],d.v[s][1],0),v.applyToY(d.v[s][0],d.v[s][1],0));p.push(v.applyToX(d.o[s-1][0],d.o[s-1][1],0),v.applyToY(d.o[s-1][0],d.o[s-1][1],0),v.applyToX(d.i[0][0],d.i[0][1],0),v.applyToY(d.i[0][0],d.i[0][1],0),v.applyToX(d.v[0][0],d.v[0][1],0),v.applyToY(d.v[0][0],d.v[0][1],0)),f[S]=p,S+=1}y&&(w+=g[r].l,w+=b),this.textSpans[k]?this.textSpans[k].elem=f:this.textSpans[k]={elem:f},k+=1}},CVTextElement.prototype.renderInnerContent=function(){var t,e,n,r,i,o;this.validateText(),this.canvasContext.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var a,s=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;e=l.length;var u,c,h=null,d=null,f=null,p=this.globalData.renderer;for(t=0;t<e;t+=1)if(!l[t].n){if((a=s[t])&&(p.save(),p.ctxTransform(a.p),p.ctxOpacity(a.o)),this.fill){for(a&&a.fc?h!==a.fc&&(p.ctxFillStyle(a.fc),h=a.fc):h!==this.values.fill&&(h=this.values.fill,p.ctxFillStyle(this.values.fill)),r=(u=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<r;n+=1)for(o=(c=u[n]).length,this.globalData.canvasContext.moveTo(c[0],c[1]),i=2;i<o;i+=6)this.globalData.canvasContext.bezierCurveTo(c[i],c[i+1],c[i+2],c[i+3],c[i+4],c[i+5]);this.globalData.canvasContext.closePath(),p.ctxFill()}if(this.stroke){for(a&&a.sw?f!==a.sw&&(f=a.sw,p.ctxLineWidth(a.sw)):f!==this.values.sWidth&&(f=this.values.sWidth,p.ctxLineWidth(this.values.sWidth)),a&&a.sc?d!==a.sc&&(d=a.sc,p.ctxStrokeStyle(a.sc)):d!==this.values.stroke&&(d=this.values.stroke,p.ctxStrokeStyle(this.values.stroke)),r=(u=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<r;n+=1)for(o=(c=u[n]).length,this.globalData.canvasContext.moveTo(c[0],c[1]),i=2;i<o;i+=6)this.globalData.canvasContext.bezierCurveTo(c[i],c[i+1],c[i+2],c[i+3],c[i+4],c[i+5]);this.globalData.canvasContext.closePath(),p.ctxStroke()}a&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e,n,r=t.getContext("2d"),i=this.img.width,o=this.img.height,a=i/o,s=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;a>s&&"xMidYMid slice"===l||a<s&&"xMidYMid slice"!==l?e=(n=o)*s:n=(e=i)/s,r.drawImage(this.img,(i-e)/2,(o-n)/2,e,n,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRendererBase.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(t){1===t[0]&&0===t[1]&&0===t[4]&&1===t[5]&&0===t[12]&&0===t[13]||this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRendererBase.prototype.ctxOpacity=function(t){this.canvasContext.globalAlpha*=t<0?0:t},CanvasRendererBase.prototype.ctxFillStyle=function(t){this.canvasContext.fillStyle=t},CanvasRendererBase.prototype.ctxStrokeStyle=function(t){this.canvasContext.strokeStyle=t},CanvasRendererBase.prototype.ctxLineWidth=function(t){this.canvasContext.lineWidth=t},CanvasRendererBase.prototype.ctxLineCap=function(t){this.canvasContext.lineCap=t},CanvasRendererBase.prototype.ctxLineJoin=function(t){this.canvasContext.lineJoin=t},CanvasRendererBase.prototype.ctxMiterLimit=function(t){this.canvasContext.miterLimit=t},CanvasRendererBase.prototype.ctxFill=function(t){this.canvasContext.fill(t)},CanvasRendererBase.prototype.ctxFillRect=function(t,e,n,r){this.canvasContext.fillRect(t,e,n,r)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(t){this.renderConfig.clearCanvas?(t&&(this.globalData.blendMode="source-over"),this.contextData.restore(t)):this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var n="0px 0px 0px";e.transformOrigin=n,e.mozTransformOrigin=n,e.webkitTransformOrigin=n,e["-webkit-transform"]=n,e.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(t,e){var n,r,i,o;if(this.reset(),t?(n=t,r=e,this.canvasContext.canvas.width=n,this.canvasContext.canvas.height=r):(this.animationItem.wrapper&&this.animationItem.container?(n=this.animationItem.wrapper.offsetWidth,r=this.animationItem.wrapper.offsetHeight):(n=this.canvasContext.canvas.width,r=this.canvasContext.canvas.height),this.canvasContext.canvas.width=n*this.renderConfig.dpr,this.canvasContext.canvas.height=r*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var a=this.renderConfig.preserveAspectRatio.split(" "),s=a[1]||"meet",l=a[0]||"xMidYMid",u=l.substr(0,4),c=l.substr(4);i=n/r,(o=this.transformCanvas.w/this.transformCanvas.h)>i&&"meet"===s||o<i&&"slice"===s?(this.transformCanvas.sx=n/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=r/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===u&&(o<i&&"meet"===s||o>i&&"slice"===s)?(n-this.transformCanvas.w*(r/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===u&&(o<i&&"meet"===s||o>i&&"slice"===s)?(n-this.transformCanvas.w*(r/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===c&&(o>i&&"meet"===s||o<i&&"slice"===s)?(r-this.transformCanvas.h*(n/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===c&&(o>i&&"meet"===s||o<i&&"slice"===s)?(r-this.transformCanvas.h*(n/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=n/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var t;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),t=(this.layers?this.layers.length:0)-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){var n;this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var r=this.layers.length;for(this.completeLayers||this.checkLayers(t),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].prepareFrame(t-this.layers[n].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){var n=this.createItem(this.layers[t],this,this.globalData);e[t]=n,n.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=0;for(e=this._length;e<t;e+=1)this.stack[e]=new CanvasContext;this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(t){this.cArrPos-=1;var e,n=this.stack[this.cArrPos],r=n.transform,i=this.cTr.props;for(e=0;e<16;e+=1)i[e]=r[e];if(t){this.nativeContext.restore();var o=this.stack[this.cArrPos+1];this.appliedFillStyle=o.fillStyle,this.appliedStrokeStyle=o.strokeStyle,this.appliedLineWidth=o.lineWidth,this.appliedLineCap=o.lineCap,this.appliedLineJoin=o.lineJoin,this.appliedMiterLimit=o.miterLimit}this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),(t||-1!==n.opacity&&this.currentOpacity!==n.opacity)&&(this.nativeContext.globalAlpha=n.opacity,this.currentOpacity=n.opacity),this.currentFillStyle=n.fillStyle,this.currentStrokeStyle=n.strokeStyle,this.currentLineWidth=n.lineWidth,this.currentLineCap=n.lineCap,this.currentLineJoin=n.lineJoin,this.currentMiterLimit=n.miterLimit},CVContextData.prototype.save=function(t){t&&this.nativeContext.save();var e=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var n,r=this.stack[this.cArrPos];for(n=0;n<16;n+=1)r.transform[n]=e[n];this.cArrPos+=1;var i=this.stack[this.cArrPos];i.opacity=r.opacity,i.fillStyle=r.fillStyle,i.strokeStyle=r.strokeStyle,i.lineWidth=r.lineWidth,i.lineCap=r.lineCap,i.lineJoin=r.lineJoin,i.miterLimit=r.miterLimit},CVContextData.prototype.setOpacity=function(t){this.stack[this.cArrPos].opacity=t},CVContextData.prototype.setContext=function(t){this.nativeContext=t},CVContextData.prototype.fillStyle=function(t){this.stack[this.cArrPos].fillStyle!==t&&(this.currentFillStyle=t,this.stack[this.cArrPos].fillStyle=t)},CVContextData.prototype.strokeStyle=function(t){this.stack[this.cArrPos].strokeStyle!==t&&(this.currentStrokeStyle=t,this.stack[this.cArrPos].strokeStyle=t)},CVContextData.prototype.lineWidth=function(t){this.stack[this.cArrPos].lineWidth!==t&&(this.currentLineWidth=t,this.stack[this.cArrPos].lineWidth=t)},CVContextData.prototype.lineCap=function(t){this.stack[this.cArrPos].lineCap!==t&&(this.currentLineCap=t,this.stack[this.cArrPos].lineCap=t)},CVContextData.prototype.lineJoin=function(t){this.stack[this.cArrPos].lineJoin!==t&&(this.currentLineJoin=t,this.stack[this.cArrPos].lineJoin=t)},CVContextData.prototype.miterLimit=function(t){this.stack[this.cArrPos].miterLimit!==t&&(this.currentMiterLimit=t,this.stack[this.cArrPos].miterLimit=t)},CVContextData.prototype.transform=function(t){this.transformMat.cloneFromProps(t);var e=this.cTr;this.transformMat.multiply(e),e.cloneFromProps(this.transformMat.props);var n=e.props;this.nativeContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13])},CVContextData.prototype.opacity=function(t){var e=this.stack[this.cArrPos].opacity;e*=t<0?0:t,this.stack[this.cArrPos].opacity!==e&&(this.currentOpacity!==t&&(this.nativeContext.globalAlpha=t,this.currentOpacity=t),this.stack[this.cArrPos].opacity=e)},CVContextData.prototype.fill=function(t){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(t)},CVContextData.prototype.fillRect=function(t,e,n,r){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(t,e,n,r)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t,e=this.canvasContext;for(e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip(),t=this.layers.length-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t;for(t=this.layers.length-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?((t=createNS("rect")).setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((t=createTag("div")).style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var n,r=t.length;for(n=0;n<r;n+=1)e=t[n].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var n,r,i,o,a,s=t.sh.v,l=t.transformers,u=s._length;if(!(u<=1)){for(n=0;n<u-1;n+=1)r=this.getTransformedPoint(l,s.v[n]),i=this.getTransformedPoint(l,s.o[n]),o=this.getTransformedPoint(l,s.i[n+1]),a=this.getTransformedPoint(l,s.v[n+1]),this.checkBounds(r,i,o,a,e);s.c&&(r=this.getTransformedPoint(l,s.v[n]),i=this.getTransformedPoint(l,s.o[n]),o=this.getTransformedPoint(l,s.i[0]),a=this.getTransformedPoint(l,s.v[0]),this.checkBounds(r,i,o,a,e))}},HShapeElement.prototype.checkBounds=function(t,e,n,r,i){this.getBoundsOfCurve(t,e,n,r);var o=this.shapeBoundingBox;i.x=bmMin(o.left,i.x),i.xMax=bmMax(o.right,i.xMax),i.y=bmMin(o.top,i.y),i.yMax=bmMax(o.bottom,i.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,n,r){for(var i,o,a,s,l,u,c,h=[[t[0],r[0]],[t[1],r[1]]],d=0;d<2;++d)o=6*t[d]-12*e[d]+6*n[d],i=-3*t[d]+9*e[d]-9*n[d]+3*r[d],a=3*e[d]-3*t[d],o|=0,a|=0,0==(i|=0)&&0===o||(0===i?(s=-a/o)>0&&s<1&&h[d].push(this.calculateF(s,t,e,n,r,d)):(l=o*o-4*a*i)>=0&&((u=(-o+bmSqrt(l))/(2*i))>0&&u<1&&h[d].push(this.calculateF(u,t,e,n,r,d)),(c=(-o-bmSqrt(l))/(2*i))>0&&c<1&&h[d].push(this.calculateF(c,t,e,n,r,d))));this.shapeBoundingBox.left=bmMin.apply(null,h[0]),this.shapeBoundingBox.top=bmMin.apply(null,h[1]),this.shapeBoundingBox.right=bmMax.apply(null,h[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,h[1])},HShapeElement.prototype.calculateF=function(t,e,n,r,i,o){return bmPow(1-t,3)*e[o]+3*bmPow(1-t,2)*t*n[o]+3*(1-t)*bmPow(t,2)*r[o]+bmPow(t,3)*i[o]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var n,r=t.length;for(n=0;n<r;n+=1)t[n]&&t[n].sh?this.calculateShapeBoundingBox(t[n],e):t[n]&&t[n].it?this.calculateBoundingBox(t[n].it,e):t[n]&&t[n].style&&t[n].w&&this.expandStrokeBoundingBox(t[n].w,e)},HShapeElement.prototype.expandStrokeBoundingBox=function(t,e){var n=0;if(t.keyframes){for(var r=0;r<t.keyframes.length;r+=1){var i=t.keyframes[r].s;i>n&&(n=i)}n*=t.mult}else n=t.v*t.mult;e.x-=n,e.xMax+=n,e.y-=n,e.yMax+=n},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var n=!1;if(this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),n=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),n=!0),n||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y){this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var r=this.shapeCont.style,i="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";r.transform=i,r.webkitTransform=i}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style,n=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)";e.fill=n,e.color=n,t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var r,i,o=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",o.fClass)this.innerElem.className=o.fClass;else{e.fontFamily=o.fFamily;var a=t.fWeight,s=t.fStyle;e.fontStyle=s,e.fontWeight=a}var l,u,c,h=t.l;i=h.length;var d,f=this.mHelper,p="",m=0;for(r=0;r<i;r+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?l=this.textPaths[m]:((l=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?c=(u=this.textSpans[m]).children[0]:((u=createTag("div")).style.lineHeight=0,(c=createNS("svg")).appendChild(l),styleDiv(u)))):this.isMasked?l=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(u=this.textSpans[m],l=this.textPaths[m]):(styleDiv(u=createTag("span")),styleDiv(l=createTag("span")),u.appendChild(l)),this.globalData.fontManager.chars){var g,v=this.globalData.fontManager.getCharData(t.finalText[r],o.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(g=v?v.data:null,f.reset(),g&&g.shapes&&g.shapes.length&&(d=g.shapes[0].it,f.scale(t.finalSize/100,t.finalSize/100),p=this.createPathShape(f,d),l.setAttribute("d",p)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(u),g&&g.shapes){document.body.appendChild(c);var y=c.getBBox();c.setAttribute("width",y.width+2),c.setAttribute("height",y.height+2),c.setAttribute("viewBox",y.x-1+" "+(y.y-1)+" "+(y.width+2)+" "+(y.height+2));var b=c.style,w="translate("+(y.x-1)+"px,"+(y.y-1)+"px)";b.transform=w,b.webkitTransform=w,h[r].yOffset=y.y-1}else c.setAttribute("width",1),c.setAttribute("height",1);u.appendChild(c)}}else if(l.textContent=h[r].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(u);var x=l.style,A="translate3d(0,"+-t.finalSize/1.2+"px,0)";x.transform=A,x.webkitTransform=A}this.isMasked?this.textSpans[m]=l:this.textSpans[m]=u,this.textSpans[m].style.display="block",this.textPaths[m]=l,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var t;if(this.validateText(),this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),t=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";t.transform=e,t.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var n,r,i,o,a,s=0,l=this.textAnimator.renderedLetters,u=this.textProperty.currentData.l;for(r=u.length,n=0;n<r;n+=1)u[n].n?s+=1:(o=this.textSpans[n],a=this.textPaths[n],i=l[s],s+=1,i._mdf.m&&(this.isMasked?o.setAttribute("transform",i.m):(o.style.webkitTransform=i.m,o.style.transform=i.m)),o.style.opacity=i.o,i.sw&&i._mdf.sw&&a.setAttribute("stroke-width",i.sw),i.sc&&i._mdf.sc&&a.setAttribute("stroke",i.sc),i.fc&&i._mdf.fc&&(a.setAttribute("fill",i.fc),a.style.color=i.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var c=this.innerElem.getBBox();if(this.currentBBox.w!==c.width&&(this.currentBBox.w=c.width,this.svgElement.setAttribute("width",c.width)),this.currentBBox.h!==c.height&&(this.currentBBox.h=c.height,this.svgElement.setAttribute("height",c.height)),this.currentBBox.w!==c.width+2||this.currentBBox.h!==c.height+2||this.currentBBox.x!==c.x-1||this.currentBBox.y!==c.y-1){this.currentBBox.w=c.width+2,this.currentBBox.h=c.height+2,this.currentBBox.x=c.x-1,this.currentBBox.y=c.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var h="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=h,t.webkitTransform=h}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e,n,r,i=this.comp.threeDElements.length;for(t=0;t<i;t+=1)if("3d"===(e=this.comp.threeDElements[t]).type){n=e.perspectiveElem.style,r=e.container.style;var o=this.pe.v+"px",a="0px 0px 0px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.perspective=o,n.webkitPerspective=o,r.transformOrigin=a,r.mozTransformOrigin=a,r.webkitTransformOrigin=a,n.transform=s,n.webkitTransform=s}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t,e,n=this._isFirstFrame;if(this.hierarchy)for(e=this.hierarchy.length,t=0;t<e;t+=1)n=this.hierarchy[t].finalTransform.mProp._mdf||n;if(n||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(t=e=this.hierarchy.length-1;t>=0;t-=1){var r=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-r.p.v[0],-r.p.v[1],r.p.v[2]),this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),this.mat.scale(1/r.s.v[0],1/r.s.v[1],1/r.s.v[2]),this.mat.translate(r.a.v[0],r.a.v[1],r.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var i;i=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var o=Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),a=[i[0]/o,i[1]/o,i[2]/o],s=Math.sqrt(a[2]*a[2]+a[0]*a[0]),l=Math.atan2(a[1],s),u=Math.atan2(a[0],-a[2]);this.mat.rotateY(u).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var c=!this._prevMat.equals(this.mat);if((c||this.pe._mdf)&&this.comp.threeDElements){var h,d,f;for(e=this.comp.threeDElements.length,t=0;t<e;t+=1)if("3d"===(h=this.comp.threeDElements[t]).type){if(c){var p=this.mat.toCSS();(f=h.container.style).transform=p,f.webkitTransform=p}this.pe._mdf&&((d=h.perspectiveElem.style).perspective=this.pe.v+"px",d.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.crossOrigin="anonymous",e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(t,e){var n=t.getBaseElement();if(n){var r=this.layers[e];if(r.ddd&&this.supports3d)this.addTo3dContainer(n,e);else if(this.threeDElements)this.addTo3dContainer(n,e);else{for(var i,o,a=0;a<e;)this.elements[a]&&!0!==this.elements[a]&&this.elements[a].getBaseElement&&(o=this.elements[a],i=(this.layers[a].ddd?this.getThreeDContainerByPos(a):o.getBaseElement())||i),a+=1;i?r.ddd&&this.supports3d||this.layerElement.insertBefore(n,i):r.ddd&&this.supports3d||this.layerElement.appendChild(n)}}},HybridRendererBase.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRendererBase.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextLottieElement(t,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(t){for(var e=0,n=this.threeDElements.length;e<n;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var n,r,i=createTag("div");styleDiv(i);var o=createTag("div");if(styleDiv(o),"3d"===e){(n=i.style).width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px";var a="50% 50%";n.webkitTransformOrigin=a,n.mozTransformOrigin=a,n.transformOrigin=a;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(r=o.style).transform=s,r.webkitTransform=s}i.appendChild(o);var l={container:o,perspectiveElem:i,startPos:t,endPos:t,type:e};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var t,e,n=this.layers.length,r="";for(t=0;t<n;t+=1)this.layers[t].ddd&&3!==this.layers[t].ty?("3d"!==r&&(r="3d",e=this.createThreeDContainer(t,"3d")),e.endPos=Math.max(e.endPos,t)):("2d"!==r&&(r="2d",e=this.createThreeDContainer(t,"2d")),e.endPos=Math.max(e.endPos,t));for(t=(n=this.threeDElements.length)-1;t>=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var n=0,r=this.threeDElements.length;n<r;){if(e<=this.threeDElements[n].endPos){for(var i,o=this.threeDElements[n].startPos;o<e;)this.elements[o]&&this.elements[o].getBaseElement&&(i=this.elements[o].getBaseElement()),o+=1;i?this.threeDElements[n].container.insertBefore(t,i):this.threeDElements[n].container.appendChild(t);break}n+=1}},HybridRendererBase.prototype.configAnimation=function(t){var e=createTag("div"),n=this.animationItem.wrapper,r=e.style;r.width=t.w+"px",r.height=t.h+"px",this.resizerElem=e,styleDiv(e),r.transformStyle="flat",r.mozTransformStyle="flat",r.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),n.appendChild(e),r.overflow="hidden";var i=createNS("svg");i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i);var o=createNS("defs");i.appendChild(o),this.data=t,this.setupGlobalData(t,i),this.globalData.defs=o,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var t,e,n,r,i=this.animationItem.wrapper.offsetWidth,o=this.animationItem.wrapper.offsetHeight,a=i/o;this.globalData.compSize.w/this.globalData.compSize.h>a?(t=i/this.globalData.compSize.w,e=i/this.globalData.compSize.w,n=0,r=(o-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(t=o/this.globalData.compSize.h,e=o/this.globalData.compSize.h,n=(i-this.globalData.compSize.w*(o/this.globalData.compSize.h))/2,r=0);var s=this.resizerElem.style;s.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+n+","+r+",0,1)",s.transform=s.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,n=this.globalData.compSize.h,r=this.threeDElements.length;for(t=0;t<r;t+=1){var i=this.threeDElements[t].perspectiveElem.style;i.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(n,2))+"px",i.perspective=i.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(t){var e,n=t.length,r=createTag("div");for(e=0;e<n;e+=1)if(t[e].xt){var i=this.createComp(t[e],r,this.globalData.comp,null);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){for(var n,r=0;r<e;)this.elements[r]&&this.elements[r].getBaseElement&&(n=this.elements[r].getBaseElement()),r+=1;n?this.layerElement.insertBefore(t,n):this.layerElement.appendChild(t)},HCompElement.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};var CompExpressionInterface=function(t){function e(e){for(var n=0,r=t.layers.length;n<r;){if(t.layers[n].nm===e||t.layers[n].ind===e)return t.elements[n].layerInterface;n+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e};function _typeof$2(t){return _typeof$2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$2(t)}function seedRandom(t,e){var n=this,r=256,i="random",o=e.pow(r,6),a=e.pow(2,52),s=2*a,l=255;function u(t){var e,n=t.length,i=this,o=0,a=i.i=i.j=0,s=i.S=[];for(n||(t=[n++]);o<r;)s[o]=o++;for(o=0;o<r;o++)s[o]=s[a=l&a+t[o%n]+(e=s[o])],s[a]=e;i.g=function(t){for(var e,n=0,o=i.i,a=i.j,s=i.S;t--;)e=s[o=l&o+1],n=n*r+s[l&(s[o]=s[a=l&a+e])+(s[a]=e)];return i.i=o,i.j=a,n}}function c(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function h(t,e){var n,r=[],i=_typeof$2(t);if(e&&"object"==i)for(n in t)try{r.push(h(t[n],e-1))}catch(t){}return r.length?r:"string"==i?t:t+"\0"}function d(t,e){for(var n,r=t+"",i=0;i<r.length;)e[l&i]=l&(n^=19*e[l&i])+r.charCodeAt(i++);return f(e)}function f(t){return String.fromCharCode.apply(0,t)}e["seed"+i]=function(l,p,m){var g=[],v=d(h((p=!0===p?{entropy:!0}:p||{}).entropy?[l,f(t)]:null===l?function(){try{var e=new Uint8Array(r);return(n.crypto||n.msCrypto).getRandomValues(e),f(e)}catch(e){var i=n.navigator,o=i&&i.plugins;return[+new Date,n,o,n.screen,f(t)]}}():l,3),g),y=new u(g),b=function(){for(var t=y.g(6),e=o,n=0;t<a;)t=(t+n)*r,e*=r,n=y.g(1);for(;t>=s;)t/=2,e/=2,n>>>=1;return(t+n)/e};return b.int32=function(){return 0|y.g(4)},b.quick=function(){return y.g(4)/4294967296},b.double=b,d(f(y.S),t),(p.pass||m||function(t,n,r,o){return o&&(o.S&&c(o,y),t.state=function(){return c(y,{})}),r?(e[i]=t,n):t})(b,v,"global"in p?p.global:this==e,p.state)},d(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof$1(t){return _typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$1(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||e instanceof Number||"boolean"===t||"string"===t}function $bm_neg(t){var e=_typeof$1(t);if("number"===e||t instanceof Number||"boolean"===e)return-t;if($bm_isInstanceOfArray(t)){var n,r=t.length,i=[];for(n=0;n<r;n+=1)i[n]=-t[n];return i}return t.propType?t.v:-t}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var n=_typeof$1(t),r=_typeof$1(e);if(isNumerable(n,t)&&isNumerable(r,e)||"string"===n||"string"===r)return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(r,e))return(t=t.slice(0))[0]+=e,t;if(isNumerable(n,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var i=0,o=t.length,a=e.length,s=[];i<o||i<a;)("number"==typeof t[i]||t[i]instanceof Number)&&("number"==typeof e[i]||e[i]instanceof Number)?s[i]=t[i]+e[i]:s[i]=void 0===e[i]?t[i]:t[i]||e[i],i+=1;return s}return 0}var add=sum;function sub(t,e){var n=_typeof$1(t),r=_typeof$1(e);if(isNumerable(n,t)&&isNumerable(r,e))return"string"===n&&(t=parseInt(t,10)),"string"===r&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(r,e))return(t=t.slice(0))[0]-=e,t;if(isNumerable(n,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var i=0,o=t.length,a=e.length,s=[];i<o||i<a;)("number"==typeof t[i]||t[i]instanceof Number)&&("number"==typeof e[i]||e[i]instanceof Number)?s[i]=t[i]-e[i]:s[i]=void 0===e[i]?t[i]:t[i]||e[i],i+=1;return s}return 0}function mul(t,e){var n,r,i,o=_typeof$1(t),a=_typeof$1(e);if(isNumerable(o,t)&&isNumerable(a,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(i=t.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=t[r]*e;return n}if(isNumerable(o,t)&&$bm_isInstanceOfArray(e)){for(i=e.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=t*e[r];return n}return 0}function div(t,e){var n,r,i,o=_typeof$1(t),a=_typeof$1(e);if(isNumerable(o,t)&&isNumerable(a,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(i=t.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=t[r]/e;return n}if(isNumerable(o,t)&&$bm_isInstanceOfArray(e)){for(i=e.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=t/e[r];return n}return 0}function mod(t,e){return"string"==typeof t&&(t=parseInt(t,10)),"string"==typeof e&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,n){if(e>n){var r=n;n=e,e=r}return Math.min(Math.max(t,e),n)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"==typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);var n;e||(e=helperLengthArray);var r=Math.min(t.length,e.length),i=0;for(n=0;n<r;n+=1)i+=Math.pow(e[n]-t[n],2);return Math.sqrt(i)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,n,r=t[0],i=t[1],o=t[2],a=Math.max(r,i,o),s=Math.min(r,i,o),l=(a+s)/2;if(a===s)e=0,n=0;else{var u=a-s;switch(n=l>.5?u/(2-a-s):u/(a+s),a){case r:e=(i-o)/u+(i<o?6:0);break;case i:e=(o-r)/u+2;break;case o:e=(r-i)/u+4}e/=6}return[e,n,l,t[3]]}function hue2rgb(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function hslToRgb(t){var e,n,r,i=t[0],o=t[1],a=t[2];if(0===o)e=a,r=a,n=a;else{var s=a<.5?a*(1+o):a+o-a*o,l=2*a-s;e=hue2rgb(l,s,i+1/3),n=hue2rgb(l,s,i),r=hue2rgb(l,s,i-1/3)}return[e,n,r,t[3]]}function linear(t,e,n,r,i){if(void 0!==r&&void 0!==i||(r=e,i=n,e=0,n=1),n<e){var o=n;n=e,e=o}if(t<=e)return r;if(t>=n)return i;var a,s=n===e?0:(t-e)/(n-e);if(!r.length)return r+(i-r)*s;var l=r.length,u=createTypedArray("float32",l);for(a=0;a<l;a+=1)u[a]=r[a]+(i[a]-r[a])*s;return u}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var n,r=e.length;t||(t=createTypedArray("float32",r));var i=createTypedArray("float32",r),o=BMMath.random();for(n=0;n<r;n+=1)i[n]=t[n]+o*(e[n]-t[n]);return i}return void 0===t&&(t=0),t+BMMath.random()*(e-t)}function createPath(t,e,n,r){var i,o=t.length,a=shapePool.newElement();a.setPathData(!!r,o);var s,l,u=[0,0];for(i=0;i<o;i+=1)s=e&&e[i]?e[i]:u,l=n&&n[i]?n[i]:u,a.setTripleAt(t[i][0],t[i][1],l[0]+t[i][0],l[1]+t[i][1],s[0]+t[i][0],s[1]+t[i][1],i,!0);return a}function initiateExpression(elem,data,property){function noOp(t){return t}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty._name=elem.data.nm,thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(t,e){var n,r,i=this.pv.length?this.pv.length:1,o=createTypedArray("float32",i),a=Math.floor(5*time);for(n=0,r=0;n<a;){for(r=0;r<i;r+=1)o[r]+=-e+2*e*BMMath.random();n+=1}var s=5*time,l=s-Math.floor(s),u=createTypedArray("float32",i);if(i>1){for(r=0;r<i;r+=1)u[r]=this.pv[r]+o[r]+(-e+2*e*BMMath.random())*l;return u}return this.pv+o[0]+(-e+2*e*BMMath.random())*l}.bind(this);function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(t,e){var n=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],r=Math.atan2(n[0],Math.sqrt(n[1]*n[1]+n[2]*n[2]))/degToRads;return[-Math.atan2(n[1],n[2])/degToRads,r,0]}function easeOut(t,e,n,r,i){return applyEase(easeOutBez,t,e,n,r,i)}function easeIn(t,e,n,r,i){return applyEase(easeInBez,t,e,n,r,i)}function ease(t,e,n,r,i){return applyEase(easeInOutBez,t,e,n,r,i)}function applyEase(t,e,n,r,i,o){void 0===i?(i=n,o=r):e=(e-n)/(r-n),e>1?e=1:e<0&&(e=0);var a=t(e);if($bm_isInstanceOfArray(i)){var s,l=i.length,u=createTypedArray("float32",l);for(s=0;s<l;s+=1)u[s]=(o[s]-i[s])*a+i[s];return u}return(o-i)*a+i}function nearestKey(t){var e,n,r,i=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(n=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)n=1,r=data.k[0].t;else{for(e=0;e<i-1;e+=1){if(t===data.k[e].t){n=e+1,r=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(n=e+2,r=data.k[e+1].t):(n=e+1,r=data.k[e].t);break}}-1===n&&(n=e+1,r=data.k[e].t)}else n=0,r=0;var o={};return o.index=n,o.time=r/elem.comp.globalData.frameRate,o}function key(t){var e,n,r;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var i=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(r=i.length,n=0;n<r;n+=1)e[n]=i[n],e.value[n]=i[n];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return t||0===t||(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return"string"==typeof value?void 0===e?value.substring(t):value.substring(t,e):""}function substr(t,e){return"string"==typeof value?void 0===e?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=0===t?0:Math.floor(time*t)/t,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var t={initExpressions:function(t){var e=0,n=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){e+=1},t.renderer.globalData.popExpression=function(){0==(e-=1)&&function(){var t,e=n.length;for(t=0;t<e;t+=1)n[t].release();n.length=0}()},t.renderer.globalData.registerExpressionProperty=function(t){-1===n.indexOf(t)&&n.push(t)}}};return t.resetFrame=ExpressionManager.resetFrame,t}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}return Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(e){var n,r=createSizedArray(e.viewData.length),i=e.viewData.length;for(n=0;n<i;n+=1)r[n]=new t(e.viewData[n],e.masksProperties[n]);return function(t){for(n=0;n<i;){if(e.masksProperties[n].nm===t)return r[n];n+=1}return null}}}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function n(t,e,n){Object.defineProperty(t,"velocity",{get:function(){return e.getVelocityAtTime(e.comp.currentFrame)}}),t.numKeys=e.keyframes?e.keyframes.length:0,t.key=function(r){if(!t.numKeys)return 0;var i="";i="s"in e.keyframes[r-1]?e.keyframes[r-1].s:"e"in e.keyframes[r-2]?e.keyframes[r-2].e:e.keyframes[r-2].s;var o="unidimensional"===n?new Number(i):Object.assign({},i);return o.time=e.keyframes[r-1].t/e.elem.comp.globalData.frameRate,o.value="unidimensional"===n?i[0]:i,o},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function r(){return t}return function(i){return i?"unidimensional"===i.propType?function(e){e&&"pv"in e||(e=t);var r=1/e.mult,i=e.pv*r,o=new Number(i);return o.value=i,n(o,e,"unidimensional"),function(){return e.k&&e.getValue(),i=e.v*r,o.value!==i&&((o=new Number(i)).value=i,o[0]=i,n(o,e,"unidimensional")),o}}(i):function(t){t&&"pv"in t||(t=e);var r=1/t.mult,i=t.data&&t.data.l||t.pv.length,o=createTypedArray("float32",i),a=createTypedArray("float32",i);return o.value=a,n(o,t,"multidimensional"),function(){t.k&&t.getValue();for(var e=0;e<i;e+=1)a[e]=t.v[e]*r,o[e]=a[e];return o}}(i):r}}(),TransformExpressionInterface=function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}var n,r,i,o;return Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)}),t.p?o=ExpressionPropertyInterface(t.p):(n=ExpressionPropertyInterface(t.px),r=ExpressionPropertyInterface(t.py),t.pz&&(i=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?o():[n(),r(),i?i():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e},LayerExpressionInterface=function(){function t(t){var e=new Matrix;return void 0!==t?this._elem.finalTransform.mProp.getValueAtTime(t).clone(e):this._elem.finalTransform.mProp.applyToMatrix(e),e}function e(t,e){var n=this.getMatrix(e);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.applyPoint(n,t)}function n(t,e){var n=this.getMatrix(e);return this.applyPoint(n,t)}function r(t,e){var n=this.getMatrix(e);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.invertPoint(n,t)}function i(t,e){var n=this.getMatrix(e);return this.invertPoint(n,t)}function o(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(t)}return t.applyToPointArray(e[0],e[1],e[2]||0)}function a(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(t)}return t.inversePoint(e)}function s(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function l(){return[1,1,1,1]}return function(u){var c;function h(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return h.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return c;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return h.effect;case"ADBE Text Properties":return h.textInterface;default:return null}}h.getMatrix=t,h.invertPoint=a,h.applyPoint=o,h.toWorld=n,h.toWorldVec=e,h.fromWorld=i,h.fromWorldVec=r,h.toComp=n,h.fromComp=s,h.sampleImage=l,h.sourceRectAtTime=u.sourceRectAtTime.bind(u),h._elem=u;var d=getDescriptor(c=TransformExpressionInterface(u.finalTransform.mProp),"anchorPoint");return Object.defineProperties(h,{hasParent:{get:function(){return u.hierarchy.length}},parent:{get:function(){return u.hierarchy[0].layerInterface}},rotation:getDescriptor(c,"rotation"),scale:getDescriptor(c,"scale"),position:getDescriptor(c,"position"),opacity:getDescriptor(c,"opacity"),anchorPoint:d,anchor_point:d,transform:{get:function(){return c}},active:{get:function(){return u.isInRange}}}),h.startTime=u.data.st,h.index=u.data.ind,h.source=u.data.refId,h.height=0===u.data.ty?u.data.h:100,h.width=0===u.data.ty?u.data.w:100,h.inPoint=u.data.ip/u.comp.globalData.frameRate,h.outPoint=u.data.op/u.comp.globalData.frameRate,h._name=u.data.nm,h.registerMaskInterface=function(t){h.mask=new MaskManagerInterface(t,u)},h.registerEffectsInterface=function(t){h.effect=t},h}}(),propertyGroupFactory=function(t,e){return function(n){return(n=void 0===n?1:n)<=0?t:e(n-1)}},PropertyInterface=function(t,e){var n={_name:t};return function(t){return(t=void 0===t?1:t)<=0?n:e(t-1)}},EffectsExpressionInterface=function(){function t(n,r,i,o){function a(t){for(var e=n.ef,r=0,i=e.length;r<i;){if(t===e[r].nm||t===e[r].mn||t===e[r].ix)return 5===e[r].ty?u[r]:u[r]();r+=1}throw new Error}var s,l=propertyGroupFactory(a,i),u=[],c=n.ef.length;for(s=0;s<c;s+=1)5===n.ef[s].ty?u.push(t(n.ef[s],r.effectElements[s],r.effectElements[s].propertyGroup,o)):u.push(e(r.effectElements[s],n.ef[s].ty,o,l));return"ADBE Color Control"===n.mn&&Object.defineProperty(a,"color",{get:function(){return u[0]()}}),Object.defineProperties(a,{numProperties:{get:function(){return n.np}},_name:{value:n.nm},propertyGroup:{value:l}}),a.enabled=0!==n.en,a.active=a.enabled,a}function e(t,e,n,r){var i=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",r)),function(){return 10===e?n.comp.compInterface(t.p.v):i()}}return{createEffectsInterface:function(e,n){if(e.effectsManager){var r,i=[],o=e.data.ef,a=e.effectsManager.effectElements.length;for(r=0;r<a;r+=1)i.push(t(o[r],e.effectsManager.effectElements[r],n,e));var s=e.data.ef||[],l=function(t){for(r=0,a=s.length;r<a;){if(t===s[r].nm||t===s[r].mn||t===s[r].ix)return i[r];r+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return s.length}}),l}return null}}}(),ShapePathInterface=function(t,e,n){var r=e.sh;function i(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?i.path:null}var o=propertyGroupFactory(i,n);return r.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(i,{path:{get:function(){return r.k&&r.getValue(),r}},shape:{get:function(){return r.k&&r.getValue(),r}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:n}}),i},ShapeExpressionInterface=function(){function t(t,a,d){var f,p=[],m=t?t.length:0;for(f=0;f<m;f+=1)"gr"===t[f].ty?p.push(e(t[f],a[f],d)):"fl"===t[f].ty?p.push(n(t[f],a[f],d)):"st"===t[f].ty?p.push(i(t[f],a[f],d)):"tm"===t[f].ty?p.push(o(t[f],a[f],d)):"tr"===t[f].ty||("el"===t[f].ty?p.push(s(t[f],a[f],d)):"sr"===t[f].ty?p.push(l(t[f],a[f],d)):"sh"===t[f].ty?p.push(ShapePathInterface(t[f],a[f],d)):"rc"===t[f].ty?p.push(u(t[f],a[f],d)):"rd"===t[f].ty?p.push(c(t[f],a[f],d)):"rp"===t[f].ty?p.push(h(t[f],a[f],d)):"gf"===t[f].ty?p.push(r(t[f],a[f],d)):p.push((t[f],a[f],function(){return null})));return p}function e(e,n,r){var i=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return i.content;default:return i.transform}};i.propertyGroup=propertyGroupFactory(i,r);var o=function(e,n,r){var i,o=function(t){for(var e=0,n=i.length;e<n;){if(i[e]._name===t||i[e].mn===t||i[e].propertyIndex===t||i[e].ix===t||i[e].ind===t)return i[e];e+=1}return"number"==typeof t?i[t-1]:null};o.propertyGroup=propertyGroupFactory(o,r),i=t(e.it,n.it,o.propertyGroup),o.numProperties=i.length;var s=a(e.it[e.it.length-1],n.it[n.it.length-1],o.propertyGroup);return o.transform=s,o.propertyIndex=e.cix,o._name=e.nm,o}(e,n,i.propertyGroup),s=a(e.it[e.it.length-1],n.it[n.it.length-1],i.propertyGroup);return i.content=o,i.transform=s,Object.defineProperty(i,"_name",{get:function(){return e.nm}}),i.numProperties=e.np,i.propertyIndex=e.ix,i.nm=e.nm,i.mn=e.mn,i}function n(t,e,n){function r(t){return"Color"===t||"color"===t?r.color:"Opacity"===t||"opacity"===t?r.opacity:null}return Object.defineProperties(r,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",n)),e.o.setGroupProperty(PropertyInterface("Opacity",n)),r}function r(t,e,n){function r(t){return"Start Point"===t||"start point"===t?r.startPoint:"End Point"===t||"end point"===t?r.endPoint:"Opacity"===t||"opacity"===t?r.opacity:null}return Object.defineProperties(r,{startPoint:{get:ExpressionPropertyInterface(e.s)},endPoint:{get:ExpressionPropertyInterface(e.e)},opacity:{get:ExpressionPropertyInterface(e.o)},type:{get:function(){return"a"}},_name:{value:t.nm},mn:{value:t.mn}}),e.s.setGroupProperty(PropertyInterface("Start Point",n)),e.e.setGroupProperty(PropertyInterface("End Point",n)),e.o.setGroupProperty(PropertyInterface("Opacity",n)),r}function i(t,e,n){var r,i=propertyGroupFactory(u,n),o=propertyGroupFactory(l,i);function a(n){Object.defineProperty(l,t.d[n].nm,{get:ExpressionPropertyInterface(e.d.dataProps[n].p)})}var s=t.d?t.d.length:0,l={};for(r=0;r<s;r+=1)a(r),e.d.dataProps[r].p.setGroupProperty(o);function u(t){return"Color"===t||"color"===t?u.color:"Opacity"===t||"opacity"===t?u.opacity:"Stroke Width"===t||"stroke width"===t?u.strokeWidth:null}return Object.defineProperties(u,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return l}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),e.w.setGroupProperty(PropertyInterface("Stroke Width",i)),u}function o(t,e,n){function r(e){return e===t.e.ix||"End"===e||"end"===e?r.end:e===t.s.ix?r.start:e===t.o.ix?r.offset:null}var i=propertyGroupFactory(r,n);return r.propertyIndex=t.ix,e.s.setGroupProperty(PropertyInterface("Start",i)),e.e.setGroupProperty(PropertyInterface("End",i)),e.o.setGroupProperty(PropertyInterface("Offset",i)),r.propertyIndex=t.ix,r.propertyGroup=n,Object.defineProperties(r,{start:{get:ExpressionPropertyInterface(e.s)},end:{get:ExpressionPropertyInterface(e.e)},offset:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm}}),r.mn=t.mn,r}function a(t,e,n){function r(e){return t.a.ix===e||"Anchor Point"===e?r.anchorPoint:t.o.ix===e||"Opacity"===e?r.opacity:t.p.ix===e||"Position"===e?r.position:t.r.ix===e||"Rotation"===e||"ADBE Vector Rotation"===e?r.rotation:t.s.ix===e||"Scale"===e?r.scale:t.sk&&t.sk.ix===e||"Skew"===e?r.skew:t.sa&&t.sa.ix===e||"Skew Axis"===e?r.skewAxis:null}var i=propertyGroupFactory(r,n);return e.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",i)),e.transform.mProps.p.setGroupProperty(PropertyInterface("Position",i)),e.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",i)),e.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",i)),e.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",i)),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",i)),e.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",i))),e.transform.op.setGroupProperty(PropertyInterface("Opacity",i)),Object.defineProperties(r,{opacity:{get:ExpressionPropertyInterface(e.transform.mProps.o)},position:{get:ExpressionPropertyInterface(e.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(e.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(e.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(e.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(e.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(e.transform.mProps.sa)},_name:{value:t.nm}}),r.ty="tr",r.mn=t.mn,r.propertyGroup=n,r}function s(t,e,n){function r(e){return t.p.ix===e?r.position:t.s.ix===e?r.size:null}var i=propertyGroupFactory(r,n);r.propertyIndex=t.ix;var o="tm"===e.sh.ty?e.sh.prop:e.sh;return o.s.setGroupProperty(PropertyInterface("Size",i)),o.p.setGroupProperty(PropertyInterface("Position",i)),Object.defineProperties(r,{size:{get:ExpressionPropertyInterface(o.s)},position:{get:ExpressionPropertyInterface(o.p)},_name:{value:t.nm}}),r.mn=t.mn,r}function l(t,e,n){function r(e){return t.p.ix===e?r.position:t.r.ix===e?r.rotation:t.pt.ix===e?r.points:t.or.ix===e||"ADBE Vector Star Outer Radius"===e?r.outerRadius:t.os.ix===e?r.outerRoundness:!t.ir||t.ir.ix!==e&&"ADBE Vector Star Inner Radius"!==e?t.is&&t.is.ix===e?r.innerRoundness:null:r.innerRadius}var i=propertyGroupFactory(r,n),o="tm"===e.sh.ty?e.sh.prop:e.sh;return r.propertyIndex=t.ix,o.or.setGroupProperty(PropertyInterface("Outer Radius",i)),o.os.setGroupProperty(PropertyInterface("Outer Roundness",i)),o.pt.setGroupProperty(PropertyInterface("Points",i)),o.p.setGroupProperty(PropertyInterface("Position",i)),o.r.setGroupProperty(PropertyInterface("Rotation",i)),t.ir&&(o.ir.setGroupProperty(PropertyInterface("Inner Radius",i)),o.is.setGroupProperty(PropertyInterface("Inner Roundness",i))),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(o.p)},rotation:{get:ExpressionPropertyInterface(o.r)},points:{get:ExpressionPropertyInterface(o.pt)},outerRadius:{get:ExpressionPropertyInterface(o.or)},outerRoundness:{get:ExpressionPropertyInterface(o.os)},innerRadius:{get:ExpressionPropertyInterface(o.ir)},innerRoundness:{get:ExpressionPropertyInterface(o.is)},_name:{value:t.nm}}),r.mn=t.mn,r}function u(t,e,n){function r(e){return t.p.ix===e?r.position:t.r.ix===e?r.roundness:t.s.ix===e||"Size"===e||"ADBE Vector Rect Size"===e?r.size:null}var i=propertyGroupFactory(r,n),o="tm"===e.sh.ty?e.sh.prop:e.sh;return r.propertyIndex=t.ix,o.p.setGroupProperty(PropertyInterface("Position",i)),o.s.setGroupProperty(PropertyInterface("Size",i)),o.r.setGroupProperty(PropertyInterface("Rotation",i)),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(o.p)},roundness:{get:ExpressionPropertyInterface(o.r)},size:{get:ExpressionPropertyInterface(o.s)},_name:{value:t.nm}}),r.mn=t.mn,r}function c(t,e,n){function r(e){return t.r.ix===e||"Round Corners 1"===e?r.radius:null}var i=propertyGroupFactory(r,n),o=e;return r.propertyIndex=t.ix,o.rd.setGroupProperty(PropertyInterface("Radius",i)),Object.defineProperties(r,{radius:{get:ExpressionPropertyInterface(o.rd)},_name:{value:t.nm}}),r.mn=t.mn,r}function h(t,e,n){function r(e){return t.c.ix===e||"Copies"===e?r.copies:t.o.ix===e||"Offset"===e?r.offset:null}var i=propertyGroupFactory(r,n),o=e;return r.propertyIndex=t.ix,o.c.setGroupProperty(PropertyInterface("Copies",i)),o.o.setGroupProperty(PropertyInterface("Offset",i)),Object.defineProperties(r,{copies:{get:ExpressionPropertyInterface(o.c)},offset:{get:ExpressionPropertyInterface(o.o)},_name:{value:t.nm}}),r.mn=t.mn,r}return function(e,n,r){var i;function o(t){if("number"==typeof t)return 0===(t=void 0===t?1:t)?r:i[t-1];for(var e=0,n=i.length;e<n;){if(i[e]._name===t)return i[e];e+=1}return null}return o.propertyGroup=propertyGroupFactory(o,(function(){return r})),i=t(e,n,o.propertyGroup),o.numProperties=i.length,o._name="Contents",o}}(),TextExpressionInterface=function(t){var e;function n(t){return"ADBE Text Document"===t?n.sourceText:null}return Object.defineProperty(n,"sourceText",{get:function(){t.textProperty.getValue();var n=t.textProperty.currentData.t;return e&&n===e.value||((e=new String(n)).value=n||new String(n),Object.defineProperty(e,"style",{get:function(){return{fillColor:t.textProperty.currentData.fc}}})),e}}),n};function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}var FootageInterface=(dataInterfaceFactory=function(t){function e(t){return"Outline"===t?e.outlineInterface():null}return e._name="Outline",e.outlineInterface=function(t){var e="",n=t.getFootageData();function r(t){if(n[t])return e=t,"object"===_typeof(n=n[t])?r:n;var i=t.indexOf(e);if(-1!==i){var o=parseInt(t.substr(i+e.length),10);return"object"===_typeof(n=n[o])?r:n}return""}return function(){return e="",n=t.getFootageData(),r}}(t),e},function(t){function e(t){return"Data"===t?e.dataInterface:null}return e._name="Data",e.dataInterface=dataInterfaceFactory(t),e}),dataInterfaceFactory,interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(t){return interfaces[t]||null}var expressionHelpers={searchExpressions:function(t,e,n){e.x&&(n.k=!0,n.x=!0,n.initiateExpression=ExpressionManager.initiateExpression,n.effectsSequence.push(n.initiateExpression(t,e,n).bind(n)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),n=this.getValueAtTime(t+-.01),r=0;if(e.length){var i;for(i=0;i<e.length;i+=1)r+=Math.pow(n[i]-e[i],2);r=100*Math.sqrt(r)}else r=0;return r},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e,n,r=-.001,i=this.getValueAtTime(t),o=this.getValueAtTime(t+r);if(i.length)for(e=createTypedArray("float32",i.length),n=0;n<i.length;n+=1)e[n]=(o[n]-i[n])/r;else e=(o-i)/r;return e},getValueAtTime:function(t){return t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(t){this.propertyGroup=t}};function addPropertyDecorator(){function t(t,e,n){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var r,i,o,a,s,l=this.comp.renderedFrame,u=this.keyframes,c=u[u.length-1].t;if(l<=c)return this.pv;if(n?i=c-(r=e?Math.abs(c-this.elem.comp.globalData.frameRate*e):Math.max(0,c-this.elem.data.ip)):((!e||e>u.length-1)&&(e=u.length-1),r=c-(i=u[u.length-1-e].t)),"pingpong"===t){if(Math.floor((l-i)/r)%2!=0)return this.getValueAtTime((r-(l-i)%r+i)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var h=this.getValueAtTime(i/this.comp.globalData.frameRate,0),d=this.getValueAtTime(c/this.comp.globalData.frameRate,0),f=this.getValueAtTime(((l-i)%r+i)/this.comp.globalData.frameRate,0),p=Math.floor((l-i)/r);if(this.pv.length){for(a=(s=new Array(h.length)).length,o=0;o<a;o+=1)s[o]=(d[o]-h[o])*p+f[o];return s}return(d-h)*p+f}if("continue"===t){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),g=this.getValueAtTime((c-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(s=new Array(m.length)).length,o=0;o<a;o+=1)s[o]=m[o]+(m[o]-g[o])*((l-c)/this.comp.globalData.frameRate)/5e-4;return s}return m+(l-c)/.001*(m-g)}}return this.getValueAtTime(((l-i)%r+i)/this.comp.globalData.frameRate,0)}function e(t,e,n){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var r,i,o,a,s,l=this.comp.renderedFrame,u=this.keyframes,c=u[0].t;if(l>=c)return this.pv;if(n?i=c+(r=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-c)):((!e||e>u.length-1)&&(e=u.length-1),r=(i=u[e].t)-c),"pingpong"===t){if(Math.floor((c-l)/r)%2==0)return this.getValueAtTime(((c-l)%r+c)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var h=this.getValueAtTime(c/this.comp.globalData.frameRate,0),d=this.getValueAtTime(i/this.comp.globalData.frameRate,0),f=this.getValueAtTime((r-(c-l)%r+c)/this.comp.globalData.frameRate,0),p=Math.floor((c-l)/r)+1;if(this.pv.length){for(a=(s=new Array(h.length)).length,o=0;o<a;o+=1)s[o]=f[o]-(d[o]-h[o])*p;return s}return f-(d-h)*p}if("continue"===t){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),g=this.getValueAtTime((c+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(s=new Array(m.length)).length,o=0;o<a;o+=1)s[o]=m[o]+(m[o]-g[o])*(c-l)/.001;return s}return m+(m-g)*(c-l)/.001}}return this.getValueAtTime((r-((c-l)%r+c))/this.comp.globalData.frameRate,0)}function n(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;var n,r,i=this.comp.renderedFrame/this.comp.globalData.frameRate,o=i-t,a=e>1?(i+t-o)/(e-1):1,s=0,l=0;for(n=this.pv.length?createTypedArray("float32",this.pv.length):0;s<e;){if(r=this.getValueAtTime(o+s*a),this.pv.length)for(l=0;l<this.pv.length;l+=1)n[l]+=r[l];else n+=r;s+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)n[l]/=e;else n/=e;return n}function r(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var e=this._transformCachingAtTime.v;if(e.cloneFromProps(this.pre.props),this.appliedTransformations<1){var n=this.a.getValueAtTime(t);e.translate(-n[0]*this.a.mult,-n[1]*this.a.mult,n[2]*this.a.mult)}if(this.appliedTransformations<2){var r=this.s.getValueAtTime(t);e.scale(r[0]*this.s.mult,r[1]*this.s.mult,r[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var i=this.sk.getValueAtTime(t),o=this.sa.getValueAtTime(t);e.skewFromAxis(-i*this.sk.mult,o*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var a=this.r.getValueAtTime(t);e.rotate(-a*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var s=this.rz.getValueAtTime(t),l=this.ry.getValueAtTime(t),u=this.rx.getValueAtTime(t),c=this.or.getValueAtTime(t);e.rotateZ(-s*this.rz.mult).rotateY(l*this.ry.mult).rotateX(u*this.rx.mult).rotateZ(-c[2]*this.or.mult).rotateY(c[1]*this.or.mult).rotateX(c[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var h=this.px.getValueAtTime(t),d=this.py.getValueAtTime(t);if(this.data.p.z){var f=this.pz.getValueAtTime(t);e.translate(h*this.px.mult,d*this.py.mult,-f*this.pz.mult)}else e.translate(h*this.px.mult,d*this.py.mult,0)}else{var p=this.p.getValueAtTime(t);e.translate(p[0]*this.p.mult,p[1]*this.p.mult,-p[2]*this.p.mult)}return e}function i(){return this.v.clone(new Matrix)}var o=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,n){var a=o(t,e,n);return a.dynamicProperties.length?a.getValueAtTime=r.bind(a):a.getValueAtTime=i.bind(a),a.setGroupProperty=expressionHelpers.setGroupProperty,a};var a=PropertyFactory.getProp;PropertyFactory.getProp=function(r,i,o,s,l){var u=a(r,i,o,s,l);u.kf?u.getValueAtTime=expressionHelpers.getValueAtTime.bind(u):u.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(u),u.setGroupProperty=expressionHelpers.setGroupProperty,u.loopOut=t,u.loopIn=e,u.smooth=n,u.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(u),u.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(u),u.numKeys=1===i.a?i.k.length:0,u.propertyIndex=i.ix;var c=0;return 0!==o&&(c=createTypedArray("float32",1===i.a?i.k[0].s.length:i.k.length)),u._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:c},expressionHelpers.searchExpressions(r,i,u),u.k&&l.addDynamicProperty(u),u};var s=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function u(){}u.prototype={vertices:function(t,e){this.k&&this.getValue();var n,r=this.v;void 0!==e&&(r=this.getValueAtTime(e,0));var i=r._length,o=r[t],a=r.v,s=createSizedArray(i);for(n=0;n<i;n+=1)s[n]="i"===t||"o"===t?[o[n][0]-a[n][0],o[n][1]-a[n][1]]:[o[n][0],o[n][1]];return s},points:function(t){return this.vertices("v",t)},inTangents:function(t){return this.vertices("i",t)},outTangents:function(t){return this.vertices("o",t)},isClosed:function(){return this.v.c},pointOnPath:function(t,e){var n=this.v;void 0!==e&&(n=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(n));for(var r,i=this._segmentsLength,o=i.lengths,a=i.totalLength*t,s=0,l=o.length,u=0;s<l;){if(u+o[s].addedLength>a){var c=s,h=n.c&&s===l-1?0:s+1,d=(a-u)/o[s].addedLength;r=bez.getPointInSegment(n.v[c],n.v[h],n.o[c],n.i[h],d,o[s]);break}u+=o[s].addedLength,s+=1}return r||(r=n.c?[n.v[0][0],n.v[0][1]]:[n.v[n._length-1][0],n.v[n._length-1][1]]),r},vectorOnPath:function(t,e,n){1==t?t=this.v.c:0==t&&(t=.999);var r=this.pointOnPath(t,e),i=this.pointOnPath(t+.001,e),o=i[0]-r[0],a=i[1]-r[1],s=Math.sqrt(Math.pow(o,2)+Math.pow(a,2));return 0===s?[0,0]:"tangent"===n?[o/s,a/s]:[-a/s,o/s]},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([u],s),extendPrototype([u],l),l.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var c=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,n,r,i){var o=c(t,e,n,r,i);return o.propertyIndex=e.ix,o.lock=!1,3===n?expressionHelpers.searchExpressions(t,e.pt,o):4===n&&expressionHelpers.searchExpressions(t,e.ks,o),o.k&&t.addDynamicProperty(o),o}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(t,e){var n=this.calculateExpression(e);if(t.t!==n){var r={};return this.copyData(r,t),r.t=n.toString(),r.__complete=!1,r}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function(t,e){var n,r,i=createNS("feMerge");for(i.setAttribute("result",t),r=0;r<e.length;r+=1)(n=createNS("feMergeNode")).setAttribute("in",e[r]),i.appendChild(n),i.appendChild(n);return i}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(t,e,n,r,i){this.filterManager=e;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=o,o.setAttribute("result",r+"_tint_1"),t.appendChild(o),(o=createNS("feColorMatrix")).setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",r+"_tint_2"),t.appendChild(o),this.matrixFilter=o;var a=this.createMergeNode(r,[i,r+"_tint_1",r+"_tint_2"]);t.appendChild(a)}function SVGFillFilter(t,e,n,r){this.filterManager=e;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),i.setAttribute("result",r),t.appendChild(i),this.matrixFilter=i}function SVGStrokeEffect(t,e,n){this.initialized=!1,this.filterManager=e,this.elem=n,this.paths=[]}function SVGTritoneFilter(t,e,n,r){this.filterManager=e;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),t.appendChild(i);var o=createNS("feComponentTransfer");o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",r),this.matrixFilter=o;var a=createNS("feFuncR");a.setAttribute("type","table"),o.appendChild(a),this.feFuncR=a;var s=createNS("feFuncG");s.setAttribute("type","table"),o.appendChild(s),this.feFuncG=s;var l=createNS("feFuncB");l.setAttribute("type","table"),o.appendChild(l),this.feFuncB=l,t.appendChild(o)}function SVGProLevelsFilter(t,e,n,r){this.filterManager=e;var i=this.filterManager.effectElements,o=createNS("feComponentTransfer");(i[10].p.k||0!==i[10].p.v||i[11].p.k||1!==i[11].p.v||i[12].p.k||1!==i[12].p.v||i[13].p.k||0!==i[13].p.v||i[14].p.k||1!==i[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",o)),(i[17].p.k||0!==i[17].p.v||i[18].p.k||1!==i[18].p.v||i[19].p.k||1!==i[19].p.v||i[20].p.k||0!==i[20].p.v||i[21].p.k||1!==i[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",o)),(i[24].p.k||0!==i[24].p.v||i[25].p.k||1!==i[25].p.v||i[26].p.k||1!==i[26].p.v||i[27].p.k||0!==i[27].p.v||i[28].p.k||1!==i[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",o)),(i[31].p.k||0!==i[31].p.v||i[32].p.k||1!==i[32].p.v||i[33].p.k||1!==i[33].p.v||i[34].p.k||0!==i[34].p.v||i[35].p.k||1!==i[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",o)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(o.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(o)),(i[3].p.k||0!==i[3].p.v||i[4].p.k||1!==i[4].p.v||i[5].p.k||1!==i[5].p.v||i[6].p.k||0!==i[6].p.v||i[7].p.k||1!==i[7].p.v)&&((o=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",r),t.appendChild(o),this.feFuncRComposed=this.createFeFunc("feFuncR",o),this.feFuncGComposed=this.createFeFunc("feFuncG",o),this.feFuncBComposed=this.createFeFunc("feFuncB",o))}function SVGDropShadowEffect(t,e,n,r,i){var o=e.container.globalData.renderConfig.filterSize,a=e.data.fs||o;t.setAttribute("x",a.x||o.x),t.setAttribute("y",a.y||o.y),t.setAttribute("width",a.width||o.width),t.setAttribute("height",a.height||o.height),this.filterManager=e;var s=createNS("feGaussianBlur");s.setAttribute("in","SourceAlpha"),s.setAttribute("result",r+"_drop_shadow_1"),s.setAttribute("stdDeviation","0"),this.feGaussianBlur=s,t.appendChild(s);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",r+"_drop_shadow_1"),l.setAttribute("result",r+"_drop_shadow_2"),this.feOffset=l,t.appendChild(l);var u=createNS("feFlood");u.setAttribute("flood-color","#00ff00"),u.setAttribute("flood-opacity","1"),u.setAttribute("result",r+"_drop_shadow_3"),this.feFlood=u,t.appendChild(u);var c=createNS("feComposite");c.setAttribute("in",r+"_drop_shadow_3"),c.setAttribute("in2",r+"_drop_shadow_2"),c.setAttribute("operator","in"),c.setAttribute("result",r+"_drop_shadow_4"),t.appendChild(c);var h=this.createMergeNode(r,[r+"_drop_shadow_4",i]);t.appendChild(h)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+r+" 0"),this.matrixFilter.setAttribute("values",n[0]-e[0]+" 0 0 0 "+e[0]+" "+(n[1]-e[1])+" 0 0 0 "+e[1]+" "+(n[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,n=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+n+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var t,e,n,r,i=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(r=this.elem.maskManager.masksProperties.length,n=0):r=1+(n=this.filterManager.effectElements[0].p.v-1),(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);n<r;n+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:n});if(3===this.filterManager.effectElements[10].p.v){var o=createNS("mask"),a=createElementID();o.setAttribute("id",a),o.setAttribute("mask-type","alpha"),o.appendChild(e),this.elem.globalData.defs.appendChild(o);var s=createNS("g");for(s.setAttribute("mask","url("+getLocationHref()+"#"+a+")");i[0];)s.appendChild(i[0]);this.elem.layerElement.appendChild(s),this.masker=o,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(i=this.elem.layerElement.children||this.elem.layerElement.childNodes;i.length;)this.elem.layerElement.removeChild(i[0]);this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){var e;this.initialized||this.initialize();var n,r,i=this.paths.length;for(e=0;e<i;e+=1)if(-1!==this.paths[e].m&&(n=this.elem.maskManager.viewData[this.paths[e].m],r=this.paths[e].p,(t||this.filterManager._mdf||n.prop._mdf)&&r.setAttribute("d",n.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||n.prop._mdf)){var o;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var a=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),s=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=r.getTotalLength();o="0 0 0 "+l*a+" ";var u,c=l*(s-a),h=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,d=Math.floor(c/h);for(u=0;u<d;u+=1)o+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";o+="0 "+10*l+" 0 0"}else o="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;r.setAttribute("stroke-dasharray",o)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var f=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*f[0])+","+bmFloor(255*f[1])+","+bmFloor(255*f[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v,i=r[0]+" "+n[0]+" "+e[0],o=r[1]+" "+n[1]+" "+e[1],a=r[2]+" "+n[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",i),this.feFuncG.setAttribute("tableValues",o),this.feFuncB.setAttribute("tableValues",a)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var n=createNS(t);return n.setAttribute("type","table"),e.appendChild(n),n},SVGProLevelsFilter.prototype.getTableValue=function(t,e,n,r,i){for(var o,a,s=0,l=Math.min(t,e),u=Math.max(t,e),c=Array.call(null,{length:256}),h=0,d=i-r,f=e-t;s<=256;)a=(o=s/256)<=l?f<0?i:r:o>=u?f<0?r:i:r+d*Math.pow((o-t)/f,1/n),c[h]=a,h+=1,s+=256/255;return c.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,n=this.filterManager.effectElements;this.feFuncRComposed&&(t||n[3].p._mdf||n[4].p._mdf||n[5].p._mdf||n[6].p._mdf||n[7].p._mdf)&&(e=this.getTableValue(n[3].p.v,n[4].p.v,n[5].p.v,n[6].p.v,n[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||n[10].p._mdf||n[11].p._mdf||n[12].p._mdf||n[13].p._mdf||n[14].p._mdf)&&(e=this.getTableValue(n[10].p.v,n[11].p.v,n[12].p.v,n[13].p.v,n[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||n[17].p._mdf||n[18].p._mdf||n[19].p._mdf||n[20].p._mdf||n[21].p._mdf)&&(e=this.getTableValue(n[17].p.v,n[18].p.v,n[19].p.v,n[20].p.v,n[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||n[24].p._mdf||n[25].p._mdf||n[26].p._mdf||n[27].p._mdf||n[28].p._mdf)&&(e=this.getTableValue(n[24].p.v,n[25].p.v,n[26].p.v,n[27].p.v,n[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||n[31].p._mdf||n[32].p._mdf||n[33].p._mdf||n[34].p._mdf||n[35].p._mdf)&&(e=this.getTableValue(n[31].p.v,n[32].p.v,n[33].p.v,n[34].p.v,n[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var n=this.filterManager.effectElements[3].p.v,r=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=n*Math.cos(r),o=n*Math.sin(r);this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",o)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,n){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=n,n.matteElement=createNS("g"),n.matteElement.appendChild(n.layerElement),n.matteElement.appendChild(n.transformedElement),n.baseElement=n.matteElement}function SVGGaussianBlurEffect(t,e,n,r){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var i=createNS("feGaussianBlur");i.setAttribute("result",r),t.appendChild(i),this.feGaussianBlur=i}function TransformEffect(){}function SVGTransformEffect(t,e){this.init(e)}function CVTransformEffect(t){this.init(t)}return SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,n=_svgMatteSymbols.length;e<n;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var n=t.layerElement.parentNode;if(n){for(var r,i=n.children,o=0,a=i.length;o<a&&i[o]!==t.layerElement;)o+=1;o<=a-2&&(r=i[o+1]);var s=createNS("use");s.setAttribute("href","#"+e),r?n.insertBefore(s,r):n.appendChild(s)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var n=createElementID(),r=createNS("mask");r.setAttribute("id",e.layerId),r.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var i=t.globalData.defs;i.appendChild(r);var o=createNS("symbol");o.setAttribute("id",n),this.replaceInParent(e,n),o.appendChild(e.layerElement),i.appendChild(o);var a=createNS("use");a.setAttribute("href","#"+n),r.appendChild(a),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,n=0,r=e.length;n<r;)e[n]&&e[n].data.ind===t&&this.setElementAsMask(this.elem,e[n]),n+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3*this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=3==n?0:e,i=2==n?0:e;this.feGaussianBlur.setAttribute("stdDeviation",r+" "+i);var o=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",o)}},TransformEffect.prototype.init=function(t){this.effectsManager=t,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(t){if(this._opMdf=!1,this._mdf=!1,t||this.effectsManager._mdf){var e=this.effectsManager.effectElements,n=e[0].p.v,r=e[1].p.v,i=1===e[2].p.v,o=e[3].p.v,a=i?o:e[4].p.v,s=e[5].p.v,l=e[6].p.v,u=e[7].p.v;this.matrix.reset(),this.matrix.translate(-n[0],-n[1],n[2]),this.matrix.scale(.01*a,.01*o,1),this.matrix.rotate(-u*degToRads),this.matrix.skewFromAxis(-s*degToRads,(l+90)*degToRads),this.matrix.translate(r[0],r[1],0),this._mdf=!0,this.opacity!==e[8].p.v&&(this.opacity=e[8].p.v,this._opMdf=!0)}},extendPrototype([TransformEffect],SVGTransformEffect),extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie},module.exports=factory())},3136:function(t,e,n){var r=n(2060);t.exports=e.default=function(t){if(0==t.indexOf("curl ")){var e=function(t){return t.reduce((function(t,e){return 0==e.indexOf("-X")?(t.push("-X"),t.push(e.slice(2))):t.push(e),t}),[])}(r.split(t)),n={method:"GET",header:{}},i="";return e.forEach((function(t){switch(!0){case function(t){return/^https?:\/\//.test(t)}(t):n.url=t;break;case"-A"==t||"--user-agent"==t:i="user-agent";break;case"-H"==t||"--header"==t:i="header";break;case"-d"==t||"--data"==t||"--data-ascii"==t:i="data";break;case"-u"==t||"--user"==t:i="user";break;case"-I"==t||"--head"==t:n.method="HEAD";break;case"-X"==t||"--request"==t:i="method";break;case"-b"==t||"--cookie"==t:i="cookie";break;case"--compressed"==t:n.header["Accept-Encoding"]=n.header["Accept-Encoding"]||"deflate, gzip";break;case!!t:switch(i){case"header":var e=function(t){return t.split(/: (.+)/)}(t);n.header[e[0]]=e[1],i="";break;case"user-agent":n.header["User-Agent"]=t,i="";break;case"data":"GET"!=n.method&&"HEAD"!=n.method||(n.method="POST"),n.header["Content-Type"]=n.header["Content-Type"]||"application/x-www-form-urlencoded",n.body=n.body?n.body+"&"+t:t,i="";break;case"user":n.header.Authorization="Basic "+btoa(t),i="";break;case"method":n.method=t,i="";break;case"cookie":n.header["Set-Cookie"]=t,i=""}}})),n}}},4769:function(t,e,n){"use strict";var r=n(8522);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},7325:function(t,e,n){t.exports=n(4769)()},8522:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},305:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(7760),i=n(3691);var o;!function(t){t.compose=function(t={},e={},n=!1){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});let i=r(e);n||(i=Object.keys(i).reduce(((t,e)=>(null!=i[e]&&(t[e]=i[e]),t)),{}));for(const n in t)void 0!==t[n]&&void 0===e[n]&&(i[n]=t[n]);return Object.keys(i).length>0?i:void 0},t.diff=function(t={},e={}){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});const n=Object.keys(t).concat(Object.keys(e)).reduce(((n,r)=>(i(t[r],e[r])||(n[r]=void 0===e[r]?null:e[r]),n)),{});return Object.keys(n).length>0?n:void 0},t.invert=function(t={},e={}){t=t||{};const n=Object.keys(e).reduce(((n,r)=>(e[r]!==t[r]&&void 0!==t[r]&&(n[r]=e[r]),n)),{});return Object.keys(t).reduce(((n,r)=>(t[r]!==e[r]&&void 0===e[r]&&(n[r]=null),n)),n)},t.transform=function(t,e,n=!1){if("object"!=typeof t)return e;if("object"!=typeof e)return;if(!n)return e;const r=Object.keys(e).reduce(((n,r)=>(void 0===t[r]&&(n[r]=e[r]),n)),{});return Object.keys(r).length>0?r:void 0}}(o||(o={})),e.default=o},5689:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;const r=n(6199),i=n(7760),o=n(3691),a=n(305);e.AttributeMap=a.default;const s=n(1836);e.Op=s.default;const l=n(4598);e.OpIterator=l.default;const u=String.fromCharCode(0),c=(t,e)=>{if("object"!=typeof t||null===t)throw new Error("cannot retain a "+typeof t);if("object"!=typeof e||null===e)throw new Error("cannot retain a "+typeof e);const n=Object.keys(t)[0];if(!n||n!==Object.keys(e)[0])throw new Error(`embed types not matched: ${n} != ${Object.keys(e)[0]}`);return[n,t[n],e[n]]};class h{constructor(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]}static registerEmbed(t,e){this.handlers[t]=e}static unregisterEmbed(t){delete this.handlers[t]}static getHandler(t){const e=this.handlers[t];if(!e)throw new Error(`no handlers for embed type "${t}"`);return e}insert(t,e){const n={};return"string"==typeof t&&0===t.length?this:(n.insert=t,null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))}delete(t){return t<=0?this:this.push({delete:t})}retain(t,e){if("number"==typeof t&&t<=0)return this;const n={retain:t};return null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)}push(t){let e=this.ops.length,n=this.ops[e-1];if(t=i(t),"object"==typeof n){if("number"==typeof t.delete&&"number"==typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if("number"==typeof n.delete&&null!=t.insert&&(e-=1,n=this.ops[e-1],"object"!=typeof n))return this.ops.unshift(t),this;if(o(t.attributes,n.attributes)){if("string"==typeof t.insert&&"string"==typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"==typeof t.retain&&"number"==typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this}chop(){const t=this.ops[this.ops.length-1];return t&&"number"==typeof t.retain&&!t.attributes&&this.ops.pop(),this}filter(t){return this.ops.filter(t)}forEach(t){this.ops.forEach(t)}map(t){return this.ops.map(t)}partition(t){const e=[],n=[];return this.forEach((r=>{(t(r)?e:n).push(r)})),[e,n]}reduce(t,e){return this.ops.reduce(t,e)}changeLength(){return this.reduce(((t,e)=>e.insert?t+s.default.length(e):e.delete?t-e.delete:t),0)}length(){return this.reduce(((t,e)=>t+s.default.length(e)),0)}slice(t=0,e=1/0){const n=[],r=new l.default(this.ops);let i=0;for(;i<e&&r.hasNext();){let o;i<t?o=r.next(t-i):(o=r.next(e-i),n.push(o)),i+=s.default.length(o)}return new h(n)}compose(t){const e=new l.default(this.ops),n=new l.default(t.ops),r=[],i=n.peek();if(null!=i&&"number"==typeof i.retain&&null==i.attributes){let t=i.retain;for(;"insert"===e.peekType()&&e.peekLength()<=t;)t-=e.peekLength(),r.push(e.next());i.retain-t>0&&n.next(i.retain-t)}const s=new h(r);for(;e.hasNext()||n.hasNext();)if("insert"===n.peekType())s.push(n.next());else if("delete"===e.peekType())s.push(e.next());else{const t=Math.min(e.peekLength(),n.peekLength()),r=e.next(t),i=n.next(t);if(i.retain){const l={};if("number"==typeof r.retain)l.retain="number"==typeof i.retain?t:i.retain;else if("number"==typeof i.retain)null==r.retain?l.insert=r.insert:l.retain=r.retain;else{const t=null==r.retain?"insert":"retain",[e,n,o]=c(r[t],i.retain),a=h.getHandler(e);l[t]={[e]:a.compose(n,o,"retain"===t)}}const u=a.default.compose(r.attributes,i.attributes,"number"==typeof r.retain);if(u&&(l.attributes=u),s.push(l),!n.hasNext()&&o(s.ops[s.ops.length-1],l)){const t=new h(e.rest());return s.concat(t).chop()}}else"number"==typeof i.delete&&("number"==typeof r.retain||"object"==typeof r.retain&&null!==r.retain)&&s.push(i)}return s.chop()}concat(t){const e=new h(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e}diff(t,e){if(this.ops===t.ops)return new h;const n=[this,t].map((e=>e.map((n=>{if(null!=n.insert)return"string"==typeof n.insert?n.insert:u;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")})).join(""))),i=new h,s=r(n[0],n[1],e,!0),c=new l.default(this.ops),d=new l.default(t.ops);return s.forEach((t=>{let e=t[1].length;for(;e>0;){let n=0;switch(t[0]){case r.INSERT:n=Math.min(d.peekLength(),e),i.push(d.next(n));break;case r.DELETE:n=Math.min(e,c.peekLength()),c.next(n),i.delete(n);break;case r.EQUAL:n=Math.min(c.peekLength(),d.peekLength(),e);const t=c.next(n),s=d.next(n);o(t.insert,s.insert)?i.retain(n,a.default.diff(t.attributes,s.attributes)):i.push(s).delete(n)}e-=n}})),i.chop()}eachLine(t,e="\n"){const n=new l.default(this.ops);let r=new h,i=0;for(;n.hasNext();){if("insert"!==n.peekType())return;const o=n.peek(),a=s.default.length(o)-n.peekLength(),l="string"==typeof o.insert?o.insert.indexOf(e,a)-a:-1;if(l<0)r.push(n.next());else if(l>0)r.push(n.next(l));else{if(!1===t(r,n.next(1).attributes||{},i))return;i+=1,r=new h}}r.length()>0&&t(r,{},i)}invert(t){const e=new h;return this.reduce(((n,r)=>{if(r.insert)e.delete(s.default.length(r));else{if("number"==typeof r.retain&&null==r.attributes)return e.retain(r.retain),n+r.retain;if(r.delete||"number"==typeof r.retain){const i=r.delete||r.retain;return t.slice(n,n+i).forEach((t=>{r.delete?e.push(t):r.retain&&r.attributes&&e.retain(s.default.length(t),a.default.invert(r.attributes,t.attributes))})),n+i}if("object"==typeof r.retain&&null!==r.retain){const i=t.slice(n,n+1),o=new l.default(i.ops).next(),[s,u,d]=c(r.retain,o.insert),f=h.getHandler(s);return e.retain({[s]:f.invert(u,d)},a.default.invert(r.attributes,o.attributes)),n+1}}return n}),0),e.chop()}transform(t,e=!1){if(e=!!e,"number"==typeof t)return this.transformPosition(t,e);const n=t,r=new l.default(this.ops),i=new l.default(n.ops),o=new h;for(;r.hasNext()||i.hasNext();)if("insert"!==r.peekType()||!e&&"insert"===i.peekType())if("insert"===i.peekType())o.push(i.next());else{const t=Math.min(r.peekLength(),i.peekLength()),n=r.next(t),s=i.next(t);if(n.delete)continue;if(s.delete)o.push(s);else{const r=n.retain,i=s.retain;let l="object"==typeof i&&null!==i?i:t;if("object"==typeof r&&null!==r&&"object"==typeof i&&null!==i){const t=Object.keys(r)[0];if(t===Object.keys(i)[0]){const n=h.getHandler(t);n&&(l={[t]:n.transform(r[t],i[t],e)})}}o.retain(l,a.default.transform(n.attributes,s.attributes,e))}}else o.retain(s.default.length(r.next()));return o.chop()}transformPosition(t,e=!1){e=!!e;const n=new l.default(this.ops);let r=0;for(;n.hasNext()&&r<=t;){const i=n.peekLength(),o=n.peekType();n.next(),"delete"!==o?("insert"===o&&(r<t||!e)&&(t+=i),r+=i):t-=Math.min(i,t-r)}return t}}h.Op=s.default,h.OpIterator=l.default,h.AttributeMap=a.default,h.handlers={},e.default=h,t.exports=h,t.exports.default=h},1836:function(t,e){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.length=function(t){return"number"==typeof t.delete?t.delete:"number"==typeof t.retain?t.retain:"object"==typeof t.retain&&null!==t.retain?1:"string"==typeof t.insert?t.insert.length:1}}(n||(n={})),e.default=n},4598:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(1836);e.default=class{constructor(t){this.ops=t,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(t){t||(t=1/0);const e=this.ops[this.index];if(e){const n=this.offset,i=r.default.length(e);if(t>=i-n?(t=i-n,this.index+=1,this.offset=0):this.offset+=t,"number"==typeof e.delete)return{delete:t};{const r={};return e.attributes&&(r.attributes=e.attributes),"number"==typeof e.retain?r.retain=t:"object"==typeof e.retain&&null!==e.retain?r.retain=e.retain:"string"==typeof e.insert?r.insert=e.insert.substr(n,t):r.insert=e.insert,r}}return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?r.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const t=this.ops[this.index];return t?"number"==typeof t.delete?"delete":"number"==typeof t.retain||"object"==typeof t.retain&&null!==t.retain?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);{const t=this.offset,e=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(r)}}return[]}}},3412:function(t,e,n){"use strict";var r=n(2381),i=n(7467),o=n(1574);function a(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)}function l(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{!!(4098&(e=t).flags)&&(n=e.return),t=e.return}while(t)}return 3===e.tag?n:null}function u(t){if(13===t.tag){var e=t.memoizedState;if(null===e&&(null!==(t=t.alternate)&&(e=t.memoizedState)),null!==e)return e.dehydrated}return null}function c(t){if(l(t)!==t)throw Error(a(188))}function h(t){var e=t.tag;if(5===e||26===e||27===e||6===e)return t;for(t=t.child;null!==t;){if(null!==(e=h(t)))return e;t=t.sibling}return null}var d=Object.assign,f=Symbol.for("react.element"),p=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),g=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),w=Symbol.for("react.consumer"),x=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),C=Symbol.for("react.lazy");Symbol.for("react.scope");var q=Symbol.for("react.activity");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var T=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var P=Symbol.iterator;function D(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=P&&t[P]||t["@@iterator"])?t:null}var _=Symbol.for("react.client.reference");function O(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===_?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case g:return"Fragment";case y:return"Profiler";case v:return"StrictMode";case k:return"Suspense";case S:return"SuspenseList";case q:return"Activity"}if("object"==typeof t)switch(t.$$typeof){case m:return"Portal";case x:return(t.displayName||"Context")+".Provider";case w:return(t._context.displayName||"Context")+".Consumer";case A:var e=t.render;return(t=t.displayName)||(t=""!==(t=e.displayName||e.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case E:return null!==(e=t.displayName||null)?e:O(t.type)||"Memo";case C:e=t._payload,t=t._init;try{return O(t(e))}catch(t){}}return null}var M=Array.isArray,N=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R={pending:!1,data:null,method:null,action:null},L=[],F=-1;function B(t){return{current:t}}function j(t){0>F||(t.current=L[F],L[F]=null,F--)}function z(t,e){F++,L[F]=t.current,t.current=e}var V=B(null),H=B(null),U=B(null),G=B(null);function K(t,e){switch(z(U,e),z(H,t),z(V,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?ih(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)t=oh(e=ih(e),t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}j(V),z(V,t)}function W(){j(V),j(H),j(U)}function X(t){null!==t.memoizedState&&z(G,t);var e=V.current,n=oh(e,t.type);e!==n&&(z(H,t),z(V,n))}function Y(t){H.current===t&&(j(V),j(H)),G.current===t&&(j(G),Xh._currentValue=R)}var Q=Object.prototype.hasOwnProperty,J=r.unstable_scheduleCallback,Z=r.unstable_cancelCallback,$=r.unstable_shouldYield,tt=r.unstable_requestPaint,et=r.unstable_now,nt=r.unstable_getCurrentPriorityLevel,rt=r.unstable_ImmediatePriority,it=r.unstable_UserBlockingPriority,ot=r.unstable_NormalPriority,at=r.unstable_LowPriority,st=r.unstable_IdlePriority,lt=r.log,ut=r.unstable_setDisableYieldValue,ct=null,ht=null;function dt(t){if("function"==typeof lt&&ut(t),ht&&"function"==typeof ht.setStrictMode)try{ht.setStrictMode(ct,t)}catch(t){}}var ft=Math.clz32?Math.clz32:function(t){return 0===(t>>>=0)?32:31-(pt(t)/mt|0)|0},pt=Math.log,mt=Math.LN2;var gt=256,vt=4194304;function yt(t){var e=42&t;if(0!==e)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194048&t;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&t;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function bt(t,e,n){var r=t.pendingLanes;if(0===r)return 0;var i=0,o=t.suspendedLanes,a=t.pingedLanes;t=t.warmLanes;var s=134217727&r;return 0!==s?0!==(r=s&~o)?i=yt(r):0!==(a&=s)?i=yt(a):n||0!==(n=s&~t)&&(i=yt(n)):0!==(s=r&~o)?i=yt(s):0!==a?i=yt(a):n||0!==(n=r&~t)&&(i=yt(n)),0===i?0:0!==e&&e!==i&&!(e&o)&&((o=i&-i)>=(n=e&-e)||32===o&&4194048&n)?e:i}function wt(t,e){return!(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)}function xt(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;default:return-1}}function At(){var t=gt;return!(4194048&(gt<<=1))&&(gt=256),t}function kt(){var t=vt;return!(62914560&(vt<<=1))&&(vt=4194304),t}function St(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Et(t,e){t.pendingLanes|=e,268435456!==e&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Ct(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var r=31-ft(e);t.entangledLanes|=e,t.entanglements[r]=1073741824|t.entanglements[r]|4194090&n}function qt(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var r=31-ft(n),i=1<<r;i&e|t[r]&e&&(t[r]|=e),n&=~i}}function Tt(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Pt(t){return 2<(t&=-t)?8<t?134217727&t?32:268435456:8:2}function Dt(){var t=I.p;return 0!==t?t:void 0===(t=window.event)?32:ud(t.type)}var _t=Math.random().toString(36).slice(2),Ot="__reactFiber$"+_t,Mt="__reactProps$"+_t,Nt="__reactContainer$"+_t,It="__reactEvents$"+_t,Rt="__reactListeners$"+_t,Lt="__reactHandles$"+_t,Ft="__reactResources$"+_t,Bt="__reactMarker$"+_t;function jt(t){delete t[Ot],delete t[Mt],delete t[It],delete t[Rt],delete t[Lt]}function zt(t){var e=t[Ot];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Nt]||n[Ot]){if(n=e.alternate,null!==e.child||null!==n&&null!==n.child)for(t=bh(t);null!==t;){if(n=t[Ot])return n;t=bh(t)}return e}n=(t=n).parentNode}return null}function Vt(t){if(t=t[Ot]||t[Nt]){var e=t.tag;if(5===e||6===e||13===e||26===e||27===e||3===e)return t}return null}function Ht(t){var e=t.tag;if(5===e||26===e||27===e||6===e)return t.stateNode;throw Error(a(33))}function Ut(t){var e=t[Ft];return e||(e=t[Ft]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Gt(t){t[Bt]=!0}var Kt=new Set,Wt={};function Xt(t,e){Yt(t,e),Yt(t+"Capture",e)}function Yt(t,e){for(Wt[t]=e,t=0;t<e.length;t++)Kt.add(e[t])}var Qt,Jt,Zt=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),$t={},te={};function ee(t,e,n){if(i=e,Q.call(te,i)||!Q.call($t,i)&&(Zt.test(i)?te[i]=!0:($t[i]=!0,0)))if(null===n)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":return void t.removeAttribute(e);case"boolean":var r=e.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void t.removeAttribute(e)}t.setAttribute(e,""+n)}var i}function ne(t,e,n){if(null===n)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void t.removeAttribute(e)}t.setAttribute(e,""+n)}}function re(t,e,n,r){if(null===r)t.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void t.removeAttribute(n)}t.setAttributeNS(e,n,""+r)}}function ie(t){if(void 0===Qt)try{throw Error()}catch(t){var e=t.stack.trim().match(/\n( *(at )?)/);Qt=e&&e[1]||"",Jt=-1<t.stack.indexOf("\n at")?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Qt+t+Jt}var oe=!1;function ae(t,e){if(!t||oe)return"";oe=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(e){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(t){var r=t}Reflect.construct(t,[],n)}else{try{n.call()}catch(t){r=t}t.call(n.prototype)}}else{try{throw Error()}catch(t){r=t}(n=t())&&"function"==typeof n.catch&&n.catch((function(){}))}}catch(t){if(t&&r&&"string"==typeof t.stack)return[t.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),a=o[0],s=o[1];if(a&&s){var l=a.split("\n"),u=s.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<u.length&&!u[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===u.length)for(r=l.length-1,i=u.length-1;1<=r&&0<=i&&l[r]!==u[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==u[i]){if(1!==r||1!==i)do{if(r--,0>--i||l[r]!==u[i]){var c="\n"+l[r].replace(" at new "," at ");return t.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",t.displayName)),c}}while(1<=r&&0<=i);break}}}finally{oe=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?ie(n):""}function se(t){switch(t.tag){case 26:case 27:case 5:return ie(t.type);case 16:return ie("Lazy");case 13:return ie("Suspense");case 19:return ie("SuspenseList");case 0:case 15:return ae(t.type,!1);case 11:return ae(t.type.render,!1);case 1:return ae(t.type,!0);case 31:return ie("Activity");default:return""}}function le(t){try{var e="";do{e+=se(t),t=t.return}while(t);return e}catch(t){return"\nError generating stack: "+t.message+"\n"+t.stack}}function ue(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return t;default:return""}}function ce(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function he(t){t._valueTracker||(t._valueTracker=function(t){var e=ce(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(t){r=""+t,o.call(this,t)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(t){r=""+t},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}(t))}function de(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=ce(t)?t.checked?"true":"false":t.value),(t=r)!==n&&(e.setValue(t),!0)}function fe(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}var pe=/[\n"\\]/g;function me(t){return t.replace(pe,(function(t){return"\\"+t.charCodeAt(0).toString(16)+" "}))}function ge(t,e,n,r,i,o,a,s){t.name="",null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a?t.type=a:t.removeAttribute("type"),null!=e?"number"===a?(0===e&&""===t.value||t.value!=e)&&(t.value=""+ue(e)):t.value!==""+ue(e)&&(t.value=""+ue(e)):"submit"!==a&&"reset"!==a||t.removeAttribute("value"),null!=e?ye(t,a,ue(e)):null!=n?ye(t,a,ue(n)):null!=r&&t.removeAttribute("value"),null==i&&null!=o&&(t.defaultChecked=!!o),null!=i&&(t.checked=i&&"function"!=typeof i&&"symbol"!=typeof i),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?t.name=""+ue(s):t.removeAttribute("name")}function ve(t,e,n,r,i,o,a,s){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(t.type=o),null!=e||null!=n){if(("submit"===o||"reset"===o)&&null==e)return;n=null!=n?""+ue(n):"",e=null!=e?""+ue(e):n,s||e===t.value||(t.value=e),t.defaultValue=e}r="function"!=typeof(r=null!=r?r:i)&&"symbol"!=typeof r&&!!r,t.checked=s?t.checked:!!r,t.defaultChecked=!!r,null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(t.name=a)}function ye(t,e,n){"number"===e&&fe(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function be(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i<n.length;i++)e["$"+n[i]]=!0;for(n=0;n<t.length;n++)i=e.hasOwnProperty("$"+t[n].value),t[n].selected!==i&&(t[n].selected=i),i&&r&&(t[n].defaultSelected=!0)}else{for(n=""+ue(n),e=null,i=0;i<t.length;i++){if(t[i].value===n)return t[i].selected=!0,void(r&&(t[i].defaultSelected=!0));null!==e||t[i].disabled||(e=t[i])}null!==e&&(e.selected=!0)}}function we(t,e,n){null==e||((e=""+ue(e))!==t.value&&(t.value=e),null!=n)?t.defaultValue=null!=n?""+ue(n):"":t.defaultValue!==e&&(t.defaultValue=e)}function xe(t,e,n,r){if(null==e){if(null!=r){if(null!=n)throw Error(a(92));if(M(r)){if(1<r.length)throw Error(a(93));r=r[0]}n=r}null==n&&(n=""),e=n}n=ue(e),t.defaultValue=n,(r=t.textContent)===n&&""!==r&&null!==r&&(t.value=r)}function Ae(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}var ke=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Se(t,e,n){var r=0===e.indexOf("--");null==n||"boolean"==typeof n||""===n?r?t.setProperty(e,""):"float"===e?t.cssFloat="":t[e]="":r?t.setProperty(e,n):"number"!=typeof n||0===n||ke.has(e)?"float"===e?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function Ee(t,e,n){if(null!=e&&"object"!=typeof e)throw Error(a(62));if(t=t.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=e&&e.hasOwnProperty(r)||(0===r.indexOf("--")?t.setProperty(r,""):"float"===r?t.cssFloat="":t[r]="");for(var i in e)r=e[i],e.hasOwnProperty(i)&&n[i]!==r&&Se(t,i,r)}else for(var o in e)e.hasOwnProperty(o)&&Se(t,o,e[o])}function Ce(t){if(-1===t.indexOf("-"))return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var qe=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Te=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Pe(t){return Te.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var De=null;function _e(t){return(t=t.target||t.srcElement||window).correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var Oe=null,Me=null;function Ne(t){var e=Vt(t);if(e&&(t=e.stateNode)){var n=t[Mt]||null;t:switch(t=e.stateNode,e.type){case"input":if(ge(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,"radio"===n.type&&null!=e){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+me(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var r=n[e];if(r!==t&&r.form===t.form){var i=r[Mt]||null;if(!i)throw Error(a(90));ge(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(e=0;e<n.length;e++)(r=n[e]).form===t.form&&de(r)}break t;case"textarea":we(t,n.value,n.defaultValue);break t;case"select":null!=(e=n.value)&&be(t,!!n.multiple,e,!1)}}}var Ie=!1;function Re(t,e,n){if(Ie)return t(e,n);Ie=!0;try{return t(e)}finally{if(Ie=!1,(null!==Oe||null!==Me)&&(zu(),Oe&&(e=Oe,t=Me,Me=Oe=null,Ne(e),t)))for(e=0;e<t.length;e++)Ne(t[e])}}function Le(t,e){var n=t.stateNode;if(null===n)return null;var r=n[Mt]||null;if(null===r)return null;n=r[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(t=t.type)||"input"===t||"select"===t||"textarea"===t)),t=!r;break t;default:t=!1}if(t)return null;if(n&&"function"!=typeof n)throw Error(a(231,e,typeof n));return n}var Fe=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Be=!1;if(Fe)try{var je={};Object.defineProperty(je,"passive",{get:function(){Be=!0}}),window.addEventListener("test",je,je),window.removeEventListener("test",je,je)}catch(t){Be=!1}var ze=null,Ve=null,He=null;function Ue(){if(He)return He;var t,e,n=Ve,r=n.length,i="value"in ze?ze.value:ze.textContent,o=i.length;for(t=0;t<r&&n[t]===i[t];t++);var a=r-t;for(e=1;e<=a&&n[r-e]===i[o-e];e++);return He=i.slice(t,1<e?1-e:void 0)}function Ge(t){var e=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&13===e&&(t=13):t=e,10===t&&(t=13),32<=t||13===t?t:0}function Ke(){return!0}function We(){return!1}function Xe(t){function e(e,n,r,i,o){for(var a in this._reactName=e,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,t)t.hasOwnProperty(a)&&(e=t[a],this[a]=e?e(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?Ke:We,this.isPropagationStopped=We,this}return d(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=Ke)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=Ke)},persist:function(){},isPersistent:Ke}),e}var Ye,Qe,Je,Ze={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$e=Xe(Ze),tn=d({},Ze,{view:0,detail:0}),en=Xe(tn),nn=d({},tn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:pn,button:0,buttons:0,relatedTarget:function(t){return void 0===t.relatedTarget?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Je&&(Je&&"mousemove"===t.type?(Ye=t.screenX-Je.screenX,Qe=t.screenY-Je.screenY):Qe=Ye=0,Je=t),Ye)},movementY:function(t){return"movementY"in t?t.movementY:Qe}}),rn=Xe(nn),on=Xe(d({},nn,{dataTransfer:0})),an=Xe(d({},tn,{relatedTarget:0})),sn=Xe(d({},Ze,{animationName:0,elapsedTime:0,pseudoElement:0})),ln=Xe(d({},Ze,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}})),un=Xe(d({},Ze,{data:0})),cn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},dn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fn(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=dn[t])&&!!e[t]}function pn(){return fn}var mn=Xe(d({},tn,{key:function(t){if(t.key){var e=cn[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?13===(t=Ge(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"keyup"===t.type?hn[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:pn,charCode:function(t){return"keypress"===t.type?Ge(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?Ge(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}})),gn=Xe(d({},nn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),vn=Xe(d({},tn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:pn})),yn=Xe(d({},Ze,{propertyName:0,elapsedTime:0,pseudoElement:0})),bn=Xe(d({},nn,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0})),wn=Xe(d({},Ze,{newState:0,oldState:0})),xn=[9,13,27,32],An=Fe&&"CompositionEvent"in window,kn=null;Fe&&"documentMode"in document&&(kn=document.documentMode);var Sn=Fe&&"TextEvent"in window&&!kn,En=Fe&&(!An||kn&&8<kn&&11>=kn),Cn=String.fromCharCode(32),qn=!1;function Tn(t,e){switch(t){case"keyup":return-1!==xn.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pn(t){return"object"==typeof(t=t.detail)&&"data"in t?t.data:null}var Dn=!1;var _n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function On(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!_n[t.type]:"textarea"===e}function Mn(t,e,n,r){Oe?Me?Me.push(r):Me=[r]:Oe=r,0<(e=Uc(e,"onChange")).length&&(n=new $e("onChange","change",null,n,r),t.push({event:n,listeners:e}))}var Nn=null,In=null;function Rn(t){Rc(t,0)}function Ln(t){if(de(Ht(t)))return t}function Fn(t,e){if("change"===t)return e}var Bn=!1;if(Fe){var jn;if(Fe){var zn="oninput"in document;if(!zn){var Vn=document.createElement("div");Vn.setAttribute("oninput","return;"),zn="function"==typeof Vn.oninput}jn=zn}else jn=!1;Bn=jn&&(!document.documentMode||9<document.documentMode)}function Hn(){Nn&&(Nn.detachEvent("onpropertychange",Un),In=Nn=null)}function Un(t){if("value"===t.propertyName&&Ln(In)){var e=[];Mn(e,In,t,_e(t)),Re(Rn,e)}}function Gn(t,e,n){"focusin"===t?(Hn(),In=n,(Nn=e).attachEvent("onpropertychange",Un)):"focusout"===t&&Hn()}function Kn(t){if("selectionchange"===t||"keyup"===t||"keydown"===t)return Ln(In)}function Wn(t,e){if("click"===t)return Ln(e)}function Xn(t,e){if("input"===t||"change"===t)return Ln(e)}var Yn="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e};function Qn(t,e){if(Yn(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Q.call(e,i)||!Yn(t[i],e[i]))return!1}return!0}function Jn(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Zn(t,e){var n,r=Jn(t);for(t=0;r;){if(3===r.nodeType){if(n=t+r.textContent.length,t<=e&&n>=e)return{node:r,offset:e-t};t=n}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=Jn(r)}}function $n(t,e){return!(!t||!e)&&(t===e||(!t||3!==t.nodeType)&&(e&&3===e.nodeType?$n(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}function tr(t){for(var e=fe((t=null!=t&&null!=t.ownerDocument&&null!=t.ownerDocument.defaultView?t.ownerDocument.defaultView:window).document);e instanceof t.HTMLIFrameElement;){try{var n="string"==typeof e.contentWindow.location.href}catch(t){n=!1}if(!n)break;e=fe((t=e.contentWindow).document)}return e}function er(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}var nr=Fe&&"documentMode"in document&&11>=document.documentMode,rr=null,ir=null,or=null,ar=!1;function sr(t,e,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;ar||null==rr||rr!==fe(r)||("selectionStart"in(r=rr)&&er(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},or&&Qn(or,r)||(or=r,0<(r=Uc(ir,"onSelect")).length&&(e=new $e("onSelect","select",null,e,n),t.push({event:e,listeners:r}),e.target=rr)))}function lr(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var ur={animationend:lr("Animation","AnimationEnd"),animationiteration:lr("Animation","AnimationIteration"),animationstart:lr("Animation","AnimationStart"),transitionrun:lr("Transition","TransitionRun"),transitionstart:lr("Transition","TransitionStart"),transitioncancel:lr("Transition","TransitionCancel"),transitionend:lr("Transition","TransitionEnd")},cr={},hr={};function dr(t){if(cr[t])return cr[t];if(!ur[t])return t;var e,n=ur[t];for(e in n)if(n.hasOwnProperty(e)&&e in hr)return cr[t]=n[e];return t}Fe&&(hr=document.createElement("div").style,"AnimationEvent"in window||(delete ur.animationend.animation,delete ur.animationiteration.animation,delete ur.animationstart.animation),"TransitionEvent"in window||delete ur.transitionend.transition);var fr=dr("animationend"),pr=dr("animationiteration"),mr=dr("animationstart"),gr=dr("transitionrun"),vr=dr("transitionstart"),yr=dr("transitioncancel"),br=dr("transitionend"),wr=new Map,xr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ar(t,e){wr.set(t,e),Xt(e,[t])}xr.push("scrollEnd");var kr=new WeakMap;function Sr(t,e){if("object"==typeof t&&null!==t){var n=kr.get(t);return void 0!==n?n:(e={value:t,source:e,stack:le(e)},kr.set(t,e),e)}return{value:t,source:e,stack:le(e)}}var Er=[],Cr=0,qr=0;function Tr(){for(var t=Cr,e=qr=Cr=0;e<t;){var n=Er[e];Er[e++]=null;var r=Er[e];Er[e++]=null;var i=Er[e];Er[e++]=null;var o=Er[e];if(Er[e++]=null,null!==r&&null!==i){var a=r.pending;null===a?i.next=i:(i.next=a.next,a.next=i),r.pending=i}0!==o&&Or(n,i,o)}}function Pr(t,e,n,r){Er[Cr++]=t,Er[Cr++]=e,Er[Cr++]=n,Er[Cr++]=r,qr|=r,t.lanes|=r,null!==(t=t.alternate)&&(t.lanes|=r)}function Dr(t,e,n,r){return Pr(t,e,n,r),Mr(t)}function _r(t,e){return Pr(t,null,null,e),Mr(t)}function Or(t,e,n){t.lanes|=n;var r=t.alternate;null!==r&&(r.lanes|=n);for(var i=!1,o=t.return;null!==o;)o.childLanes|=n,null!==(r=o.alternate)&&(r.childLanes|=n),22===o.tag&&(null===(t=o.stateNode)||1&t._visibility||(i=!0)),t=o,o=o.return;return 3===t.tag?(o=t.stateNode,i&&null!==e&&(i=31-ft(n),null===(r=(t=o.hiddenUpdates)[i])?t[i]=[e]:r.push(e),e.lane=536870912|n),o):null}function Mr(t){if(50<Ou)throw Ou=0,Mu=null,Error(a(185));for(var e=t.return;null!==e;)e=(t=e).return;return 3===t.tag?t.stateNode:null}var Nr={};function Ir(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Rr(t,e,n,r){return new Ir(t,e,n,r)}function Lr(t){return!(!(t=t.prototype)||!t.isReactComponent)}function Fr(t,e){var n=t.alternate;return null===n?((n=Rr(t.tag,e,t.key,t.mode)).elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=65011712&t.flags,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function Br(t,e){t.flags&=65011714;var n=t.alternate;return null===n?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function jr(t,e,n,r,i,o){var s=0;if(r=t,"function"==typeof t)Lr(t)&&(s=1);else if("string"==typeof t)s=function(t,e,n){if(1===n||null!=e.itemProp)return!1;switch(t){case"meta":case"title":return!0;case"style":if("string"!=typeof e.precedence||"string"!=typeof e.href||""===e.href)break;return!0;case"link":if("string"!=typeof e.rel||"string"!=typeof e.href||""===e.href||e.onLoad||e.onError)break;return"stylesheet"!==e.rel||(t=e.disabled,"string"==typeof e.precedence&&null==t);case"script":if(e.async&&"function"!=typeof e.async&&"symbol"!=typeof e.async&&!e.onLoad&&!e.onError&&e.src&&"string"==typeof e.src)return!0}return!1}(t,n,V.current)?26:"html"===t||"head"===t||"body"===t?27:5;else t:switch(t){case q:return(t=Rr(31,n,e,i)).elementType=q,t.lanes=o,t;case g:return zr(n.children,i,o,e);case v:s=8,i|=24;break;case y:return(t=Rr(12,n,e,2|i)).elementType=y,t.lanes=o,t;case k:return(t=Rr(13,n,e,i)).elementType=k,t.lanes=o,t;case S:return(t=Rr(19,n,e,i)).elementType=S,t.lanes=o,t;default:if("object"==typeof t&&null!==t)switch(t.$$typeof){case b:case x:s=10;break t;case w:s=9;break t;case A:s=11;break t;case E:s=14;break t;case C:s=16,r=null;break t}s=29,n=Error(a(130,null===t?"null":typeof t,"")),r=null}return(e=Rr(s,n,e,i)).elementType=t,e.type=r,e.lanes=o,e}function zr(t,e,n,r){return(t=Rr(7,t,r,e)).lanes=n,t}function Vr(t,e,n){return(t=Rr(6,t,null,e)).lanes=n,t}function Hr(t,e,n){return(e=Rr(4,null!==t.children?t.children:[],t.key,e)).lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Ur=[],Gr=0,Kr=null,Wr=0,Xr=[],Yr=0,Qr=null,Jr=1,Zr="";function $r(t,e){Ur[Gr++]=Wr,Ur[Gr++]=Kr,Kr=t,Wr=e}function ti(t,e,n){Xr[Yr++]=Jr,Xr[Yr++]=Zr,Xr[Yr++]=Qr,Qr=t;var r=Jr;t=Zr;var i=32-ft(r)-1;r&=~(1<<i),n+=1;var o=32-ft(e)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Jr=1<<32-ft(e)+i|n<<i|r,Zr=o+t}else Jr=1<<o|n<<i|r,Zr=t}function ei(t){null!==t.return&&($r(t,1),ti(t,1,0))}function ni(t){for(;t===Kr;)Kr=Ur[--Gr],Ur[Gr]=null,Wr=Ur[--Gr],Ur[Gr]=null;for(;t===Qr;)Qr=Xr[--Yr],Xr[Yr]=null,Zr=Xr[--Yr],Xr[Yr]=null,Jr=Xr[--Yr],Xr[Yr]=null}var ri=null,ii=null,oi=!1,ai=null,si=!1,li=Error(a(519));function ui(t){throw mi(Sr(Error(a(418,"")),t)),li}function ci(t){var e=t.stateNode,n=t.type,r=t.memoizedProps;switch(e[Ot]=t,e[Mt]=r,n){case"dialog":Lc("cancel",e),Lc("close",e);break;case"iframe":case"object":case"embed":Lc("load",e);break;case"video":case"audio":for(n=0;n<Nc.length;n++)Lc(Nc[n],e);break;case"source":Lc("error",e);break;case"img":case"image":case"link":Lc("error",e),Lc("load",e);break;case"details":Lc("toggle",e);break;case"input":Lc("invalid",e),ve(e,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),he(e);break;case"select":Lc("invalid",e);break;case"textarea":Lc("invalid",e),xe(e,r.value,r.defaultValue,r.children),he(e)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||e.textContent===""+n||!0===r.suppressHydrationWarning||Qc(e.textContent,n)?(null!=r.popover&&(Lc("beforetoggle",e),Lc("toggle",e)),null!=r.onScroll&&Lc("scroll",e),null!=r.onScrollEnd&&Lc("scrollend",e),null!=r.onClick&&(e.onclick=Jc),e=!0):e=!1,e||ui(t)}function hi(t){for(ri=t.return;ri;)switch(ri.tag){case 5:case 13:return void(si=!1);case 27:case 3:return void(si=!0);default:ri=ri.return}}function di(t){if(t!==ri)return!1;if(!oi)return hi(t),oi=!0,!1;var e,n=t.tag;if((e=3!==n&&27!==n)&&((e=5===n)&&(e=!("form"!==(e=t.type)&&"button"!==e)||ah(t.type,t.memoizedProps)),e=!e),e&&ii&&ui(t),hi(t),13===n){if(!(t=null!==(t=t.memoizedState)?t.dehydrated:null))throw Error(a(317));t:{for(t=t.nextSibling,n=0;t;){if(8===t.nodeType)if("/$"===(e=t.data)){if(0===n){ii=vh(t.nextSibling);break t}n--}else"$"!==e&&"$!"!==e&&"$?"!==e||n++;t=t.nextSibling}ii=null}}else 27===n?(n=ii,fh(t.type)?(t=yh,yh=null,ii=t):ii=n):ii=ri?vh(t.stateNode.nextSibling):null;return!0}function fi(){ii=ri=null,oi=!1}function pi(){var t=ai;return null!==t&&(null===bu?bu=t:bu.push.apply(bu,t),ai=null),t}function mi(t){null===ai?ai=[t]:ai.push(t)}var gi=B(null),vi=null,yi=null;function bi(t,e,n){z(gi,e._currentValue),e._currentValue=n}function wi(t){t._currentValue=gi.current,j(gi)}function xi(t,e,n){for(;null!==t;){var r=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,null!==r&&(r.childLanes|=e)):null!==r&&(r.childLanes&e)!==e&&(r.childLanes|=e),t===n)break;t=t.return}}function Ai(t,e,n,r){var i=t.child;for(null!==i&&(i.return=t);null!==i;){var o=i.dependencies;if(null!==o){var s=i.child;o=o.firstContext;t:for(;null!==o;){var l=o;o=i;for(var u=0;u<e.length;u++)if(l.context===e[u]){o.lanes|=n,null!==(l=o.alternate)&&(l.lanes|=n),xi(o.return,n,t),r||(s=null);break t}o=l.next}}else if(18===i.tag){if(null===(s=i.return))throw Error(a(341));s.lanes|=n,null!==(o=s.alternate)&&(o.lanes|=n),xi(s,n,t),s=null}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}}function ki(t,e,n,r){t=null;for(var i=e,o=!1;null!==i;){if(!o)if(524288&i.flags)o=!0;else if(262144&i.flags)break;if(10===i.tag){var s=i.alternate;if(null===s)throw Error(a(387));if(null!==(s=s.memoizedProps)){var l=i.type;Yn(i.pendingProps.value,s.value)||(null!==t?t.push(l):t=[l])}}else if(i===G.current){if(null===(s=i.alternate))throw Error(a(387));s.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(null!==t?t.push(Xh):t=[Xh])}i=i.return}null!==t&&Ai(e,t,n,r),e.flags|=262144}function Si(t){for(t=t.firstContext;null!==t;){if(!Yn(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ei(t){vi=t,yi=null,null!==(t=t.dependencies)&&(t.firstContext=null)}function Ci(t){return Ti(vi,t)}function qi(t,e){return null===vi&&Ei(t),Ti(t,e)}function Ti(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},null===yi){if(null===t)throw Error(a(308));yi=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else yi=yi.next=e;return n}var Pi="undefined"!=typeof AbortController?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(e,n){t.push(n)}};this.abort=function(){e.aborted=!0,t.forEach((function(t){return t()}))}},Di=r.unstable_scheduleCallback,_i=r.unstable_NormalPriority,Oi={$$typeof:x,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Mi(){return{controller:new Pi,data:new Map,refCount:0}}function Ni(t){t.refCount--,0===t.refCount&&Di(_i,(function(){t.controller.abort()}))}var Ii=null,Ri=0,Li=0,Fi=null;function Bi(){if(0==--Ri&&null!==Ii){null!==Fi&&(Fi.status="fulfilled");var t=Ii;Ii=null,Li=0,Fi=null;for(var e=0;e<t.length;e++)(0,t[e])()}}var ji=N.S;N.S=function(t,e){"object"==typeof e&&null!==e&&"function"==typeof e.then&&function(t,e){if(null===Ii){var n=Ii=[];Ri=0,Li=Pc(),Fi={status:"pending",value:void 0,then:function(t){n.push(t)}}}Ri++,e.then(Bi,Bi)}(0,e),null!==ji&&ji(t,e)};var zi=B(null);function Vi(){var t=zi.current;return null!==t?t:ru.pooledCache}function Hi(t,e){z(zi,null===e?zi.current:e.pool)}function Ui(){var t=Vi();return null===t?null:{parent:Oi._currentValue,pool:t}}var Gi=Error(a(460)),Ki=Error(a(474)),Wi=Error(a(542)),Xi={then:function(){}};function Yi(t){return"fulfilled"===(t=t.status)||"rejected"===t}function Qi(){}function Ji(t,e,n){switch(void 0===(n=t[n])?t.push(e):n!==e&&(e.then(Qi,Qi),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw to(t=e.reason),t;default:if("string"==typeof e.status)e.then(Qi,Qi);else{if(null!==(t=ru)&&100<t.shellSuspendCounter)throw Error(a(482));(t=e).status="pending",t.then((function(t){if("pending"===e.status){var n=e;n.status="fulfilled",n.value=t}}),(function(t){if("pending"===e.status){var n=e;n.status="rejected",n.reason=t}}))}switch(e.status){case"fulfilled":return e.value;case"rejected":throw to(t=e.reason),t}throw Zi=e,Gi}}var Zi=null;function $i(){if(null===Zi)throw Error(a(459));var t=Zi;return Zi=null,t}function to(t){if(t===Gi||t===Wi)throw Error(a(483))}var eo=!1;function no(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ro(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function io(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function oo(t,e,n){var r=t.updateQueue;if(null===r)return null;if(r=r.shared,2&nu){var i=r.pending;return null===i?e.next=e:(e.next=i.next,i.next=e),r.pending=e,e=Mr(t),Or(t,null,n),e}return Pr(t,r,e,n),Mr(t)}function ao(t,e,n){if(null!==(e=e.updateQueue)&&(e=e.shared,4194048&n)){var r=e.lanes;n|=r&=t.pendingLanes,e.lanes=n,qt(t,n)}}function so(t,e){var n=t.updateQueue,r=t.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=e:o=o.next=e}else i=o=e;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,callbacks:r.callbacks},void(t.updateQueue=n)}null===(t=n.lastBaseUpdate)?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var lo=!1;function uo(){if(lo){if(null!==Fi)throw Fi}}function co(t,e,n,r){lo=!1;var i=t.updateQueue;eo=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?o=u:a.next=u,a=l;var c=t.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==o){var h=i.baseState;for(a=0,c=u=l=null,s=o;;){var f=-536870913&s.lane,p=f!==s.lane;if(p?(ou&f)===f:(r&f)===f){0!==f&&f===Li&&(lo=!0),null!==c&&(c=c.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});t:{var m=t,g=s;f=e;var v=n;switch(g.tag){case 1:if("function"==typeof(m=g.payload)){h=m.call(v,h,f);break t}h=m;break t;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(f="function"==typeof(m=g.payload)?m.call(v,h,f):m))break t;h=d({},h,f);break t;case 2:eo=!0}}null!==(f=s.callback)&&(t.flags|=64,p&&(t.flags|=8192),null===(p=i.callbacks)?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=p,l=h):c=c.next=p,a|=f;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(p=s).next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}null===c&&(l=h),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null===o&&(i.shared.lanes=0),fu|=a,t.lanes=a,t.memoizedState=h}}function ho(t,e){if("function"!=typeof t)throw Error(a(191,t));t.call(e)}function fo(t,e){var n=t.callbacks;if(null!==n)for(t.callbacks=null,t=0;t<n.length;t++)ho(n[t],e)}var po=B(null),mo=B(0);function go(t,e){z(mo,t=hu),z(po,e),hu=t|e.baseLanes}function vo(){z(mo,hu),z(po,po.current)}function yo(){hu=mo.current,j(po),j(mo)}var bo=0,wo=null,xo=null,Ao=null,ko=!1,So=!1,Eo=!1,Co=0,qo=0,To=null,Po=0;function Do(){throw Error(a(321))}function _o(t,e){if(null===e)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Yn(t[n],e[n]))return!1;return!0}function Oo(t,e,n,r,i,o){return bo=o,wo=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,N.H=null===t||null===t.memoizedState?Ka:Wa,Eo=!1,o=n(r,i),Eo=!1,So&&(o=No(e,n,r,i)),Mo(t),o}function Mo(t){N.H=Ga;var e=null!==xo&&null!==xo.next;if(bo=0,Ao=xo=wo=null,ko=!1,qo=0,To=null,e)throw Error(a(300));null===t||qs||null!==(t=t.dependencies)&&Si(t)&&(qs=!0)}function No(t,e,n,r){wo=t;var i=0;do{if(So&&(To=null),qo=0,So=!1,25<=i)throw Error(a(301));if(i+=1,Ao=xo=null,null!=t.updateQueue){var o=t.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,null!=o.memoCache&&(o.memoCache.index=0)}N.H=Xa,o=e(n,r)}while(So);return o}function Io(){var t=N.H,e=t.useState()[0];return e="function"==typeof e.then?zo(e):e,t=t.useState()[0],(null!==xo?xo.memoizedState:null)!==t&&(wo.flags|=1024),e}function Ro(){var t=0!==Co;return Co=0,t}function Lo(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function Fo(t){if(ko){for(t=t.memoizedState;null!==t;){var e=t.queue;null!==e&&(e.pending=null),t=t.next}ko=!1}bo=0,Ao=xo=wo=null,So=!1,qo=Co=0,To=null}function Bo(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ao?wo.memoizedState=Ao=t:Ao=Ao.next=t,Ao}function jo(){if(null===xo){var t=wo.alternate;t=null!==t?t.memoizedState:null}else t=xo.next;var e=null===Ao?wo.memoizedState:Ao.next;if(null!==e)Ao=e,xo=t;else{if(null===t){if(null===wo.alternate)throw Error(a(467));throw Error(a(310))}t={memoizedState:(xo=t).memoizedState,baseState:xo.baseState,baseQueue:xo.baseQueue,queue:xo.queue,next:null},null===Ao?wo.memoizedState=Ao=t:Ao=Ao.next=t}return Ao}function zo(t){var e=qo;return qo+=1,null===To&&(To=[]),t=Ji(To,t,e),e=wo,null===(null===Ao?e.memoizedState:Ao.next)&&(e=e.alternate,N.H=null===e||null===e.memoizedState?Ka:Wa),t}function Vo(t){if(null!==t&&"object"==typeof t){if("function"==typeof t.then)return zo(t);if(t.$$typeof===x)return Ci(t)}throw Error(a(438,String(t)))}function Ho(t){var e=null,n=wo.updateQueue;if(null!==n&&(e=n.memoCache),null==e){var r=wo.alternate;null!==r&&(null!==(r=r.updateQueue)&&(null!=(r=r.memoCache)&&(e={data:r.data.map((function(t){return t.slice()})),index:0})))}if(null==e&&(e={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},wo.updateQueue=n),n.memoCache=e,void 0===(n=e.data[e.index]))for(n=e.data[e.index]=Array(t),r=0;r<t;r++)n[r]=T;return e.index++,n}function Uo(t,e){return"function"==typeof e?e(t):e}function Go(t){return Ko(jo(),xo,t)}function Ko(t,e,n){var r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=n;var i=t.baseQueue,o=r.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}e.baseQueue=i=o,r.pending=null}if(o=t.baseState,null===i)t.memoizedState=o;else{var l=s=null,u=null,c=e=i.next,h=!1;do{var d=-536870913&c.lane;if(d!==c.lane?(ou&d)===d:(bo&d)===d){var f=c.revertLane;if(0===f)null!==u&&(u=u.next={lane:0,revertLane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),d===Li&&(h=!0);else{if((bo&f)===f){c=c.next,f===Li&&(h=!0);continue}d={lane:0,revertLane:c.revertLane,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=d,s=o):u=u.next=d,wo.lanes|=f,fu|=f}d=c.action,Eo&&n(o,d),o=c.hasEagerState?c.eagerState:n(o,d)}else f={lane:d,revertLane:c.revertLane,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=f,s=o):u=u.next=f,wo.lanes|=d,fu|=d;c=c.next}while(null!==c&&c!==e);if(null===u?s=o:u.next=l,!Yn(o,t.memoizedState)&&(qs=!0,h&&null!==(n=Fi)))throw n;t.memoizedState=o,t.baseState=s,t.baseQueue=u,r.lastRenderedState=o}return null===i&&(r.lanes=0),[t.memoizedState,r.dispatch]}function Wo(t){var e=jo(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=n.dispatch,i=n.pending,o=e.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=t(o,s.action),s=s.next}while(s!==i);Yn(o,e.memoizedState)||(qs=!0),e.memoizedState=o,null===e.baseQueue&&(e.baseState=o),n.lastRenderedState=o}return[o,r]}function Xo(t,e,n){var r=wo,i=jo(),o=oi;if(o){if(void 0===n)throw Error(a(407));n=n()}else n=e();var s=!Yn((xo||i).memoizedState,n);if(s&&(i.memoizedState=n,qs=!0),i=i.queue,va(2048,8,Jo.bind(null,r,i,t),[t]),i.getSnapshot!==e||s||null!==Ao&&1&Ao.memoizedState.tag){if(r.flags|=2048,pa(9,{destroy:void 0,resource:void 0},Qo.bind(null,r,i,n,e),null),null===ru)throw Error(a(349));o||124&bo||Yo(r,e,n)}return n}function Yo(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},null===(e=wo.updateQueue)?(e={lastEffect:null,events:null,stores:null,memoCache:null},wo.updateQueue=e,e.stores=[t]):null===(n=e.stores)?e.stores=[t]:n.push(t)}function Qo(t,e,n,r){e.value=n,e.getSnapshot=r,Zo(e)&&$o(t)}function Jo(t,e,n){return n((function(){Zo(e)&&$o(t)}))}function Zo(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Yn(t,n)}catch(t){return!0}}function $o(t){var e=_r(t,2);null!==e&&Ru(e,t,2)}function ta(t){var e=Bo();if("function"==typeof t){var n=t;if(t=n(),Eo){dt(!0);try{n()}finally{dt(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Uo,lastRenderedState:t},e}function ea(t,e,n,r){return t.baseState=n,Ko(t,xo,"function"==typeof r?r:Uo)}function na(t,e,n,r,i){if(Va(t))throw Error(a(485));if(null!==(t=e.action)){var o={payload:i,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(t){o.listeners.push(t)}};null!==N.T?n(!0):o.isTransition=!1,r(o),null===(n=e.pending)?(o.next=e.pending=o,ra(e,o)):(o.next=n.next,e.pending=n.next=o)}}function ra(t,e){var n=e.action,r=e.payload,i=t.state;if(e.isTransition){var o=N.T,a={};N.T=a;try{var s=n(i,r),l=N.S;null!==l&&l(a,s),ia(t,e,s)}catch(n){aa(t,e,n)}finally{N.T=o}}else try{ia(t,e,o=n(i,r))}catch(n){aa(t,e,n)}}function ia(t,e,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then((function(n){oa(t,e,n)}),(function(n){return aa(t,e,n)})):oa(t,e,n)}function oa(t,e,n){e.status="fulfilled",e.value=n,sa(e),t.state=n,null!==(e=t.pending)&&((n=e.next)===e?t.pending=null:(n=n.next,e.next=n,ra(t,n)))}function aa(t,e,n){var r=t.pending;if(t.pending=null,null!==r){r=r.next;do{e.status="rejected",e.reason=n,sa(e),e=e.next}while(e!==r)}t.action=null}function sa(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function la(t,e){return e}function ua(t,e){if(oi){var n=ru.formState;if(null!==n){t:{var r=wo;if(oi){if(ii){e:{for(var i=ii,o=si;8!==i.nodeType;){if(!o){i=null;break e}if(null===(i=vh(i.nextSibling))){i=null;break e}}i="F!"===(o=i.data)||"F"===o?i:null}if(i){ii=vh(i.nextSibling),r="F!"===i.data;break t}}ui(r)}r=!1}r&&(e=n[0])}}return(n=Bo()).memoizedState=n.baseState=e,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:la,lastRenderedState:e},n.queue=r,n=Ba.bind(null,wo,r),r.dispatch=n,r=ta(!1),o=za.bind(null,wo,!1,r.queue),i={state:e,dispatch:null,action:t,pending:null},(r=Bo()).queue=i,n=na.bind(null,wo,i,o,n),i.dispatch=n,r.memoizedState=t,[e,n,!1]}function ca(t){return ha(jo(),xo,t)}function ha(t,e,n){if(e=Ko(t,e,la)[0],t=Go(Uo)[0],"object"==typeof e&&null!==e&&"function"==typeof e.then)try{var r=zo(e)}catch(t){if(t===Gi)throw Wi;throw t}else r=e;var i=(e=jo()).queue,o=i.dispatch;return n!==e.memoizedState&&(wo.flags|=2048,pa(9,{destroy:void 0,resource:void 0},da.bind(null,i,n),null)),[r,o,t]}function da(t,e){t.action=e}function fa(t){var e=jo(),n=xo;if(null!==n)return ha(e,n,t);jo(),e=e.memoizedState;var r=(n=jo()).queue.dispatch;return n.memoizedState=t,[e,r,!1]}function pa(t,e,n,r){return t={tag:t,create:n,deps:r,inst:e,next:null},null===(e=wo.updateQueue)&&(e={lastEffect:null,events:null,stores:null,memoCache:null},wo.updateQueue=e),null===(n=e.lastEffect)?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t),t}function ma(){return jo().memoizedState}function ga(t,e,n,r){var i=Bo();r=void 0===r?null:r,wo.flags|=t,i.memoizedState=pa(1|e,{destroy:void 0,resource:void 0},n,r)}function va(t,e,n,r){var i=jo();r=void 0===r?null:r;var o=i.memoizedState.inst;null!==xo&&null!==r&&_o(r,xo.memoizedState.deps)?i.memoizedState=pa(e,o,n,r):(wo.flags|=t,i.memoizedState=pa(1|e,o,n,r))}function ya(t,e){ga(8390656,8,t,e)}function ba(t,e){va(2048,8,t,e)}function wa(t,e){return va(4,2,t,e)}function xa(t,e){return va(4,4,t,e)}function Aa(t,e){if("function"==typeof e){t=t();var n=e(t);return function(){"function"==typeof n?n():e(null)}}if(null!=e)return t=t(),e.current=t,function(){e.current=null}}function ka(t,e,n){n=null!=n?n.concat([t]):null,va(4,4,Aa.bind(null,e,t),n)}function Sa(){}function Ea(t,e){var n=jo();e=void 0===e?null:e;var r=n.memoizedState;return null!==e&&_o(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function Ca(t,e){var n=jo();e=void 0===e?null:e;var r=n.memoizedState;if(null!==e&&_o(e,r[1]))return r[0];if(r=t(),Eo){dt(!0);try{t()}finally{dt(!1)}}return n.memoizedState=[r,e],r}function qa(t,e,n){return void 0===n||1073741824&bo?t.memoizedState=e:(t.memoizedState=n,t=Iu(),wo.lanes|=t,fu|=t,n)}function Ta(t,e,n,r){return Yn(n,e)?n:null!==po.current?(t=qa(t,n,r),Yn(t,e)||(qs=!0),t):42&bo?(t=Iu(),wo.lanes|=t,fu|=t,e):(qs=!0,t.memoizedState=n)}function Pa(t,e,n,r,i){var o=I.p;I.p=0!==o&&8>o?o:8;var a,s,l,u=N.T,c={};N.T=c,za(t,!1,e,n);try{var h=i(),d=N.S;if(null!==d&&d(c,h),null!==h&&"object"==typeof h&&"function"==typeof h.then)ja(t,e,(a=r,s=[],l={status:"pending",value:null,reason:null,then:function(t){s.push(t)}},h.then((function(){l.status="fulfilled",l.value=a;for(var t=0;t<s.length;t++)(0,s[t])(a)}),(function(t){for(l.status="rejected",l.reason=t,t=0;t<s.length;t++)(0,s[t])(void 0)})),l),Nu());else ja(t,e,r,Nu())}catch(n){ja(t,e,{then:function(){},status:"rejected",reason:n},Nu())}finally{I.p=o,N.T=u}}function Da(){}function _a(t,e,n,r){if(5!==t.tag)throw Error(a(476));var i=Oa(t).queue;Pa(t,i,e,R,null===n?Da:function(){return Ma(t),n(r)})}function Oa(t){var e=t.memoizedState;if(null!==e)return e;var n={};return(e={memoizedState:R,baseState:R,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Uo,lastRenderedState:R},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Uo,lastRenderedState:n},next:null},t.memoizedState=e,null!==(t=t.alternate)&&(t.memoizedState=e),e}function Ma(t){ja(t,Oa(t).next.queue,{},Nu())}function Na(){return Ci(Xh)}function Ia(){return jo().memoizedState}function Ra(){return jo().memoizedState}function La(t){for(var e=t.return;null!==e;){switch(e.tag){case 24:case 3:var n=Nu(),r=oo(e,t=io(n),n);return null!==r&&(Ru(r,e,n),ao(r,e,n)),e={cache:Mi()},void(t.payload=e)}e=e.return}}function Fa(t,e,n){var r=Nu();n={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Va(t)?Ha(e,n):null!==(n=Dr(t,e,n,r))&&(Ru(n,t,r),Ua(n,e,r))}function Ba(t,e,n){ja(t,e,n,Nu())}function ja(t,e,n,r){var i={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Va(t))Ha(e,i);else{var o=t.alternate;if(0===t.lanes&&(null===o||0===o.lanes)&&null!==(o=e.lastRenderedReducer))try{var a=e.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,Yn(s,a))return Pr(t,e,i,0),null===ru&&Tr(),!1}catch(t){}if(null!==(n=Dr(t,e,i,r)))return Ru(n,t,r),Ua(n,e,r),!0}return!1}function za(t,e,n,r){if(r={lane:2,revertLane:Pc(),action:r,hasEagerState:!1,eagerState:null,next:null},Va(t)){if(e)throw Error(a(479))}else null!==(e=Dr(t,n,r,2))&&Ru(e,t,2)}function Va(t){var e=t.alternate;return t===wo||null!==e&&e===wo}function Ha(t,e){So=ko=!0;var n=t.pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Ua(t,e,n){if(4194048&n){var r=e.lanes;n|=r&=t.pendingLanes,e.lanes=n,qt(t,n)}}var Ga={readContext:Ci,use:Vo,useCallback:Do,useContext:Do,useEffect:Do,useImperativeHandle:Do,useLayoutEffect:Do,useInsertionEffect:Do,useMemo:Do,useReducer:Do,useRef:Do,useState:Do,useDebugValue:Do,useDeferredValue:Do,useTransition:Do,useSyncExternalStore:Do,useId:Do,useHostTransitionStatus:Do,useFormState:Do,useActionState:Do,useOptimistic:Do,useMemoCache:Do,useCacheRefresh:Do},Ka={readContext:Ci,use:Vo,useCallback:function(t,e){return Bo().memoizedState=[t,void 0===e?null:e],t},useContext:Ci,useEffect:ya,useImperativeHandle:function(t,e,n){n=null!=n?n.concat([t]):null,ga(4194308,4,Aa.bind(null,e,t),n)},useLayoutEffect:function(t,e){return ga(4194308,4,t,e)},useInsertionEffect:function(t,e){ga(4,2,t,e)},useMemo:function(t,e){var n=Bo();e=void 0===e?null:e;var r=t();if(Eo){dt(!0);try{t()}finally{dt(!1)}}return n.memoizedState=[r,e],r},useReducer:function(t,e,n){var r=Bo();if(void 0!==n){var i=n(e);if(Eo){dt(!0);try{n(e)}finally{dt(!1)}}}else i=e;return r.memoizedState=r.baseState=i,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:i},r.queue=t,t=t.dispatch=Fa.bind(null,wo,t),[r.memoizedState,t]},useRef:function(t){return t={current:t},Bo().memoizedState=t},useState:function(t){var e=(t=ta(t)).queue,n=Ba.bind(null,wo,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:Sa,useDeferredValue:function(t,e){return qa(Bo(),t,e)},useTransition:function(){var t=ta(!1);return t=Pa.bind(null,wo,t.queue,!0,!1),Bo().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var r=wo,i=Bo();if(oi){if(void 0===n)throw Error(a(407));n=n()}else{if(n=e(),null===ru)throw Error(a(349));124&ou||Yo(r,e,n)}i.memoizedState=n;var o={value:n,getSnapshot:e};return i.queue=o,ya(Jo.bind(null,r,o,t),[t]),r.flags|=2048,pa(9,{destroy:void 0,resource:void 0},Qo.bind(null,r,o,n,e),null),n},useId:function(){var t=Bo(),e=ru.identifierPrefix;if(oi){var n=Zr;e="«"+e+"R"+(n=(Jr&~(1<<32-ft(Jr)-1)).toString(32)+n),0<(n=Co++)&&(e+="H"+n.toString(32)),e+="»"}else e="«"+e+"r"+(n=Po++).toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:Na,useFormState:ua,useActionState:ua,useOptimistic:function(t){var e=Bo();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=za.bind(null,wo,!0,n),n.dispatch=e,[t,e]},useMemoCache:Ho,useCacheRefresh:function(){return Bo().memoizedState=La.bind(null,wo)}},Wa={readContext:Ci,use:Vo,useCallback:Ea,useContext:Ci,useEffect:ba,useImperativeHandle:ka,useInsertionEffect:wa,useLayoutEffect:xa,useMemo:Ca,useReducer:Go,useRef:ma,useState:function(){return Go(Uo)},useDebugValue:Sa,useDeferredValue:function(t,e){return Ta(jo(),xo.memoizedState,t,e)},useTransition:function(){var t=Go(Uo)[0],e=jo().memoizedState;return["boolean"==typeof t?t:zo(t),e]},useSyncExternalStore:Xo,useId:Ia,useHostTransitionStatus:Na,useFormState:ca,useActionState:ca,useOptimistic:function(t,e){return ea(jo(),0,t,e)},useMemoCache:Ho,useCacheRefresh:Ra},Xa={readContext:Ci,use:Vo,useCallback:Ea,useContext:Ci,useEffect:ba,useImperativeHandle:ka,useInsertionEffect:wa,useLayoutEffect:xa,useMemo:Ca,useReducer:Wo,useRef:ma,useState:function(){return Wo(Uo)},useDebugValue:Sa,useDeferredValue:function(t,e){var n=jo();return null===xo?qa(n,t,e):Ta(n,xo.memoizedState,t,e)},useTransition:function(){var t=Wo(Uo)[0],e=jo().memoizedState;return["boolean"==typeof t?t:zo(t),e]},useSyncExternalStore:Xo,useId:Ia,useHostTransitionStatus:Na,useFormState:fa,useActionState:fa,useOptimistic:function(t,e){var n=jo();return null!==xo?ea(n,0,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:Ho,useCacheRefresh:Ra},Ya=null,Qa=0;function Ja(t){var e=Qa;return Qa+=1,null===Ya&&(Ya=[]),Ji(Ya,t,e)}function Za(t,e){e=e.props.ref,t.ref=void 0!==e?e:null}function $a(t,e){if(e.$$typeof===f)throw Error(a(525));throw t=Object.prototype.toString.call(e),Error(a(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function ts(t){return(0,t._init)(t._payload)}function es(t){function e(e,n){if(t){var r=e.deletions;null===r?(e.deletions=[n],e.flags|=16):r.push(n)}}function n(n,r){if(!t)return null;for(;null!==r;)e(n,r),r=r.sibling;return null}function r(t){for(var e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(t,e){return(t=Fr(t,e)).index=0,t.sibling=null,t}function o(e,n,r){return e.index=r,t?null!==(r=e.alternate)?(r=r.index)<n?(e.flags|=67108866,n):r:(e.flags|=67108866,n):(e.flags|=1048576,n)}function s(e){return t&&null===e.alternate&&(e.flags|=67108866),e}function l(t,e,n,r){return null===e||6!==e.tag?((e=Vr(n,t.mode,r)).return=t,e):((e=i(e,n)).return=t,e)}function u(t,e,n,r){var o=n.type;return o===g?h(t,e,n.props.children,r,n.key):null!==e&&(e.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===C&&ts(o)===e.type)?(Za(e=i(e,n.props),n),e.return=t,e):(Za(e=jr(n.type,n.key,n.props,null,t.mode,r),n),e.return=t,e)}function c(t,e,n,r){return null===e||4!==e.tag||e.stateNode.containerInfo!==n.containerInfo||e.stateNode.implementation!==n.implementation?((e=Hr(n,t.mode,r)).return=t,e):((e=i(e,n.children||[])).return=t,e)}function h(t,e,n,r,o){return null===e||7!==e.tag?((e=zr(n,t.mode,r,o)).return=t,e):((e=i(e,n)).return=t,e)}function d(t,e,n){if("string"==typeof e&&""!==e||"number"==typeof e||"bigint"==typeof e)return(e=Vr(""+e,t.mode,n)).return=t,e;if("object"==typeof e&&null!==e){switch(e.$$typeof){case p:return Za(n=jr(e.type,e.key,e.props,null,t.mode,n),e),n.return=t,n;case m:return(e=Hr(e,t.mode,n)).return=t,e;case C:return d(t,e=(0,e._init)(e._payload),n)}if(M(e)||D(e))return(e=zr(e,t.mode,n,null)).return=t,e;if("function"==typeof e.then)return d(t,Ja(e),n);if(e.$$typeof===x)return d(t,qi(t,e),n);$a(t,e)}return null}function f(t,e,n,r){var i=null!==e?e.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==i?null:l(t,e,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case p:return n.key===i?u(t,e,n,r):null;case m:return n.key===i?c(t,e,n,r):null;case C:return f(t,e,n=(i=n._init)(n._payload),r)}if(M(n)||D(n))return null!==i?null:h(t,e,n,r,null);if("function"==typeof n.then)return f(t,e,Ja(n),r);if(n.$$typeof===x)return f(t,e,qi(t,n),r);$a(t,n)}return null}function v(t,e,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(e,t=t.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case p:return u(e,t=t.get(null===r.key?n:r.key)||null,r,i);case m:return c(e,t=t.get(null===r.key?n:r.key)||null,r,i);case C:return v(t,e,n,r=(0,r._init)(r._payload),i)}if(M(r)||D(r))return h(e,t=t.get(n)||null,r,i,null);if("function"==typeof r.then)return v(t,e,n,Ja(r),i);if(r.$$typeof===x)return v(t,e,n,qi(e,r),i);$a(e,r)}return null}function y(l,u,c,h){if("object"==typeof c&&null!==c&&c.type===g&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case p:t:{for(var b=c.key;null!==u;){if(u.key===b){if((b=c.type)===g){if(7===u.tag){n(l,u.sibling),(h=i(u,c.props.children)).return=l,l=h;break t}}else if(u.elementType===b||"object"==typeof b&&null!==b&&b.$$typeof===C&&ts(b)===u.type){n(l,u.sibling),Za(h=i(u,c.props),c),h.return=l,l=h;break t}n(l,u);break}e(l,u),u=u.sibling}c.type===g?((h=zr(c.props.children,l.mode,h,c.key)).return=l,l=h):(Za(h=jr(c.type,c.key,c.props,null,l.mode,h),c),h.return=l,l=h)}return s(l);case m:t:{for(b=c.key;null!==u;){if(u.key===b){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(l,u.sibling),(h=i(u,c.children||[])).return=l,l=h;break t}n(l,u);break}e(l,u),u=u.sibling}(h=Hr(c,l.mode,h)).return=l,l=h}return s(l);case C:return y(l,u,c=(b=c._init)(c._payload),h)}if(M(c))return function(i,a,s,l){for(var u=null,c=null,h=a,p=a=0,m=null;null!==h&&p<s.length;p++){h.index>p?(m=h,h=null):m=h.sibling;var g=f(i,h,s[p],l);if(null===g){null===h&&(h=m);break}t&&h&&null===g.alternate&&e(i,h),a=o(g,a,p),null===c?u=g:c.sibling=g,c=g,h=m}if(p===s.length)return n(i,h),oi&&$r(i,p),u;if(null===h){for(;p<s.length;p++)null!==(h=d(i,s[p],l))&&(a=o(h,a,p),null===c?u=h:c.sibling=h,c=h);return oi&&$r(i,p),u}for(h=r(h);p<s.length;p++)null!==(m=v(h,i,p,s[p],l))&&(t&&null!==m.alternate&&h.delete(null===m.key?p:m.key),a=o(m,a,p),null===c?u=m:c.sibling=m,c=m);return t&&h.forEach((function(t){return e(i,t)})),oi&&$r(i,p),u}(l,u,c,h);if(D(c)){if("function"!=typeof(b=D(c)))throw Error(a(150));return function(i,s,l,u){if(null==l)throw Error(a(151));for(var c=null,h=null,p=s,m=s=0,g=null,y=l.next();null!==p&&!y.done;m++,y=l.next()){p.index>m?(g=p,p=null):g=p.sibling;var b=f(i,p,y.value,u);if(null===b){null===p&&(p=g);break}t&&p&&null===b.alternate&&e(i,p),s=o(b,s,m),null===h?c=b:h.sibling=b,h=b,p=g}if(y.done)return n(i,p),oi&&$r(i,m),c;if(null===p){for(;!y.done;m++,y=l.next())null!==(y=d(i,y.value,u))&&(s=o(y,s,m),null===h?c=y:h.sibling=y,h=y);return oi&&$r(i,m),c}for(p=r(p);!y.done;m++,y=l.next())null!==(y=v(p,i,m,y.value,u))&&(t&&null!==y.alternate&&p.delete(null===y.key?m:y.key),s=o(y,s,m),null===h?c=y:h.sibling=y,h=y);return t&&p.forEach((function(t){return e(i,t)})),oi&&$r(i,m),c}(l,u,c=b.call(c),h)}if("function"==typeof c.then)return y(l,u,Ja(c),h);if(c.$$typeof===x)return y(l,u,qi(l,c),h);$a(l,c)}return"string"==typeof c&&""!==c||"number"==typeof c||"bigint"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(l,u.sibling),(h=i(u,c)).return=l,l=h):(n(l,u),(h=Vr(c,l.mode,h)).return=l,l=h),s(l)):n(l,u)}return function(t,e,n,r){try{Qa=0;var i=y(t,e,n,r);return Ya=null,i}catch(e){if(e===Gi||e===Wi)throw e;var o=Rr(29,e,null,t.mode);return o.lanes=r,o.return=t,o}}}var ns=es(!0),rs=es(!1),is=B(null),os=null;function as(t){var e=t.alternate;z(cs,1&cs.current),z(is,t),null===os&&(null===e||null!==po.current||null!==e.memoizedState)&&(os=t)}function ss(t){if(22===t.tag){if(z(cs,cs.current),z(is,t),null===os){var e=t.alternate;null!==e&&null!==e.memoizedState&&(os=t)}}else ls()}function ls(){z(cs,cs.current),z(is,is.current)}function us(t){j(is),os===t&&(os=null),j(cs)}var cs=B(0);function hs(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||gh(n)))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(128&e.flags)return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function ds(t,e,n,r){n=null==(n=n(r,e=t.memoizedState))?e:d({},e,n),t.memoizedState=n,0===t.lanes&&(t.updateQueue.baseState=n)}var fs={enqueueSetState:function(t,e,n){t=t._reactInternals;var r=Nu(),i=io(r);i.payload=e,null!=n&&(i.callback=n),null!==(e=oo(t,i,r))&&(Ru(e,t,r),ao(e,t,r))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var r=Nu(),i=io(r);i.tag=1,i.payload=e,null!=n&&(i.callback=n),null!==(e=oo(t,i,r))&&(Ru(e,t,r),ao(e,t,r))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Nu(),r=io(n);r.tag=2,null!=e&&(r.callback=e),null!==(e=oo(t,r,n))&&(Ru(e,t,n),ao(e,t,n))}};function ps(t,e,n,r,i,o,a){return"function"==typeof(t=t.stateNode).shouldComponentUpdate?t.shouldComponentUpdate(r,o,a):!e.prototype||!e.prototype.isPureReactComponent||(!Qn(n,r)||!Qn(i,o))}function ms(t,e,n,r){t=e.state,"function"==typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(n,r),"function"==typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&fs.enqueueReplaceState(e,e.state,null)}function gs(t,e){var n=e;if("ref"in e)for(var r in n={},e)"ref"!==r&&(n[r]=e[r]);if(t=t.defaultProps)for(var i in n===e&&(n=d({},n)),t)void 0===n[i]&&(n[i]=t[i]);return n}var vs="function"==typeof reportError?reportError:function(t){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof t&&null!==t&&"string"==typeof t.message?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",t)};function ys(t){vs(t)}function bs(t){}function ws(t){vs(t)}function xs(t,e){try{(0,t.onUncaughtError)(e.value,{componentStack:e.stack})}catch(t){setTimeout((function(){throw t}))}}function As(t,e,n){try{(0,t.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===e.tag?e.stateNode:null})}catch(t){setTimeout((function(){throw t}))}}function ks(t,e,n){return(n=io(n)).tag=3,n.payload={element:null},n.callback=function(){xs(t,e)},n}function Ss(t){return(t=io(t)).tag=3,t}function Es(t,e,n,r){var i=n.type.getDerivedStateFromError;if("function"==typeof i){var o=r.value;t.payload=function(){return i(o)},t.callback=function(){As(e,n,r)}}var a=n.stateNode;null!==a&&"function"==typeof a.componentDidCatch&&(t.callback=function(){As(e,n,r),"function"!=typeof i&&(null===Su?Su=new Set([this]):Su.add(this));var t=r.stack;this.componentDidCatch(r.value,{componentStack:null!==t?t:""})})}var Cs=Error(a(461)),qs=!1;function Ts(t,e,n,r){e.child=null===t?rs(e,null,n,r):ns(e,t.child,n,r)}function Ps(t,e,n,r,i){n=n.render;var o=e.ref;if("ref"in r){var a={};for(var s in r)"ref"!==s&&(a[s]=r[s])}else a=r;return Ei(e),r=Oo(t,e,n,a,o,i),s=Ro(),null===t||qs?(oi&&s&&ei(e),e.flags|=1,Ts(t,e,r,i),e.child):(Lo(t,e,i),Ys(t,e,i))}function Ds(t,e,n,r,i){if(null===t){var o=n.type;return"function"!=typeof o||Lr(o)||void 0!==o.defaultProps||null!==n.compare?((t=jr(n.type,null,r,e,e.mode,i)).ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=o,_s(t,e,o,r,i))}if(o=t.child,!Qs(t,i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:Qn)(a,r)&&t.ref===e.ref)return Ys(t,e,i)}return e.flags|=1,(t=Fr(o,r)).ref=e.ref,t.return=e,e.child=t}function _s(t,e,n,r,i){if(null!==t){var o=t.memoizedProps;if(Qn(o,r)&&t.ref===e.ref){if(qs=!1,e.pendingProps=r=o,!Qs(t,i))return e.lanes=t.lanes,Ys(t,e,i);131072&t.flags&&(qs=!0)}}return Is(t,e,n,r,i)}function Os(t,e,n){var r=e.pendingProps,i=r.children,o=null!==t?t.memoizedState:null;if("hidden"===r.mode){if(128&e.flags){if(r=null!==o?o.baseLanes|n:n,null!==t){for(i=e.child=t.child,o=0;null!==i;)o=o|i.lanes|i.childLanes,i=i.sibling;e.childLanes=o&~r}else e.childLanes=0,e.child=null;return Ms(t,e,r,n)}if(!(536870912&n))return e.lanes=e.childLanes=536870912,Ms(t,e,null!==o?o.baseLanes|n:n,n);e.memoizedState={baseLanes:0,cachePool:null},null!==t&&Hi(0,null!==o?o.cachePool:null),null!==o?go(e,o):vo(),ss(e)}else null!==o?(Hi(0,o.cachePool),go(e,o),ls(),e.memoizedState=null):(null!==t&&Hi(0,null),vo(),ls());return Ts(t,e,i,n),e.child}function Ms(t,e,n,r){var i=Vi();return i=null===i?null:{parent:Oi._currentValue,pool:i},e.memoizedState={baseLanes:n,cachePool:i},null!==t&&Hi(0,null),vo(),ss(e),null!==t&&ki(t,e,r,!0),null}function Ns(t,e){var n=e.ref;if(null===n)null!==t&&null!==t.ref&&(e.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(a(284));null!==t&&t.ref===n||(e.flags|=4194816)}}function Is(t,e,n,r,i){return Ei(e),n=Oo(t,e,n,r,void 0,i),r=Ro(),null===t||qs?(oi&&r&&ei(e),e.flags|=1,Ts(t,e,n,i),e.child):(Lo(t,e,i),Ys(t,e,i))}function Rs(t,e,n,r,i,o){return Ei(e),e.updateQueue=null,n=No(e,r,n,i),Mo(t),r=Ro(),null===t||qs?(oi&&r&&ei(e),e.flags|=1,Ts(t,e,n,o),e.child):(Lo(t,e,o),Ys(t,e,o))}function Ls(t,e,n,r,i){if(Ei(e),null===e.stateNode){var o=Nr,a=n.contextType;"object"==typeof a&&null!==a&&(o=Ci(a)),o=new n(r,o),e.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,o.updater=fs,e.stateNode=o,o._reactInternals=e,(o=e.stateNode).props=r,o.state=e.memoizedState,o.refs={},no(e),a=n.contextType,o.context="object"==typeof a&&null!==a?Ci(a):Nr,o.state=e.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(ds(e,n,a,r),o.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(a=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),a!==o.state&&fs.enqueueReplaceState(o,o.state,null),co(e,r,o,i),uo(),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308),r=!0}else if(null===t){o=e.stateNode;var s=e.memoizedProps,l=gs(n,s);o.props=l;var u=o.context,c=n.contextType;a=Nr,"object"==typeof c&&null!==c&&(a=Ci(c));var h=n.getDerivedStateFromProps;c="function"==typeof h||"function"==typeof o.getSnapshotBeforeUpdate,s=e.pendingProps!==s,c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s||u!==a)&&ms(e,o,r,a),eo=!1;var d=e.memoizedState;o.state=d,co(e,r,o,i),uo(),u=e.memoizedState,s||d!==u||eo?("function"==typeof h&&(ds(e,n,h,r),u=e.memoizedState),(l=eo||ps(e,n,l,r,d,u,a))?(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(e.flags|=4194308)):("function"==typeof o.componentDidMount&&(e.flags|=4194308),e.memoizedProps=r,e.memoizedState=u),o.props=r,o.state=u,o.context=a,r=l):("function"==typeof o.componentDidMount&&(e.flags|=4194308),r=!1)}else{o=e.stateNode,ro(t,e),c=gs(n,a=e.memoizedProps),o.props=c,h=e.pendingProps,d=o.context,u=n.contextType,l=Nr,"object"==typeof u&&null!==u&&(l=Ci(u)),(u="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(a!==h||d!==l)&&ms(e,o,r,l),eo=!1,d=e.memoizedState,o.state=d,co(e,r,o,i),uo();var f=e.memoizedState;a!==h||d!==f||eo||null!==t&&null!==t.dependencies&&Si(t.dependencies)?("function"==typeof s&&(ds(e,n,s,r),f=e.memoizedState),(c=eo||ps(e,n,c,r,d,f,l)||null!==t&&null!==t.dependencies&&Si(t.dependencies))?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,f,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof o.componentDidUpdate&&(e.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(e.flags|=1024)):("function"!=typeof o.componentDidUpdate||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=1024),e.memoizedProps=r,e.memoizedState=f),o.props=r,o.state=f,o.context=l,r=c):("function"!=typeof o.componentDidUpdate||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=1024),r=!1)}return o=r,Ns(t,e),r=!!(128&e.flags),o||r?(o=e.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:o.render(),e.flags|=1,null!==t&&r?(e.child=ns(e,t.child,null,i),e.child=ns(e,null,n,i)):Ts(t,e,n,i),e.memoizedState=o.state,t=e.child):t=Ys(t,e,i),t}function Fs(t,e,n,r){return fi(),e.flags|=256,Ts(t,e,n,r),e.child}var Bs={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function js(t){return{baseLanes:t,cachePool:Ui()}}function zs(t,e,n){return t=null!==t?t.childLanes&~n:0,e&&(t|=gu),t}function Vs(t,e,n){var r,i=e.pendingProps,o=!1,s=!!(128&e.flags);if((r=s)||(r=(null===t||null!==t.memoizedState)&&!!(2&cs.current)),r&&(o=!0,e.flags&=-129),r=!!(32&e.flags),e.flags&=-33,null===t){if(oi){if(o?as(e):ls(),oi){var l,u=ii;if(l=u){t:{for(l=u,u=si;8!==l.nodeType;){if(!u){u=null;break t}if(null===(l=vh(l.nextSibling))){u=null;break t}}u=l}null!==u?(e.memoizedState={dehydrated:u,treeContext:null!==Qr?{id:Jr,overflow:Zr}:null,retryLane:536870912,hydrationErrors:null},(l=Rr(18,null,null,0)).stateNode=u,l.return=e,e.child=l,ri=e,ii=null,l=!0):l=!1}l||ui(e)}if(null!==(u=e.memoizedState)&&null!==(u=u.dehydrated))return gh(u)?e.lanes=32:e.lanes=536870912,null;us(e)}return u=i.children,i=i.fallback,o?(ls(),u=Us({mode:"hidden",children:u},o=e.mode),i=zr(i,o,n,null),u.return=e,i.return=e,u.sibling=i,e.child=u,(o=e.child).memoizedState=js(n),o.childLanes=zs(t,r,n),e.memoizedState=Bs,i):(as(e),Hs(e,u))}if(null!==(l=t.memoizedState)&&null!==(u=l.dehydrated)){if(s)256&e.flags?(as(e),e.flags&=-257,e=Gs(t,e,n)):null!==e.memoizedState?(ls(),e.child=t.child,e.flags|=128,e=null):(ls(),o=i.fallback,u=e.mode,i=Us({mode:"visible",children:i.children},u),(o=zr(o,u,n,null)).flags|=2,i.return=e,o.return=e,i.sibling=o,e.child=i,ns(e,t.child,null,n),(i=e.child).memoizedState=js(n),i.childLanes=zs(t,r,n),e.memoizedState=Bs,e=o);else if(as(e),gh(u)){if(r=u.nextSibling&&u.nextSibling.dataset)var c=r.dgst;r=c,(i=Error(a(419))).stack="",i.digest=r,mi({value:i,source:null,stack:null}),e=Gs(t,e,n)}else if(qs||ki(t,e,n,!1),r=!!(n&t.childLanes),qs||r){if(null!==(r=ru)&&(0!==(i=(i=42&(i=n&-n)?1:Tt(i))&(r.suspendedLanes|n)?0:i)&&i!==l.retryLane))throw l.retryLane=i,_r(t,i),Ru(r,t,i),Cs;"$?"===u.data||Wu(),e=Gs(t,e,n)}else"$?"===u.data?(e.flags|=192,e.child=t.child,e=null):(t=l.treeContext,ii=vh(u.nextSibling),ri=e,oi=!0,ai=null,si=!1,null!==t&&(Xr[Yr++]=Jr,Xr[Yr++]=Zr,Xr[Yr++]=Qr,Jr=t.id,Zr=t.overflow,Qr=e),(e=Hs(e,i.children)).flags|=4096);return e}return o?(ls(),o=i.fallback,u=e.mode,c=(l=t.child).sibling,(i=Fr(l,{mode:"hidden",children:i.children})).subtreeFlags=65011712&l.subtreeFlags,null!==c?o=Fr(c,o):(o=zr(o,u,n,null)).flags|=2,o.return=e,i.return=e,i.sibling=o,e.child=i,i=o,o=e.child,null===(u=t.child.memoizedState)?u=js(n):(null!==(l=u.cachePool)?(c=Oi._currentValue,l=l.parent!==c?{parent:c,pool:c}:l):l=Ui(),u={baseLanes:u.baseLanes|n,cachePool:l}),o.memoizedState=u,o.childLanes=zs(t,r,n),e.memoizedState=Bs,i):(as(e),t=(n=t.child).sibling,(n=Fr(n,{mode:"visible",children:i.children})).return=e,n.sibling=null,null!==t&&(null===(r=e.deletions)?(e.deletions=[t],e.flags|=16):r.push(t)),e.child=n,e.memoizedState=null,n)}function Hs(t,e){return(e=Us({mode:"visible",children:e},t.mode)).return=t,t.child=e}function Us(t,e){return(t=Rr(22,t,null,e)).lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Gs(t,e,n){return ns(e,t.child,null,n),(t=Hs(e,e.pendingProps.children)).flags|=2,e.memoizedState=null,t}function Ks(t,e,n){t.lanes|=e;var r=t.alternate;null!==r&&(r.lanes|=e),xi(t.return,e,n)}function Ws(t,e,n,r,i){var o=t.memoizedState;null===o?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Xs(t,e,n){var r=e.pendingProps,i=r.revealOrder,o=r.tail;if(Ts(t,e,r.children,n),2&(r=cs.current))r=1&r|2,e.flags|=128;else{if(null!==t&&128&t.flags)t:for(t=e.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&Ks(t,n,e);else if(19===t.tag)Ks(t,n,e);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;null===t.sibling;){if(null===t.return||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}switch(z(cs,r),i){case"forwards":for(n=e.child,i=null;null!==n;)null!==(t=n.alternate)&&null===hs(t)&&(i=n),n=n.sibling;null===(n=i)?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),Ws(e,!1,i,n,o);break;case"backwards":for(n=null,i=e.child,e.child=null;null!==i;){if(null!==(t=i.alternate)&&null===hs(t)){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}Ws(e,!0,n,null,o);break;case"together":Ws(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Ys(t,e,n){if(null!==t&&(e.dependencies=t.dependencies),fu|=e.lanes,!(n&e.childLanes)){if(null===t)return null;if(ki(t,e,n,!1),!(n&e.childLanes))return null}if(null!==t&&e.child!==t.child)throw Error(a(153));if(null!==e.child){for(n=Fr(t=e.child,t.pendingProps),e.child=n,n.return=e;null!==t.sibling;)t=t.sibling,(n=n.sibling=Fr(t,t.pendingProps)).return=e;n.sibling=null}return e.child}function Qs(t,e){return!!(t.lanes&e)||!(null===(t=t.dependencies)||!Si(t))}function Js(t,e,n){if(null!==t)if(t.memoizedProps!==e.pendingProps)qs=!0;else{if(!(Qs(t,n)||128&e.flags))return qs=!1,function(t,e,n){switch(e.tag){case 3:K(e,e.stateNode.containerInfo),bi(0,Oi,t.memoizedState.cache),fi();break;case 27:case 5:X(e);break;case 4:K(e,e.stateNode.containerInfo);break;case 10:bi(0,e.type,e.memoizedProps.value);break;case 13:var r=e.memoizedState;if(null!==r)return null!==r.dehydrated?(as(e),e.flags|=128,null):n&e.child.childLanes?Vs(t,e,n):(as(e),null!==(t=Ys(t,e,n))?t.sibling:null);as(e);break;case 19:var i=!!(128&t.flags);if((r=!!(n&e.childLanes))||(ki(t,e,n,!1),r=!!(n&e.childLanes)),i){if(r)return Xs(t,e,n);e.flags|=128}if(null!==(i=e.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),z(cs,cs.current),r)break;return null;case 22:case 23:return e.lanes=0,Os(t,e,n);case 24:bi(0,Oi,t.memoizedState.cache)}return Ys(t,e,n)}(t,e,n);qs=!!(131072&t.flags)}else qs=!1,oi&&1048576&e.flags&&ti(e,Wr,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var r=e.elementType,i=r._init;if(r=i(r._payload),e.type=r,"function"!=typeof r){if(null!=r){if((i=r.$$typeof)===A){e.tag=11,e=Ps(null,e,r,t,n);break t}if(i===E){e.tag=14,e=Ds(null,e,r,t,n);break t}}throw e=O(r)||r,Error(a(306,e,""))}Lr(r)?(t=gs(r,t),e.tag=1,e=Ls(null,e,r,t,n)):(e.tag=0,e=Is(null,e,r,t,n))}return e;case 0:return Is(t,e,e.type,e.pendingProps,n);case 1:return Ls(t,e,r=e.type,i=gs(r,e.pendingProps),n);case 3:t:{if(K(e,e.stateNode.containerInfo),null===t)throw Error(a(387));r=e.pendingProps;var o=e.memoizedState;i=o.element,ro(t,e),co(e,r,null,n);var s=e.memoizedState;if(r=s.cache,bi(0,Oi,r),r!==o.cache&&Ai(e,[Oi],n,!0),uo(),r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache},e.updateQueue.baseState=o,e.memoizedState=o,256&e.flags){e=Fs(t,e,r,n);break t}if(r!==i){mi(i=Sr(Error(a(424)),e)),e=Fs(t,e,r,n);break t}if(9===(t=e.stateNode.containerInfo).nodeType)t=t.body;else t="HTML"===t.nodeName?t.ownerDocument.body:t;for(ii=vh(t.firstChild),ri=e,oi=!0,ai=null,si=!0,n=rs(e,null,r,n),e.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(fi(),r===i){e=Ys(t,e,n);break t}Ts(t,e,r,n)}e=e.child}return e;case 26:return Ns(t,e),null===t?(n=Th(e.type,null,e.pendingProps,null))?e.memoizedState=n:oi||(n=e.type,t=e.pendingProps,(r=rh(U.current).createElement(n))[Ot]=e,r[Mt]=t,th(r,n,t),Gt(r),e.stateNode=r):e.memoizedState=Th(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return X(e),null===t&&oi&&(r=e.stateNode=wh(e.type,e.pendingProps,U.current),ri=e,si=!0,i=ii,fh(e.type)?(yh=i,ii=vh(r.firstChild)):ii=i),Ts(t,e,e.pendingProps.children,n),Ns(t,e),null===t&&(e.flags|=4194304),e.child;case 5:return null===t&&oi&&((i=r=ii)&&(null!==(r=function(t,e,n,r){for(;1===t.nodeType;){var i=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!r&&("INPUT"!==t.nodeName||"hidden"!==t.type))break}else if(r){if(!t[Bt])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if("stylesheet"===(o=t.getAttribute("rel"))&&t.hasAttribute("data-precedence"))break;if(o!==i.rel||t.getAttribute("href")!==(null==i.href||""===i.href?null:i.href)||t.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin)||t.getAttribute("title")!==(null==i.title?null:i.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(((o=t.getAttribute("src"))!==(null==i.src?null:i.src)||t.getAttribute("type")!==(null==i.type?null:i.type)||t.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin))&&o&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else{if("input"!==e||"hidden"!==t.type)return t;var o=null==i.name?null:""+i.name;if("hidden"===i.type&&t.getAttribute("name")===o)return t}if(null===(t=vh(t.nextSibling)))break}return null}(r,e.type,e.pendingProps,si))?(e.stateNode=r,ri=e,ii=vh(r.firstChild),si=!1,i=!0):i=!1),i||ui(e)),X(e),i=e.type,o=e.pendingProps,s=null!==t?t.memoizedProps:null,r=o.children,ah(i,o)?r=null:null!==s&&ah(i,s)&&(e.flags|=32),null!==e.memoizedState&&(i=Oo(t,e,Io,null,null,n),Xh._currentValue=i),Ns(t,e),Ts(t,e,r,n),e.child;case 6:return null===t&&oi&&((t=n=ii)&&(null!==(n=function(t,e,n){if(""===e)return null;for(;3!==t.nodeType;){if((1!==t.nodeType||"INPUT"!==t.nodeName||"hidden"!==t.type)&&!n)return null;if(null===(t=vh(t.nextSibling)))return null}return t}(n,e.pendingProps,si))?(e.stateNode=n,ri=e,ii=null,t=!0):t=!1),t||ui(e)),null;case 13:return Vs(t,e,n);case 4:return K(e,e.stateNode.containerInfo),r=e.pendingProps,null===t?e.child=ns(e,null,r,n):Ts(t,e,r,n),e.child;case 11:return Ps(t,e,e.type,e.pendingProps,n);case 7:return Ts(t,e,e.pendingProps,n),e.child;case 8:case 12:return Ts(t,e,e.pendingProps.children,n),e.child;case 10:return r=e.pendingProps,bi(0,e.type,r.value),Ts(t,e,r.children,n),e.child;case 9:return i=e.type._context,r=e.pendingProps.children,Ei(e),r=r(i=Ci(i)),e.flags|=1,Ts(t,e,r,n),e.child;case 14:return Ds(t,e,e.type,e.pendingProps,n);case 15:return _s(t,e,e.type,e.pendingProps,n);case 19:return Xs(t,e,n);case 31:return r=e.pendingProps,n=e.mode,r={mode:r.mode,children:r.children},null===t?((n=Us(r,n)).ref=e.ref,e.child=n,n.return=e,e=n):((n=Fr(t.child,r)).ref=e.ref,e.child=n,n.return=e,e=n),e;case 22:return Os(t,e,n);case 24:return Ei(e),r=Ci(Oi),null===t?(null===(i=Vi())&&(i=ru,o=Mi(),i.pooledCache=o,o.refCount++,null!==o&&(i.pooledCacheLanes|=n),i=o),e.memoizedState={parent:r,cache:i},no(e),bi(0,Oi,i)):(!!(t.lanes&n)&&(ro(t,e),co(e,null,null,n),uo()),i=t.memoizedState,o=e.memoizedState,i.parent!==r?(i={parent:r,cache:r},e.memoizedState=i,0===e.lanes&&(e.memoizedState=e.updateQueue.baseState=i),bi(0,Oi,r)):(r=o.cache,bi(0,Oi,r),r!==i.cache&&Ai(e,[Oi],n,!0))),Ts(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(a(156,e.tag))}function Zs(t){t.flags|=4}function $s(t,e){if("stylesheet"!==e.type||4&e.state.loading)t.flags&=-16777217;else if(t.flags|=16777216,!zh(e)){if(null!==(e=is.current)&&((4194048&ou)===ou?null!==os:(62914560&ou)!==ou&&!(536870912&ou)||e!==os))throw Zi=Xi,Ki;t.flags|=8192}}function tl(t,e){null!==e&&(t.flags|=4),16384&t.flags&&(e=22!==t.tag?kt():536870912,t.lanes|=e,vu|=e)}function el(t,e){if(!oi)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;null!==e;)null!==e.alternate&&(n=e),e=e.sibling;null===n?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e||null===t.tail?t.tail=null:t.tail.sibling=null:r.sibling=null}}function nl(t){var e=null!==t.alternate&&t.alternate.child===t.child,n=0,r=0;if(e)for(var i=t.child;null!==i;)n|=i.lanes|i.childLanes,r|=65011712&i.subtreeFlags,r|=65011712&i.flags,i.return=t,i=i.sibling;else for(i=t.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=r,t.childLanes=n,e}function rl(t,e,n){var r=e.pendingProps;switch(ni(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return nl(e),null;case 3:return n=e.stateNode,r=null,null!==t&&(r=t.memoizedState.cache),e.memoizedState.cache!==r&&(e.flags|=2048),wi(Oi),W(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==t&&null!==t.child||(di(e)?Zs(e):null===t||t.memoizedState.isDehydrated&&!(256&e.flags)||(e.flags|=1024,pi())),nl(e),null;case 26:return n=e.memoizedState,null===t?(Zs(e),null!==n?(nl(e),$s(e,n)):(nl(e),e.flags&=-16777217)):n?n!==t.memoizedState?(Zs(e),nl(e),$s(e,n)):(nl(e),e.flags&=-16777217):(t.memoizedProps!==r&&Zs(e),nl(e),e.flags&=-16777217),null;case 27:Y(e),n=U.current;var i=e.type;if(null!==t&&null!=e.stateNode)t.memoizedProps!==r&&Zs(e);else{if(!r){if(null===e.stateNode)throw Error(a(166));return nl(e),null}t=V.current,di(e)?ci(e):(t=wh(i,r,n),e.stateNode=t,Zs(e))}return nl(e),null;case 5:if(Y(e),n=e.type,null!==t&&null!=e.stateNode)t.memoizedProps!==r&&Zs(e);else{if(!r){if(null===e.stateNode)throw Error(a(166));return nl(e),null}if(t=V.current,di(e))ci(e);else{switch(i=rh(U.current),t){case 1:t=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:t=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":t=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":t=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":(t=i.createElement("div")).innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t="string"==typeof r.is?i.createElement("select",{is:r.is}):i.createElement("select"),r.multiple?t.multiple=!0:r.size&&(t.size=r.size);break;default:t="string"==typeof r.is?i.createElement(n,{is:r.is}):i.createElement(n)}}t[Ot]=e,t[Mt]=r;t:for(i=e.child;null!==i;){if(5===i.tag||6===i.tag)t.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break t;for(;null===i.sibling;){if(null===i.return||i.return===e)break t;i=i.return}i.sibling.return=i.return,i=i.sibling}e.stateNode=t;t:switch(th(t,n,r),n){case"button":case"input":case"select":case"textarea":t=!!r.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&Zs(e)}}return nl(e),e.flags&=-16777217,null;case 6:if(t&&null!=e.stateNode)t.memoizedProps!==r&&Zs(e);else{if("string"!=typeof r&&null===e.stateNode)throw Error(a(166));if(t=U.current,di(e)){if(t=e.stateNode,n=e.memoizedProps,r=null,null!==(i=ri))switch(i.tag){case 27:case 5:r=i.memoizedProps}t[Ot]=e,(t=!!(t.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||Qc(t.nodeValue,n)))||ui(e)}else(t=rh(t).createTextNode(r))[Ot]=e,e.stateNode=t}return nl(e),null;case 13:if(r=e.memoizedState,null===t||null!==t.memoizedState&&null!==t.memoizedState.dehydrated){if(i=di(e),null!==r&&null!==r.dehydrated){if(null===t){if(!i)throw Error(a(318));if(!(i=null!==(i=e.memoizedState)?i.dehydrated:null))throw Error(a(317));i[Ot]=e}else fi(),!(128&e.flags)&&(e.memoizedState=null),e.flags|=4;nl(e),i=!1}else i=pi(),null!==t&&null!==t.memoizedState&&(t.memoizedState.hydrationErrors=i),i=!0;if(!i)return 256&e.flags?(us(e),e):(us(e),null)}if(us(e),128&e.flags)return e.lanes=n,e;if(n=null!==r,t=null!==t&&null!==t.memoizedState,n){i=null,null!==(r=e.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(i=r.alternate.memoizedState.cachePool.pool);var o=null;null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(o=r.memoizedState.cachePool.pool),o!==i&&(r.flags|=2048)}return n!==t&&n&&(e.child.flags|=8192),tl(e,e.updateQueue),nl(e),null;case 4:return W(),null===t&&jc(e.stateNode.containerInfo),nl(e),null;case 10:return wi(e.type),nl(e),null;case 19:if(j(cs),null===(i=e.memoizedState))return nl(e),null;if(r=!!(128&e.flags),null===(o=i.rendering))if(r)el(i,!1);else{if(0!==du||null!==t&&128&t.flags)for(t=e.child;null!==t;){if(null!==(o=hs(t))){for(e.flags|=128,el(i,!1),t=o.updateQueue,e.updateQueue=t,tl(e,t),e.subtreeFlags=0,t=n,n=e.child;null!==n;)Br(n,t),n=n.sibling;return z(cs,1&cs.current|2),e.child}t=t.sibling}null!==i.tail&&et()>Au&&(e.flags|=128,r=!0,el(i,!1),e.lanes=4194304)}else{if(!r)if(null!==(t=hs(o))){if(e.flags|=128,r=!0,t=t.updateQueue,e.updateQueue=t,tl(e,t),el(i,!0),null===i.tail&&"hidden"===i.tailMode&&!o.alternate&&!oi)return nl(e),null}else 2*et()-i.renderingStartTime>Au&&536870912!==n&&(e.flags|=128,r=!0,el(i,!1),e.lanes=4194304);i.isBackwards?(o.sibling=e.child,e.child=o):(null!==(t=i.last)?t.sibling=o:e.child=o,i.last=o)}return null!==i.tail?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=et(),e.sibling=null,t=cs.current,z(cs,r?1&t|2:1&t),e):(nl(e),null);case 22:case 23:return us(e),yo(),r=null!==e.memoizedState,null!==t?null!==t.memoizedState!==r&&(e.flags|=8192):r&&(e.flags|=8192),r?!!(536870912&n)&&!(128&e.flags)&&(nl(e),6&e.subtreeFlags&&(e.flags|=8192)):nl(e),null!==(n=e.updateQueue)&&tl(e,n.retryQueue),n=null,null!==t&&null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(n=t.memoizedState.cachePool.pool),r=null,null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(r=e.memoizedState.cachePool.pool),r!==n&&(e.flags|=2048),null!==t&&j(zi),null;case 24:return n=null,null!==t&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),wi(Oi),nl(e),null;case 25:case 30:return null}throw Error(a(156,e.tag))}function il(t,e){switch(ni(e),e.tag){case 1:return 65536&(t=e.flags)?(e.flags=-65537&t|128,e):null;case 3:return wi(Oi),W(),65536&(t=e.flags)&&!(128&t)?(e.flags=-65537&t|128,e):null;case 26:case 27:case 5:return Y(e),null;case 13:if(us(e),null!==(t=e.memoizedState)&&null!==t.dehydrated){if(null===e.alternate)throw Error(a(340));fi()}return 65536&(t=e.flags)?(e.flags=-65537&t|128,e):null;case 19:return j(cs),null;case 4:return W(),null;case 10:return wi(e.type),null;case 22:case 23:return us(e),yo(),null!==t&&j(zi),65536&(t=e.flags)?(e.flags=-65537&t|128,e):null;case 24:return wi(Oi),null;default:return null}}function ol(t,e){switch(ni(e),e.tag){case 3:wi(Oi),W();break;case 26:case 27:case 5:Y(e);break;case 4:W();break;case 13:us(e);break;case 19:j(cs);break;case 10:wi(e.type);break;case 22:case 23:us(e),yo(),null!==t&&j(zi);break;case 24:wi(Oi)}}function al(t,e){try{var n=e.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var i=r.next;n=i;do{if((n.tag&t)===t){r=void 0;var o=n.create,a=n.inst;r=o(),a.destroy=r}n=n.next}while(n!==i)}}catch(t){cc(e,e.return,t)}}function sl(t,e,n){try{var r=e.updateQueue,i=null!==r?r.lastEffect:null;if(null!==i){var o=i.next;r=o;do{if((r.tag&t)===t){var a=r.inst,s=a.destroy;if(void 0!==s){a.destroy=void 0,i=e;var l=n,u=s;try{u()}catch(t){cc(i,l,t)}}}r=r.next}while(r!==o)}}catch(t){cc(e,e.return,t)}}function ll(t){var e=t.updateQueue;if(null!==e){var n=t.stateNode;try{fo(e,n)}catch(e){cc(t,t.return,e)}}}function ul(t,e,n){n.props=gs(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(n){cc(t,e,n)}}function cl(t,e){try{var n=t.ref;if(null!==n){switch(t.tag){case 26:case 27:case 5:var r=t.stateNode;break;default:r=t.stateNode}"function"==typeof n?t.refCleanup=n(r):n.current=r}}catch(n){cc(t,e,n)}}function hl(t,e){var n=t.ref,r=t.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){cc(t,e,n)}finally{t.refCleanup=null,null!=(t=t.alternate)&&(t.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){cc(t,e,n)}else n.current=null}function dl(t){var e=t.type,n=t.memoizedProps,r=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break t;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(e){cc(t,t.return,e)}}function fl(t,e,n){try{var r=t.stateNode;!function(t,e,n,r){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,o=null,s=null,l=null,u=null,c=null,h=null;for(p in n){var d=n[p];if(n.hasOwnProperty(p)&&null!=d)switch(p){case"checked":case"value":break;case"defaultValue":u=d;default:r.hasOwnProperty(p)||Zc(t,e,p,null,r,d)}}for(var f in r){var p=r[f];if(d=n[f],r.hasOwnProperty(f)&&(null!=p||null!=d))switch(f){case"type":o=p;break;case"name":i=p;break;case"checked":c=p;break;case"defaultChecked":h=p;break;case"value":s=p;break;case"defaultValue":l=p;break;case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(a(137,e));break;default:p!==d&&Zc(t,e,f,p,r,d)}}return void ge(t,s,l,u,c,h,o,i);case"select":for(o in p=s=l=f=null,n)if(u=n[o],n.hasOwnProperty(o)&&null!=u)switch(o){case"value":break;case"multiple":p=u;default:r.hasOwnProperty(o)||Zc(t,e,o,null,r,u)}for(i in r)if(o=r[i],u=n[i],r.hasOwnProperty(i)&&(null!=o||null!=u))switch(i){case"value":f=o;break;case"defaultValue":l=o;break;case"multiple":s=o;default:o!==u&&Zc(t,e,i,o,r,u)}return e=l,n=s,r=p,void(null!=f?be(t,!!n,f,!1):!!r!=!!n&&(null!=e?be(t,!!n,e,!0):be(t,!!n,n?[]:"",!1)));case"textarea":for(l in p=f=null,n)if(i=n[l],n.hasOwnProperty(l)&&null!=i&&!r.hasOwnProperty(l))switch(l){case"value":case"children":break;default:Zc(t,e,l,null,r,i)}for(s in r)if(i=r[s],o=n[s],r.hasOwnProperty(s)&&(null!=i||null!=o))switch(s){case"value":f=i;break;case"defaultValue":p=i;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=i)throw Error(a(91));break;default:i!==o&&Zc(t,e,s,i,r,o)}return void we(t,f,p);case"option":for(var m in n)if(f=n[m],n.hasOwnProperty(m)&&null!=f&&!r.hasOwnProperty(m))if("selected"===m)t.selected=!1;else Zc(t,e,m,null,r,f);for(u in r)if(f=r[u],p=n[u],r.hasOwnProperty(u)&&f!==p&&(null!=f||null!=p))if("selected"===u)t.selected=f&&"function"!=typeof f&&"symbol"!=typeof f;else Zc(t,e,u,f,r,p);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)f=n[g],n.hasOwnProperty(g)&&null!=f&&!r.hasOwnProperty(g)&&Zc(t,e,g,null,r,f);for(c in r)if(f=r[c],p=n[c],r.hasOwnProperty(c)&&f!==p&&(null!=f||null!=p))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(a(137,e));break;default:Zc(t,e,c,f,r,p)}return;default:if(Ce(e)){for(var v in n)f=n[v],n.hasOwnProperty(v)&&void 0!==f&&!r.hasOwnProperty(v)&&$c(t,e,v,void 0,r,f);for(h in r)f=r[h],p=n[h],!r.hasOwnProperty(h)||f===p||void 0===f&&void 0===p||$c(t,e,h,f,r,p);return}}for(var y in n)f=n[y],n.hasOwnProperty(y)&&null!=f&&!r.hasOwnProperty(y)&&Zc(t,e,y,null,r,f);for(d in r)f=r[d],p=n[d],!r.hasOwnProperty(d)||f===p||null==f&&null==p||Zc(t,e,d,f,r,p)}(r,t.type,n,e),r[Mt]=e}catch(e){cc(t,t.return,e)}}function pl(t){return 5===t.tag||3===t.tag||26===t.tag||27===t.tag&&fh(t.type)||4===t.tag}function ml(t){t:for(;;){for(;null===t.sibling;){if(null===t.return||pl(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&18!==t.tag;){if(27===t.tag&&fh(t.type))continue t;if(2&t.flags)continue t;if(null===t.child||4===t.tag)continue t;t.child.return=t,t=t.child}if(!(2&t.flags))return t.stateNode}}function gl(t,e,n){var r=t.tag;if(5===r||6===r)t=t.stateNode,e?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(t,e):((e=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(t),null!=(n=n._reactRootContainer)||null!==e.onclick||(e.onclick=Jc));else if(4!==r&&(27===r&&fh(t.type)&&(n=t.stateNode,e=null),null!==(t=t.child)))for(gl(t,e,n),t=t.sibling;null!==t;)gl(t,e,n),t=t.sibling}function vl(t,e,n){var r=t.tag;if(5===r||6===r)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(4!==r&&(27===r&&fh(t.type)&&(n=t.stateNode),null!==(t=t.child)))for(vl(t,e,n),t=t.sibling;null!==t;)vl(t,e,n),t=t.sibling}function yl(t){var e=t.stateNode,n=t.memoizedProps;try{for(var r=t.type,i=e.attributes;i.length;)e.removeAttributeNode(i[0]);th(e,r,n),e[Ot]=t,e[Mt]=n}catch(e){cc(t,t.return,e)}}var bl=!1,wl=!1,xl=!1,Al="function"==typeof WeakSet?WeakSet:Set,kl=null;function Sl(t,e,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Ll(t,n),4&r&&al(5,n);break;case 1:if(Ll(t,n),4&r)if(t=n.stateNode,null===e)try{t.componentDidMount()}catch(t){cc(n,n.return,t)}else{var i=gs(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(i,e,t.__reactInternalSnapshotBeforeUpdate)}catch(t){cc(n,n.return,t)}}64&r&&ll(n),512&r&&cl(n,n.return);break;case 3:if(Ll(t,n),64&r&&null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:e=n.child.stateNode}try{fo(t,e)}catch(t){cc(n,n.return,t)}}break;case 27:null===e&&4&r&&yl(n);case 26:case 5:Ll(t,n),null===e&&4&r&&dl(n),512&r&&cl(n,n.return);break;case 12:Ll(t,n);break;case 13:Ll(t,n),4&r&&Dl(t,n),64&r&&(null!==(t=n.memoizedState)&&(null!==(t=t.dehydrated)&&function(t,e){var n=t.ownerDocument;if("$?"!==t.data||"complete"===n.readyState)e();else{var r=function(){e(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),t._reactRetry=r}}(t,n=pc.bind(null,n))));break;case 22:if(!(r=null!==n.memoizedState||bl)){e=null!==e&&null!==e.memoizedState||wl,i=bl;var o=wl;bl=r,(wl=e)&&!o?Bl(t,n,!!(8772&n.subtreeFlags)):Ll(t,n),bl=i,wl=o}break;case 30:break;default:Ll(t,n)}}function El(t){var e=t.alternate;null!==e&&(t.alternate=null,El(e)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&(null!==(e=t.stateNode)&&jt(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Cl=null,ql=!1;function Tl(t,e,n){for(n=n.child;null!==n;)Pl(t,e,n),n=n.sibling}function Pl(t,e,n){if(ht&&"function"==typeof ht.onCommitFiberUnmount)try{ht.onCommitFiberUnmount(ct,n)}catch(t){}switch(n.tag){case 26:wl||hl(n,e),Tl(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:wl||hl(n,e);var r=Cl,i=ql;fh(n.type)&&(Cl=n.stateNode,ql=!1),Tl(t,e,n),xh(n.stateNode),Cl=r,ql=i;break;case 5:wl||hl(n,e);case 6:if(r=Cl,i=ql,Cl=null,Tl(t,e,n),ql=i,null!==(Cl=r))if(ql)try{(9===Cl.nodeType?Cl.body:"HTML"===Cl.nodeName?Cl.ownerDocument.body:Cl).removeChild(n.stateNode)}catch(t){cc(n,e,t)}else try{Cl.removeChild(n.stateNode)}catch(t){cc(n,e,t)}break;case 18:null!==Cl&&(ql?(ph(9===(t=Cl).nodeType?t.body:"HTML"===t.nodeName?t.ownerDocument.body:t,n.stateNode),qd(t)):ph(Cl,n.stateNode));break;case 4:r=Cl,i=ql,Cl=n.stateNode.containerInfo,ql=!0,Tl(t,e,n),Cl=r,ql=i;break;case 0:case 11:case 14:case 15:wl||sl(2,n,e),wl||sl(4,n,e),Tl(t,e,n);break;case 1:wl||(hl(n,e),"function"==typeof(r=n.stateNode).componentWillUnmount&&ul(n,e,r)),Tl(t,e,n);break;case 21:Tl(t,e,n);break;case 22:wl=(r=wl)||null!==n.memoizedState,Tl(t,e,n),wl=r;break;default:Tl(t,e,n)}}function Dl(t,e){if(null===e.memoizedState&&(null!==(t=e.alternate)&&(null!==(t=t.memoizedState)&&null!==(t=t.dehydrated))))try{qd(t)}catch(t){cc(e,e.return,t)}}function _l(t,e){var n=function(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return null===e&&(e=t.stateNode=new Al),e;case 22:return null===(e=(t=t.stateNode)._retryCache)&&(e=t._retryCache=new Al),e;default:throw Error(a(435,t.tag))}}(t);e.forEach((function(e){var r=mc.bind(null,t,e);n.has(e)||(n.add(e),e.then(r,r))}))}function Ol(t,e){var n=e.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r],o=t,s=e,l=s;t:for(;null!==l;){switch(l.tag){case 27:if(fh(l.type)){Cl=l.stateNode,ql=!1;break t}break;case 5:Cl=l.stateNode,ql=!1;break t;case 3:case 4:Cl=l.stateNode.containerInfo,ql=!0;break t}l=l.return}if(null===Cl)throw Error(a(160));Pl(o,s,i),Cl=null,ql=!1,null!==(o=i.alternate)&&(o.return=null),i.return=null}if(13878&e.subtreeFlags)for(e=e.child;null!==e;)Nl(e,t),e=e.sibling}var Ml=null;function Nl(t,e){var n=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Ol(e,t),Il(t),4&r&&(sl(3,t,t.return),al(3,t),sl(5,t,t.return));break;case 1:Ol(e,t),Il(t),512&r&&(wl||null===n||hl(n,n.return)),64&r&&bl&&(null!==(t=t.updateQueue)&&(null!==(r=t.callbacks)&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=null===n?r:n.concat(r))));break;case 26:var i=Ml;if(Ol(e,t),Il(t),512&r&&(wl||null===n||hl(n,n.return)),4&r){var o=null!==n?n.memoizedState:null;if(r=t.memoizedState,null===n)if(null===r)if(null===t.stateNode){t:{r=t.type,n=t.memoizedProps,i=i.ownerDocument||i;e:switch(r){case"title":(!(o=i.getElementsByTagName("title")[0])||o[Bt]||o[Ot]||"http://www.w3.org/2000/svg"===o.namespaceURI||o.hasAttribute("itemprop"))&&(o=i.createElement(r),i.head.insertBefore(o,i.querySelector("head > title"))),th(o,r,n),o[Ot]=t,Gt(o),r=o;break t;case"link":var s=Bh("link","href",i).get(r+(n.href||""));if(s)for(var l=0;l<s.length;l++)if((o=s[l]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&o.getAttribute("rel")===(null==n.rel?null:n.rel)&&o.getAttribute("title")===(null==n.title?null:n.title)&&o.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){s.splice(l,1);break e}th(o=i.createElement(r),r,n),i.head.appendChild(o);break;case"meta":if(s=Bh("meta","content",i).get(r+(n.content||"")))for(l=0;l<s.length;l++)if((o=s[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&o.getAttribute("name")===(null==n.name?null:n.name)&&o.getAttribute("property")===(null==n.property?null:n.property)&&o.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&o.getAttribute("charset")===(null==n.charSet?null:n.charSet)){s.splice(l,1);break e}th(o=i.createElement(r),r,n),i.head.appendChild(o);break;default:throw Error(a(468,r))}o[Ot]=t,Gt(o),r=o}t.stateNode=r}else jh(i,t.type,t.stateNode);else t.stateNode=Nh(i,r,t.memoizedProps);else o!==r?(null===o?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):o.count--,null===r?jh(i,t.type,t.stateNode):Nh(i,r,t.memoizedProps)):null===r&&null!==t.stateNode&&fl(t,t.memoizedProps,n.memoizedProps)}break;case 27:Ol(e,t),Il(t),512&r&&(wl||null===n||hl(n,n.return)),null!==n&&4&r&&fl(t,t.memoizedProps,n.memoizedProps);break;case 5:if(Ol(e,t),Il(t),512&r&&(wl||null===n||hl(n,n.return)),32&t.flags){i=t.stateNode;try{Ae(i,"")}catch(e){cc(t,t.return,e)}}4&r&&null!=t.stateNode&&fl(t,i=t.memoizedProps,null!==n?n.memoizedProps:i),1024&r&&(xl=!0);break;case 6:if(Ol(e,t),Il(t),4&r){if(null===t.stateNode)throw Error(a(162));r=t.memoizedProps,n=t.stateNode;try{n.nodeValue=r}catch(e){cc(t,t.return,e)}}break;case 3:if(Fh=null,i=Ml,Ml=Sh(e.containerInfo),Ol(e,t),Ml=i,Il(t),4&r&&null!==n&&n.memoizedState.isDehydrated)try{qd(e.containerInfo)}catch(e){cc(t,t.return,e)}xl&&(xl=!1,Rl(t));break;case 4:r=Ml,Ml=Sh(t.stateNode.containerInfo),Ol(e,t),Il(t),Ml=r;break;case 12:default:Ol(e,t),Il(t);break;case 13:Ol(e,t),Il(t),8192&t.child.flags&&null!==t.memoizedState!=(null!==n&&null!==n.memoizedState)&&(xu=et()),4&r&&(null!==(r=t.updateQueue)&&(t.updateQueue=null,_l(t,r)));break;case 22:i=null!==t.memoizedState;var u=null!==n&&null!==n.memoizedState,c=bl,h=wl;if(bl=c||i,wl=h||u,Ol(e,t),wl=h,bl=c,Il(t),8192&r)t:for(e=t.stateNode,e._visibility=i?-2&e._visibility:1|e._visibility,i&&(null===n||u||bl||wl||Fl(t)),n=null,e=t;;){if(5===e.tag||26===e.tag){if(null===n){u=n=e;try{if(o=u.stateNode,i)"function"==typeof(s=o.style).setProperty?s.setProperty("display","none","important"):s.display="none";else{l=u.stateNode;var d=u.memoizedProps.style,f=null!=d&&d.hasOwnProperty("display")?d.display:null;l.style.display=null==f||"boolean"==typeof f?"":(""+f).trim()}}catch(t){cc(u,u.return,t)}}}else if(6===e.tag){if(null===n){u=e;try{u.stateNode.nodeValue=i?"":u.memoizedProps}catch(t){cc(u,u.return,t)}}}else if((22!==e.tag&&23!==e.tag||null===e.memoizedState||e===t)&&null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;null===e.sibling;){if(null===e.return||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}4&r&&(null!==(r=t.updateQueue)&&(null!==(n=r.retryQueue)&&(r.retryQueue=null,_l(t,n))));break;case 19:Ol(e,t),Il(t),4&r&&(null!==(r=t.updateQueue)&&(t.updateQueue=null,_l(t,r)));case 30:case 21:}}function Il(t){var e=t.flags;if(2&e){try{for(var n,r=t.return;null!==r;){if(pl(r)){n=r;break}r=r.return}if(null==n)throw Error(a(160));switch(n.tag){case 27:var i=n.stateNode;vl(t,ml(t),i);break;case 5:var o=n.stateNode;32&n.flags&&(Ae(o,""),n.flags&=-33),vl(t,ml(t),o);break;case 3:case 4:var s=n.stateNode.containerInfo;gl(t,ml(t),s);break;default:throw Error(a(161))}}catch(e){cc(t,t.return,e)}t.flags&=-3}4096&e&&(t.flags&=-4097)}function Rl(t){if(1024&t.subtreeFlags)for(t=t.child;null!==t;){var e=t;Rl(e),5===e.tag&&1024&e.flags&&e.stateNode.reset(),t=t.sibling}}function Ll(t,e){if(8772&e.subtreeFlags)for(e=e.child;null!==e;)Sl(t,e.alternate,e),e=e.sibling}function Fl(t){for(t=t.child;null!==t;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:sl(4,e,e.return),Fl(e);break;case 1:hl(e,e.return);var n=e.stateNode;"function"==typeof n.componentWillUnmount&&ul(e,e.return,n),Fl(e);break;case 27:xh(e.stateNode);case 26:case 5:hl(e,e.return),Fl(e);break;case 22:null===e.memoizedState&&Fl(e);break;default:Fl(e)}t=t.sibling}}function Bl(t,e,n){for(n=n&&!!(8772&e.subtreeFlags),e=e.child;null!==e;){var r=e.alternate,i=t,o=e,a=o.flags;switch(o.tag){case 0:case 11:case 15:Bl(i,o,n),al(4,o);break;case 1:if(Bl(i,o,n),"function"==typeof(i=(r=o).stateNode).componentDidMount)try{i.componentDidMount()}catch(t){cc(r,r.return,t)}if(null!==(i=(r=o).updateQueue)){var s=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(null!==l)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)ho(l[i],s)}catch(t){cc(r,r.return,t)}}n&&64&a&&ll(o),cl(o,o.return);break;case 27:yl(o);case 26:case 5:Bl(i,o,n),n&&null===r&&4&a&&dl(o),cl(o,o.return);break;case 12:Bl(i,o,n);break;case 13:Bl(i,o,n),n&&4&a&&Dl(i,o);break;case 22:null===o.memoizedState&&Bl(i,o,n),cl(o,o.return);break;case 30:break;default:Bl(i,o,n)}e=e.sibling}}function jl(t,e){var n=null;null!==t&&null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(n=t.memoizedState.cachePool.pool),t=null,null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(t=e.memoizedState.cachePool.pool),t!==n&&(null!=t&&t.refCount++,null!=n&&Ni(n))}function zl(t,e){t=null,null!==e.alternate&&(t=e.alternate.memoizedState.cache),(e=e.memoizedState.cache)!==t&&(e.refCount++,null!=t&&Ni(t))}function Vl(t,e,n,r){if(10256&e.subtreeFlags)for(e=e.child;null!==e;)Hl(t,e,n,r),e=e.sibling}function Hl(t,e,n,r){var i=e.flags;switch(e.tag){case 0:case 11:case 15:Vl(t,e,n,r),2048&i&&al(9,e);break;case 1:case 13:default:Vl(t,e,n,r);break;case 3:Vl(t,e,n,r),2048&i&&(t=null,null!==e.alternate&&(t=e.alternate.memoizedState.cache),(e=e.memoizedState.cache)!==t&&(e.refCount++,null!=t&&Ni(t)));break;case 12:if(2048&i){Vl(t,e,n,r),t=e.stateNode;try{var o=e.memoizedProps,a=o.id,s=o.onPostCommit;"function"==typeof s&&s(a,null===e.alternate?"mount":"update",t.passiveEffectDuration,-0)}catch(t){cc(e,e.return,t)}}else Vl(t,e,n,r);break;case 23:break;case 22:o=e.stateNode,a=e.alternate,null!==e.memoizedState?2&o._visibility?Vl(t,e,n,r):Gl(t,e):2&o._visibility?Vl(t,e,n,r):(o._visibility|=2,Ul(t,e,n,r,!!(10256&e.subtreeFlags))),2048&i&&jl(a,e);break;case 24:Vl(t,e,n,r),2048&i&&zl(e.alternate,e)}}function Ul(t,e,n,r,i){for(i=i&&!!(10256&e.subtreeFlags),e=e.child;null!==e;){var o=t,a=e,s=n,l=r,u=a.flags;switch(a.tag){case 0:case 11:case 15:Ul(o,a,s,l,i),al(8,a);break;case 23:break;case 22:var c=a.stateNode;null!==a.memoizedState?2&c._visibility?Ul(o,a,s,l,i):Gl(o,a):(c._visibility|=2,Ul(o,a,s,l,i)),i&&2048&u&&jl(a.alternate,a);break;case 24:Ul(o,a,s,l,i),i&&2048&u&&zl(a.alternate,a);break;default:Ul(o,a,s,l,i)}e=e.sibling}}function Gl(t,e){if(10256&e.subtreeFlags)for(e=e.child;null!==e;){var n=t,r=e,i=r.flags;switch(r.tag){case 22:Gl(n,r),2048&i&&jl(r.alternate,r);break;case 24:Gl(n,r),2048&i&&zl(r.alternate,r);break;default:Gl(n,r)}e=e.sibling}}var Kl=8192;function Wl(t){if(t.subtreeFlags&Kl)for(t=t.child;null!==t;)Xl(t),t=t.sibling}function Xl(t){switch(t.tag){case 26:Wl(t),t.flags&Kl&&null!==t.memoizedState&&function(t,e,n){if(null===Vh)throw Error(a(475));var r=Vh;if(!("stylesheet"!==e.type||"string"==typeof n.media&&!1===matchMedia(n.media).matches||4&e.state.loading)){if(null===e.instance){var i=Ph(n.href),o=t.querySelector(Dh(i));if(o)return null!==(t=o._p)&&"object"==typeof t&&"function"==typeof t.then&&(r.count++,r=Uh.bind(r),t.then(r,r)),e.state.loading|=4,e.instance=o,void Gt(o);o=t.ownerDocument||t,n=_h(n),(i=Ah.get(i))&&Rh(n,i),Gt(o=o.createElement("link"));var s=o;s._p=new Promise((function(t,e){s.onload=t,s.onerror=e})),th(o,"link",n),e.instance=o}null===r.stylesheets&&(r.stylesheets=new Map),r.stylesheets.set(e,t),(t=e.state.preload)&&!(3&e.state.loading)&&(r.count++,e=Uh.bind(r),t.addEventListener("load",e),t.addEventListener("error",e))}}(Ml,t.memoizedState,t.memoizedProps);break;case 5:default:Wl(t);break;case 3:case 4:var e=Ml;Ml=Sh(t.stateNode.containerInfo),Wl(t),Ml=e;break;case 22:null===t.memoizedState&&(null!==(e=t.alternate)&&null!==e.memoizedState?(e=Kl,Kl=16777216,Wl(t),Kl=e):Wl(t))}}function Yl(t){var e=t.alternate;if(null!==e&&null!==(t=e.child)){e.child=null;do{e=t.sibling,t.sibling=null,t=e}while(null!==t)}}function Ql(t){var e=t.deletions;if(16&t.flags){if(null!==e)for(var n=0;n<e.length;n++){var r=e[n];kl=r,$l(r,t)}Yl(t)}if(10256&t.subtreeFlags)for(t=t.child;null!==t;)Jl(t),t=t.sibling}function Jl(t){switch(t.tag){case 0:case 11:case 15:Ql(t),2048&t.flags&&sl(9,t,t.return);break;case 3:case 12:default:Ql(t);break;case 22:var e=t.stateNode;null!==t.memoizedState&&2&e._visibility&&(null===t.return||13!==t.return.tag)?(e._visibility&=-3,Zl(t)):Ql(t)}}function Zl(t){var e=t.deletions;if(16&t.flags){if(null!==e)for(var n=0;n<e.length;n++){var r=e[n];kl=r,$l(r,t)}Yl(t)}for(t=t.child;null!==t;){switch((e=t).tag){case 0:case 11:case 15:sl(8,e,e.return),Zl(e);break;case 22:2&(n=e.stateNode)._visibility&&(n._visibility&=-3,Zl(e));break;default:Zl(e)}t=t.sibling}}function $l(t,e){for(;null!==kl;){var n=kl;switch(n.tag){case 0:case 11:case 15:sl(8,n,e);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Ni(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,kl=r;else t:for(n=t;null!==kl;){var i=(r=kl).sibling,o=r.return;if(El(r),r===n){kl=null;break t}if(null!==i){i.return=o,kl=i;break t}kl=o}}}var tu={getCacheForType:function(t){var e=Ci(Oi),n=e.data.get(t);return void 0===n&&(n=t(),e.data.set(t,n)),n}},eu="function"==typeof WeakMap?WeakMap:Map,nu=0,ru=null,iu=null,ou=0,au=0,su=null,lu=!1,uu=!1,cu=!1,hu=0,du=0,fu=0,pu=0,mu=0,gu=0,vu=0,yu=null,bu=null,wu=!1,xu=0,Au=1/0,ku=null,Su=null,Eu=0,Cu=null,qu=null,Tu=0,Pu=0,Du=null,_u=null,Ou=0,Mu=null;function Nu(){if(2&nu&&0!==ou)return ou&-ou;if(null!==N.T){return 0!==Li?Li:Pc()}return Dt()}function Iu(){0===gu&&(gu=536870912&ou&&!oi?536870912:At());var t=is.current;return null!==t&&(t.flags|=32),gu}function Ru(t,e,n){(t!==ru||2!==au&&9!==au)&&null===t.cancelPendingCommit||(Hu(t,0),ju(t,ou,gu,!1)),Et(t,n),2&nu&&t===ru||(t===ru&&(!(2&nu)&&(pu|=n),4===du&&ju(t,ou,gu,!1)),Ac(t))}function Lu(t,e,n){if(6&nu)throw Error(a(327));for(var r=!n&&!(124&e)&&!(e&t.expiredLanes)||wt(t,e),i=r?function(t,e){var n=nu;nu|=2;var r=Gu(),i=Ku();ru!==t||ou!==e?(ku=null,Au=et()+500,Hu(t,e)):uu=wt(t,e);t:for(;;)try{if(0!==au&&null!==iu){e=iu;var o=su;e:switch(au){case 1:au=0,su=null,$u(t,e,o,1);break;case 2:case 9:if(Yi(o)){au=0,su=null,Zu(e);break}e=function(){2!==au&&9!==au||ru!==t||(au=7),Ac(t)},o.then(e,e);break t;case 3:au=7;break t;case 4:au=5;break t;case 7:Yi(o)?(au=0,su=null,Zu(e)):(au=0,su=null,$u(t,e,o,7));break;case 5:var s=null;switch(iu.tag){case 26:s=iu.memoizedState;case 5:case 27:var l=iu;if(!s||zh(s)){au=0,su=null;var u=l.sibling;if(null!==u)iu=u;else{var c=l.return;null!==c?(iu=c,tc(c)):iu=null}break e}}au=0,su=null,$u(t,e,o,5);break;case 6:au=0,su=null,$u(t,e,o,6);break;case 8:Vu(),du=6;break t;default:throw Error(a(462))}}Qu();break}catch(e){Uu(t,e)}return yi=vi=null,N.H=r,N.A=i,nu=n,null!==iu?0:(ru=null,ou=0,Tr(),du)}(t,e):Xu(t,e,!0),o=r;;){if(0===i){uu&&!r&&ju(t,e,0,!1);break}if(n=t.current.alternate,!o||Bu(n)){if(2===i){if(o=e,t.errorRecoveryDisabledLanes&o)var s=0;else s=0!==(s=-536870913&t.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){e=s;t:{var l=t;i=yu;var u=l.current.memoizedState.isDehydrated;if(u&&(Hu(l,s).flags|=256),2!==(s=Xu(l,s,!1))){if(cu&&!u){l.errorRecoveryDisabledLanes|=o,pu|=o,i=4;break t}o=bu,bu=i,null!==o&&(null===bu?bu=o:bu.push.apply(bu,o))}i=s}if(o=!1,2!==i)continue}}if(1===i){Hu(t,0),ju(t,e,0,!0);break}t:{switch(r=t,o=i){case 0:case 1:throw Error(a(345));case 4:if((4194048&e)!==e)break;case 6:ju(r,e,gu,!lu);break t;case 2:bu=null;break;case 3:case 5:break;default:throw Error(a(329))}if((62914560&e)===e&&10<(i=xu+300-et())){if(ju(r,e,gu,!lu),0!==bt(r,0,!0))break t;r.timeoutHandle=lh(Fu.bind(null,r,n,bu,ku,wu,e,gu,pu,vu,lu,o,2,-0,0),i)}else Fu(r,n,bu,ku,wu,e,gu,pu,vu,lu,o,0,-0,0)}break}i=Xu(t,e,!1),o=!1}Ac(t)}function Fu(t,e,n,r,i,o,s,l,u,c,h,d,f,p){if(t.timeoutHandle=-1,(8192&(d=e.subtreeFlags)||!(16785408&~d))&&(Vh={stylesheets:null,count:0,unsuspend:Hh},Xl(e),null!==(d=function(){if(null===Vh)throw Error(a(475));var t=Vh;return t.stylesheets&&0===t.count&&Kh(t,t.stylesheets),0<t.count?function(e){var n=setTimeout((function(){if(t.stylesheets&&Kh(t,t.stylesheets),t.unsuspend){var e=t.unsuspend;t.unsuspend=null,e()}}),6e4);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(n)}}:null}())))return t.cancelPendingCommit=d(nc.bind(null,t,e,o,n,r,i,s,l,u,h,1,f,p)),void ju(t,o,s,!c);nc(t,e,o,n,r,i,s,l,u)}function Bu(t){for(var e=t;;){var n=e.tag;if((0===n||11===n||15===n)&&16384&e.flags&&(null!==(n=e.updateQueue)&&null!==(n=n.stores)))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Yn(o(),i))return!1}catch(t){return!1}}if(n=e.child,16384&e.subtreeFlags&&null!==n)n.return=e,e=n;else{if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function ju(t,e,n,r){e&=~mu,e&=~pu,t.suspendedLanes|=e,t.pingedLanes&=~e,r&&(t.warmLanes|=e),r=t.expirationTimes;for(var i=e;0<i;){var o=31-ft(i),a=1<<o;r[o]=-1,i&=~a}0!==n&&Ct(t,n,e)}function zu(){return!!(6&nu)||(kc(0,!1),!1)}function Vu(){if(null!==iu){if(0===au)var t=iu.return;else yi=vi=null,Fo(t=iu),Ya=null,Qa=0,t=iu;for(;null!==t;)ol(t.alternate,t),t=t.return;iu=null}}function Hu(t,e){var n=t.timeoutHandle;-1!==n&&(t.timeoutHandle=-1,uh(n)),null!==(n=t.cancelPendingCommit)&&(t.cancelPendingCommit=null,n()),Vu(),ru=t,iu=n=Fr(t.current,null),ou=e,au=0,su=null,lu=!1,uu=wt(t,e),cu=!1,vu=gu=mu=pu=fu=du=0,bu=yu=null,wu=!1,8&e&&(e|=32&e);var r=t.entangledLanes;if(0!==r)for(t=t.entanglements,r&=e;0<r;){var i=31-ft(r),o=1<<i;e|=t[i],r&=~o}return hu=e,Tr(),n}function Uu(t,e){wo=null,N.H=Ga,e===Gi||e===Wi?(e=$i(),au=3):e===Ki?(e=$i(),au=4):au=e===Cs?8:null!==e&&"object"==typeof e&&"function"==typeof e.then?6:1,su=e,null===iu&&(du=1,xs(t,Sr(e,t.current)))}function Gu(){var t=N.H;return N.H=Ga,null===t?Ga:t}function Ku(){var t=N.A;return N.A=tu,t}function Wu(){du=4,lu||(4194048&ou)!==ou&&null!==is.current||(uu=!0),!(134217727&fu)&&!(134217727&pu)||null===ru||ju(ru,ou,gu,!1)}function Xu(t,e,n){var r=nu;nu|=2;var i=Gu(),o=Ku();ru===t&&ou===e||(ku=null,Hu(t,e)),e=!1;var a=du;t:for(;;)try{if(0!==au&&null!==iu){var s=iu,l=su;switch(au){case 8:Vu(),a=6;break t;case 3:case 2:case 9:case 6:null===is.current&&(e=!0);var u=au;if(au=0,su=null,$u(t,s,l,u),n&&uu){a=0;break t}break;default:u=au,au=0,su=null,$u(t,s,l,u)}}Yu(),a=du;break}catch(e){Uu(t,e)}return e&&t.shellSuspendCounter++,yi=vi=null,nu=r,N.H=i,N.A=o,null===iu&&(ru=null,ou=0,Tr()),a}function Yu(){for(;null!==iu;)Ju(iu)}function Qu(){for(;null!==iu&&!$();)Ju(iu)}function Ju(t){var e=Js(t.alternate,t,hu);t.memoizedProps=t.pendingProps,null===e?tc(t):iu=e}function Zu(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=Rs(n,e,e.pendingProps,e.type,void 0,ou);break;case 11:e=Rs(n,e,e.pendingProps,e.type.render,e.ref,ou);break;case 5:Fo(e);default:ol(n,e),e=Js(n,e=iu=Br(e,hu),hu)}t.memoizedProps=t.pendingProps,null===e?tc(t):iu=e}function $u(t,e,n,r){yi=vi=null,Fo(e),Ya=null,Qa=0;var i=e.return;try{if(function(t,e,n,r,i){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(e=n.alternate)&&ki(e,n,i,!0),null!==(n=is.current)){switch(n.tag){case 13:return null===os?Wu():null===n.alternate&&0===du&&(du=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===Xi?n.flags|=16384:(null===(e=n.updateQueue)?n.updateQueue=new Set([r]):e.add(r),hc(t,r,i)),!1;case 22:return n.flags|=65536,r===Xi?n.flags|=16384:(null===(e=n.updateQueue)?(e={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=e):null===(n=e.retryQueue)?e.retryQueue=new Set([r]):n.add(r),hc(t,r,i)),!1}throw Error(a(435,n.tag))}return hc(t,r,i),Wu(),!1}if(oi)return null!==(e=is.current)?(!(65536&e.flags)&&(e.flags|=256),e.flags|=65536,e.lanes=i,r!==li&&mi(Sr(t=Error(a(422),{cause:r}),n))):(r!==li&&mi(Sr(e=Error(a(423),{cause:r}),n)),(t=t.current.alternate).flags|=65536,i&=-i,t.lanes|=i,r=Sr(r,n),so(t,i=ks(t.stateNode,r,i)),4!==du&&(du=2)),!1;var o=Error(a(520),{cause:r});if(o=Sr(o,n),null===yu?yu=[o]:yu.push(o),4!==du&&(du=2),null===e)return!0;r=Sr(r,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=i&-i,n.lanes|=t,so(n,t=ks(n.stateNode,r,t)),!1;case 1:if(e=n.type,o=n.stateNode,!(128&n.flags||"function"!=typeof e.getDerivedStateFromError&&(null===o||"function"!=typeof o.componentDidCatch||null!==Su&&Su.has(o))))return n.flags|=65536,i&=-i,n.lanes|=i,Es(i=Ss(i),t,n,r),so(n,i),!1}n=n.return}while(null!==n);return!1}(t,i,e,n,ou))return du=1,xs(t,Sr(n,t.current)),void(iu=null)}catch(e){if(null!==i)throw iu=i,e;return du=1,xs(t,Sr(n,t.current)),void(iu=null)}32768&e.flags?(oi||1===r?t=!0:uu||536870912&ou?t=!1:(lu=t=!0,(2===r||9===r||3===r||6===r)&&(null!==(r=is.current)&&13===r.tag&&(r.flags|=16384))),ec(e,t)):tc(e)}function tc(t){var e=t;do{if(32768&e.flags)return void ec(e,lu);t=e.return;var n=rl(e.alternate,e,hu);if(null!==n)return void(iu=n);if(null!==(e=e.sibling))return void(iu=e);iu=e=t}while(null!==e);0===du&&(du=5)}function ec(t,e){do{var n=il(t.alternate,t);if(null!==n)return n.flags&=32767,void(iu=n);if(null!==(n=t.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&null!==(t=t.sibling))return void(iu=t);iu=t=n}while(null!==t);du=6,iu=null}function nc(t,e,n,r,i,o,s,l,u){t.cancelPendingCommit=null;do{sc()}while(0!==Eu);if(6&nu)throw Error(a(327));if(null!==e){if(e===t.current)throw Error(a(177));if(o=e.lanes|e.childLanes,function(t,e,n,r,i,o){var a=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var s=t.entanglements,l=t.expirationTimes,u=t.hiddenUpdates;for(n=a&~n;0<n;){var c=31-ft(n),h=1<<c;s[c]=0,l[c]=-1;var d=u[c];if(null!==d)for(u[c]=null,c=0;c<d.length;c++){var f=d[c];null!==f&&(f.lane&=-536870913)}n&=~h}0!==r&&Ct(t,r,0),0!==o&&0===i&&0!==t.tag&&(t.suspendedLanes|=o&~(a&~e))}(t,n,o|=qr,s,l,u),t===ru&&(iu=ru=null,ou=0),qu=e,Cu=t,Tu=n,Pu=o,Du=i,_u=r,10256&e.subtreeFlags||10256&e.flags?(t.callbackNode=null,t.callbackPriority=0,J(ot,(function(){return lc(),null}))):(t.callbackNode=null,t.callbackPriority=0),r=!!(13878&e.flags),13878&e.subtreeFlags||r){r=N.T,N.T=null,i=I.p,I.p=2,s=nu,nu|=4;try{!function(t,e){if(t=t.containerInfo,eh=nd,er(t=tr(t))){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{var r=(n=(n=t.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(t){n=null;break t}var s=0,l=-1,u=-1,c=0,h=0,d=t,f=null;e:for(;;){for(var p;d!==n||0!==i&&3!==d.nodeType||(l=s+i),d!==o||0!==r&&3!==d.nodeType||(u=s+r),3===d.nodeType&&(s+=d.nodeValue.length),null!==(p=d.firstChild);)f=d,d=p;for(;;){if(d===t)break e;if(f===n&&++c===i&&(l=s),f===o&&++h===r&&(u=s),null!==(p=d.nextSibling))break;f=(d=f).parentNode}d=p}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(nh={focusedElem:t,selectionRange:n},nd=!1,kl=e;null!==kl;)if(t=(e=kl).child,1024&e.subtreeFlags&&null!==t)t.return=e,kl=t;else for(;null!==kl;){switch(o=(e=kl).alternate,t=e.flags,e.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&t&&null!==o){t=void 0,n=e,i=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var m=gs(n.type,i,(n.elementType,n.type));t=r.getSnapshotBeforeUpdate(m,o),r.__reactInternalSnapshotBeforeUpdate=t}catch(t){cc(n,n.return,t)}}break;case 3:if(1024&t)if(9===(n=(t=e.stateNode.containerInfo).nodeType))mh(t);else if(1===n)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":mh(t);break;default:t.textContent=""}break;default:if(1024&t)throw Error(a(163))}if(null!==(t=e.sibling)){t.return=e.return,kl=t;break}kl=e.return}}(t,e)}finally{nu=s,I.p=i,N.T=r}}Eu=1,rc(),ic(),oc()}}function rc(){if(1===Eu){Eu=0;var t=Cu,e=qu,n=!!(13878&e.flags);if(13878&e.subtreeFlags||n){n=N.T,N.T=null;var r=I.p;I.p=2;var i=nu;nu|=4;try{Nl(e,t);var o=nh,a=tr(t.containerInfo),s=o.focusedElem,l=o.selectionRange;if(a!==s&&s&&s.ownerDocument&&$n(s.ownerDocument.documentElement,s)){if(null!==l&&er(s)){var u=l.start,c=l.end;if(void 0===c&&(c=u),"selectionStart"in s)s.selectionStart=u,s.selectionEnd=Math.min(c,s.value.length);else{var h=s.ownerDocument||document,d=h&&h.defaultView||window;if(d.getSelection){var f=d.getSelection(),p=s.textContent.length,m=Math.min(l.start,p),g=void 0===l.end?m:Math.min(l.end,p);!f.extend&&m>g&&(a=g,g=m,m=a);var v=Zn(s,m),y=Zn(s,g);if(v&&y&&(1!==f.rangeCount||f.anchorNode!==v.node||f.anchorOffset!==v.offset||f.focusNode!==y.node||f.focusOffset!==y.offset)){var b=h.createRange();b.setStart(v.node,v.offset),f.removeAllRanges(),m>g?(f.addRange(b),f.extend(y.node,y.offset)):(b.setEnd(y.node,y.offset),f.addRange(b))}}}}for(h=[],f=s;f=f.parentNode;)1===f.nodeType&&h.push({element:f,left:f.scrollLeft,top:f.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<h.length;s++){var w=h[s];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}nd=!!eh,nh=eh=null}finally{nu=i,I.p=r,N.T=n}}t.current=e,Eu=2}}function ic(){if(2===Eu){Eu=0;var t=Cu,e=qu,n=!!(8772&e.flags);if(8772&e.subtreeFlags||n){n=N.T,N.T=null;var r=I.p;I.p=2;var i=nu;nu|=4;try{Sl(t,e.alternate,e)}finally{nu=i,I.p=r,N.T=n}}Eu=3}}function oc(){if(4===Eu||3===Eu){Eu=0,tt();var t=Cu,e=qu,n=Tu,r=_u;10256&e.subtreeFlags||10256&e.flags?Eu=5:(Eu=0,qu=Cu=null,ac(t,t.pendingLanes));var i=t.pendingLanes;if(0===i&&(Su=null),Pt(n),e=e.stateNode,ht&&"function"==typeof ht.onCommitFiberRoot)try{ht.onCommitFiberRoot(ct,e,void 0,!(128&~e.current.flags))}catch(t){}if(null!==r){e=N.T,i=I.p,I.p=2,N.T=null;try{for(var o=t.onRecoverableError,a=0;a<r.length;a++){var s=r[a];o(s.value,{componentStack:s.stack})}}finally{N.T=e,I.p=i}}3&Tu&&sc(),Ac(t),i=t.pendingLanes,4194090&n&&42&i?t===Mu?Ou++:(Ou=0,Mu=t):Ou=0,kc(0,!1)}}function ac(t,e){0==(t.pooledCacheLanes&=e)&&(null!=(e=t.pooledCache)&&(t.pooledCache=null,Ni(e)))}function sc(t){return rc(),ic(),oc(),lc()}function lc(){if(5!==Eu)return!1;var t=Cu,e=Pu;Pu=0;var n=Pt(Tu),r=N.T,i=I.p;try{I.p=32>n?32:n,N.T=null,n=Du,Du=null;var o=Cu,s=Tu;if(Eu=0,qu=Cu=null,Tu=0,6&nu)throw Error(a(331));var l=nu;if(nu|=4,Jl(o.current),Hl(o,o.current,s,n),nu=l,kc(0,!1),ht&&"function"==typeof ht.onPostCommitFiberRoot)try{ht.onPostCommitFiberRoot(ct,o)}catch(t){}return!0}finally{I.p=i,N.T=r,ac(t,e)}}function uc(t,e,n){e=Sr(n,e),null!==(t=oo(t,e=ks(t.stateNode,e,2),2))&&(Et(t,2),Ac(t))}function cc(t,e,n){if(3===t.tag)uc(t,t,n);else for(;null!==e;){if(3===e.tag){uc(e,t,n);break}if(1===e.tag){var r=e.stateNode;if("function"==typeof e.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Su||!Su.has(r))){t=Sr(n,t),null!==(r=oo(e,n=Ss(2),2))&&(Es(n,r,e,t),Et(r,2),Ac(r));break}}e=e.return}}function hc(t,e,n){var r=t.pingCache;if(null===r){r=t.pingCache=new eu;var i=new Set;r.set(e,i)}else void 0===(i=r.get(e))&&(i=new Set,r.set(e,i));i.has(n)||(cu=!0,i.add(n),t=dc.bind(null,t,e,n),e.then(t,t))}function dc(t,e,n){var r=t.pingCache;null!==r&&r.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,ru===t&&(ou&n)===n&&(4===du||3===du&&(62914560&ou)===ou&&300>et()-xu?!(2&nu)&&Hu(t,0):mu|=n,vu===ou&&(vu=0)),Ac(t)}function fc(t,e){0===e&&(e=kt()),null!==(t=_r(t,e))&&(Et(t,e),Ac(t))}function pc(t){var e=t.memoizedState,n=0;null!==e&&(n=e.retryLane),fc(t,n)}function mc(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,i=t.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=t.stateNode;break;case 22:r=t.stateNode._retryCache;break;default:throw Error(a(314))}null!==r&&r.delete(e),fc(t,n)}var gc=null,vc=null,yc=!1,bc=!1,wc=!1,xc=0;function Ac(t){t!==vc&&null===t.next&&(null===vc?gc=vc=t:vc=vc.next=t),bc=!0,yc||(yc=!0,hh((function(){6&nu?J(rt,Sc):Ec()})))}function kc(t,e){if(!wc&&bc){wc=!0;do{for(var n=!1,r=gc;null!==r;){if(!e)if(0!==t){var i=r.pendingLanes;if(0===i)var o=0;else{var a=r.suspendedLanes,s=r.pingedLanes;o=(1<<31-ft(42|t)+1)-1,o=201326741&(o&=i&~(a&~s))?201326741&o|1:o?2|o:0}0!==o&&(n=!0,Tc(r,o))}else o=ou,!(3&(o=bt(r,r===ru?o:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||wt(r,o)||(n=!0,Tc(r,o));r=r.next}}while(n);wc=!1}}function Sc(){Ec()}function Ec(){bc=yc=!1;var t=0;0!==xc&&(function(){var t=window.event;if(t&&"popstate"===t.type)return t!==sh&&(sh=t,!0);return sh=null,!1}()&&(t=xc),xc=0);for(var e=et(),n=null,r=gc;null!==r;){var i=r.next,o=Cc(r,e);0===o?(r.next=null,null===n?gc=i:n.next=i,null===i&&(vc=n)):(n=r,(0!==t||3&o)&&(bc=!0)),r=i}kc(t,!1)}function Cc(t,e){for(var n=t.suspendedLanes,r=t.pingedLanes,i=t.expirationTimes,o=-62914561&t.pendingLanes;0<o;){var a=31-ft(o),s=1<<a,l=i[a];-1===l?s&n&&!(s&r)||(i[a]=xt(s,e)):l<=e&&(t.expiredLanes|=s),o&=~s}if(n=ou,n=bt(t,t===(e=ru)?n:0,null!==t.cancelPendingCommit||-1!==t.timeoutHandle),r=t.callbackNode,0===n||t===e&&(2===au||9===au)||null!==t.cancelPendingCommit)return null!==r&&null!==r&&Z(r),t.callbackNode=null,t.callbackPriority=0;if(!(3&n)||wt(t,n)){if((e=n&-n)===t.callbackPriority)return e;switch(null!==r&&Z(r),Pt(n)){case 2:case 8:n=it;break;case 32:default:n=ot;break;case 268435456:n=st}return r=qc.bind(null,t),n=J(n,r),t.callbackPriority=e,t.callbackNode=n,e}return null!==r&&null!==r&&Z(r),t.callbackPriority=2,t.callbackNode=null,2}function qc(t,e){if(0!==Eu&&5!==Eu)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(sc()&&t.callbackNode!==n)return null;var r=ou;return 0===(r=bt(t,t===ru?r:0,null!==t.cancelPendingCommit||-1!==t.timeoutHandle))?null:(Lu(t,r,e),Cc(t,et()),null!=t.callbackNode&&t.callbackNode===n?qc.bind(null,t):null)}function Tc(t,e){if(sc())return null;Lu(t,e,!0)}function Pc(){return 0===xc&&(xc=At()),xc}function Dc(t){return null==t||"symbol"==typeof t||"boolean"==typeof t?null:"function"==typeof t?t:Pe(""+t)}function _c(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}for(var Oc=0;Oc<xr.length;Oc++){var Mc=xr[Oc];Ar(Mc.toLowerCase(),"on"+(Mc[0].toUpperCase()+Mc.slice(1)))}Ar(fr,"onAnimationEnd"),Ar(pr,"onAnimationIteration"),Ar(mr,"onAnimationStart"),Ar("dblclick","onDoubleClick"),Ar("focusin","onFocus"),Ar("focusout","onBlur"),Ar(gr,"onTransitionRun"),Ar(vr,"onTransitionStart"),Ar(yr,"onTransitionCancel"),Ar(br,"onTransitionEnd"),Yt("onMouseEnter",["mouseout","mouseover"]),Yt("onMouseLeave",["mouseout","mouseover"]),Yt("onPointerEnter",["pointerout","pointerover"]),Yt("onPointerLeave",["pointerout","pointerover"]),Xt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Xt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Xt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Xt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Xt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Xt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ic=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Nc));function Rc(t,e){e=!!(4&e);for(var n=0;n<t.length;n++){var r=t[n],i=r.event;r=r.listeners;t:{var o=void 0;if(e)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break t;o=s,i.currentTarget=u;try{o(i)}catch(t){vs(t)}i.currentTarget=null,o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break t;o=s,i.currentTarget=u;try{o(i)}catch(t){vs(t)}i.currentTarget=null,o=l}}}}function Lc(t,e){var n=e[It];void 0===n&&(n=e[It]=new Set);var r=t+"__bubble";n.has(r)||(zc(e,t,2,!1),n.add(r))}function Fc(t,e,n){var r=0;e&&(r|=4),zc(n,t,r,e)}var Bc="_reactListening"+Math.random().toString(36).slice(2);function jc(t){if(!t[Bc]){t[Bc]=!0,Kt.forEach((function(e){"selectionchange"!==e&&(Ic.has(e)||Fc(e,!1,t),Fc(e,!0,t))}));var e=9===t.nodeType?t:t.ownerDocument;null===e||e[Bc]||(e[Bc]=!0,Fc("selectionchange",!1,e))}}function zc(t,e,n,r){switch(ud(e)){case 2:var i=rd;break;case 8:i=id;break;default:i=od}n=i.bind(null,e,n,t),i=void 0,!Be||"touchstart"!==e&&"touchmove"!==e&&"wheel"!==e||(i=!0),r?void 0!==i?t.addEventListener(e,n,{capture:!0,passive:i}):t.addEventListener(e,n,!0):void 0!==i?t.addEventListener(e,n,{passive:i}):t.addEventListener(e,n,!1)}function Vc(t,e,n,r,i){var o=r;if(!(1&e||2&e||null===r))t:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&a.stateNode.containerInfo===i)return;a=a.return}for(;null!==s;){if(null===(a=zt(s)))return;if(5===(u=a.tag)||6===u||26===u||27===u){r=o=a;continue t}s=s.parentNode}}r=r.return}Re((function(){var r=o,i=_e(n),a=[];t:{var s=wr.get(t);if(void 0!==s){var u=$e,c=t;switch(t){case"keypress":if(0===Ge(n))break t;case"keydown":case"keyup":u=mn;break;case"focusin":c="focus",u=an;break;case"focusout":c="blur",u=an;break;case"beforeblur":case"afterblur":u=an;break;case"click":if(2===n.button)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=rn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=on;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=vn;break;case fr:case pr:case mr:u=sn;break;case br:u=yn;break;case"scroll":case"scrollend":u=en;break;case"wheel":u=bn;break;case"copy":case"cut":case"paste":u=ln;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=gn;break;case"toggle":case"beforetoggle":u=wn}var h=!!(4&e),d=!h&&("scroll"===t||"scrollend"===t),f=h?null!==s?s+"Capture":null:s;h=[];for(var p,m=r;null!==m;){var g=m;if(p=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===p||null===f||null!=(g=Le(m,f))&&h.push(Hc(m,g,p)),d)break;m=m.return}0<h.length&&(s=new u(s,c,null,n,i),a.push({event:s,listeners:h}))}}if(!(7&e)){if(u="mouseout"===t||"pointerout"===t,(!(s="mouseover"===t||"pointerover"===t)||n===De||!(c=n.relatedTarget||n.fromElement)||!zt(c)&&!c[Nt])&&(u||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=r,null!==(c=(c=n.relatedTarget||n.toElement)?zt(c):null)&&(d=l(c),h=c.tag,c!==d||5!==h&&27!==h&&6!==h)&&(c=null)):(u=null,c=r),u!==c)){if(h=rn,g="onMouseLeave",f="onMouseEnter",m="mouse","pointerout"!==t&&"pointerover"!==t||(h=gn,g="onPointerLeave",f="onPointerEnter",m="pointer"),d=null==u?s:Ht(u),p=null==c?s:Ht(c),(s=new h(g,m+"leave",u,n,i)).target=d,s.relatedTarget=p,g=null,zt(i)===r&&((h=new h(f,m+"enter",c,n,i)).target=p,h.relatedTarget=d,g=h),d=g,u&&c)t:{for(f=c,m=0,p=h=u;p;p=Gc(p))m++;for(p=0,g=f;g;g=Gc(g))p++;for(;0<m-p;)h=Gc(h),m--;for(;0<p-m;)f=Gc(f),p--;for(;m--;){if(h===f||null!==f&&h===f.alternate)break t;h=Gc(h),f=Gc(f)}h=null}else h=null;null!==u&&Kc(a,s,u,h,!1),null!==c&&null!==d&&Kc(a,d,c,h,!0)}if("select"===(u=(s=r?Ht(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var v=Fn;else if(On(s))if(Bn)v=Xn;else{v=Kn;var y=Gn}else!(u=s.nodeName)||"input"!==u.toLowerCase()||"checkbox"!==s.type&&"radio"!==s.type?r&&Ce(r.elementType)&&(v=Fn):v=Wn;switch(v&&(v=v(t,r))?Mn(a,v,n,i):(y&&y(t,s,r),"focusout"===t&&r&&"number"===s.type&&null!=r.memoizedProps.value&&ye(s,"number",s.value)),y=r?Ht(r):window,t){case"focusin":(On(y)||"true"===y.contentEditable)&&(rr=y,ir=r,or=null);break;case"focusout":or=ir=rr=null;break;case"mousedown":ar=!0;break;case"contextmenu":case"mouseup":case"dragend":ar=!1,sr(a,n,i);break;case"selectionchange":if(nr)break;case"keydown":case"keyup":sr(a,n,i)}var b;if(An)t:{switch(t){case"compositionstart":var w="onCompositionStart";break t;case"compositionend":w="onCompositionEnd";break t;case"compositionupdate":w="onCompositionUpdate";break t}w=void 0}else Dn?Tn(t,n)&&(w="onCompositionEnd"):"keydown"===t&&229===n.keyCode&&(w="onCompositionStart");w&&(En&&"ko"!==n.locale&&(Dn||"onCompositionStart"!==w?"onCompositionEnd"===w&&Dn&&(b=Ue()):(Ve="value"in(ze=i)?ze.value:ze.textContent,Dn=!0)),0<(y=Uc(r,w)).length&&(w=new un(w,t,null,n,i),a.push({event:w,listeners:y}),b?w.data=b:null!==(b=Pn(n))&&(w.data=b))),(b=Sn?function(t,e){switch(t){case"compositionend":return Pn(e);case"keypress":return 32!==e.which?null:(qn=!0,Cn);case"textInput":return(t=e.data)===Cn&&qn?null:t;default:return null}}(t,n):function(t,e){if(Dn)return"compositionend"===t||!An&&Tn(t,e)?(t=Ue(),He=Ve=ze=null,Dn=!1,t):null;switch(t){case"paste":default:return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return En&&"ko"!==e.locale?null:e.data}}(t,n))&&(0<(w=Uc(r,"onBeforeInput")).length&&(y=new un("onBeforeInput","beforeinput",null,n,i),a.push({event:y,listeners:w}),y.data=b)),function(t,e,n,r,i){if("submit"===e&&n&&n.stateNode===i){var o=Dc((i[Mt]||null).action),a=r.submitter;a&&null!==(e=(e=a[Mt]||null)?Dc(e.formAction):a.getAttribute("formAction"))&&(o=e,a=null);var s=new $e("action","action",null,r,i);t.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==xc){var t=a?_c(i,a):new FormData(i);_a(n,{pending:!0,data:t,method:i.method,action:o},null,t)}}else"function"==typeof o&&(s.preventDefault(),t=a?_c(i,a):new FormData(i),_a(n,{pending:!0,data:t,method:i.method,action:o},o,t))},currentTarget:i}]})}}(a,t,r,n,i)}Rc(a,e)}))}function Hc(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Uc(t,e){for(var n=e+"Capture",r=[];null!==t;){var i=t,o=i.stateNode;if(5!==(i=i.tag)&&26!==i&&27!==i||null===o||(null!=(i=Le(t,n))&&r.unshift(Hc(t,i,o)),null!=(i=Le(t,e))&&r.push(Hc(t,i,o))),3===t.tag)return r;t=t.return}return[]}function Gc(t){if(null===t)return null;do{t=t.return}while(t&&5!==t.tag&&27!==t.tag);return t||null}function Kc(t,e,n,r,i){for(var o=e._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===u||(l=u,i?null!=(u=Le(n,o))&&a.unshift(Hc(n,u,l)):i||null!=(u=Le(n,o))&&a.push(Hc(n,u,l))),n=n.return}0!==a.length&&t.push({event:e,listeners:a})}var Wc=/\r\n?/g,Xc=/\u0000|\uFFFD/g;function Yc(t){return("string"==typeof t?t:""+t).replace(Wc,"\n").replace(Xc,"")}function Qc(t,e){return e=Yc(e),Yc(t)===e}function Jc(){}function Zc(t,e,n,r,i,o){switch(n){case"children":"string"==typeof r?"body"===e||"textarea"===e&&""===r||Ae(t,r):("number"==typeof r||"bigint"==typeof r)&&"body"!==e&&Ae(t,""+r);break;case"className":ne(t,"class",r);break;case"tabIndex":ne(t,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":ne(t,n,r);break;case"style":Ee(t,r,o);break;case"data":if("object"!==e){ne(t,"data",r);break}case"src":case"href":if(""===r&&("a"!==e||"href"!==n)){t.removeAttribute(n);break}if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){t.removeAttribute(n);break}r=Pe(""+r),t.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){t.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof o&&("formAction"===n?("input"!==e&&Zc(t,e,"name",i.name,i,null),Zc(t,e,"formEncType",i.formEncType,i,null),Zc(t,e,"formMethod",i.formMethod,i,null),Zc(t,e,"formTarget",i.formTarget,i,null)):(Zc(t,e,"encType",i.encType,i,null),Zc(t,e,"method",i.method,i,null),Zc(t,e,"target",i.target,i,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){t.removeAttribute(n);break}r=Pe(""+r),t.setAttribute(n,r);break;case"onClick":null!=r&&(t.onclick=Jc);break;case"onScroll":null!=r&&Lc("scroll",t);break;case"onScrollEnd":null!=r&&Lc("scrollend",t);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(a(61));if(null!=(n=r.__html)){if(null!=i.children)throw Error(a(60));t.innerHTML=n}}break;case"multiple":t.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":t.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){t.removeAttribute("xlink:href");break}n=Pe(""+r),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?t.setAttribute(n,""+r):t.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":!0===r?t.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?t.setAttribute(n,r):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?t.setAttribute(n,r):t.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?t.removeAttribute(n):t.setAttribute(n,r);break;case"popover":Lc("beforetoggle",t),Lc("toggle",t),ee(t,"popover",r);break;case"xlinkActuate":re(t,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":re(t,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":re(t,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":re(t,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":re(t,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":re(t,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":re(t,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":re(t,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":re(t,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":ee(t,"is",r);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&ee(t,n=qe.get(n)||n,r)}}function $c(t,e,n,r,i,o){switch(n){case"style":Ee(t,r,o);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(a(61));if(null!=(n=r.__html)){if(null!=i.children)throw Error(a(60));t.innerHTML=n}}break;case"children":"string"==typeof r?Ae(t,r):("number"==typeof r||"bigint"==typeof r)&&Ae(t,""+r);break;case"onScroll":null!=r&&Lc("scroll",t);break;case"onScrollEnd":null!=r&&Lc("scrollend",t);break;case"onClick":null!=r&&(t.onclick=Jc);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:Wt.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(i=n.endsWith("Capture"),e=n.slice(2,i?n.length-7:void 0),"function"==typeof(o=null!=(o=t[Mt]||null)?o[n]:null)&&t.removeEventListener(e,o,i),"function"!=typeof r)?n in t?t[n]=r:!0===r?t.setAttribute(n,""):ee(t,n,r):("function"!=typeof o&&null!==o&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,r,i)))}}function th(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Lc("error",t),Lc("load",t);var r,i=!1,o=!1;for(r in n)if(n.hasOwnProperty(r)){var s=n[r];if(null!=s)switch(r){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,e));default:Zc(t,e,r,s,n,null)}}return o&&Zc(t,e,"srcSet",n.srcSet,n,null),void(i&&Zc(t,e,"src",n.src,n,null));case"input":Lc("invalid",t);var l=r=s=o=null,u=null,c=null;for(i in n)if(n.hasOwnProperty(i)){var h=n[i];if(null!=h)switch(i){case"name":o=h;break;case"type":s=h;break;case"checked":u=h;break;case"defaultChecked":c=h;break;case"value":r=h;break;case"defaultValue":l=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(a(137,e));break;default:Zc(t,e,i,h,n,null)}}return ve(t,r,l,u,c,s,o,!1),void he(t);case"select":for(o in Lc("invalid",t),i=s=r=null,n)if(n.hasOwnProperty(o)&&null!=(l=n[o]))switch(o){case"value":r=l;break;case"defaultValue":s=l;break;case"multiple":i=l;default:Zc(t,e,o,l,n,null)}return e=r,n=s,t.multiple=!!i,void(null!=e?be(t,!!i,e,!1):null!=n&&be(t,!!i,n,!0));case"textarea":for(s in Lc("invalid",t),r=o=i=null,n)if(n.hasOwnProperty(s)&&null!=(l=n[s]))switch(s){case"value":i=l;break;case"defaultValue":o=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(a(91));break;default:Zc(t,e,s,l,n,null)}return xe(t,i,o,r),void he(t);case"option":for(u in n)if(n.hasOwnProperty(u)&&null!=(i=n[u]))if("selected"===u)t.selected=i&&"function"!=typeof i&&"symbol"!=typeof i;else Zc(t,e,u,i,n,null);return;case"dialog":Lc("beforetoggle",t),Lc("toggle",t),Lc("cancel",t),Lc("close",t);break;case"iframe":case"object":Lc("load",t);break;case"video":case"audio":for(i=0;i<Nc.length;i++)Lc(Nc[i],t);break;case"image":Lc("error",t),Lc("load",t);break;case"details":Lc("toggle",t);break;case"embed":case"source":case"link":Lc("error",t),Lc("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(i=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,e));default:Zc(t,e,c,i,n,null)}return;default:if(Ce(e)){for(h in n)n.hasOwnProperty(h)&&(void 0!==(i=n[h])&&$c(t,e,h,i,n,void 0));return}}for(l in n)n.hasOwnProperty(l)&&(null!=(i=n[l])&&Zc(t,e,l,i,n,null))}var eh=null,nh=null;function rh(t){return 9===t.nodeType?t:t.ownerDocument}function ih(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function oh(t,e){if(0===t)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return 1===t&&"foreignObject"===e?0:t}function ah(t,e){return"textarea"===t||"noscript"===t||"string"==typeof e.children||"number"==typeof e.children||"bigint"==typeof e.children||"object"==typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var sh=null;var lh="function"==typeof setTimeout?setTimeout:void 0,uh="function"==typeof clearTimeout?clearTimeout:void 0,ch="function"==typeof Promise?Promise:void 0,hh="function"==typeof queueMicrotask?queueMicrotask:void 0!==ch?function(t){return ch.resolve(null).then(t).catch(dh)}:lh;function dh(t){setTimeout((function(){throw t}))}function fh(t){return"head"===t}function ph(t,e){var n=e,r=0,i=0;do{var o=n.nextSibling;if(t.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0<r&&8>r){n=r;var a=t.ownerDocument;if(1&n&&xh(a.documentElement),2&n&&xh(a.body),4&n)for(xh(n=a.head),a=n.firstChild;a;){var s=a.nextSibling,l=a.nodeName;a[Bt]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===a.rel.toLowerCase()||n.removeChild(a),a=s}}if(0===i)return t.removeChild(o),void qd(e);i--}else"$"===n||"$?"===n||"$!"===n?i++:r=n.charCodeAt(0)-48;else r=0;n=o}while(n);qd(e)}function mh(t){var e=t.firstChild;for(e&&10===e.nodeType&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":mh(n),jt(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}t.removeChild(n)}}function gh(t){return"$!"===t.data||"$?"===t.data&&"complete"===t.ownerDocument.readyState}function vh(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break;if(8===e){if("$"===(e=t.data)||"$!"===e||"$?"===e||"F!"===e||"F"===e)break;if("/$"===e)return null}}return t}var yh=null;function bh(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var n=t.data;if("$"===n||"$!"===n||"$?"===n){if(0===e)return t;e--}else"/$"===n&&e++}t=t.previousSibling}return null}function wh(t,e,n){switch(e=rh(n),t){case"html":if(!(t=e.documentElement))throw Error(a(452));return t;case"head":if(!(t=e.head))throw Error(a(453));return t;case"body":if(!(t=e.body))throw Error(a(454));return t;default:throw Error(a(451))}}function xh(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);jt(t)}var Ah=new Map,kh=new Set;function Sh(t){return"function"==typeof t.getRootNode?t.getRootNode():9===t.nodeType?t:t.ownerDocument}var Eh=I.d;I.d={f:function(){var t=Eh.f(),e=zu();return t||e},r:function(t){var e=Vt(t);null!==e&&5===e.tag&&"form"===e.type?Ma(e):Eh.r(t)},D:function(t){Eh.D(t),qh("dns-prefetch",t,null)},C:function(t,e){Eh.C(t,e),qh("preconnect",t,e)},L:function(t,e,n){Eh.L(t,e,n);var r=Ch;if(r&&t&&e){var i='link[rel="preload"][as="'+me(e)+'"]';"image"===e&&n&&n.imageSrcSet?(i+='[imagesrcset="'+me(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(i+='[imagesizes="'+me(n.imageSizes)+'"]')):i+='[href="'+me(t)+'"]';var o=i;switch(e){case"style":o=Ph(t);break;case"script":o=Oh(t)}Ah.has(o)||(t=d({rel:"preload",href:"image"===e&&n&&n.imageSrcSet?void 0:t,as:e},n),Ah.set(o,t),null!==r.querySelector(i)||"style"===e&&r.querySelector(Dh(o))||"script"===e&&r.querySelector(Mh(o))||(th(e=r.createElement("link"),"link",t),Gt(e),r.head.appendChild(e)))}},m:function(t,e){Eh.m(t,e);var n=Ch;if(n&&t){var r=e&&"string"==typeof e.as?e.as:"script",i='link[rel="modulepreload"][as="'+me(r)+'"][href="'+me(t)+'"]',o=i;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Oh(t)}if(!Ah.has(o)&&(t=d({rel:"modulepreload",href:t},e),Ah.set(o,t),null===n.querySelector(i))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Mh(o)))return}th(r=n.createElement("link"),"link",t),Gt(r),n.head.appendChild(r)}}},X:function(t,e){Eh.X(t,e);var n=Ch;if(n&&t){var r=Ut(n).hoistableScripts,i=Oh(t),o=r.get(i);o||((o=n.querySelector(Mh(i)))||(t=d({src:t,async:!0},e),(e=Ah.get(i))&&Lh(t,e),Gt(o=n.createElement("script")),th(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},r.set(i,o))}},S:function(t,e,n){Eh.S(t,e,n);var r=Ch;if(r&&t){var i=Ut(r).hoistableStyles,o=Ph(t);e=e||"default";var a=i.get(o);if(!a){var s={loading:0,preload:null};if(a=r.querySelector(Dh(o)))s.loading=5;else{t=d({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Ah.get(o))&&Rh(t,n);var l=a=r.createElement("link");Gt(l),th(l,"link",t),l._p=new Promise((function(t,e){l.onload=t,l.onerror=e})),l.addEventListener("load",(function(){s.loading|=1})),l.addEventListener("error",(function(){s.loading|=2})),s.loading|=4,Ih(a,e,r)}a={type:"stylesheet",instance:a,count:1,state:s},i.set(o,a)}}},M:function(t,e){Eh.M(t,e);var n=Ch;if(n&&t){var r=Ut(n).hoistableScripts,i=Oh(t),o=r.get(i);o||((o=n.querySelector(Mh(i)))||(t=d({src:t,async:!0,type:"module"},e),(e=Ah.get(i))&&Lh(t,e),Gt(o=n.createElement("script")),th(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},r.set(i,o))}}};var Ch="undefined"==typeof document?null:document;function qh(t,e,n){var r=Ch;if(r&&"string"==typeof e&&e){var i=me(e);i='link[rel="'+t+'"][href="'+i+'"]',"string"==typeof n&&(i+='[crossorigin="'+n+'"]'),kh.has(i)||(kh.add(i),t={rel:t,crossOrigin:n,href:e},null===r.querySelector(i)&&(th(e=r.createElement("link"),"link",t),Gt(e),r.head.appendChild(e)))}}function Th(t,e,n,r){var i,o,s,l,u=(u=U.current)?Sh(u):null;if(!u)throw Error(a(446));switch(t){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(e=Ph(n.href),(r=(n=Ut(u).hoistableStyles).get(e))||(r={type:"style",instance:null,count:0,state:null},n.set(e,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){t=Ph(n.href);var c=Ut(u).hoistableStyles,h=c.get(t);if(h||(u=u.ownerDocument||u,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(t,h),(c=u.querySelector(Dh(t)))&&!c._p&&(h.instance=c,h.state.loading=5),Ah.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ah.set(t,n),c||(i=u,o=t,s=n,l=h.state,i.querySelector('link[rel="preload"][as="style"]['+o+"]")?l.loading=1:(o=i.createElement("link"),l.preload=o,o.addEventListener("load",(function(){return l.loading|=1})),o.addEventListener("error",(function(){return l.loading|=2})),th(o,"link",s),Gt(o),i.head.appendChild(o))))),e&&null===r)throw Error(a(528,""));return h}if(e&&null!==r)throw Error(a(529,""));return null;case"script":return e=n.async,"string"==typeof(n=n.src)&&e&&"function"!=typeof e&&"symbol"!=typeof e?(e=Oh(n),(r=(n=Ut(u).hoistableScripts).get(e))||(r={type:"script",instance:null,count:0,state:null},n.set(e,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,t))}}function Ph(t){return'href="'+me(t)+'"'}function Dh(t){return'link[rel="stylesheet"]['+t+"]"}function _h(t){return d({},t,{"data-precedence":t.precedence,precedence:null})}function Oh(t){return'[src="'+me(t)+'"]'}function Mh(t){return"script[async]"+t}function Nh(t,e,n){if(e.count++,null===e.instance)switch(e.type){case"style":var r=t.querySelector('style[data-href~="'+me(n.href)+'"]');if(r)return e.instance=r,Gt(r),r;var i=d({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return Gt(r=(t.ownerDocument||t).createElement("style")),th(r,"style",i),Ih(r,n.precedence,t),e.instance=r;case"stylesheet":i=Ph(n.href);var o=t.querySelector(Dh(i));if(o)return e.state.loading|=4,e.instance=o,Gt(o),o;r=_h(n),(i=Ah.get(i))&&Rh(r,i),Gt(o=(t.ownerDocument||t).createElement("link"));var s=o;return s._p=new Promise((function(t,e){s.onload=t,s.onerror=e})),th(o,"link",r),e.state.loading|=4,Ih(o,n.precedence,t),e.instance=o;case"script":return o=Oh(n.src),(i=t.querySelector(Mh(o)))?(e.instance=i,Gt(i),i):(r=n,(i=Ah.get(o))&&Lh(r=d({},n),i),Gt(i=(t=t.ownerDocument||t).createElement("script")),th(i,"link",r),t.head.appendChild(i),e.instance=i);case"void":return null;default:throw Error(a(443,e.type))}else"stylesheet"===e.type&&!(4&e.state.loading)&&(r=e.instance,e.state.loading|=4,Ih(r,n.precedence,t));return e.instance}function Ih(t,e,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=r.length?r[r.length-1]:null,o=i,a=0;a<r.length;a++){var s=r[a];if(s.dataset.precedence===e)o=s;else if(o!==i)break}o?o.parentNode.insertBefore(t,o.nextSibling):(e=9===n.nodeType?n.head:n).insertBefore(t,e.firstChild)}function Rh(t,e){null==t.crossOrigin&&(t.crossOrigin=e.crossOrigin),null==t.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),null==t.title&&(t.title=e.title)}function Lh(t,e){null==t.crossOrigin&&(t.crossOrigin=e.crossOrigin),null==t.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),null==t.integrity&&(t.integrity=e.integrity)}var Fh=null;function Bh(t,e,n){if(null===Fh){var r=new Map,i=Fh=new Map;i.set(n,r)}else(r=(i=Fh).get(n))||(r=new Map,i.set(n,r));if(r.has(t))return r;for(r.set(t,null),n=n.getElementsByTagName(t),i=0;i<n.length;i++){var o=n[i];if(!(o[Bt]||o[Ot]||"link"===t&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var a=o.getAttribute(e)||"";a=t+a;var s=r.get(a);s?s.push(o):r.set(a,[o])}}return r}function jh(t,e,n){(t=t.ownerDocument||t).head.insertBefore(n,"title"===e?t.querySelector("head > title"):null)}function zh(t){return!!("stylesheet"!==t.type||3&t.state.loading)}var Vh=null;function Hh(){}function Uh(){if(this.count--,0===this.count)if(this.stylesheets)Kh(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}var Gh=null;function Kh(t,e){t.stylesheets=null,null!==t.unsuspend&&(t.count++,Gh=new Map,e.forEach(Wh,t),Gh=null,Uh.call(t))}function Wh(t,e){if(!(4&e.state.loading)){var n=Gh.get(t);if(n)var r=n.get(null);else{n=new Map,Gh.set(t,n);for(var i=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<i.length;o++){var a=i[o];"LINK"!==a.nodeName&&"not all"===a.getAttribute("media")||(n.set(a.dataset.precedence,a),r=a)}r&&n.set(null,r)}a=(i=e.instance).getAttribute("data-precedence"),(o=n.get(a)||r)===r&&n.set(null,i),n.set(a,i),this.count++,r=Uh.bind(this),i.addEventListener("load",r),i.addEventListener("error",r),o?o.parentNode.insertBefore(i,o.nextSibling):(t=9===t.nodeType?t.head:t).insertBefore(i,t.firstChild),e.state.loading|=4}}var Xh={$$typeof:x,Provider:null,Consumer:null,_currentValue:R,_currentValue2:R,_threadCount:0};function Yh(t,e,n,r,i,o,a,s){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=St(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=St(0),this.hiddenUpdates=St(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=o,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function Qh(t,e,n,r,i,o,a,s,l,u,c,h){return t=new Yh(t,e,n,a,s,l,u,h),e=1,!0===o&&(e|=24),o=Rr(3,null,null,e),t.current=o,o.stateNode=t,(e=Mi()).refCount++,t.pooledCache=e,e.refCount++,o.memoizedState={element:r,isDehydrated:n,cache:e},no(o),t}function Jh(t){return t?t=Nr:Nr}function Zh(t,e,n,r,i,o){i=Jh(i),null===r.context?r.context=i:r.pendingContext=i,(r=io(e)).payload={element:n},null!==(o=void 0===o?null:o)&&(r.callback=o),null!==(n=oo(t,r,e))&&(Ru(n,0,e),ao(n,t,e))}function $h(t,e){if(null!==(t=t.memoizedState)&&null!==t.dehydrated){var n=t.retryLane;t.retryLane=0!==n&&n<e?n:e}}function td(t,e){$h(t,e),(t=t.alternate)&&$h(t,e)}function ed(t){if(13===t.tag){var e=_r(t,67108864);null!==e&&Ru(e,0,67108864),td(t,67108864)}}var nd=!0;function rd(t,e,n,r){var i=N.T;N.T=null;var o=I.p;try{I.p=2,od(t,e,n,r)}finally{I.p=o,N.T=i}}function id(t,e,n,r){var i=N.T;N.T=null;var o=I.p;try{I.p=8,od(t,e,n,r)}finally{I.p=o,N.T=i}}function od(t,e,n,r){if(nd){var i=ad(r);if(null===i)Vc(t,e,r,sd,n),yd(t,r);else if(function(t,e,n,r,i){switch(e){case"focusin":return hd=bd(hd,t,e,n,r,i),!0;case"dragenter":return dd=bd(dd,t,e,n,r,i),!0;case"mouseover":return fd=bd(fd,t,e,n,r,i),!0;case"pointerover":var o=i.pointerId;return pd.set(o,bd(pd.get(o)||null,t,e,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,md.set(o,bd(md.get(o)||null,t,e,n,r,i)),!0}return!1}(i,t,e,n,r))r.stopPropagation();else if(yd(t,r),4&e&&-1<vd.indexOf(t)){for(;null!==i;){var o=Vt(i);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var a=yt(o.pendingLanes);if(0!==a){var s=o;for(s.pendingLanes|=2,s.entangledLanes|=2;a;){var l=1<<31-ft(a);s.entanglements[1]|=l,a&=~l}Ac(o),!(6&nu)&&(Au=et()+500,kc(0,!1))}}break;case 13:null!==(s=_r(o,2))&&Ru(s,0,2),zu(),td(o,2)}if(null===(o=ad(r))&&Vc(t,e,r,sd,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Vc(t,e,r,null,n)}}function ad(t){return ld(t=_e(t))}var sd=null;function ld(t){if(sd=null,null!==(t=zt(t))){var e=l(t);if(null===e)t=null;else{var n=e.tag;if(13===n){if(null!==(t=u(e)))return t;t=null}else if(3===n){if(e.stateNode.current.memoizedState.isDehydrated)return 3===e.tag?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return sd=t,null}function ud(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(nt()){case rt:return 2;case it:return 8;case ot:case at:return 32;case st:return 268435456;default:return 32}default:return 32}}var cd=!1,hd=null,dd=null,fd=null,pd=new Map,md=new Map,gd=[],vd="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function yd(t,e){switch(t){case"focusin":case"focusout":hd=null;break;case"dragenter":case"dragleave":dd=null;break;case"mouseover":case"mouseout":fd=null;break;case"pointerover":case"pointerout":pd.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":md.delete(e.pointerId)}}function bd(t,e,n,r,i,o){return null===t||t.nativeEvent!==o?(t={blockedOn:e,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==e&&(null!==(e=Vt(e))&&ed(e)),t):(t.eventSystemFlags|=r,e=t.targetContainers,null!==i&&-1===e.indexOf(i)&&e.push(i),t)}function wd(t){var e=zt(t.target);if(null!==e){var n=l(e);if(null!==n)if(13===(e=n.tag)){if(null!==(e=u(n)))return t.blockedOn=e,void function(t,e){var n=I.p;try{return I.p=t,e()}finally{I.p=n}}(t.priority,(function(){if(13===n.tag){var t=Nu();t=Tt(t);var e=_r(n,t);null!==e&&Ru(e,0,t),td(n,t)}}))}else if(3===e&&n.stateNode.current.memoizedState.isDehydrated)return void(t.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}t.blockedOn=null}function xd(t){if(null!==t.blockedOn)return!1;for(var e=t.targetContainers;0<e.length;){var n=ad(t.nativeEvent);if(null!==n)return null!==(e=Vt(n))&&ed(e),t.blockedOn=n,!1;var r=new(n=t.nativeEvent).constructor(n.type,n);De=r,n.target.dispatchEvent(r),De=null,e.shift()}return!0}function Ad(t,e,n){xd(t)&&n.delete(e)}function kd(){cd=!1,null!==hd&&xd(hd)&&(hd=null),null!==dd&&xd(dd)&&(dd=null),null!==fd&&xd(fd)&&(fd=null),pd.forEach(Ad),md.forEach(Ad)}function Sd(t,e){t.blockedOn===e&&(t.blockedOn=null,cd||(cd=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,kd)))}var Ed=null;function Cd(t){Ed!==t&&(Ed=t,r.unstable_scheduleCallback(r.unstable_NormalPriority,(function(){Ed===t&&(Ed=null);for(var e=0;e<t.length;e+=3){var n=t[e],r=t[e+1],i=t[e+2];if("function"!=typeof r){if(null===ld(r||n))continue;break}var o=Vt(n);null!==o&&(t.splice(e,3),e-=3,_a(o,{pending:!0,data:i,method:n.method,action:r},r,i))}})))}function qd(t){function e(e){return Sd(e,t)}null!==hd&&Sd(hd,t),null!==dd&&Sd(dd,t),null!==fd&&Sd(fd,t),pd.forEach(e),md.forEach(e);for(var n=0;n<gd.length;n++){var r=gd[n];r.blockedOn===t&&(r.blockedOn=null)}for(;0<gd.length&&null===(n=gd[0]).blockedOn;)wd(n),null===n.blockedOn&&gd.shift();if(null!=(n=(t.ownerDocument||t).$$reactFormReplay))for(r=0;r<n.length;r+=3){var i=n[r],o=n[r+1],a=i[Mt]||null;if("function"==typeof o)a||Cd(n);else if(a){var s=null;if(o&&o.hasAttribute("formAction")){if(i=o,a=o[Mt]||null)s=a.formAction;else if(null!==ld(i))continue}else s=a.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),Cd(n)}}}function Td(t){this._internalRoot=t}function Pd(t){this._internalRoot=t}Pd.prototype.render=Td.prototype.render=function(t){var e=this._internalRoot;if(null===e)throw Error(a(409));Zh(e.current,Nu(),t,e,null,null)},Pd.prototype.unmount=Td.prototype.unmount=function(){var t=this._internalRoot;if(null!==t){this._internalRoot=null;var e=t.containerInfo;Zh(t.current,2,null,t,null,null),zu(),e[Nt]=null}},Pd.prototype.unstable_scheduleHydration=function(t){if(t){var e=Dt();t={blockedOn:null,target:t,priority:e};for(var n=0;n<gd.length&&0!==e&&e<gd[n].priority;n++);gd.splice(n,0,t),0===n&&wd(t)}};var Dd=i.version;if("19.1.0"!==Dd)throw Error(a(527,Dd,"19.1.0"));I.findDOMNode=function(t){var e=t._reactInternals;if(void 0===e){if("function"==typeof t.render)throw Error(a(188));throw t=Object.keys(t).join(","),Error(a(268,t))}return t=function(t){var e=t.alternate;if(!e){if(null===(e=l(t)))throw Error(a(188));return e!==t?null:t}for(var n=t,r=e;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return c(i),t;if(o===r)return c(i),e;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,u=i.child;u;){if(u===n){s=!0,n=i,r=o;break}if(u===r){s=!0,r=i,n=o;break}u=u.sibling}if(!s){for(u=o.child;u;){if(u===n){s=!0,n=o,r=i;break}if(u===r){s=!0,r=o,n=i;break}u=u.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?t:e}(e),t=null===(t=null!==t?h(t):null)?null:t.stateNode};var _d={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:N,reconcilerVersion:"19.1.0"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Od=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Od.isDisabled&&Od.supportsFiber)try{ct=Od.inject(_d),ht=Od}catch(t){}}e.createRoot=function(t,e){if(!s(t))throw Error(a(299));var n=!1,r="",i=ys,o=bs,l=ws;return null!=e&&(!0===e.unstable_strictMode&&(n=!0),void 0!==e.identifierPrefix&&(r=e.identifierPrefix),void 0!==e.onUncaughtError&&(i=e.onUncaughtError),void 0!==e.onCaughtError&&(o=e.onCaughtError),void 0!==e.onRecoverableError&&(l=e.onRecoverableError),void 0!==e.unstable_transitionCallbacks&&e.unstable_transitionCallbacks),e=Qh(t,1,!1,null,0,n,r,i,o,l,0,null),t[Nt]=e.current,jc(t),new Td(e)}},9288:function(t,e,n){"use strict";var r=n(7467);function i(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var a={d:{f:o,r:function(){throw Error(i(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},s=Symbol.for("react.portal");var l=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(t,e){return"font"===t?"":"string"==typeof e?"use-credentials"===e?e:"":void 0}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,e.createPortal=function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)throw Error(i(299));return function(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==r?null:""+r,children:t,containerInfo:e,implementation:n}}(t,e,null,n)},e.flushSync=function(t){var e=l.T,n=a.p;try{if(l.T=null,a.p=2,t)return t()}finally{l.T=e,a.p=n,a.d.f()}},e.preconnect=function(t,e){"string"==typeof t&&(e?e="string"==typeof(e=e.crossOrigin)?"use-credentials"===e?e:"":void 0:e=null,a.d.C(t,e))},e.prefetchDNS=function(t){"string"==typeof t&&a.d.D(t)},e.preinit=function(t,e){if("string"==typeof t&&e&&"string"==typeof e.as){var n=e.as,r=u(n,e.crossOrigin),i="string"==typeof e.integrity?e.integrity:void 0,o="string"==typeof e.fetchPriority?e.fetchPriority:void 0;"style"===n?a.d.S(t,"string"==typeof e.precedence?e.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):"script"===n&&a.d.X(t,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:"string"==typeof e.nonce?e.nonce:void 0})}},e.preinitModule=function(t,e){if("string"==typeof t)if("object"==typeof e&&null!==e){if(null==e.as||"script"===e.as){var n=u(e.as,e.crossOrigin);a.d.M(t,{crossOrigin:n,integrity:"string"==typeof e.integrity?e.integrity:void 0,nonce:"string"==typeof e.nonce?e.nonce:void 0})}}else null==e&&a.d.M(t)},e.preload=function(t,e){if("string"==typeof t&&"object"==typeof e&&null!==e&&"string"==typeof e.as){var n=e.as,r=u(n,e.crossOrigin);a.d.L(t,n,{crossOrigin:r,integrity:"string"==typeof e.integrity?e.integrity:void 0,nonce:"string"==typeof e.nonce?e.nonce:void 0,type:"string"==typeof e.type?e.type:void 0,fetchPriority:"string"==typeof e.fetchPriority?e.fetchPriority:void 0,referrerPolicy:"string"==typeof e.referrerPolicy?e.referrerPolicy:void 0,imageSrcSet:"string"==typeof e.imageSrcSet?e.imageSrcSet:void 0,imageSizes:"string"==typeof e.imageSizes?e.imageSizes:void 0,media:"string"==typeof e.media?e.media:void 0})}},e.preloadModule=function(t,e){if("string"==typeof t)if(e){var n=u(e.as,e.crossOrigin);a.d.m(t,{as:"string"==typeof e.as&&"script"!==e.as?e.as:void 0,crossOrigin:n,integrity:"string"==typeof e.integrity?e.integrity:void 0})}else a.d.m(t)},e.requestFormReset=function(t){a.d.r(t)},e.unstable_batchedUpdates=function(t,e){return t(e)},e.useFormState=function(t,e,n){return l.H.useFormState(t,e,n)},e.useFormStatus=function(){return l.H.useHostTransitionStatus()},e.version="19.1.0"},9487:function(t,e,n){"use strict";!function t(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(t){}}(),t.exports=n(3412)},1574:function(t,e,n){"use strict";!function t(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(t){}}(),t.exports=n(9288)},178:function(t,e,n){"use strict";var r=d(n(6326)),i=d(n(9624)),o=d(n(2179)),a=d(n(2775)),s=d(n(7264)),l=d(n(9003)),u=d(n(7467)),c=d(n(7325)),h=d(n(4990));function d(t){return t&&t.__esModule?t:{default:t}}var f=function(t){function e(){var t,n,r,a;(0,o.default)(this,e);for(var l=arguments.length,u=Array(l),c=0;c<l;c++)u[c]=arguments[c];return n=r=(0,s.default)(this,(t=e.__proto__||(0,i.default)(e)).call.apply(t,[this].concat(u))),r.handleClickToPause=function(){r.anim.isPaused?r.anim.play():r.anim.pause()},a=n,(0,s.default)(r,a)}return(0,l.default)(e,t),(0,a.default)(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.options,n=t.eventListeners,i=e.loop,o=e.autoplay,a=e.animationData,s=e.rendererSettings,l=e.segments;this.options={container:this.el,renderer:"svg",loop:!1!==i,autoplay:!1!==o,segments:!1!==l,animationData:a,rendererSettings:s},this.options=(0,r.default)({},this.options,e),this.anim=h.default.loadAnimation(this.options),this.registerEvents(n),this.setSpeed()}},{key:"componentWillUpdate",value:function(t){this.options.animationData!==t.options.animationData&&(this.deRegisterEvents(this.props.eventListeners),this.destroy(),this.options=(0,r.default)({},this.options,t.options),this.anim=h.default.loadAnimation(this.options),this.registerEvents(t.eventListeners))}},{key:"componentDidUpdate",value:function(){this.props.isStopped?this.stop():this.props.segments?this.playSegments():this.play(),this.pause(),this.setSpeed(),this.setDirection()}},{key:"componentWillUnmount",value:function(){this.deRegisterEvents(this.props.eventListeners),this.destroy(),this.options.animationData=null,this.anim=null}},{key:"setSpeed",value:function(){this.anim.setSpeed(this.props.speed)}},{key:"setDirection",value:function(){this.anim.setDirection(this.props.direction)}},{key:"play",value:function(){this.anim.play()}},{key:"playSegments",value:function(){this.anim.playSegments(this.props.segments)}},{key:"stop",value:function(){this.anim.stop()}},{key:"pause",value:function(){(this.props.isPaused&&!this.anim.isPaused||!this.props.isPaused&&this.anim.isPaused)&&this.anim.pause()}},{key:"destroy",value:function(){this.anim.destroy()}},{key:"registerEvents",value:function(t){var e=this;t.forEach((function(t){e.anim.addEventListener(t.eventName,t.callback)}))}},{key:"deRegisterEvents",value:function(t){var e=this;t.forEach((function(t){e.anim.removeEventListener(t.eventName,t.callback)}))}},{key:"render",value:function(){var t=this,e=this.props,n=e.width,i=e.height,o=e.ariaRole,a=e.ariaLabel,s=e.isClickToPauseDisabled,l=e.title,c=function(t){return"number"==typeof t?t+"px":t||"100%"},h=(0,r.default)({width:c(n),height:c(i),overflow:"hidden",margin:"0 auto",outline:"none"},this.props.style),d=s?function(){return null}:this.handleClickToPause;return u.default.createElement("div",{ref:function(e){t.el=e},style:h,onClick:d,title:l,role:o,"aria-label":a,tabIndex:"0"})}}]),e}(u.default.Component);e.A=f,f.propTypes={eventListeners:c.default.arrayOf(c.default.object),options:c.default.object.isRequired,height:c.default.oneOfType([c.default.string,c.default.number]),width:c.default.oneOfType([c.default.string,c.default.number]),isStopped:c.default.bool,isPaused:c.default.bool,speed:c.default.number,segments:c.default.arrayOf(c.default.number),direction:c.default.number,ariaRole:c.default.string,ariaLabel:c.default.string,isClickToPauseDisabled:c.default.bool,title:c.default.string,style:c.default.object},f.defaultProps={eventListeners:[],isStopped:!1,isPaused:!1,speed:1,ariaRole:"button",ariaLabel:"animation",isClickToPauseDisabled:!1,title:""}},4007:function(t,e){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function i(t,e,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==e.key&&(i=""+e.key),"key"in e)for(var o in r={},e)"key"!==o&&(r[o]=e[o]);else r=e;return e=r.ref,{$$typeof:n,type:t,key:i,ref:void 0!==e?e:null,props:r}}e.Fragment=r,e.jsx=i,e.jsxs=i},7112:function(t,e){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(t,e,n){this.props=t,this.context=e,this.refs=g,this.updater=n||p}function y(){}function b(t,e,n){this.props=t,this.context=e,this.refs=g,this.updater=n||p}v.prototype.isReactComponent={},v.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},v.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},y.prototype=v.prototype;var w=b.prototype=new y;w.constructor=b,m(w,v.prototype),w.isPureReactComponent=!0;var x=Array.isArray,A={H:null,A:null,T:null,S:null,V:null},k=Object.prototype.hasOwnProperty;function S(t,e,r,i,o,a){return r=a.ref,{$$typeof:n,type:t,key:e,ref:void 0!==r?r:null,props:a}}function E(t){return"object"==typeof t&&null!==t&&t.$$typeof===n}var C=/\/+/g;function q(t,e){return"object"==typeof t&&null!==t&&null!=t.key?(n=""+t.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,(function(t){return r[t]}))):e.toString(36);var n,r}function T(){}function P(t,e,i,o,a){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var l,u,c=!1;if(null===t)c=!0;else switch(s){case"bigint":case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case n:case r:c=!0;break;case d:return P((c=t._init)(t._payload),e,i,o,a)}}if(c)return a=a(t),c=""===o?"."+q(t,0):o,x(a)?(i="",null!=c&&(i=c.replace(C,"$&/")+"/"),P(a,e,i,"",(function(t){return t}))):null!=a&&(E(a)&&(l=a,u=i+(null==a.key||t&&t.key===a.key?"":(""+a.key).replace(C,"$&/")+"/")+c,a=S(l.type,u,void 0,0,0,l.props)),e.push(a)),1;c=0;var h,p=""===o?".":o+":";if(x(t))for(var m=0;m<t.length;m++)c+=P(o=t[m],e,i,s=p+q(o,m),a);else if("function"==typeof(m=null===(h=t)||"object"!=typeof h?null:"function"==typeof(h=f&&h[f]||h["@@iterator"])?h:null))for(t=m.call(t),m=0;!(o=t.next()).done;)c+=P(o=o.value,e,i,s=p+q(o,m++),a);else if("object"===s){if("function"==typeof t.then)return P(function(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(T,T):(t.status="pending",t.then((function(e){"pending"===t.status&&(t.status="fulfilled",t.value=e)}),(function(e){"pending"===t.status&&(t.status="rejected",t.reason=e)}))),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}(t),e,i,o,a);throw e=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return c}function D(t,e,n){if(null==t)return t;var r=[],i=0;return P(t,r,"","",(function(t){return e.call(n,t,i++)})),r}function _(t){if(-1===t._status){var e=t._result;(e=e()).then((function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)}),(function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)})),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var O="function"==typeof reportError?reportError:function(t){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof t&&null!==t&&"string"==typeof t.message?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",t)};function M(){}e.Children={map:D,forEach:function(t,e,n){D(t,(function(){e.apply(this,arguments)}),n)},count:function(t){var e=0;return D(t,(function(){e++})),e},toArray:function(t){return D(t,(function(t){return t}))||[]},only:function(t){if(!E(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},e.Component=v,e.Fragment=i,e.Profiler=a,e.PureComponent=b,e.StrictMode=o,e.Suspense=c,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=A,e.__COMPILER_RUNTIME={__proto__:null,c:function(t){return A.H.useMemoCache(t)}},e.cache=function(t){return function(){return t.apply(null,arguments)}},e.cloneElement=function(t,e,n){if(null==t)throw Error("The argument must be a React element, but you passed "+t+".");var r=m({},t.props),i=t.key;if(null!=e)for(o in void 0!==e.ref&&void 0,void 0!==e.key&&(i=""+e.key),e)!k.call(e,o)||"key"===o||"__self"===o||"__source"===o||"ref"===o&&void 0===e.ref||(r[o]=e[o]);var o=arguments.length-2;if(1===o)r.children=n;else if(1<o){for(var a=Array(o),s=0;s<o;s++)a[s]=arguments[s+2];r.children=a}return S(t.type,i,void 0,0,0,r)},e.createContext=function(t){return(t={$$typeof:l,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider=t,t.Consumer={$$typeof:s,_context:t},t},e.createElement=function(t,e,n){var r,i={},o=null;if(null!=e)for(r in void 0!==e.key&&(o=""+e.key),e)k.call(e,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(i[r]=e[r]);var a=arguments.length-2;if(1===a)i.children=n;else if(1<a){for(var s=Array(a),l=0;l<a;l++)s[l]=arguments[l+2];i.children=s}if(t&&t.defaultProps)for(r in a=t.defaultProps)void 0===i[r]&&(i[r]=a[r]);return S(t,o,void 0,0,0,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:u,render:t}},e.isValidElement=E,e.lazy=function(t){return{$$typeof:d,_payload:{_status:-1,_result:t},_init:_}},e.memo=function(t,e){return{$$typeof:h,type:t,compare:void 0===e?null:e}},e.startTransition=function(t){var e=A.T,n={};A.T=n;try{var r=t(),i=A.S;null!==i&&i(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(M,O)}catch(t){O(t)}finally{A.T=e}},e.unstable_useCacheRefresh=function(){return A.H.useCacheRefresh()},e.use=function(t){return A.H.use(t)},e.useActionState=function(t,e,n){return A.H.useActionState(t,e,n)},e.useCallback=function(t,e){return A.H.useCallback(t,e)},e.useContext=function(t){return A.H.useContext(t)},e.useDebugValue=function(){},e.useDeferredValue=function(t,e){return A.H.useDeferredValue(t,e)},e.useEffect=function(t,e,n){var r=A.H;if("function"==typeof n)throw Error("useEffect CRUD overload is not enabled in this build of React.");return r.useEffect(t,e)},e.useId=function(){return A.H.useId()},e.useImperativeHandle=function(t,e,n){return A.H.useImperativeHandle(t,e,n)},e.useInsertionEffect=function(t,e){return A.H.useInsertionEffect(t,e)},e.useLayoutEffect=function(t,e){return A.H.useLayoutEffect(t,e)},e.useMemo=function(t,e){return A.H.useMemo(t,e)},e.useOptimistic=function(t,e){return A.H.useOptimistic(t,e)},e.useReducer=function(t,e,n){return A.H.useReducer(t,e,n)},e.useRef=function(t){return A.H.useRef(t)},e.useState=function(t){return A.H.useState(t)},e.useSyncExternalStore=function(t,e,n){return A.H.useSyncExternalStore(t,e,n)},e.useTransition=function(){return A.H.useTransition()},e.version="19.1.0"},7467:function(t,e,n){"use strict";t.exports=n(7112)},6091:function(t,e,n){"use strict";t.exports=n(4007)},9968:function(t,e){"use strict";function n(t,e){var n=t.length;t.push(e);t:for(;0<n;){var r=n-1>>>1,i=t[r];if(!(0<o(i,e)))break t;t[r]=e,t[n]=i,n=r}}function r(t){return 0===t.length?null:t[0]}function i(t){if(0===t.length)return null;var e=t[0],n=t.pop();if(n!==e){t[0]=n;t:for(var r=0,i=t.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=t[s],u=s+1,c=t[u];if(0>o(l,n))u<i&&0>o(c,l)?(t[r]=c,t[u]=n,r=u):(t[r]=l,t[s]=n,r=s);else{if(!(u<i&&0>o(c,n)))break t;t[r]=c,t[u]=n,r=u}}}return e}function o(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}if(e.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var u=[],c=[],h=1,d=null,f=3,p=!1,m=!1,g=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function x(t){for(var e=r(c);null!==e;){if(null===e.callback)i(c);else{if(!(e.startTime<=t))break;i(c),e.sortIndex=e.expirationTime,n(u,e)}e=r(c)}}function A(t){if(g=!1,x(t),!m)if(null!==r(u))m=!0,S||(S=!0,k());else{var e=r(c);null!==e&&O(A,e.startTime-t)}}var k,S=!1,E=-1,C=5,q=-1;function T(){return!!v||!(e.unstable_now()-q<C)}function P(){if(v=!1,S){var t=e.unstable_now();q=t;var n=!0;try{t:{m=!1,g&&(g=!1,b(E),E=-1),p=!0;var o=f;try{e:{for(x(t),d=r(u);null!==d&&!(d.expirationTime>t&&T());){var a=d.callback;if("function"==typeof a){d.callback=null,f=d.priorityLevel;var s=a(d.expirationTime<=t);if(t=e.unstable_now(),"function"==typeof s){d.callback=s,x(t),n=!0;break e}d===r(u)&&i(u),x(t)}else i(u);d=r(u)}if(null!==d)n=!0;else{var l=r(c);null!==l&&O(A,l.startTime-t),n=!1}}break t}finally{d=null,f=o,p=!1}n=void 0}}finally{n?k():S=!1}}}if("function"==typeof w)k=function(){w(P)};else if("undefined"!=typeof MessageChannel){var D=new MessageChannel,_=D.port2;D.port1.onmessage=P,k=function(){_.postMessage(null)}}else k=function(){y(P,0)};function O(t,n){E=y((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_forceFrameRate=function(t){0>t||125<t||(C=0<t?Math.floor(1e3/t):5)},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(t){switch(f){case 1:case 2:case 3:var e=3;break;default:e=f}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_requestPaint=function(){v=!0},e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_scheduleCallback=function(t,i,o){var a=e.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?a+o:a:o=a,t){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return t={id:h++,callback:i,priorityLevel:t,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(t.sortIndex=o,n(c,t),null===r(u)&&t===r(c)&&(g?(b(E),E=-1):g=!0,O(A,o-a))):(t.sortIndex=s,n(u,t),m||p||(m=!0,S||(S=!0,k()))),t},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(t){var e=f;return function(){var n=f;f=e;try{return t.apply(this,arguments)}finally{f=n}}}},2381:function(t,e,n){"use strict";t.exports=n(9968)},5275:function(t,e,n){"use strict";n(5579),e.parse=n(6084)},6084:function(t){"use strict";for(var e="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",n=new RegExp("^"+e+"$"),r="|&;()<> \\t",i=/^#$/,o="",a=0;a<4;a++)o+=(4294967296*Math.random()).toString(16);var s=new RegExp("^"+o);function l(t,a,s){s||(s={});var l=s.escape||"\\",u=new RegExp(["("+e+")","("+("(\\"+l+"['\""+r+"]|[^\\s'\""+r+"])+")+"|\"((\\\\\"|[^\"])*?)\"|'((\\\\'|[^'])*?)')+"].join("|"),"g"),c=function(t,e){for(var n,r=e.lastIndex,i=[];n=e.exec(t);)i.push(n),e.lastIndex===n.index&&(e.lastIndex+=1);return e.lastIndex=r,i}(t,u);if(0===c.length)return[];a||(a={});var h=!1;return c.map((function(e){var r=e[0];if(r&&!h){if(n.test(r))return{op:r};var s,u=!1,c=!1,d="",f=!1;for(s=0;s<r.length;s++){var p=r.charAt(s);if(f=f||!u&&("*"===p||"?"===p),c)d+=p,c=!1;else if(u)p===u?u=!1:"'"==u?d+=p:p===l?(s+=1,d+='"'===(p=r.charAt(s))||p===l||"$"===p?p:l+p):d+="$"===p?g():p;else if('"'===p||"'"===p)u=p;else{if(n.test(p))return{op:r};if(i.test(p)){h=!0;var m={comment:t.slice(e.index+s+1)};return d.length?[d,m]:[m]}p===l?c=!0:d+="$"===p?g():p}}return f?{op:"glob",pattern:d}:d}function g(){var t,e;s+=1;var n=r.charAt(s);if("{"===n){if(s+=1,"}"===r.charAt(s))throw new Error("Bad substitution: "+r.slice(s-2,s+1));if((t=r.indexOf("}",s))<0)throw new Error("Bad substitution: "+r.slice(s));e=r.slice(s,t),s=t}else if(/[*@#?$!_-]/.test(n))e=n,s+=1;else{var i=r.slice(s);(t=i.match(/[^\w\d_]/))?(e=i.slice(0,t.index),s+=t.index-1):(e=i,s=r.length)}return function(t,e,n){var r="function"==typeof t?t(n):t[n];return void 0===r&&""!=n?r="":void 0===r&&(r="$"),"object"==typeof r?e+o+JSON.stringify(r)+o:e+r}(a,"",e)}})).reduce((function(t,e){return void 0===e?t:t.concat(e)}),[])}t.exports=function(t,e,n){var r=l(t,e,n);return"function"!=typeof e?r:r.reduce((function(t,e){if("object"==typeof e)return t.concat(e);var n=e.split(RegExp("("+o+".*?"+o+")","g"));return 1===n.length?t.concat(n[0]):t.concat(n.filter(Boolean).map((function(t){return s.test(t)?JSON.parse(t.split(o)[1]):t})))}),[])}},5579:function(t){"use strict";t.exports=function(t){return t.map((function(t){return""===t?"''":t&&"object"==typeof t?t.op.replace(/(.)/g,"\\$1"):/["\s]/.test(t)&&!/'/.test(t)?"'"+t.replace(/(['\\])/g,"\\$1")+"'":/["'\s]/.test(t)?'"'+t.replace(/(["\\$`!])/g,"\\$1")+'"':String(t).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g,"$1\\$2")})).join(" ")}},2060:function(t,e){(function(){var t;t=function(t,e,n){var r,i;for(i="";t.length>0;)(r=t.match(e))?(i+=t.slice(0,r.index),i+=n(r),t=t.slice(r.index+r[0].length)):(i+=t,t="");return i},e.split=function(e){var n,r;return null==e&&(e=""),r=[],n="",t(e,/\s*(?:([^\s\\\'\"]+)|'((?:[^\'\\]|\\.)*)'|"((?:[^\"\\]|\\.)*)"|(\\.?)|(\S))(\s|$)?/,(function(t){var e,i,o,a,s,l;if(t[0],l=t[1],s=t[2],e=t[3],i=t[4],o=t[5],a=t[6],null!=o)throw new Error("Unmatched quote");if(n+=l||(s||e||i).replace(/\\(?=.)/,""),null!=a)return r.push(n),n=""})),n&&r.push(n),r},e.escape=function(t){return null==t&&(t=""),null==t?"''":t.replace(/([^A-Za-z0-9_\-.,:\/@\n])/g,"\\$1").replace(/\n/g,"'\n'")}}).call(this)},6977:function(t,e,n){var r;!function(){"use strict";var i={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function o(t){return function(t,e){var n,r,a,s,l,u,c,h,d,f=1,p=t.length,m="";for(r=0;r<p;r++)if("string"==typeof t[r])m+=t[r];else if("object"==typeof t[r]){if((s=t[r]).keys)for(n=e[f],a=0;a<s.keys.length;a++){if(null==n)throw new Error(o('[sprintf] Cannot access property "%s" of undefined value "%s"',s.keys[a],s.keys[a-1]));n=n[s.keys[a]]}else n=s.param_no?e[s.param_no]:e[f++];if(i.not_type.test(s.type)&&i.not_primitive.test(s.type)&&n instanceof Function&&(n=n()),i.numeric_arg.test(s.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(o("[sprintf] expecting number but found %T",n));switch(i.number.test(s.type)&&(h=n>=0),s.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,s.width?parseInt(s.width):0);break;case"e":n=s.precision?parseFloat(n).toExponential(s.precision):parseFloat(n).toExponential();break;case"f":n=s.precision?parseFloat(n).toFixed(s.precision):parseFloat(n);break;case"g":n=s.precision?String(Number(n.toPrecision(s.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=s.precision?n.substring(0,s.precision):n;break;case"t":n=String(!!n),n=s.precision?n.substring(0,s.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=s.precision?n.substring(0,s.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=s.precision?n.substring(0,s.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}i.json.test(s.type)?m+=n:(!i.number.test(s.type)||h&&!s.sign?d="":(d=h?"+":"-",n=n.toString().replace(i.sign,"")),u=s.pad_char?"0"===s.pad_char?"0":s.pad_char.charAt(1):" ",c=s.width-(d+n).length,l=s.width&&c>0?u.repeat(c):"",m+=s.align?d+n+l:"0"===u?d+l+n:l+d+n)}return m}(function(t){if(s[t])return s[t];var e,n=t,r=[],o=0;for(;n;){if(null!==(e=i.text.exec(n)))r.push(e[0]);else if(null!==(e=i.modulo.exec(n)))r.push("%");else{if(null===(e=i.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(e[2]){o|=1;var a=[],l=e[2],u=[];if(null===(u=i.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(u[1]);""!==(l=l.substring(u[0].length));)if(null!==(u=i.key_access.exec(l)))a.push(u[1]);else{if(null===(u=i.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(u[1])}e[2]=a}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:e[0],param_no:e[1],keys:e[2],sign:e[3],pad_char:e[4],align:e[5],width:e[6],precision:e[7],type:e[8]})}n=n.substring(e[0].length)}return s[t]=r}(t),arguments)}function a(t,e){return o.apply(null,[t].concat(e||[]))}var s=Object.create(null);e.sprintf=o,e.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=a,void 0===(r=function(){return{sprintf:o,vsprintf:a}}.call(e,n,e,t))||(t.exports=r))}()},279:function(t,e,n){var r=n(9579),i=n(6650);t.exports=function(t,e){return t=r(t).replace(/[-_\s]+(.)?/g,(function(t,e){return e?e.toUpperCase():""})),!0===e?i(t):t}},2773:function(t,e,n){var r=n(6445);t.exports=function(t,e){t=r(t);var n=e?t.slice(1).toLowerCase():t.slice(1);return t.charAt(0).toUpperCase()+n}},3454:function(t,e,n){var r=n(6445);t.exports=function(t){return r(t).split("")}},7523:function(t){t.exports=function(t,e){return null==t?[]:(t=String(t),(e=~~e)>0?t.match(new RegExp(".{1,"+e+"}","g")):[t])}},9117:function(t,e,n){var r=n(2773),i=n(279),o=n(6445);t.exports=function(t){return t=o(t),r(i(t.replace(/[\W_]/g," ")).replace(/\s/g,""))}},7322:function(t,e,n){var r=n(9579);t.exports=function(t){return r(t).replace(/\s\s+/g," ")}},9273:function(t,e,n){var r=n(6445),i="ąàáäâãåæăćčĉęèéëêĝĥìíïîĵłľńňòóöőôõðøśșşšŝťțţŭùúüűûñÿýçżźž",o="aaaaaaaaaccceeeeeghiiiijllnnoooooooossssstttuuuuuunyyczzz";i+=i.toUpperCase(),o=(o+=o.toUpperCase()).split(""),i+="ß",o.push("ss"),t.exports=function(t){return r(t).replace(/.{1}/g,(function(t){var e=i.indexOf(t);return-1===e?t:o[e]}))}},8908:function(t,e,n){var r=n(6445);t.exports=function(t,e){return t=r(t),e=r(e),0===t.length||0===e.length?0:t.split(e).length-1}},3168:function(t,e,n){var r=n(9579);t.exports=function(t){return r(t).replace(/([A-Z])/g,"-$1").replace(/[-_\s]+/g,"-").toLowerCase()}},6650:function(t,e,n){var r=n(6445);t.exports=function(t){return(t=r(t)).charAt(0).toLowerCase()+t.slice(1)}},6813:function(t,e,n){var r=n(6445);t.exports=function(t,e){var n,i=function(t){for(var e=t.match(/^[\s\\t]*/gm),n=e[0].length,r=1;r<e.length;r++)n=Math.min(e[r].length,n);return n}(t=r(t));return 0===i?t:(n="string"==typeof e?new RegExp("^"+e,"gm"):new RegExp("^[ \\t]{"+i+"}","gm"),t.replace(n,""))}},8809:function(t,e,n){var r=n(6445),i=n(3916);t.exports=function(t,e,n){return t=r(t),e=""+e,(n=void 0===n?t.length-e.length:Math.min(i(n),t.length)-e.length)>=0&&t.indexOf(e,n)===n}},6361:function(t,e,n){var r=n(6445),i=n(896),o="[";for(var a in i)o+=a;o+="]";var s=new RegExp(o,"g");t.exports=function(t){return r(t).replace(s,(function(t){return"&"+i[t]+";"}))}},1060:function(t){t.exports=function(){var t={};for(var e in this)this.hasOwnProperty(e)&&!e.match(/^(?:include|contains|reverse|join|map|wrap)$/)&&(t[e]=this[e]);return t}},404:function(t,e,n){var r=n(6445);t.exports=function(t,e){return 0===(t=r(t)).length?"":t.slice(0,-1)+String.fromCharCode(t.charCodeAt(t.length-1)+e)}},8709:function(t,e,n){var r=n(3496);t.exports=function(t){return null==t?"\\s":t.source?t.source:"["+r(t)+"]"}},896:function(t){t.exports={"¢":"cent","£":"pound","¥":"yen","€":"euro","©":"copy","®":"reg","<":"lt",">":"gt",'"':"quot","&":"amp","'":"#39"}},3496:function(t,e,n){var r=n(6445);t.exports=function(t){return r(t).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}},7976:function(t){t.exports={nbsp:" ",cent:"¢",pound:"£",yen:"¥",euro:"€",copy:"©",reg:"®",lt:"<",gt:">",quot:'"',amp:"&",apos:"'"}},6445:function(t){t.exports=function(t){return null==t?"":""+t}},3484:function(t){t.exports=function(t,e){if(e<1)return"";for(var n="";e>0;)1&e&&(n+=t),e>>=1,t+=t;return n}},3916:function(t){t.exports=function(t){return t<0?0:+t||0}},7282:function(t,e,n){var r=n(2773),i=n(4871),o=n(9579);t.exports=function(t){return r(o(i(t).replace(/_id$/,"").replace(/_/g," ")))}},2419:function(t,e,n){var r=n(6445);t.exports=function(t,e){return""===e||-1!==r(t).indexOf(e)}},8347:function(t,e,n){"use strict";function r(t){if(!(this instanceof r))return new r(t);this._wrapped=t}function i(t,e){"function"==typeof e&&(r.prototype[t]=function(){var t=[this._wrapped].concat(Array.prototype.slice.call(arguments)),n=e.apply(null,t);return"string"==typeof n?new r(n):n})}for(var o in r.VERSION="3.3.6",r.isBlank=n(8089),r.stripTags=n(2404),r.capitalize=n(2773),r.decapitalize=n(6650),r.chop=n(7523),r.trim=n(9579),r.clean=n(7322),r.cleanDiacritics=n(9273),r.count=n(8908),r.chars=n(3454),r.swapCase=n(7908),r.escapeHTML=n(6361),r.unescapeHTML=n(1338),r.splice=n(9463),r.insert=n(4038),r.replaceAll=n(2608),r.include=n(2419),r.join=n(8567),r.lines=n(2008),r.dedent=n(6813),r.reverse=n(881),r.startsWith=n(6338),r.endsWith=n(8809),r.pred=n(6316),r.succ=n(4853),r.titleize=n(3695),r.camelize=n(279),r.underscored=n(4871),r.dasherize=n(3168),r.classify=n(9117),r.humanize=n(7282),r.ltrim=n(343),r.rtrim=n(3329),r.truncate=n(941),r.prune=n(8183),r.words=n(314),r.pad=n(574),r.lpad=n(1674),r.rpad=n(6244),r.lrpad=n(9176),r.sprintf=n(8921),r.vsprintf=n(4731),r.toNumber=n(3747),r.numberFormat=n(7921),r.strRight=n(3232),r.strRightBack=n(1819),r.strLeft=n(4761),r.strLeftBack=n(6014),r.toSentence=n(3679),r.toSentenceSerial=n(8731),r.slugify=n(352),r.surround=n(4821),r.quote=n(1723),r.unquote=n(774),r.repeat=n(8540),r.naturalCmp=n(8400),r.levenshtein=n(6364),r.toBoolean=n(8560),r.exports=n(1060),r.escapeRegExp=n(3496),r.wrap=n(8219),r.map=n(4217),r.strip=r.trim,r.lstrip=r.ltrim,r.rstrip=r.rtrim,r.center=r.lrpad,r.rjust=r.lpad,r.ljust=r.rpad,r.contains=r.include,r.q=r.quote,r.toBool=r.toBoolean,r.camelcase=r.camelize,r.mapChars=r.map,r.prototype={value:function(){return this._wrapped}},r)i(o,r[o]);function a(t){i(t,(function(e){var n=Array.prototype.slice.call(arguments,1);return String.prototype[t].apply(e,n)}))}i("tap",(function(t,e){return e(t)}));var s=["toUpperCase","toLowerCase","split","replace","slice","substring","substr","concat"];for(var l in s)a(s[l]);t.exports=r},4038:function(t,e,n){var r=n(9463);t.exports=function(t,e,n){return r(t,e,0,n)}},8089:function(t,e,n){var r=n(6445);t.exports=function(t){return/^\s*$/.test(r(t))}},8567:function(t,e,n){var r=n(6445),i=[].slice;t.exports=function(){var t=i.call(arguments),e=t.shift();return t.join(r(e))}},6364:function(t,e,n){var r=n(6445);t.exports=function(t,e){"use strict";if((t=r(t))===(e=r(e)))return 0;if(!t||!e)return Math.max(t.length,e.length);for(var n=new Array(e.length+1),i=0;i<n.length;++i)n[i]=i;for(i=0;i<t.length;++i){for(var o=i+1,a=0;a<e.length;++a){var s=o,l=s+1;(o=n[a]+(t.charAt(i)===e.charAt(a)?0:1))>l&&(o=l),o>(l=n[a+1]+1)&&(o=l),n[a]=s}n[a]=o}return o}},2008:function(t){t.exports=function(t){return null==t?[]:String(t).split(/\r\n?|\n/)}},1674:function(t,e,n){var r=n(574);t.exports=function(t,e,n){return r(t,e,n)}},9176:function(t,e,n){var r=n(574);t.exports=function(t,e,n){return r(t,e,n,"both")}},343:function(t,e,n){var r=n(6445),i=n(8709),o=String.prototype.trimLeft;t.exports=function(t,e){return t=r(t),!e&&o?o.call(t):(e=i(e),t.replace(new RegExp("^"+e+"+"),""))}},4217:function(t,e,n){var r=n(6445);t.exports=function(t,e){return 0===(t=r(t)).length||"function"!=typeof e?t:t.replace(/./g,e)}},8400:function(t){t.exports=function(t,e){if(t==e)return 0;if(!t)return-1;if(!e)return 1;for(var n=/(\.\d+|\d+|\D+)/g,r=String(t).match(n),i=String(e).match(n),o=Math.min(r.length,i.length),a=0;a<o;a++){var s=r[a],l=i[a];if(s!==l){var u=+s,c=+l;return u==u&&c==c?u>c?1:-1:s<l?-1:1}}return r.length!=i.length?r.length-i.length:t<e?-1:1}},7921:function(t){t.exports=function(t,e,n,r){if(isNaN(t)||null==t)return"";r="string"==typeof r?r:",";var i=(t=t.toFixed(~~e)).split("."),o=i[0],a=i[1]?(n||".")+i[1]:"";return o.replace(/(\d)(?=(?:\d{3})+$)/g,"$1"+r)+a}},574:function(t,e,n){var r=n(6445),i=n(3484);t.exports=function(t,e,n,o){t=r(t),e=~~e;var a=0;switch(n?n.length>1&&(n=n.charAt(0)):n=" ",o){case"right":return a=e-t.length,t+i(n,a);case"both":return a=e-t.length,i(n,Math.ceil(a/2))+t+i(n,Math.floor(a/2));default:return a=e-t.length,i(n,a)+t}}},6316:function(t,e,n){var r=n(404);t.exports=function(t){return r(t,-1)}},8183:function(t,e,n){var r=n(6445),i=n(3329);t.exports=function(t,e,n){if(t=r(t),e=~~e,n=null!=n?String(n):"...",t.length<=e)return t;var o=t.slice(0,e+1).replace(/.(?=\W*\w*$)/g,(function(t){return t.toUpperCase()!==t.toLowerCase()?"A":" "}));return((o=o.slice(o.length-2).match(/\w\w/)?o.replace(/\s*\S+$/,""):i(o.slice(0,o.length-1)))+n).length>t.length?t:t.slice(0,o.length)+n}},1723:function(t,e,n){var r=n(4821);t.exports=function(t,e){return r(t,e||'"')}},8540:function(t,e,n){var r=n(6445),i=n(3484);t.exports=function(t,e,n){if(t=r(t),e=~~e,null==n)return i(t,e);for(var o=[];e>0;o[--e]=t);return o.join(n)}},2608:function(t,e,n){var r=n(6445);t.exports=function(t,e,n,i){var o=new RegExp(e,!0===i?"gi":"g");return r(t).replace(o,n)}},881:function(t,e,n){var r=n(3454);t.exports=function(t){return r(t).reverse().join("")}},6244:function(t,e,n){var r=n(574);t.exports=function(t,e,n){return r(t,e,n,"right")}},3329:function(t,e,n){var r=n(6445),i=n(8709),o=String.prototype.trimRight;t.exports=function(t,e){return t=r(t),!e&&o?o.call(t):(e=i(e),t.replace(new RegExp(e+"+$"),""))}},352:function(t,e,n){var r=n(9579),i=n(3168),o=n(9273);t.exports=function(t){return r(i(o(t).replace(/[^\w\s-]/g,"-").toLowerCase()),"-")}},9463:function(t,e,n){var r=n(3454);t.exports=function(t,e,n,i){var o=r(t);return o.splice(~~e,~~n,i),o.join("")}},8921:function(t,e,n){var r=n(7694);t.exports=r(n(6977).sprintf,"sprintf() will be removed in the next major release, use the sprintf-js package instead.")},6338:function(t,e,n){var r=n(6445),i=n(3916);t.exports=function(t,e,n){return t=r(t),e=""+e,n=null==n?0:Math.min(i(n),t.length),t.lastIndexOf(e,n)===n}},4761:function(t,e,n){var r=n(6445);t.exports=function(t,e){t=r(t);var n=(e=r(e))?t.indexOf(e):-1;return~n?t.slice(0,n):t}},6014:function(t,e,n){var r=n(6445);t.exports=function(t,e){t=r(t),e=r(e);var n=t.lastIndexOf(e);return~n?t.slice(0,n):t}},3232:function(t,e,n){var r=n(6445);t.exports=function(t,e){t=r(t);var n=(e=r(e))?t.indexOf(e):-1;return~n?t.slice(n+e.length,t.length):t}},1819:function(t,e,n){var r=n(6445);t.exports=function(t,e){t=r(t);var n=(e=r(e))?t.lastIndexOf(e):-1;return~n?t.slice(n+e.length,t.length):t}},2404:function(t,e,n){var r=n(6445);t.exports=function(t){return r(t).replace(/<\/?[^>]+>/g,"")}},4853:function(t,e,n){var r=n(404);t.exports=function(t){return r(t,1)}},4821:function(t){t.exports=function(t,e){return[e,t,e].join("")}},7908:function(t,e,n){var r=n(6445);t.exports=function(t){return r(t).replace(/\S/g,(function(t){return t===t.toUpperCase()?t.toLowerCase():t.toUpperCase()}))}},3695:function(t,e,n){var r=n(6445);t.exports=function(t){return r(t).toLowerCase().replace(/(?:^|\s|-)\S/g,(function(t){return t.toUpperCase()}))}},8560:function(t,e,n){var r=n(9579);function i(t,e){var n,r,i=t.toLowerCase();for(e=[].concat(e),n=0;n<e.length;n+=1)if(r=e[n]){if(r.test&&r.test(t))return!0;if(r.toLowerCase()===i)return!0}}t.exports=function(t,e,n){return"number"==typeof t&&(t=""+t),"string"!=typeof t?!!t:!!i(t=r(t),e||["true","1"])||!i(t,n||["false","0"])&&void 0}},3747:function(t){t.exports=function(t,e){if(null==t)return 0;var n=Math.pow(10,isFinite(e)?e:0);return Math.round(t*n)/n}},3679:function(t,e,n){var r=n(3329);t.exports=function(t,e,n,i){e=e||", ",n=n||" and ";var o=t.slice(),a=o.pop();return t.length>2&&i&&(n=r(e)+n),o.length?o.join(e)+n+a:a}},8731:function(t,e,n){var r=n(3679);t.exports=function(t,e,n){return r(t,e,n,!0)}},9579:function(t,e,n){var r=n(6445),i=n(8709),o=String.prototype.trim;t.exports=function(t,e){return t=r(t),!e&&o?o.call(t):(e=i(e),t.replace(new RegExp("^"+e+"+|"+e+"+$","g"),""))}},941:function(t,e,n){var r=n(6445);t.exports=function(t,e,n){return n=n||"...",e=~~e,(t=r(t)).length>e?t.slice(0,e)+n:t}},4871:function(t,e,n){var r=n(9579);t.exports=function(t){return r(t).replace(/([a-z\d])([A-Z]+)/g,"$1_$2").replace(/[-\s]+/g,"_").toLowerCase()}},1338:function(t,e,n){var r=n(6445),i=n(7976);t.exports=function(t){return r(t).replace(/\&([^;]{1,10});/g,(function(t,e){var n;return e in i?i[e]:(n=e.match(/^#x([\da-fA-F]+)$/))?String.fromCharCode(parseInt(n[1],16)):(n=e.match(/^#(\d+)$/))?String.fromCharCode(~~n[1]):t}))}},774:function(t){t.exports=function(t,e){return e=e||'"',t[0]===e&&t[t.length-1]===e?t.slice(1,t.length-1):t}},4731:function(t,e,n){var r=n(7694);t.exports=r(n(6977).vsprintf,"vsprintf() will be removed in the next major release, use the sprintf-js package instead.")},314:function(t,e,n){var r=n(8089),i=n(9579);t.exports=function(t,e){return r(t)?[]:i(t,e).split(e||/\s+/)}},8219:function(t,e,n){var r=n(6445);t.exports=function(t,e){t=r(t);var n,i=(e=e||{}).width||75,o=e.seperator||"\n",a=e.cut||!1,s=e.preserveSpaces||!1,l=e.trailingSpaces||!1;if(i<=0)return t;if(a){var u=0;for(n="";u<t.length;)u%i==0&&u>0&&(n+=o),n+=t.charAt(u),u++;if(l)for(;u%i>0;)n+=" ",u++;return n}var c=t.split(" "),h=0;for(n="";c.length>0;){if(1+c[0].length+h>i&&h>0){if(s)n+=" ",h++;else if(l)for(;h<i;)n+=" ",h++;n+=o,h=0}h>0&&(n+=" ",h++),n+=c[0],h+=c[0].length,c.shift()}if(l)for(;h<i;)n+=" ",h++;return n}},7694:function(t,e,n){function r(t){try{if(!n.g.localStorage)return!1}catch(t){return!1}var e=n.g.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}t.exports=function(t,e){if(r("noDeprecation"))return t;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation"),n=!0}return t.apply(this,arguments)}}},5072:function(t){"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var o={},a=[],s=0;s<t.length;s++){var l=t[s],u=r.base?l[0]+r.base:l[0],c=o[u]||0,h="".concat(u," ").concat(c);o[u]=c+1;var d=n(h),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var p=i(f,r);r.byIndex=s,e.splice(s,0,{identifier:h,updater:p,references:1})}a.push(h)}return a}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var o=r(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<o.length;a++){var s=n(o[a]);e[s].references--}for(var l=r(t,i),u=0;u<o.length;u++){var c=n(o[u]);0===e[c].references&&(e[c].updater(),e.splice(c,1))}o=l}}},7659:function(t){"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},540:function(t){"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},5056:function(t,e,n){"use strict";t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},7825:function(t){"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(r,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},1113:function(t){"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},9442:function(t,e,n){var r=n(3742);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()},23:function(t,e,n){"use strict";n.r(e),n.d(e,{VERSION:function(){return i},after:function(){return Ne},all:function(){return tn},allKeys:function(){return gt},any:function(){return en},assign:function(){return Nt},before:function(){return Ie},bind:function(){return Ae},bindAll:function(){return Ee},chain:function(){return ye},chunk:function(){return Fn},clone:function(){return Ft},collect:function(){return Xe},compact:function(){return qn},compose:function(){return Me},constant:function(){return Z},contains:function(){return nn},countBy:function(){return vn},create:function(){return Lt},debounce:function(){return De},default:function(){return Hn},defaults:function(){return It},defer:function(){return Te},delay:function(){return qe},detect:function(){return Ge},difference:function(){return Pn},drop:function(){return En},each:function(){return We},escape:function(){return ae},every:function(){return tn},extend:function(){return Mt},extendOwn:function(){return Nt},filter:function(){return Ze},find:function(){return Ge},findIndex:function(){return Be},findKey:function(){return Le},findLastIndex:function(){return je},findWhere:function(){return Ke},first:function(){return Sn},flatten:function(){return Tn},foldl:function(){return Qe},foldr:function(){return Je},forEach:function(){return We},functions:function(){return _t},get:function(){return Ht},groupBy:function(){return mn},has:function(){return Ut},head:function(){return Sn},identity:function(){return Gt},include:function(){return nn},includes:function(){return nn},indexBy:function(){return gn},indexOf:function(){return He},initial:function(){return kn},inject:function(){return Qe},intersection:function(){return Mn},invert:function(){return Dt},invoke:function(){return rn},isArguments:function(){return Y},isArray:function(){return K},isArrayBuffer:function(){return L},isBoolean:function(){return T},isDataView:function(){return G},isDate:function(){return M},isElement:function(){return P},isEmpty:function(){return lt},isEqual:function(){return mt},isError:function(){return I},isFinite:function(){return Q},isFunction:function(){return j},isMap:function(){return St},isMatch:function(){return ut},isNaN:function(){return J},isNull:function(){return C},isNumber:function(){return O},isObject:function(){return E},isRegExp:function(){return N},isSet:function(){return Ct},isString:function(){return _},isSymbol:function(){return R},isTypedArray:function(){return it},isUndefined:function(){return q},isWeakMap:function(){return Et},isWeakSet:function(){return qt},iteratee:function(){return Qt},keys:function(){return st},last:function(){return Cn},lastIndexOf:function(){return Ue},map:function(){return Xe},mapObject:function(){return Zt},matcher:function(){return Kt},matches:function(){return Kt},max:function(){return sn},memoize:function(){return Ce},methods:function(){return _t},min:function(){return ln},mixin:function(){return jn},negate:function(){return Oe},noop:function(){return $t},now:function(){return re},object:function(){return Rn},omit:function(){return An},once:function(){return Re},pairs:function(){return Pt},partial:function(){return xe},partition:function(){return yn},pick:function(){return xn},pluck:function(){return on},property:function(){return Wt},propertyOf:function(){return te},random:function(){return ne},range:function(){return Ln},reduce:function(){return Qe},reduceRight:function(){return Je},reject:function(){return $e},rest:function(){return En},restArguments:function(){return S},result:function(){return me},sample:function(){return hn},select:function(){return Ze},shuffle:function(){return dn},size:function(){return bn},some:function(){return en},sortBy:function(){return fn},sortedIndex:function(){return ze},tail:function(){return En},take:function(){return Sn},tap:function(){return Bt},template:function(){return pe},templateSettings:function(){return le},throttle:function(){return Pe},times:function(){return ee},toArray:function(){return cn},toPath:function(){return jt},transpose:function(){return Nn},unescape:function(){return se},union:function(){return On},uniq:function(){return _n},unique:function(){return _n},uniqueId:function(){return ve},unzip:function(){return Nn},values:function(){return Tt},where:function(){return an},without:function(){return Dn},wrap:function(){return _e},zip:function(){return In}});var r={};n.r(r),n.d(r,{VERSION:function(){return i},after:function(){return Ne},all:function(){return tn},allKeys:function(){return gt},any:function(){return en},assign:function(){return Nt},before:function(){return Ie},bind:function(){return Ae},bindAll:function(){return Ee},chain:function(){return ye},chunk:function(){return Fn},clone:function(){return Ft},collect:function(){return Xe},compact:function(){return qn},compose:function(){return Me},constant:function(){return Z},contains:function(){return nn},countBy:function(){return vn},create:function(){return Lt},debounce:function(){return De},default:function(){return zn},defaults:function(){return It},defer:function(){return Te},delay:function(){return qe},detect:function(){return Ge},difference:function(){return Pn},drop:function(){return En},each:function(){return We},escape:function(){return ae},every:function(){return tn},extend:function(){return Mt},extendOwn:function(){return Nt},filter:function(){return Ze},find:function(){return Ge},findIndex:function(){return Be},findKey:function(){return Le},findLastIndex:function(){return je},findWhere:function(){return Ke},first:function(){return Sn},flatten:function(){return Tn},foldl:function(){return Qe},foldr:function(){return Je},forEach:function(){return We},functions:function(){return _t},get:function(){return Ht},groupBy:function(){return mn},has:function(){return Ut},head:function(){return Sn},identity:function(){return Gt},include:function(){return nn},includes:function(){return nn},indexBy:function(){return gn},indexOf:function(){return He},initial:function(){return kn},inject:function(){return Qe},intersection:function(){return Mn},invert:function(){return Dt},invoke:function(){return rn},isArguments:function(){return Y},isArray:function(){return K},isArrayBuffer:function(){return L},isBoolean:function(){return T},isDataView:function(){return G},isDate:function(){return M},isElement:function(){return P},isEmpty:function(){return lt},isEqual:function(){return mt},isError:function(){return I},isFinite:function(){return Q},isFunction:function(){return j},isMap:function(){return St},isMatch:function(){return ut},isNaN:function(){return J},isNull:function(){return C},isNumber:function(){return O},isObject:function(){return E},isRegExp:function(){return N},isSet:function(){return Ct},isString:function(){return _},isSymbol:function(){return R},isTypedArray:function(){return it},isUndefined:function(){return q},isWeakMap:function(){return Et},isWeakSet:function(){return qt},iteratee:function(){return Qt},keys:function(){return st},last:function(){return Cn},lastIndexOf:function(){return Ue},map:function(){return Xe},mapObject:function(){return Zt},matcher:function(){return Kt},matches:function(){return Kt},max:function(){return sn},memoize:function(){return Ce},methods:function(){return _t},min:function(){return ln},mixin:function(){return jn},negate:function(){return Oe},noop:function(){return $t},now:function(){return re},object:function(){return Rn},omit:function(){return An},once:function(){return Re},pairs:function(){return Pt},partial:function(){return xe},partition:function(){return yn},pick:function(){return xn},pluck:function(){return on},property:function(){return Wt},propertyOf:function(){return te},random:function(){return ne},range:function(){return Ln},reduce:function(){return Qe},reduceRight:function(){return Je},reject:function(){return $e},rest:function(){return En},restArguments:function(){return S},result:function(){return me},sample:function(){return hn},select:function(){return Ze},shuffle:function(){return dn},size:function(){return bn},some:function(){return en},sortBy:function(){return fn},sortedIndex:function(){return ze},tail:function(){return En},take:function(){return Sn},tap:function(){return Bt},template:function(){return pe},templateSettings:function(){return le},throttle:function(){return Pe},times:function(){return ee},toArray:function(){return cn},toPath:function(){return jt},transpose:function(){return Nn},unescape:function(){return se},union:function(){return On},uniq:function(){return _n},unique:function(){return _n},uniqueId:function(){return ve},unzip:function(){return Nn},values:function(){return Tt},where:function(){return an},without:function(){return Dn},wrap:function(){return _e},zip:function(){return In}});var i="1.13.7",o="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},a=Array.prototype,s=Object.prototype,l="undefined"!=typeof Symbol?Symbol.prototype:null,u=a.push,c=a.slice,h=s.toString,d=s.hasOwnProperty,f="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,m=Array.isArray,g=Object.keys,v=Object.create,y=f&&ArrayBuffer.isView,b=isNaN,w=isFinite,x=!{toString:null}.propertyIsEnumerable("toString"),A=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],k=Math.pow(2,53)-1;function S(t,e){return e=null==e?t.length-1:+e,function(){for(var n=Math.max(arguments.length-e,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+e];switch(e){case 0:return t.call(this,r);case 1:return t.call(this,arguments[0],r);case 2:return t.call(this,arguments[0],arguments[1],r)}var o=Array(e+1);for(i=0;i<e;i++)o[i]=arguments[i];return o[e]=r,t.apply(this,o)}}function E(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function C(t){return null===t}function q(t){return void 0===t}function T(t){return!0===t||!1===t||"[object Boolean]"===h.call(t)}function P(t){return!(!t||1!==t.nodeType)}function D(t){var e="[object "+t+"]";return function(t){return h.call(t)===e}}var _=D("String"),O=D("Number"),M=D("Date"),N=D("RegExp"),I=D("Error"),R=D("Symbol"),L=D("ArrayBuffer"),F=D("Function"),B=o.document&&o.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof B&&(F=function(t){return"function"==typeof t||!1});var j=F,z=D("Object"),V=p&&(!/\[native code\]/.test(String(DataView))||z(new DataView(new ArrayBuffer(8)))),H="undefined"!=typeof Map&&z(new Map),U=D("DataView");var G=V?function(t){return null!=t&&j(t.getInt8)&&L(t.buffer)}:U,K=m||D("Array");function W(t,e){return null!=t&&d.call(t,e)}var X=D("Arguments");!function(){X(arguments)||(X=function(t){return W(t,"callee")})}();var Y=X;function Q(t){return!R(t)&&w(t)&&!isNaN(parseFloat(t))}function J(t){return O(t)&&b(t)}function Z(t){return function(){return t}}function $(t){return function(e){var n=t(e);return"number"==typeof n&&n>=0&&n<=k}}function tt(t){return function(e){return null==e?void 0:e[t]}}var et=tt("byteLength"),nt=$(et),rt=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var it=f?function(t){return y?y(t)&&!G(t):nt(t)&&rt.test(h.call(t))}:Z(!1),ot=tt("length");function at(t,e){e=function(t){for(var e={},n=t.length,r=0;r<n;++r)e[t[r]]=!0;return{contains:function(t){return!0===e[t]},push:function(n){return e[n]=!0,t.push(n)}}}(e);var n=A.length,r=t.constructor,i=j(r)&&r.prototype||s,o="constructor";for(W(t,o)&&!e.contains(o)&&e.push(o);n--;)(o=A[n])in t&&t[o]!==i[o]&&!e.contains(o)&&e.push(o)}function st(t){if(!E(t))return[];if(g)return g(t);var e=[];for(var n in t)W(t,n)&&e.push(n);return x&&at(t,e),e}function lt(t){if(null==t)return!0;var e=ot(t);return"number"==typeof e&&(K(t)||_(t)||Y(t))?0===e:0===ot(st(t))}function ut(t,e){var n=st(e),r=n.length;if(null==t)return!r;for(var i=Object(t),o=0;o<r;o++){var a=n[o];if(e[a]!==i[a]||!(a in i))return!1}return!0}function ct(t){return t instanceof ct?t:this instanceof ct?void(this._wrapped=t):new ct(t)}function ht(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,et(t))}ct.VERSION=i,ct.prototype.value=function(){return this._wrapped},ct.prototype.valueOf=ct.prototype.toJSON=ct.prototype.value,ct.prototype.toString=function(){return String(this._wrapped)};var dt="[object DataView]";function ft(t,e,n,r){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return!1;if(t!=t)return e!=e;var i=typeof t;return("function"===i||"object"===i||"object"==typeof e)&&pt(t,e,n,r)}function pt(t,e,n,r){t instanceof ct&&(t=t._wrapped),e instanceof ct&&(e=e._wrapped);var i=h.call(t);if(i!==h.call(e))return!1;if(V&&"[object Object]"==i&&G(t)){if(!G(e))return!1;i=dt}switch(i){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return l.valueOf.call(t)===l.valueOf.call(e);case"[object ArrayBuffer]":case dt:return pt(ht(t),ht(e),n,r)}var o="[object Array]"===i;if(!o&&it(t)){if(et(t)!==et(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)return!0;o=!0}if(!o){if("object"!=typeof t||"object"!=typeof e)return!1;var a=t.constructor,s=e.constructor;if(a!==s&&!(j(a)&&a instanceof a&&j(s)&&s instanceof s)&&"constructor"in t&&"constructor"in e)return!1}r=r||[];for(var u=(n=n||[]).length;u--;)if(n[u]===t)return r[u]===e;if(n.push(t),r.push(e),o){if((u=t.length)!==e.length)return!1;for(;u--;)if(!ft(t[u],e[u],n,r))return!1}else{var c,d=st(t);if(u=d.length,st(e).length!==u)return!1;for(;u--;)if(!W(e,c=d[u])||!ft(t[c],e[c],n,r))return!1}return n.pop(),r.pop(),!0}function mt(t,e){return ft(t,e)}function gt(t){if(!E(t))return[];var e=[];for(var n in t)e.push(n);return x&&at(t,e),e}function vt(t){var e=ot(t);return function(n){if(null==n)return!1;var r=gt(n);if(ot(r))return!1;for(var i=0;i<e;i++)if(!j(n[t[i]]))return!1;return t!==At||!j(n[yt])}}var yt="forEach",bt=["clear","delete"],wt=["get","has","set"],xt=bt.concat(yt,wt),At=bt.concat(wt),kt=["add"].concat(bt,yt,"has"),St=H?vt(xt):D("Map"),Et=H?vt(At):D("WeakMap"),Ct=H?vt(kt):D("Set"),qt=D("WeakSet");function Tt(t){for(var e=st(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=t[e[i]];return r}function Pt(t){for(var e=st(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=[e[i],t[e[i]]];return r}function Dt(t){for(var e={},n=st(t),r=0,i=n.length;r<i;r++)e[t[n[r]]]=n[r];return e}function _t(t){var e=[];for(var n in t)j(t[n])&&e.push(n);return e.sort()}function Ot(t,e){return function(n){var r=arguments.length;if(e&&(n=Object(n)),r<2||null==n)return n;for(var i=1;i<r;i++)for(var o=arguments[i],a=t(o),s=a.length,l=0;l<s;l++){var u=a[l];e&&void 0!==n[u]||(n[u]=o[u])}return n}}var Mt=Ot(gt),Nt=Ot(st),It=Ot(gt,!0);function Rt(t){if(!E(t))return{};if(v)return v(t);var e=function(){};e.prototype=t;var n=new e;return e.prototype=null,n}function Lt(t,e){var n=Rt(t);return e&&Nt(n,e),n}function Ft(t){return E(t)?K(t)?t.slice():Mt({},t):t}function Bt(t,e){return e(t),t}function jt(t){return K(t)?t:[t]}function zt(t){return ct.toPath(t)}function Vt(t,e){for(var n=e.length,r=0;r<n;r++){if(null==t)return;t=t[e[r]]}return n?t:void 0}function Ht(t,e,n){var r=Vt(t,zt(e));return q(r)?n:r}function Ut(t,e){for(var n=(e=zt(e)).length,r=0;r<n;r++){var i=e[r];if(!W(t,i))return!1;t=t[i]}return!!n}function Gt(t){return t}function Kt(t){return t=Nt({},t),function(e){return ut(e,t)}}function Wt(t){return t=zt(t),function(e){return Vt(e,t)}}function Xt(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)}}return function(){return t.apply(e,arguments)}}function Yt(t,e,n){return null==t?Gt:j(t)?Xt(t,e,n):E(t)&&!K(t)?Kt(t):Wt(t)}function Qt(t,e){return Yt(t,e,1/0)}function Jt(t,e,n){return ct.iteratee!==Qt?ct.iteratee(t,e):Yt(t,e,n)}function Zt(t,e,n){e=Jt(e,n);for(var r=st(t),i=r.length,o={},a=0;a<i;a++){var s=r[a];o[s]=e(t[s],s,t)}return o}function $t(){}function te(t){return null==t?$t:function(e){return Ht(t,e)}}function ee(t,e,n){var r=Array(Math.max(0,t));e=Xt(e,n,1);for(var i=0;i<t;i++)r[i]=e(i);return r}function ne(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}ct.toPath=jt,ct.iteratee=Qt;var re=Date.now||function(){return(new Date).getTime()};function ie(t){var e=function(e){return t[e]},n="(?:"+st(t).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(t){return t=null==t?"":""+t,r.test(t)?t.replace(i,e):t}}var oe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},ae=ie(oe),se=ie(Dt(oe)),le=ct.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},ue=/(.)^/,ce={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},he=/\\|'|\r|\n|\u2028|\u2029/g;function de(t){return"\\"+ce[t]}var fe=/^\s*(\w|\$)+\s*$/;function pe(t,e,n){!e&&n&&(e=n),e=It({},e,ct.templateSettings);var r=RegExp([(e.escape||ue).source,(e.interpolate||ue).source,(e.evaluate||ue).source].join("|")+"|$","g"),i=0,o="__p+='";t.replace(r,(function(e,n,r,a,s){return o+=t.slice(i,s).replace(he,de),i=s+e.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),e})),o+="';\n";var a,s=e.variable;if(s){if(!fe.test(s))throw new Error("variable is not a bare identifier: "+s)}else o="with(obj||{}){\n"+o+"}\n",s="obj";o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{a=new Function(s,"_",o)}catch(t){throw t.source=o,t}var l=function(t){return a.call(this,t,ct)};return l.source="function("+s+"){\n"+o+"}",l}function me(t,e,n){var r=(e=zt(e)).length;if(!r)return j(n)?n.call(t):n;for(var i=0;i<r;i++){var o=null==t?void 0:t[e[i]];void 0===o&&(o=n,i=r),t=j(o)?o.call(t):o}return t}var ge=0;function ve(t){var e=++ge+"";return t?t+e:e}function ye(t){var e=ct(t);return e._chain=!0,e}function be(t,e,n,r,i){if(!(r instanceof e))return t.apply(n,i);var o=Rt(t.prototype),a=t.apply(o,i);return E(a)?a:o}var we=S((function(t,e){var n=we.placeholder,r=function(){for(var i=0,o=e.length,a=Array(o),s=0;s<o;s++)a[s]=e[s]===n?arguments[i++]:e[s];for(;i<arguments.length;)a.push(arguments[i++]);return be(t,r,this,this,a)};return r}));we.placeholder=ct;var xe=we,Ae=S((function(t,e,n){if(!j(t))throw new TypeError("Bind must be called on a function");var r=S((function(i){return be(t,r,e,this,n.concat(i))}));return r})),ke=$(ot);function Se(t,e,n,r){if(r=r||[],e||0===e){if(e<=0)return r.concat(t)}else e=1/0;for(var i=r.length,o=0,a=ot(t);o<a;o++){var s=t[o];if(ke(s)&&(K(s)||Y(s)))if(e>1)Se(s,e-1,n,r),i=r.length;else for(var l=0,u=s.length;l<u;)r[i++]=s[l++];else n||(r[i++]=s)}return r}var Ee=S((function(t,e){var n=(e=Se(e,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=e[n];t[r]=Ae(t[r],t)}return t}));function Ce(t,e){var n=function(r){var i=n.cache,o=""+(e?e.apply(this,arguments):r);return W(i,o)||(i[o]=t.apply(this,arguments)),i[o]};return n.cache={},n}var qe=S((function(t,e,n){return setTimeout((function(){return t.apply(null,n)}),e)})),Te=xe(qe,ct,1);function Pe(t,e,n){var r,i,o,a,s=0;n||(n={});var l=function(){s=!1===n.leading?0:re(),r=null,a=t.apply(i,o),r||(i=o=null)},u=function(){var u=re();s||!1!==n.leading||(s=u);var c=e-(u-s);return i=this,o=arguments,c<=0||c>e?(r&&(clearTimeout(r),r=null),s=u,a=t.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(l,c)),a};return u.cancel=function(){clearTimeout(r),s=0,r=i=o=null},u}function De(t,e,n){var r,i,o,a,s,l=function(){var u=re()-i;e>u?r=setTimeout(l,e-u):(r=null,n||(a=t.apply(s,o)),r||(o=s=null))},u=S((function(u){return s=this,o=u,i=re(),r||(r=setTimeout(l,e),n&&(a=t.apply(s,o))),a}));return u.cancel=function(){clearTimeout(r),r=o=s=null},u}function _e(t,e){return xe(e,t)}function Oe(t){return function(){return!t.apply(this,arguments)}}function Me(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}}function Ne(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function Ie(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}}var Re=xe(Ie,2);function Le(t,e,n){e=Jt(e,n);for(var r,i=st(t),o=0,a=i.length;o<a;o++)if(e(t[r=i[o]],r,t))return r}function Fe(t){return function(e,n,r){n=Jt(n,r);for(var i=ot(e),o=t>0?0:i-1;o>=0&&o<i;o+=t)if(n(e[o],o,e))return o;return-1}}var Be=Fe(1),je=Fe(-1);function ze(t,e,n,r){for(var i=(n=Jt(n,r,1))(e),o=0,a=ot(t);o<a;){var s=Math.floor((o+a)/2);n(t[s])<i?o=s+1:a=s}return o}function Ve(t,e,n){return function(r,i,o){var a=0,s=ot(r);if("number"==typeof o)t>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return r[o=n(r,i)]===i?o:-1;if(i!=i)return(o=e(c.call(r,a,s),J))>=0?o+a:-1;for(o=t>0?a:s-1;o>=0&&o<s;o+=t)if(r[o]===i)return o;return-1}}var He=Ve(1,Be,ze),Ue=Ve(-1,je);function Ge(t,e,n){var r=(ke(t)?Be:Le)(t,e,n);if(void 0!==r&&-1!==r)return t[r]}function Ke(t,e){return Ge(t,Kt(e))}function We(t,e,n){var r,i;if(e=Xt(e,n),ke(t))for(r=0,i=t.length;r<i;r++)e(t[r],r,t);else{var o=st(t);for(r=0,i=o.length;r<i;r++)e(t[o[r]],o[r],t)}return t}function Xe(t,e,n){e=Jt(e,n);for(var r=!ke(t)&&st(t),i=(r||t).length,o=Array(i),a=0;a<i;a++){var s=r?r[a]:a;o[a]=e(t[s],s,t)}return o}function Ye(t){return function(e,n,r,i){var o=arguments.length>=3;return function(e,n,r,i){var o=!ke(e)&&st(e),a=(o||e).length,s=t>0?0:a-1;for(i||(r=e[o?o[s]:s],s+=t);s>=0&&s<a;s+=t){var l=o?o[s]:s;r=n(r,e[l],l,e)}return r}(e,Xt(n,i,4),r,o)}}var Qe=Ye(1),Je=Ye(-1);function Ze(t,e,n){var r=[];return e=Jt(e,n),We(t,(function(t,n,i){e(t,n,i)&&r.push(t)})),r}function $e(t,e,n){return Ze(t,Oe(Jt(e)),n)}function tn(t,e,n){e=Jt(e,n);for(var r=!ke(t)&&st(t),i=(r||t).length,o=0;o<i;o++){var a=r?r[o]:o;if(!e(t[a],a,t))return!1}return!0}function en(t,e,n){e=Jt(e,n);for(var r=!ke(t)&&st(t),i=(r||t).length,o=0;o<i;o++){var a=r?r[o]:o;if(e(t[a],a,t))return!0}return!1}function nn(t,e,n,r){return ke(t)||(t=Tt(t)),("number"!=typeof n||r)&&(n=0),He(t,e,n)>=0}var rn=S((function(t,e,n){var r,i;return j(e)?i=e:(e=zt(e),r=e.slice(0,-1),e=e[e.length-1]),Xe(t,(function(t){var o=i;if(!o){if(r&&r.length&&(t=Vt(t,r)),null==t)return;o=t[e]}return null==o?o:o.apply(t,n)}))}));function on(t,e){return Xe(t,Wt(e))}function an(t,e){return Ze(t,Kt(e))}function sn(t,e,n){var r,i,o=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var s=0,l=(t=ke(t)?t:Tt(t)).length;s<l;s++)null!=(r=t[s])&&r>o&&(o=r);else e=Jt(e,n),We(t,(function(t,n,r){((i=e(t,n,r))>a||i===-1/0&&o===-1/0)&&(o=t,a=i)}));return o}function ln(t,e,n){var r,i,o=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var s=0,l=(t=ke(t)?t:Tt(t)).length;s<l;s++)null!=(r=t[s])&&r<o&&(o=r);else e=Jt(e,n),We(t,(function(t,n,r){((i=e(t,n,r))<a||i===1/0&&o===1/0)&&(o=t,a=i)}));return o}var un=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function cn(t){return t?K(t)?c.call(t):_(t)?t.match(un):ke(t)?Xe(t,Gt):Tt(t):[]}function hn(t,e,n){if(null==e||n)return ke(t)||(t=Tt(t)),t[ne(t.length-1)];var r=cn(t),i=ot(r);e=Math.max(Math.min(e,i),0);for(var o=i-1,a=0;a<e;a++){var s=ne(a,o),l=r[a];r[a]=r[s],r[s]=l}return r.slice(0,e)}function dn(t){return hn(t,1/0)}function fn(t,e,n){var r=0;return e=Jt(e,n),on(Xe(t,(function(t,n,i){return{value:t,index:r++,criteria:e(t,n,i)}})).sort((function(t,e){var n=t.criteria,r=e.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return t.index-e.index})),"value")}function pn(t,e){return function(n,r,i){var o=e?[[],[]]:{};return r=Jt(r,i),We(n,(function(e,i){var a=r(e,i,n);t(o,e,a)})),o}}var mn=pn((function(t,e,n){W(t,n)?t[n].push(e):t[n]=[e]})),gn=pn((function(t,e,n){t[n]=e})),vn=pn((function(t,e,n){W(t,n)?t[n]++:t[n]=1})),yn=pn((function(t,e,n){t[n?0:1].push(e)}),!0);function bn(t){return null==t?0:ke(t)?t.length:st(t).length}function wn(t,e,n){return e in n}var xn=S((function(t,e){var n={},r=e[0];if(null==t)return n;j(r)?(e.length>1&&(r=Xt(r,e[1])),e=gt(t)):(r=wn,e=Se(e,!1,!1),t=Object(t));for(var i=0,o=e.length;i<o;i++){var a=e[i],s=t[a];r(s,a,t)&&(n[a]=s)}return n})),An=S((function(t,e){var n,r=e[0];return j(r)?(r=Oe(r),e.length>1&&(n=e[1])):(e=Xe(Se(e,!1,!1),String),r=function(t,n){return!nn(e,n)}),xn(t,r,n)}));function kn(t,e,n){return c.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))}function Sn(t,e,n){return null==t||t.length<1?null==e||n?void 0:[]:null==e||n?t[0]:kn(t,t.length-e)}function En(t,e,n){return c.call(t,null==e||n?1:e)}function Cn(t,e,n){return null==t||t.length<1?null==e||n?void 0:[]:null==e||n?t[t.length-1]:En(t,Math.max(0,t.length-e))}function qn(t){return Ze(t,Boolean)}function Tn(t,e){return Se(t,e,!1)}var Pn=S((function(t,e){return e=Se(e,!0,!0),Ze(t,(function(t){return!nn(e,t)}))})),Dn=S((function(t,e){return Pn(t,e)}));function _n(t,e,n,r){T(e)||(r=n,n=e,e=!1),null!=n&&(n=Jt(n,r));for(var i=[],o=[],a=0,s=ot(t);a<s;a++){var l=t[a],u=n?n(l,a,t):l;e&&!n?(a&&o===u||i.push(l),o=u):n?nn(o,u)||(o.push(u),i.push(l)):nn(i,l)||i.push(l)}return i}var On=S((function(t){return _n(Se(t,!0,!0))}));function Mn(t){for(var e=[],n=arguments.length,r=0,i=ot(t);r<i;r++){var o=t[r];if(!nn(e,o)){var a;for(a=1;a<n&&nn(arguments[a],o);a++);a===n&&e.push(o)}}return e}function Nn(t){for(var e=t&&sn(t,ot).length||0,n=Array(e),r=0;r<e;r++)n[r]=on(t,r);return n}var In=S(Nn);function Rn(t,e){for(var n={},r=0,i=ot(t);r<i;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n}function Ln(t,e,n){null==e&&(e=t||0,t=0),n||(n=e<t?-1:1);for(var r=Math.max(Math.ceil((e-t)/n),0),i=Array(r),o=0;o<r;o++,t+=n)i[o]=t;return i}function Fn(t,e){if(null==e||e<1)return[];for(var n=[],r=0,i=t.length;r<i;)n.push(c.call(t,r,r+=e));return n}function Bn(t,e){return t._chain?ct(e).chain():e}function jn(t){return We(_t(t),(function(e){var n=ct[e]=t[e];ct.prototype[e]=function(){var t=[this._wrapped];return u.apply(t,arguments),Bn(this,n.apply(ct,t))}})),ct}We(["pop","push","reverse","shift","sort","splice","unshift"],(function(t){var e=a[t];ct.prototype[t]=function(){var n=this._wrapped;return null!=n&&(e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0]),Bn(this,n)}})),We(["concat","join","slice"],(function(t){var e=a[t];ct.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),Bn(this,t)}}));var zn=ct,Vn=jn(r);Vn._=Vn;var Hn=Vn}},__webpack_module_cache__={},leafPrototypes,getProto;function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var n=__webpack_module_cache__[t]={id:t,loaded:!1,exports:{}};return __webpack_modules__[t].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.amdO={},__webpack_require__.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return __webpack_require__.d(e,{a:e}),e},getProto=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},__webpack_require__.t=function(t,e){if(1&e&&(t=this(t)),8&e)return t;if("object"==typeof t&&t){if(4&e&&t.__esModule)return t;if(16&e&&"function"==typeof t.then)return t}var n=Object.create(null);__webpack_require__.r(n);var r={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var i=2&e&&t;"object"==typeof i&&!~leafPrototypes.indexOf(i);i=getProto(i))Object.getOwnPropertyNames(i).forEach((function(e){r[e]=function(){return t[e]}}));return r.default=function(){return t},__webpack_require__.d(n,r),n},__webpack_require__.d=function(t,e){for(var n in e)__webpack_require__.o(e,n)&&!__webpack_require__.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},__webpack_require__.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},__webpack_require__.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},__webpack_require__.nc=void 0;var __webpack_exports__={};return function(){"use strict";var t={};__webpack_require__.r(t),__webpack_require__.d(t,{hasBrowserEnv:function(){return pt},hasStandardBrowserEnv:function(){return gt},hasStandardBrowserWebWorkerEnv:function(){return vt},navigator:function(){return mt},origin:function(){return yt}});var e={};__webpack_require__.r(e),__webpack_require__.d(e,{Attributor:function(){return nl},AttributorStore:function(){return cl},BlockBlot:function(){return Al},ClassAttributor:function(){return sl},ContainerBlot:function(){return Sl},EmbedBlot:function(){return El},InlineBlot:function(){return wl},LeafBlot:function(){return pl},ParentBlot:function(){return yl},Registry:function(){return ol},Scope:function(){return el},ScrollBlot:function(){return Tl},StyleAttributor:function(){return ul},TextBlot:function(){return Dl}});var n=__webpack_require__(6091),r=__webpack_require__(7467),i=__webpack_require__(9487);function o(t,e){return function(){return t.apply(e,arguments)}}const{toString:a}=Object.prototype,{getPrototypeOf:s}=Object,l=(u=Object.create(null),t=>{const e=a.call(t);return u[e]||(u[e]=e.slice(8,-1).toLowerCase())});var u;const c=t=>(t=t.toLowerCase(),e=>l(e)===t),h=t=>e=>typeof e===t,{isArray:d}=Array,f=h("undefined");const p=c("ArrayBuffer");const m=h("string"),g=h("function"),v=h("number"),y=t=>null!==t&&"object"==typeof t,b=t=>{if("object"!==l(t))return!1;const e=s(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},w=c("Date"),x=c("File"),A=c("Blob"),k=c("FileList"),S=c("URLSearchParams"),[E,C,q,T]=["ReadableStream","Request","Response","Headers"].map(c);function P(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,i;if("object"!=typeof t&&(t=[t]),d(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),o=i.length;let a;for(r=0;r<o;r++)a=i[r],e.call(null,t[a],a,t)}}function D(t,e){e=e.toLowerCase();const n=Object.keys(t);let r,i=n.length;for(;i-- >0;)if(r=n[i],e===r.toLowerCase())return r;return null}const _="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,O=t=>!f(t)&&t!==_;const M=(N="undefined"!=typeof Uint8Array&&s(Uint8Array),t=>N&&t instanceof N);var N;const I=c("HTMLFormElement"),R=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),L=c("RegExp"),F=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};P(n,((n,i)=>{let o;!1!==(o=e(n,i,t))&&(r[i]=o||n)})),Object.defineProperties(t,r)},B="abcdefghijklmnopqrstuvwxyz",j="0123456789",z={DIGIT:j,ALPHA:B,ALPHA_DIGIT:B+B.toUpperCase()+j};const V=c("AsyncFunction"),H=(U="function"==typeof setImmediate,G=g(_.postMessage),U?setImmediate:G?(K=`axios@${Math.random()}`,W=[],_.addEventListener("message",(({source:t,data:e})=>{t===_&&e===K&&W.length&&W.shift()()}),!1),t=>{W.push(t),_.postMessage(K,"*")}):t=>setTimeout(t));var U,G,K,W;const X="undefined"!=typeof queueMicrotask?queueMicrotask.bind(_):"undefined"!=typeof process&&process.nextTick||H;var Y={isArray:d,isArrayBuffer:p,isBuffer:function(t){return null!==t&&!f(t)&&null!==t.constructor&&!f(t.constructor)&&g(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||g(t.append)&&("formdata"===(e=l(t))||"object"===e&&g(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&p(t.buffer),e},isString:m,isNumber:v,isBoolean:t=>!0===t||!1===t,isObject:y,isPlainObject:b,isReadableStream:E,isRequest:C,isResponse:q,isHeaders:T,isUndefined:f,isDate:w,isFile:x,isBlob:A,isRegExp:L,isFunction:g,isStream:t=>y(t)&&g(t.pipe),isURLSearchParams:S,isTypedArray:M,isFileList:k,forEach:P,merge:function t(){const{caseless:e}=O(this)&&this||{},n={},r=(r,i)=>{const o=e&&D(n,i)||i;b(n[o])&&b(r)?n[o]=t(n[o],r):b(r)?n[o]=t({},r):d(r)?n[o]=r.slice():n[o]=r};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&P(arguments[t],r);return n},extend:(t,e,n,{allOwnKeys:r}={})=>(P(e,((e,r)=>{n&&g(e)?t[r]=o(e,n):t[r]=e}),{allOwnKeys:r}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,r)=>{let i,o,a;const l={};if(e=e||{},null==t)return e;do{for(i=Object.getOwnPropertyNames(t),o=i.length;o-- >0;)a=i[o],r&&!r(a,t,e)||l[a]||(e[a]=t[a],l[a]=!0);t=!1!==n&&s(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:l,kindOfTest:c,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},toArray:t=>{if(!t)return null;if(d(t))return t;let e=t.length;if(!v(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const n=r.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm:I,hasOwnProperty:R,hasOwnProp:R,reduceDescriptors:F,freezeMethods:t=>{F(t,((e,n)=>{if(g(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];g(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return d(t)?r(t):r(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:D,global:_,isContextDefined:O,ALPHABET:z,generateString:(t=16,e=z.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n},isSpecCompliantForm:function(t){return!!(t&&g(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(t,r)=>{if(y(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;const i=d(t)?[]:{};return P(t,((t,e)=>{const o=n(t,r+1);!f(o)&&(i[e]=o)})),e[r]=void 0,i}}return t};return n(t,0)},isAsyncFn:V,isThenable:t=>t&&(y(t)||g(t))&&g(t.then)&&g(t.catch),setImmediate:H,asap:X};function Q(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}Y.inherits(Q,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Y.toJSONObject(this.config),code:this.code,status:this.status}}});const J=Q.prototype,Z={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{Z[t]={value:t}})),Object.defineProperties(Q,Z),Object.defineProperty(J,"isAxiosError",{value:!0}),Q.from=(t,e,n,r,i,o)=>{const a=Object.create(J);return Y.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),Q.call(a,t.message,e,n,r,i),a.cause=t,a.name=t.name,o&&Object.assign(a,o),a};var $=Q;function tt(t){return Y.isPlainObject(t)||Y.isArray(t)}function et(t){return Y.endsWith(t,"[]")?t.slice(0,-2):t}function nt(t,e,n){return t?t.concat(e).map((function(t,e){return t=et(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const rt=Y.toFlatObject(Y,{},null,(function(t){return/^is[A-Z]/.test(t)}));var it=function(t,e,n){if(!Y.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(n=Y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!Y.isUndefined(e[t])}))).metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Y.isSpecCompliantForm(e);if(!Y.isFunction(i))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if(Y.isDate(t))return t.toISOString();if(!s&&Y.isBlob(t))throw new $("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(t)||Y.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function u(t,n,i){let s=t;if(t&&!i&&"object"==typeof t)if(Y.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(Y.isArray(t)&&function(t){return Y.isArray(t)&&!t.some(tt)}(t)||(Y.isFileList(t)||Y.endsWith(n,"[]"))&&(s=Y.toArray(t)))return n=et(n),s.forEach((function(t,r){!Y.isUndefined(t)&&null!==t&&e.append(!0===a?nt([n],r,o):null===a?n:n+"[]",l(t))})),!1;return!!tt(t)||(e.append(nt(i,n,o),l(t)),!1)}const c=[],h=Object.assign(rt,{defaultVisitor:u,convertValue:l,isVisitable:tt});if(!Y.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!Y.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),Y.forEach(n,(function(n,o){!0===(!(Y.isUndefined(n)||null===n)&&i.call(e,n,Y.isString(o)?o.trim():o,r,h))&&t(n,r?r.concat(o):[o])})),c.pop()}}(t),e};function ot(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function at(t,e){this._pairs=[],t&&it(t,this,e)}const st=at.prototype;st.append=function(t,e){this._pairs.push([t,e])},st.toString=function(t){const e=t?function(e){return t.call(this,e,ot)}:ot;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};var lt=at;function ut(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ct(t,e,n){if(!e)return t;const r=n&&n.encode||ut;Y.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(o=i?i(e,n):Y.isURLSearchParams(e)?e.toString():new lt(e,n).toString(r),o){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}var ht=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Y.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},dt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ft={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:lt,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const pt="undefined"!=typeof window&&"undefined"!=typeof document,mt="object"==typeof navigator&&navigator||void 0,gt=pt&&(!mt||["ReactNative","NativeScript","NS"].indexOf(mt.product)<0),vt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,yt=pt&&window.location.href||"http://localhost";var bt={...t,...ft};var wt=function(t){function e(t,n,r,i){let o=t[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=t.length;if(o=!o&&Y.isArray(r)?r.length:o,s)return Y.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a;r[o]&&Y.isObject(r[o])||(r[o]=[]);return e(t,n,r[o],i)&&Y.isArray(r[o])&&(r[o]=function(t){const e={},n=Object.keys(t);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],e[o]=t[o];return e}(r[o])),!a}if(Y.isFormData(t)&&Y.isFunction(t.entries)){const n={};return Y.forEachEntry(t,((t,r)=>{e(function(t){return Y.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),r,n,0)})),n}return null};const xt={transitional:dt,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,i=Y.isObject(t);i&&Y.isHTMLForm(t)&&(t=new FormData(t));if(Y.isFormData(t))return r?JSON.stringify(wt(t)):t;if(Y.isArrayBuffer(t)||Y.isBuffer(t)||Y.isStream(t)||Y.isFile(t)||Y.isBlob(t)||Y.isReadableStream(t))return t;if(Y.isArrayBufferView(t))return t.buffer;if(Y.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return it(t,new bt.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return bt.isNode&&Y.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((o=Y.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return it(o?{"files[]":t}:t,e&&new e,this.formSerializer)}}return i||r?(e.setContentType("application/json",!1),function(t,e,n){if(Y.isString(t))try{return(e||JSON.parse)(t),Y.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||xt.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(Y.isResponse(t)||Y.isReadableStream(t))return t;if(t&&Y.isString(t)&&(n&&!this.responseType||r)){const n=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw $.from(t,$.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bt.classes.FormData,Blob:bt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Y.forEach(["delete","get","head","post","put","patch"],(t=>{xt.headers[t]={}}));var At=xt;const kt=Y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const St=Symbol("internals");function Et(t){return t&&String(t).trim().toLowerCase()}function Ct(t){return!1===t||null==t?t:Y.isArray(t)?t.map(Ct):String(t)}function qt(t,e,n,r,i){return Y.isFunction(r)?r.call(this,e,n):(i&&(e=n),Y.isString(e)?Y.isString(r)?-1!==e.indexOf(r):Y.isRegExp(r)?r.test(e):void 0:void 0)}class Tt{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function i(t,e,n){const i=Et(e);if(!i)throw new Error("header name must be a non-empty string");const o=Y.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||e]=Ct(t))}const o=(t,e)=>Y.forEach(t,((t,n)=>i(t,n,e)));if(Y.isPlainObject(t)||t instanceof this.constructor)o(t,e);else if(Y.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))o((t=>{const e={};let n,r,i;return t&&t.split("\n").forEach((function(t){i=t.indexOf(":"),n=t.substring(0,i).trim().toLowerCase(),r=t.substring(i+1).trim(),!n||e[n]&&kt[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e})(t),e);else if(Y.isHeaders(t))for(const[e,r]of t.entries())i(r,e,n);else null!=t&&i(e,t,n);return this}get(t,e){if(t=Et(t)){const n=Y.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}(t);if(Y.isFunction(e))return e.call(this,t,n);if(Y.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Et(t)){const n=Y.findKey(this,t);return!(!n||void 0===this[n]||e&&!qt(0,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function i(t){if(t=Et(t)){const i=Y.findKey(n,t);!i||e&&!qt(0,n[i],i,e)||(delete n[i],r=!0)}}return Y.isArray(t)?t.forEach(i):i(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const i=e[n];t&&!qt(0,this[i],i,t,!0)||(delete this[i],r=!0)}return r}normalize(t){const e=this,n={};return Y.forEach(this,((r,i)=>{const o=Y.findKey(n,i);if(o)return e[o]=Ct(r),void delete e[i];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(i):String(i).trim();a!==i&&delete e[i],e[a]=Ct(r),n[a]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return Y.forEach(this,((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&Y.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[St]=this[St]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=Et(t);e[r]||(!function(t,e){const n=Y.toCamelCase(" "+e);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+n,{value:function(t,n,i){return this[r].call(this,e,t,n,i)},configurable:!0})}))}(n,t),e[r]=!0)}return Y.isArray(t)?t.forEach(r):r(t),this}}Tt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Y.reduceDescriptors(Tt.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),Y.freezeMethods(Tt);var Pt=Tt;function Dt(t,e){const n=this||At,r=e||n,i=Pt.from(r.headers);let o=r.data;return Y.forEach(t,(function(t){o=t.call(n,o,i.normalize(),e?e.status:void 0)})),i.normalize(),o}function _t(t){return!(!t||!t.__CANCEL__)}function Ot(t,e,n){$.call(this,null==t?"canceled":t,$.ERR_CANCELED,e,n),this.name="CanceledError"}Y.inherits(Ot,$,{__CANCEL__:!0});var Mt=Ot;function Nt(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new $("Request failed with status code "+n.status,[$.ERR_BAD_REQUEST,$.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}var It=function(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i,o=0,a=0;return e=void 0!==e?e:1e3,function(s){const l=Date.now(),u=r[a];i||(i=l),n[o]=s,r[o]=l;let c=a,h=0;for(;c!==o;)h+=n[c++],c%=t;if(o=(o+1)%t,o===a&&(a=(a+1)%t),l-i<e)return;const d=u&&l-u;return d?Math.round(1e3*h/d):void 0}};var Rt=function(t,e){let n,r,i=0,o=1e3/e;const a=(e,o=Date.now())=>{i=o,n=null,r&&(clearTimeout(r),r=null),t.apply(null,e)};return[(...t)=>{const e=Date.now(),s=e-i;s>=o?a(t,e):(n=t,r||(r=setTimeout((()=>{r=null,a(n)}),o-s)))},()=>n&&a(n)]};const Lt=(t,e,n=3)=>{let r=0;const i=It(50,250);return Rt((n=>{const o=n.loaded,a=n.lengthComputable?n.total:void 0,s=o-r,l=i(s);r=o;t({loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&o<=a?(a-o)/l:void 0,event:n,lengthComputable:null!=a,[e?"download":"upload"]:!0})}),n)},Ft=(t,e)=>{const n=null!=t;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},Bt=t=>(...e)=>Y.asap((()=>t(...e)));var jt=bt.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,bt.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(bt.origin),bt.navigator&&/(msie|trident)/i.test(bt.navigator.userAgent)):()=>!0,zt=bt.hasStandardBrowserEnv?{write(t,e,n,r,i,o){const a=[t+"="+encodeURIComponent(e)];Y.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Y.isString(r)&&a.push("path="+r),Y.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Vt(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const Ht=t=>t instanceof Pt?{...t}:t;function Ut(t,e){e=e||{};const n={};function r(t,e,n,r){return Y.isPlainObject(t)&&Y.isPlainObject(e)?Y.merge.call({caseless:r},t,e):Y.isPlainObject(e)?Y.merge({},e):Y.isArray(e)?e.slice():e}function i(t,e,n,i){return Y.isUndefined(e)?Y.isUndefined(t)?void 0:r(void 0,t,0,i):r(t,e,0,i)}function o(t,e){if(!Y.isUndefined(e))return r(void 0,e)}function a(t,e){return Y.isUndefined(e)?Y.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function s(n,i,o){return o in e?r(n,i):o in t?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e,n)=>i(Ht(t),Ht(e),0,!0)};return Y.forEach(Object.keys(Object.assign({},t,e)),(function(r){const o=l[r]||i,a=o(t[r],e[r],r);Y.isUndefined(a)&&o!==s||(n[r]=a)})),n}var Gt=t=>{const e=Ut({},t);let n,{data:r,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:a,headers:s,auth:l}=e;if(e.headers=s=Pt.from(s),e.url=ct(Vt(e.baseURL,e.url),t.params,t.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),Y.isFormData(r))if(bt.hasStandardBrowserEnv||bt.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[t,...e]=n?n.split(";").map((t=>t.trim())).filter(Boolean):[];s.setContentType([t||"multipart/form-data",...e].join("; "))}if(bt.hasStandardBrowserEnv&&(i&&Y.isFunction(i)&&(i=i(e)),i||!1!==i&&jt(e.url))){const t=o&&a&&zt.read(a);t&&s.set(o,t)}return e};var Kt="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){const r=Gt(t);let i=r.data;const o=Pt.from(r.headers).normalize();let a,s,l,u,c,{responseType:h,onUploadProgress:d,onDownloadProgress:f}=r;function p(){u&&u(),c&&c(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=Pt.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Nt((function(t){e(t),p()}),(function(t){n(t),p()}),{data:h&&"text"!==h&&"json"!==h?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:t,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new $("Request aborted",$.ECONNABORTED,t,m)),m=null)},m.onerror=function(){n(new $("Network Error",$.ERR_NETWORK,t,m)),m=null},m.ontimeout=function(){let e=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||dt;r.timeoutErrorMessage&&(e=r.timeoutErrorMessage),n(new $(e,i.clarifyTimeoutError?$.ETIMEDOUT:$.ECONNABORTED,t,m)),m=null},void 0===i&&o.setContentType(null),"setRequestHeader"in m&&Y.forEach(o.toJSON(),(function(t,e){m.setRequestHeader(e,t)})),Y.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),h&&"json"!==h&&(m.responseType=r.responseType),f&&([l,c]=Lt(f,!0),m.addEventListener("progress",l)),d&&m.upload&&([s,u]=Lt(d),m.upload.addEventListener("progress",s),m.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(a=e=>{m&&(n(!e||e.type?new Mt(null,t,m):e),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const v=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(r.url);v&&-1===bt.protocols.indexOf(v)?n(new $("Unsupported protocol "+v+":",$.ERR_BAD_REQUEST,t)):m.send(i||null)}))};var Wt=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let n,r=new AbortController;const i=function(t){if(!n){n=!0,a();const e=t instanceof Error?t:this.reason;r.abort(e instanceof $?e:new Mt(e instanceof Error?e.message:e))}};let o=e&&setTimeout((()=>{o=null,i(new $(`timeout ${e} of ms exceeded`,$.ETIMEDOUT))}),e);const a=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach((t=>{t.unsubscribe?t.unsubscribe(i):t.removeEventListener("abort",i)})),t=null)};t.forEach((t=>t.addEventListener("abort",i)));const{signal:s}=r;return s.unsubscribe=()=>Y.asap(a),s}};const Xt=function*(t,e){let n=t.byteLength;if(!e||n<e)return void(yield t);let r,i=0;for(;i<n;)r=i+e,yield t.slice(i,r),i=r},Yt=async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:n}=await e.read();if(t)break;yield n}}finally{await e.cancel()}},Qt=(t,e,n,r)=>{const i=async function*(t,e){for await(const n of Yt(t))yield*Xt(n,e)}(t,e);let o,a=0,s=t=>{o||(o=!0,r&&r(t))};return new ReadableStream({async pull(t){try{const{done:e,value:r}=await i.next();if(e)return s(),void t.close();let o=r.byteLength;if(n){let t=a+=o;n(t)}t.enqueue(new Uint8Array(r))}catch(t){throw s(t),t}},cancel(t){return s(t),i.return()}},{highWaterMark:2})},Jt="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Zt=Jt&&"function"==typeof ReadableStream,$t=Jt&&("function"==typeof TextEncoder?(te=new TextEncoder,t=>te.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var te;const ee=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},ne=Zt&&ee((()=>{let t=!1;const e=new Request(bt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),re=Zt&&ee((()=>Y.isReadableStream(new Response("").body))),ie={stream:re&&(t=>t.body)};var oe;Jt&&(oe=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!ie[t]&&(ie[t]=Y.isFunction(oe[t])?e=>e[t]():(e,n)=>{throw new $(`Response type '${t}' is not supported`,$.ERR_NOT_SUPPORT,n)})})));const ae=async(t,e)=>{const n=Y.toFiniteNumber(t.getContentLength());return null==n?(async t=>{if(null==t)return 0;if(Y.isBlob(t))return t.size;if(Y.isSpecCompliantForm(t)){const e=new Request(bt.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return Y.isArrayBufferView(t)||Y.isArrayBuffer(t)?t.byteLength:(Y.isURLSearchParams(t)&&(t+=""),Y.isString(t)?(await $t(t)).byteLength:void 0)})(e):n};var se=Jt&&(async t=>{let{url:e,method:n,data:r,signal:i,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:c,withCredentials:h="same-origin",fetchOptions:d}=Gt(t);u=u?(u+"").toLowerCase():"text";let f,p=Wt([i,o&&o.toAbortSignal()],a);const m=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let g;try{if(l&&ne&&"get"!==n&&"head"!==n&&0!==(g=await ae(c,r))){let t,n=new Request(e,{method:"POST",body:r,duplex:"half"});if(Y.isFormData(r)&&(t=n.headers.get("content-type"))&&c.setContentType(t),n.body){const[t,e]=Ft(g,Lt(Bt(l)));r=Qt(n.body,65536,t,e)}}Y.isString(h)||(h=h?"include":"omit");const i="credentials"in Request.prototype;f=new Request(e,{...d,signal:p,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:i?h:void 0});let o=await fetch(f);const a=re&&("stream"===u||"response"===u);if(re&&(s||a&&m)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=o[e]}));const e=Y.toFiniteNumber(o.headers.get("content-length")),[n,r]=s&&Ft(e,Lt(Bt(s),!0))||[];o=new Response(Qt(o.body,65536,n,(()=>{r&&r(),m&&m()})),t)}u=u||"text";let v=await ie[Y.findKey(ie,u)||"text"](o,t);return!a&&m&&m(),await new Promise(((e,n)=>{Nt(e,n,{data:v,headers:Pt.from(o.headers),status:o.status,statusText:o.statusText,config:t,request:f})}))}catch(e){if(m&&m(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new $("Network Error",$.ERR_NETWORK,t,f),{cause:e.cause||e});throw $.from(e,e&&e.code,t,f)}});const le={http:null,xhr:Kt,fetch:se};Y.forEach(le,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const ue=t=>`- ${t}`,ce=t=>Y.isFunction(t)||null===t||!1===t;var he=t=>{t=Y.isArray(t)?t:[t];const{length:e}=t;let n,r;const i={};for(let o=0;o<e;o++){let e;if(n=t[o],r=n,!ce(n)&&(r=le[(e=String(n)).toLowerCase()],void 0===r))throw new $(`Unknown adapter '${e}'`);if(r)break;i[e||"#"+o]=r}if(!r){const t=Object.entries(i).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let n=e?t.length>1?"since :\n"+t.map(ue).join("\n"):" "+ue(t[0]):"as no adapter specified";throw new $("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function de(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Mt(null,t)}function fe(t){de(t),t.headers=Pt.from(t.headers),t.data=Dt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return he(t.adapter||At.adapter)(t).then((function(e){return de(t),e.data=Dt.call(t,t.transformResponse,e),e.headers=Pt.from(e.headers),e}),(function(e){return _t(e)||(de(t),e&&e.response&&(e.response.data=Dt.call(t,t.transformResponse,e.response),e.response.headers=Pt.from(e.response.headers))),Promise.reject(e)}))}const pe="1.7.9",me={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{me[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const ge={};me.transitional=function(t,e,n){return(r,i,o)=>{if(!1===t)throw new $(function(t,e){return"[Axios v1.7.9] Transitional option '"+t+"'"+e+(n?". "+n:"")}(i," has been removed"+(e?" in "+e:"")),$.ERR_DEPRECATED);return e&&!ge[i]&&(ge[i]=!0),!t||t(r,i,o)}},me.spelling=function(t){return(t,e)=>!0};var ve={assertOptions:function(t,e,n){if("object"!=typeof t)throw new $("options must be an object",$.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const o=r[i],a=e[o];if(a){const e=t[o],n=void 0===e||a(e,o,t);if(!0!==n)throw new $("option "+o+" must be "+n,$.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new $("Unknown option "+o,$.ERR_BAD_OPTION)}},validators:me};const ye=ve.validators;class be{constructor(t){this.defaults=t,this.interceptors={request:new ht,response:new ht}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const n=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Ut(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:i}=e;void 0!==n&&ve.assertOptions(n,{silentJSONParsing:ye.transitional(ye.boolean),forcedJSONParsing:ye.transitional(ye.boolean),clarifyTimeoutError:ye.transitional(ye.boolean)},!1),null!=r&&(Y.isFunction(r)?e.paramsSerializer={serialize:r}:ve.assertOptions(r,{encode:ye.function,serialize:ye.function},!0)),ve.assertOptions(e,{baseUrl:ye.spelling("baseURL"),withXsrfToken:ye.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let o=i&&Y.merge(i.common,i[e.method]);i&&Y.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete i[t]})),e.headers=Pt.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const l=[];let u;this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)}));let c,h=0;if(!s){const t=[fe.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,l),c=t.length,u=Promise.resolve(e);h<c;)u=u.then(t[h++],t[h++]);return u}c=a.length;let d=e;for(h=0;h<c;){const t=a[h++],e=a[h++];try{d=t(d)}catch(t){e.call(this,t);break}}try{u=fe.call(this,d)}catch(t){return Promise.reject(t)}for(h=0,c=l.length;h<c;)u=u.then(l[h++],l[h++]);return u}getUri(t){return ct(Vt((t=Ut(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}Y.forEach(["delete","get","head","options"],(function(t){be.prototype[t]=function(e,n){return this.request(Ut(n||{},{method:t,url:e,data:(n||{}).data}))}})),Y.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,i){return this.request(Ut(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}be.prototype[t]=e(),be.prototype[t+"Form"]=e(!0)}));var we=be;class xe{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const r=new Promise((t=>{n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,i){n.reason||(n.reason=new Mt(t,r,i),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new xe((function(e){t=e})),cancel:t}}}var Ae=xe;const ke={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ke).forEach((([t,e])=>{ke[e]=t}));var Se=ke;const Ee=function t(e){const n=new we(e),r=o(we.prototype.request,n);return Y.extend(r,we.prototype,n,{allOwnKeys:!0}),Y.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return t(Ut(e,n))},r}(At);Ee.Axios=we,Ee.CanceledError=Mt,Ee.CancelToken=Ae,Ee.isCancel=_t,Ee.VERSION=pe,Ee.toFormData=it,Ee.AxiosError=$,Ee.Cancel=Ee.CanceledError,Ee.all=function(t){return Promise.all(t)},Ee.spread=function(t){return function(e){return t.apply(null,e)}},Ee.isAxiosError=function(t){return Y.isObject(t)&&!0===t.isAxiosError},Ee.mergeConfig=Ut,Ee.AxiosHeaders=Pt,Ee.formToJSON=t=>wt(Y.isHTMLForm(t)?new FormData(t):t),Ee.getAdapter=he,Ee.HttpStatusCode=Se,Ee.default=Ee;var Ce=Ee,qe=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{l(r.next(t))}catch(t){o(t)}}function s(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))};let Te=null;const Pe="undefined"==typeof window,De="https://butterfly-api.betterbugs.io",_e=t=>qe(void 0,void 0,void 0,(function*(){var e,n,r;try{let e=null;if(Pe){const n=Ce.create({baseURL:De});n.interceptors.request.use((t=>qe(void 0,void 0,void 0,(function*(){return t.headers.cache="no-store",t}))),(t=>Promise.reject(t))),n.interceptors.response.use((t=>t),(t=>Promise.reject(t))),e=yield n.request(t)}else e=yield((t=!1)=>(Te&&!t||(Te=Ce.create({baseURL:De})),Te))().request(t);return null==e?void 0:e.data}catch(t){if((null==t?void 0:t.response)&&(null===(e=null==t?void 0:t.response)||void 0===e?void 0:e.data)&&(null===(r=null===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||void 0===r?void 0:r.message)){const e=new Error(t.response.data.message||"Bad response from server");throw e.responseStatus=t.response.data.statusCode||t.response.status,e.responseData=t.response.data,e}throw new Error((null==t?void 0:t.message)||"Bad response from server")}}));var Oe=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{l(r.next(t))}catch(t){o(t)}}function s(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))};const Me=({recordingId:t,payload:e})=>Oe(void 0,void 0,void 0,(function*(){return _e({url:`/recording-link/${t}`,method:"PATCH",data:e})}));var Ne,Ie="user-agent",Re="",Le="function",Fe="undefined",Be="object",je="string",ze="browser",Ve="cpu",He="device",Ue="engine",Ge="os",Ke="result",We="name",Xe="type",Ye="vendor",Qe="version",Je="architecture",Ze="major",$e="model",tn="console",en="mobile",nn="tablet",rn="smarttv",on="wearable",an="xr",sn="embedded",ln="inapp",un="brands",cn="formFactors",hn="fullVersionList",dn="platform",fn="platformVersion",pn="bitness",mn="sec-ch-ua",gn=mn+"-full-version-list",vn=mn+"-arch",yn=mn+"-"+pn,bn=mn+"-form-factors",wn=mn+"-"+en,xn=mn+"-"+$e,An=mn+"-"+dn,kn=An+"-version",Sn=[un,hn,en,$e,dn,fn,Je,cn,pn],En="Amazon",Cn="Apple",qn="ASUS",Tn="BlackBerry",Pn="Google",Dn="Huawei",_n="Lenovo",On="Honor",Mn="LG",Nn="Microsoft",In="Motorola",Rn="Nvidia",Ln="OnePlus",Fn="OPPO",Bn="Samsung",jn="Sharp",zn="Sony",Vn="Xiaomi",Hn="Zebra",Un="Chrome",Gn="Chromium",Kn="Chromecast",Wn="Firefox",Xn="Opera",Yn="Facebook",Qn="Sogou",Jn="Mobile ",Zn=" Browser",$n="Windows",tr=typeof window!==Fe&&window.navigator?window.navigator:void 0,er=tr&&tr.userAgentData?tr.userAgentData:void 0,nr=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].toUpperCase()]=t[n];return e},rr=function(t,e){if(typeof t===Be&&t.length>0){for(var n in t)if(sr(t[n])==sr(e))return!0;return!1}return!!or(t)&&-1!==sr(e).indexOf(sr(t))},ir=function(t,e){for(var n in t)return/^(browser|cpu|device|engine|os)$/.test(n)||!!e&&ir(t[n])},or=function(t){return typeof t===je},ar=function(t){if(t){for(var e=[],n=cr(/\\?\"/g,t).split(","),r=0;r<n.length;r++)if(n[r].indexOf(";")>-1){var i=dr(n[r]).split(";v=");e[r]={brand:i[0],version:i[1]}}else e[r]=dr(n[r]);return e}},sr=function(t){return or(t)?t.toLowerCase():t},lr=function(t){return or(t)?cr(/[^\d\.]/g,t).split(".")[0]:void 0},ur=function(t){for(var e in t){var n=t[e];typeof n==Be&&2==n.length?this[n[0]]=n[1]:this[n]=void 0}return this},cr=function(t,e){return or(e)?e.replace(t,Re):e},hr=function(t){return cr(/\\?\"/g,t)},dr=function(t,e){if(or(t))return t=cr(/^\s\s*/,t),typeof e===Fe?t:t.substring(0,500)},fr=function(t,e){if(t&&e)for(var n,r,i,o,a,s,l=0;l<e.length&&!a;){var u=e[l],c=e[l+1];for(n=r=0;n<u.length&&!a&&u[n];)if(a=u[n++].exec(t))for(i=0;i<c.length;i++)s=a[++r],typeof(o=c[i])===Be&&o.length>0?2===o.length?typeof o[1]==Le?this[o[0]]=o[1].call(this,s):this[o[0]]=o[1]:3===o.length?typeof o[1]!==Le||o[1].exec&&o[1].test?this[o[0]]=s?s.replace(o[1],o[2]):void 0:this[o[0]]=s?o[1].call(this,s,o[2]):void 0:4===o.length&&(this[o[0]]=s?o[3].call(this,s.replace(o[1],o[2])):void 0):this[o]=s||void 0;l+=2}},pr=function(t,e){for(var n in e)if(typeof e[n]===Be&&e[n].length>0){for(var r=0;r<e[n].length;r++)if(rr(e[n][r],t))return"?"===n?void 0:n}else if(rr(e[n],t))return"?"===n?void 0:n;return e.hasOwnProperty("*")?e["*"]:t},mr={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},gr={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},vr={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[Qe,[We,Jn+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[Qe,[We,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[We,Qe],[/opios[\/ ]+([\w\.]+)/i],[Qe,[We,Xn+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[Qe,[We,Xn+" GX"]],[/\bopr\/([\w\.]+)/i],[Qe,[We,Xn]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[Qe,[We,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[Qe,[We,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[We,Qe],[/quark(?:pc)?\/([-\w\.]+)/i],[Qe,[We,"Quark"]],[/\bddg\/([\w\.]+)/i],[Qe,[We,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[Qe,[We,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[Qe,[We,"WeChat"]],[/konqueror\/([\w\.]+)/i],[Qe,[We,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[Qe,[We,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[Qe,[We,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[Qe,[We,"Smart "+_n+Zn]],[/(avast|avg)\/([\w\.]+)/i],[[We,/(.+)/,"$1 Secure"+Zn],Qe],[/\bfocus\/([\w\.]+)/i],[Qe,[We,Wn+" Focus"]],[/\bopt\/([\w\.]+)/i],[Qe,[We,Xn+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[Qe,[We,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[Qe,[We,"Dolphin"]],[/coast\/([\w\.]+)/i],[Qe,[We,Xn+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[Qe,[We,"MIUI"+Zn]],[/fxios\/([\w\.-]+)/i],[Qe,[We,Jn+Wn]],[/\bqihoobrowser\/?([\w\.]*)/i],[Qe,[We,"360"]],[/\b(qq)\/([\w\.]+)/i],[[We,/(.+)/,"$1Browser"],Qe],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[We,/(.+)/,"$1"+Zn],Qe],[/samsungbrowser\/([\w\.]+)/i],[Qe,[We,Bn+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[Qe,[We,Qn+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[We,Qn+" Mobile"],Qe],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[We,Qe],[/(lbbrowser|rekonq)/i],[We],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[Qe,We],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[We,Yn],Qe,[Xe,ln]],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat)[\/ ]([-\w\.]+)/i],[We,Qe,[Xe,ln]],[/\bgsa\/([\w\.]+) .*safari\//i],[Qe,[We,"GSA"],[Xe,ln]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[Qe,[We,"TikTok"],[Xe,ln]],[/\[(linkedin)app\]/i],[We,[Xe,ln]],[/(chromium)[\/ ]([-\w\.]+)/i],[We,Qe],[/headlesschrome(?:\/([\w\.]+)| )/i],[Qe,[We,Un+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[We,Un+" WebView"],Qe],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[Qe,[We,"Android"+Zn]],[/chrome\/([\w\.]+) mobile/i],[Qe,[We,Jn+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[We,Qe],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[Qe,[We,Jn+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[We,Jn+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[Qe,We],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[We,[Qe,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[We,Qe],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[We,Jn+Wn],Qe],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[We,"Netscape"],Qe],[/(wolvic|librewolf)\/([\w\.]+)/i],[We,Qe],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[Qe,[We,Wn+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[We,[Qe,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[We,[Qe,/[^\d\.]+./,Re]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[Je,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[Je,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[Je,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[Je,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[Je,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[Je,/ower/,Re,sr]],[/ sun4\w[;\)]/i],[[Je,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[Je,sr]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[$e,[Ye,Bn],[Xe,nn]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[$e,[Ye,Bn],[Xe,en]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[$e,[Ye,Cn],[Xe,en]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[$e,[Ye,Cn],[Xe,nn]],[/(macintosh);/i],[$e,[Ye,Cn]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[$e,[Ye,jn],[Xe,en]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[$e,[Ye,On],[Xe,nn]],[/honor([-\w ]+)[;\)]/i],[$e,[Ye,On],[Xe,en]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[$e,[Ye,Dn],[Xe,nn]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[$e,[Ye,Dn],[Xe,en]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[$e,/_/g," "],[Ye,Vn],[Xe,nn]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[$e,/_/g," "],[Ye,Vn],[Xe,en]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[$e,[Ye,Fn],[Xe,en]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[$e,[Ye,pr,{OnePlus:["304","403","203"],"*":Fn}],[Xe,nn]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[$e,[Ye,"BLU"],[Xe,en]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[$e,[Ye,"Vivo"],[Xe,en]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[$e,[Ye,"Realme"],[Xe,en]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[$e,[Ye,In],[Xe,en]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[$e,[Ye,In],[Xe,nn]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[$e,[Ye,Mn],[Xe,nn]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,/\blg-?([\d\w]+) bui/i],[$e,[Ye,Mn],[Xe,en]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[$e,[Ye,_n],[Xe,nn]],[/(nokia) (t[12][01])/i],[Ye,$e,[Xe,nn]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[$e,/_/g," "],[Xe,en],[Ye,"Nokia"]],[/(pixel (c|tablet))\b/i],[$e,[Ye,Pn],[Xe,nn]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[$e,[Ye,Pn],[Xe,en]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[$e,[Ye,zn],[Xe,en]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[$e,"Xperia Tablet"],[Ye,zn],[Xe,nn]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[$e,[Ye,Ln],[Xe,en]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[$e,[Ye,En],[Xe,nn]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[$e,/(.+)/g,"Fire Phone $1"],[Ye,En],[Xe,en]],[/(playbook);[-\w\),; ]+(rim)/i],[$e,Ye,[Xe,nn]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[$e,[Ye,Tn],[Xe,en]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[$e,[Ye,qn],[Xe,nn]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[$e,[Ye,qn],[Xe,en]],[/(nexus 9)/i],[$e,[Ye,"HTC"],[Xe,nn]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[Ye,[$e,/_/g," "],[Xe,en]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[$e,[Ye,"TCL"],[Xe,nn]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[$e,[Ye,"TCL"],[Xe,en]],[/(itel) ((\w+))/i],[[Ye,sr],$e,[Xe,pr,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[$e,[Ye,"Acer"],[Xe,nn]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[$e,[Ye,"Meizu"],[Xe,en]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[$e,[Ye,"Ulefone"],[Xe,en]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[$e,[Ye,"Energizer"],[Xe,en]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[$e,[Ye,"Cat"],[Xe,en]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[$e,[Ye,"Smartfren"],[Xe,en]],[/droid.+; (a(?:015|06[35]|142p?))/i],[$e,[Ye,"Nothing"],[Xe,en]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[$e,[Ye,"Archos"],[Xe,nn]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[$e,[Ye,"Archos"],[Xe,en]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[Ye,$e,[Xe,nn]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[Ye,$e,[Xe,en]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[Ye,$e,[Xe,nn]],[/(surface duo)/i],[$e,[Ye,Nn],[Xe,nn]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[$e,[Ye,"Fairphone"],[Xe,en]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[$e,[Ye,Rn],[Xe,nn]],[/(sprint) (\w+)/i],[Ye,$e,[Xe,en]],[/(kin\.[onetw]{3})/i],[[$e,/\./g," "],[Ye,Nn],[Xe,en]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[$e,[Ye,Hn],[Xe,nn]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[$e,[Ye,Hn],[Xe,en]],[/smart-tv.+(samsung)/i],[Ye,[Xe,rn]],[/hbbtv.+maple;(\d+)/i],[[$e,/^/,"SmartTV"],[Ye,Bn],[Xe,rn]],[/tcast.+(lg)e?. ([-\w]+)/i],[Ye,$e,[Xe,rn]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[Ye,Mn],[Xe,rn]],[/(apple) ?tv/i],[Ye,[$e,Cn+" TV"],[Xe,rn]],[/crkey.*devicetype\/chromecast/i],[[$e,Kn+" Third Generation"],[Ye,Pn],[Xe,rn]],[/crkey.*devicetype\/([^/]*)/i],[[$e,/^/,"Chromecast "],[Ye,Pn],[Xe,rn]],[/fuchsia.*crkey/i],[[$e,Kn+" Nest Hub"],[Ye,Pn],[Xe,rn]],[/crkey/i],[[$e,Kn],[Ye,Pn],[Xe,rn]],[/(portaltv)/i],[$e,[Ye,Yn],[Xe,rn]],[/droid.+aft(\w+)( bui|\))/i],[$e,[Ye,En],[Xe,rn]],[/(shield \w+ tv)/i],[$e,[Ye,Rn],[Xe,rn]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[$e,[Ye,jn],[Xe,rn]],[/(bravia[\w ]+)( bui|\))/i],[$e,[Ye,zn],[Xe,rn]],[/(mi(tv|box)-?\w+) bui/i],[$e,[Ye,Vn],[Xe,rn]],[/Hbbtv.*(technisat) (.*);/i],[Ye,$e,[Xe,rn]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[Ye,dr],[$e,dr],[Xe,rn]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[$e,[Xe,rn]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[Xe,rn]],[/(ouya)/i,/(nintendo) (\w+)/i],[Ye,$e,[Xe,tn]],[/droid.+; (shield)( bui|\))/i],[$e,[Ye,Rn],[Xe,tn]],[/(playstation \w+)/i],[$e,[Ye,zn],[Xe,tn]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[$e,[Ye,Nn],[Xe,tn]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[$e,[Ye,Bn],[Xe,on]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[Ye,$e,[Xe,on]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[$e,[Ye,Fn],[Xe,on]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[$e,[Ye,Cn],[Xe,on]],[/(opwwe\d{3})/i],[$e,[Ye,Ln],[Xe,on]],[/(moto 360)/i],[$e,[Ye,In],[Xe,on]],[/(smartwatch 3)/i],[$e,[Ye,zn],[Xe,on]],[/(g watch r)/i],[$e,[Ye,Mn],[Xe,on]],[/droid.+; (wt63?0{2,3})\)/i],[$e,[Ye,Hn],[Xe,on]],[/droid.+; (glass) \d/i],[$e,[Ye,Pn],[Xe,an]],[/(pico) (4|neo3(?: link|pro)?)/i],[Ye,$e,[Xe,an]],[/(quest( \d| pro)?s?).+vr/i],[$e,[Ye,Yn],[Xe,an]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[Ye,[Xe,sn]],[/(aeobc)\b/i],[$e,[Ye,En],[Xe,sn]],[/(homepod).+mac os/i],[$e,[Ye,Cn],[Xe,sn]],[/windows iot/i],[[Xe,sn]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[$e,[Xe,pr,{mobile:"Mobile",xr:"VR","*":nn}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[Xe,nn]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[Xe,en]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[$e,[Ye,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[Qe,[We,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[We,Qe],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[Qe,[We,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[We,Qe],[/ladybird\//i],[[We,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[Qe,We]],os:[[/microsoft (windows) (vista|xp)/i],[We,Qe],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[We,[Qe,pr,mr]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[Qe,pr,mr],[We,$n]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[Qe,/_/g,"."],[We,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[We,"macOS"],[Qe,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[Qe,[We,Kn+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[Qe,[We,Kn+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[Qe,[We,Kn+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[Qe,[We,Kn+" Linux"]],[/crkey\/([\d\.]+)/i],[Qe,[We,Kn]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[Qe,We],[/(ubuntu) ([\w\.]+) like android/i],[[We,/(.+)/,"$1 Touch"],Qe],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i],[We,Qe],[/\(bb(10);/i],[Qe,[We,Tn]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[Qe,[We,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[Qe,[We,Wn+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[Qe,[We,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[Qe,[We,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[We,"Chrome OS"],Qe],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[We,Qe],[/(sunos) ?([\w\.\d]*)/i],[[We,"Solaris"],Qe],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[We,Qe]]},yr=(ur.call((Ne={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}}).init,[[ze,[We,Qe,Ze,Xe]],[Ve,[Je]],[He,[Xe,$e,Ye]],[Ue,[We,Qe]],[Ge,[We,Qe]]]),ur.call(Ne.isIgnore,[[ze,[Qe,Ze]],[Ue,[Qe]],[Ge,[Qe]]]),ur.call(Ne.isIgnoreRgx,[[ze,/ ?browser$/i],[Ge,/ ?os$/i]]),ur.call(Ne.toString,[[ze,[We,Qe]],[Ve,[Je]],[He,[Ye,$e]],[Ue,[We,Qe]],[Ge,[We,Qe]]]),Ne),br=function(t,e){var n=yr.init[e],r=yr.isIgnore[e]||0,i=yr.isIgnoreRgx[e]||0,o=yr.toString[e]||0;function a(){ur.call(this,n)}return a.prototype.getItem=function(){return t},a.prototype.withClientHints=function(){return er?er.getHighEntropyValues(Sn).then((function(e){return t.setCH(new wr(e,!1)).parseCH().get()})):t.parseCH().get()},a.prototype.withFeatureCheck=function(){return t.detectFeature().get()},e!=Ke&&(a.prototype.is=function(t){var e=!1;for(var n in this)if(this.hasOwnProperty(n)&&!rr(r,n)&&sr(i?cr(i,this[n]):this[n])==sr(i?cr(i,t):t)){if(e=!0,t!=Fe)break}else if(t==Fe&&e){e=!e;break}return e},a.prototype.toString=function(){var t=Re;for(var e in o)typeof this[o[e]]!==Fe&&(t+=(t?" ":Re)+this[o[e]]);return t||Fe}),er||(a.prototype.then=function(t){var e=this,n=function(){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])};n.prototype={is:a.prototype.is,toString:a.prototype.toString};var r=new n;return t(r),r}),new a};function wr(t,e){if(t=t||{},ur.call(this,Sn),e)ur.call(this,[[un,ar(t[mn])],[hn,ar(t[gn])],[en,/\?1/.test(t[wn])],[$e,hr(t[xn])],[dn,hr(t[An])],[fn,hr(t[kn])],[Je,hr(t[vn])],[cn,ar(t[bn])],[pn,hr(t[yn])]]);else for(var n in t)this.hasOwnProperty(n)&&typeof t[n]!==Fe&&(this[n]=t[n])}function xr(t,e,n,r){return this.get=function(t){return t?this.data.hasOwnProperty(t)?this.data[t]:void 0:this.data},this.set=function(t,e){return this.data[t]=e,this},this.setCH=function(t){return this.uaCH=t,this},this.detectFeature=function(){if(tr&&tr.userAgent==this.ua)switch(this.itemType){case ze:tr.brave&&typeof tr.brave.isBrave==Le&&this.set(We,"Brave");break;case He:!this.get(Xe)&&er&&er[en]&&this.set(Xe,en),"Macintosh"==this.get($e)&&tr&&typeof tr.standalone!==Fe&&tr.maxTouchPoints&&tr.maxTouchPoints>2&&this.set($e,"iPad").set(Xe,nn);break;case Ge:!this.get(We)&&er&&er[dn]&&this.set(We,er[dn]);break;case Ke:var t=this.data,e=function(e){return t[e].getItem().detectFeature().get()};this.set(ze,e(ze)).set(Ve,e(Ve)).set(He,e(He)).set(Ue,e(Ue)).set(Ge,e(Ge))}return this},this.parseUA=function(){return this.itemType!=Ke&&fr.call(this.data,this.ua,this.rgxMap),this.itemType==ze&&this.set(Ze,lr(this.get(Qe))),this},this.parseCH=function(){var t=this.uaCH,e=this.rgxMap;switch(this.itemType){case ze:case Ue:var n,r=t[hn]||t[un];if(r)for(var i in r){var o=r[i].brand||r[i],a=r[i].version;this.itemType!=ze||/not.a.brand/i.test(o)||n&&(!/chrom/i.test(n)||o==Gn)||(o=pr(o,{Chrome:"Google Chrome",Edge:"Microsoft Edge","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"}),this.set(We,o).set(Qe,a).set(Ze,lr(a)),n=o),this.itemType==Ue&&o==Gn&&this.set(Qe,a)}break;case Ve:var s=t[Je];s&&(s&&"64"==t[pn]&&(s+="64"),fr.call(this.data,s+";",e));break;case He:if(t[en]&&this.set(Xe,en),t[$e]&&(this.set($e,t[$e]),!this.get(Xe)||!this.get(Ye))){var l={};fr.call(l,"droid 9; "+t[$e]+")",e),!this.get(Xe)&&l.type&&this.set(Xe,l.type),!this.get(Ye)&&l.vendor&&this.set(Ye,l.vendor)}if(t[cn]){var u;if("string"!=typeof t[cn])for(var c=0;!u&&c<t[cn].length;)u=pr(t[cn][c++],gr);else u=pr(t[cn],gr);this.set(Xe,u)}break;case Ge:var h=t[dn];if(h){var d=t[fn];h==$n&&(d=parseInt(lr(d),10)>=13?"11":"10"),this.set(We,h).set(Qe,d)}this.get(We)==$n&&"Xbox"==t[$e]&&this.set(We,"Xbox").set(Qe,void 0);break;case Ke:var f=this.data,p=function(e){return f[e].getItem().setCH(t).parseCH().get()};this.set(ze,p(ze)).set(Ve,p(Ve)).set(He,p(He)).set(Ue,p(Ue)).set(Ge,p(Ge))}return this},ur.call(this,[["itemType",t],["ua",e],["uaCH",r],["rgxMap",n],["data",br(this,t)]]),this}function Ar(t,e,n){if(typeof t===Be?(ir(t,!0)?(typeof e===Be&&(n=e),e=t):(n=t,e=void 0),t=void 0):typeof t!==je||ir(e,!0)||(n=e,e=void 0),n&&typeof n.append===Le){var r={};n.forEach((function(t,e){r[e]=t})),n=r}if(!(this instanceof Ar))return new Ar(t,e,n).getResult();var i=typeof t===je?t:n&&n[Ie]?n[Ie]:tr&&tr.userAgent?tr.userAgent:Re,o=new wr(n,!0),a=e?function(t,e){var n={},r=e;if(!ir(e))for(var i in r={},e)for(var o in e[i])r[o]=e[i][o].concat(r[o]?r[o]:[]);for(var a in t)n[a]=r[a]&&r[a].length%2==0?r[a].concat(t[a]):t[a];return n}(vr,e):vr,s=function(t){return t==Ke?function(){return new xr(t,i,a,o).set("ua",i).set(ze,this.getBrowser()).set(Ve,this.getCPU()).set(He,this.getDevice()).set(Ue,this.getEngine()).set(Ge,this.getOS()).get()}:function(){return new xr(t,i,a[t],o).parseUA().get()}};return ur.call(this,[["getBrowser",s(ze)],["getCPU",s(Ve)],["getDevice",s(He)],["getEngine",s(Ue)],["getOS",s(Ge)],["getResult",s(Ke)],["getUA",function(){return i}],["setUA",function(t){return or(t)&&(i=t.length>500?dr(t,500):t),this}]]).setUA(i),this}Ar.VERSION="2.0.3",Ar.BROWSER=nr([We,Qe,Ze,Xe]),Ar.CPU=nr([Je]),Ar.DEVICE=nr([$e,Ye,Xe,tn,en,rn,nn,on,sn]),Ar.ENGINE=Ar.OS=nr([We,Qe]);const kr="STEPS_FEATURE_TYPED_EVENT",Sr="STEPS_FEATURE_PRESSED_EVENT";let Er=!1;function Cr(t){Er=t}function qr(){return Er}try{window.setBetterBugsLogging=Cr}catch(t){globalThis.setBetterBugsLogging=Cr}try{window.getBetterBugsLogging=qr}catch(t){globalThis.getBetterBugsLogging=qr}const Tr={sample(t,e,...n){if(Pr(n)){}},log:(...t)=>{Pr(t)},warn:(...t)=>{if(Pr(t)){}},error:(...t)=>{if(Pr(t)){}},info:(...t)=>{if(Pr(t)){}},debug:(...t)=>{Pr(t)},group:(...t)=>{Pr(t)},groupCollapsed:(...t)=>{Pr(t)},groupEnd:(...t)=>{Pr(t)}};function Pr(t){return Er&&function(t){try{if(!("localStorage"in globalThis)||!globalThis.localStorage.debug)return!0}catch(t){return!0}if("string"!=typeof t[0]||"string"!=typeof globalThis.localStorage.debug)return!0;const e=t[0],n=globalThis.localStorage.debug.replace("*",".*");return new RegExp("^"+n).test(e)}(t)}var Dr=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{l(r.next(t))}catch(t){o(t)}}function s(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))};const _r=()=>((new Date).getTime()/1e3|0).toString(16)+Math.floor(16777216*Math.random()).toString(16).padStart(6,"0")+Math.floor(65536*Math.random()).toString(16).padStart(4,"0")+Math.floor(16777216*Math.random()).toString(16).padStart(6,"0"),Or=t=>{try{return JSON.parse(JSON.stringify(t))}catch(e){return t}},Mr=(t,e,n)=>{const r=t.toLowerCase();if("Brave"===e){const t=r.match(/chrome\/(\d+\.\d+\.\d+\.\d+)/);if(t)return t[1]}if("Edge"===e){const t=r.match(/edg\/(\d+\.\d+\.\d+\.\d+)/);if(t)return t[1];const e=r.match(/edgios\/(\d+\.\d+)/);if(e)return e[1];const n=r.match(/edga\/(\d+\.\d+\.\d+\.\d+)/);if(n)return n[1]}if("Edge Legacy"===e){const t=r.match(/edge\/(\d+\.\d+)/);if(t)return t[1]}return n||""},Nr=(t,e)=>{var n;const r=t.toLowerCase();return r.includes("brave")||(null===(n=navigator.brave)||void 0===n?void 0:n.isBrave)||"undefined"!=typeof window&&navigator.brave&&navigator.brave.isBrave?"Brave":r.includes("edg/")||r.includes("edge/")||r.includes("edgios/")||r.includes("edga/")?"Edge":r.includes("trident/")&&r.includes("edge/")?"Edge Legacy":e||""},Ir=t=>{var e,n,r,i,o,a,s,l,u,c,h,d,f,p,m,g,v,y,b,w,x,A;const k=null==t?void 0:t.sort(((t,e)=>t.timestamp-e.timestamp)),S=[];for(let t=0;t<(null==k?void 0:k.length);t++){const E=k[t];if(!(t>0&&(null==E?void 0:E.eventData)===(null===(e=k[t-1])||void 0===e?void 0:e.eventData)&&(null==E?void 0:E.eventType)===(null===(n=k[t-1])||void 0===n?void 0:n.eventType)&&(null==E?void 0:E.timestamp)-2<(null===(r=k[t-1])||void 0===r?void 0:r.timestamp)&&(null===(i=k[t-1])||void 0===i?void 0:i.timestamp)<(null==E?void 0:E.timestamp)+2&&(null==E?void 0:E.eventElement)===(null===(o=k[t-1])||void 0===o?void 0:o.eventElement)))if(t>1&&(null==E?void 0:E.eventType)===Sr&&"Shift"===(null==E?void 0:E.eventData)&&(null===(a=k[t-1])||void 0===a?void 0:a.eventType)===kr&&(null===(s=k[t+1])||void 0===s?void 0:s.eventType)===kr)S.pop();else if(t>1&&(null==E?void 0:E.eventType)===Sr&&"32"===(null==E?void 0:E.eventData)&&(null===(l=k[t-1])||void 0===l?void 0:l.eventType)===kr&&(null===(u=k[t+1])||void 0===u?void 0:u.eventType)===kr)S.pop();else if(t>1&&(null==E?void 0:E.eventType)===kr&&(null===(c=k[t-1])||void 0===c?void 0:c.eventType)===Sr&&("Backspace"===(null===(h=k[t-1])||void 0===h?void 0:h.eventData)||"Delete"===(null===(d=k[t-1])||void 0===d?void 0:d.eventData))&&(null==E?void 0:E.eventType)===(null===(f=k[t-2])||void 0===f?void 0:f.eventType))if((null===(p=S[S.length-1])||void 0===p?void 0:p.eventType)===kr){const t=Or(E),e=Or(S);t.requestTime=null===(m=e[e.length-1])||void 0===m?void 0:m.requestTime,t.responseTime=null==E?void 0:E.timestamp,S[S.length-1]=t}else{const t=Or(E);t.requestTime=t.timestamp,t.responseTime=0,S.push(t)}else if(t>0&&(null==E?void 0:E.eventType)===kr&&(null==E?void 0:E.eventType)===(null===(g=k[t-1])||void 0===g?void 0:g.eventType)){const t=Or(E),e=Or(S);t.requestTime=null===(v=e[e.length-1])||void 0===v?void 0:v.requestTime,t.responseTime=null==E?void 0:E.timestamp,S[S.length-1]=t}else if(t>1&&(null==E?void 0:E.eventType)===Sr&&("Backspace"===(null==E?void 0:E.eventData)||"Delete"===(null==E?void 0:E.eventData))&&(null==E?void 0:E.eventType)===(null===(y=k[t-2])||void 0===y?void 0:y.eventType)&&(null==E?void 0:E.eventData)===k[t-2].eventData&&(null===(b=k[t-1])||void 0===b?void 0:b.eventType)===kr){for(let t=S.length-1;t>=0;t--)if((null===(w=S[t])||void 0===w?void 0:w.eventType)===Sr&&S[t].eventData===(null==E?void 0:E.eventData)){void 0!==S[t].count&&(S[t].count=S[t].count+1),S[t].responseTime=null==E?void 0:E.timestamp;break}}else if(t>0&&(null==E?void 0:E.eventType)===Sr&&(null==E?void 0:E.eventType)===(null===(x=k[t-1])||void 0===x?void 0:x.eventType)&&(null==E?void 0:E.eventData)===(null===(A=k[t-1])||void 0===A?void 0:A.eventData))void 0!==S[S.length-1].count&&(S[S.length-1].count=S[S.length-1].count+1),S[S.length-1].responseTime=null==E?void 0:E.timestamp;else{const t=Or(E);t.requestTime=t.timestamp,t.responseTime=0,S.push(t)}}return S};var Rr=__webpack_require__(4677),Lr=__webpack_require__(8602),Fr=__webpack_require__(4827);const Br="betterbugs-sdk-verify",jr="betterbugs-message-listener";const zr=()=>(sessionStorage.getItem("tabId")||sessionStorage.setItem("tabId",((new Date).getTime()/1e3|0).toString(16)+Math.floor(16777216*Math.random()).toString(16).padStart(6,"0")+Math.floor(65536*Math.random()).toString(16).padStart(4,"0")+Math.floor(16777216*Math.random()).toString(16).padStart(6,"0")),sessionStorage.getItem("tabId")||"");var Vr=__webpack_require__(7753);const Hr=Symbol.for("Dexie"),Ur=globalThis[Hr]||(globalThis[Hr]=Vr);if(Vr.semVer!==Ur.semVer)throw new Error(`Two different versions of Dexie loaded in the same app: ${Vr.semVer} and ${Ur.semVer}`);const{liveQuery:Gr,mergeRanges:Kr,rangesOverlap:Wr,RangeSet:Xr,cmp:Yr,Entity:Qr,PropModification:Jr,replacePrefix:Zr,add:$r,remove:ti}=Ur;var ei=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{l(r.next(t))}catch(t){o(t)}}function s(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))};class ni{constructor(t){this.batchQueue=[],this.rewindBatchQueue=[],this.processingBatch=!1,this.processingRewindBatch=!1,this.BATCH_SIZE=15,this.BATCH_INTERVAL=2e3,this.lastBatch=0,this.requests=new Map,this.CLEAN_UP_INTERVAL=3e4,this.lastCleanup=0,this.isDestroyed=!1,this.minutesToKeepData=10,this.__init(t)}__init(t){if(ni._instance)return ni._instance;ni._instance=this,this.db=new Ur("logger-DB"),this.isDestroyed=!1,this.initDB(),this.batchQueue=[],this.rewindBatchQueue=[],this.processingBatch=!1,this.processingRewindBatch=!1,this.BATCH_SIZE=15,this.BATCH_INTERVAL=2e3,this.CLEAN_UP_INTERVAL=3e4,this.startPeriodicBatchProcess(),this.minutesToKeepData=t.maxRecordingMinutes||10,window.addEventListener("load",(()=>{this.createIframe()}))}createIframe(){var t;if(this.iframeRef=null===document||void 0===document?void 0:document.getElementById(jr),!this.iframeRef){this.iframeRef=document.createElement("iframe");const e="https://recording.betterbugs.io/message-listener";if(!e)return void Tr.error("MESSAGE_LISTENER_URL is not defined");try{const t=new URL(e);t.searchParams.set("targetURL",window.location.origin),this.iframeRef.src=t.toString()}catch(t){Tr.error("Invalid MESSAGE_LISTENER_URL:",t),this.iframeRef.src=e}this.iframeRef.classList.add(jr),this.iframeRef.id=jr,this.iframeRef.hidden=!0,null===(t=null===document||void 0===document?void 0:document.body)||void 0===t||t.append(this.iframeRef)}}sendMessageToIframe(t){var e,n;return ei(this,void 0,void 0,(function*(){if("hidden"===document.visibilityState)return;const r="https://recording.betterbugs.io/message-listener";let i;try{i=new URL(r).origin}catch(t){return void Tr.error("Invalid MESSAGE_LISTENER_URL:",t)}if(document.getElementById(jr))try{null===(e=this.iframeRef)||void 0===e||e.contentWindow.postMessage({type:"application",data:t,timestamp:Date.now()},i),null===(n=this.iframeRef)||void 0===n||n.contentWindow.postMessage({type:"urlInfo",domain:window.location.hostname,pageTitle:document.title,url:window.location.href},i)}catch(t){Tr.log(t)}}))}cleanUpdata(){return ei(this,void 0,void 0,(function*(){const t=Date.now();if(t-parseInt(localStorage.getItem("lastCleanup")||"0")>=this.CLEAN_UP_INTERVAL){const e=60*this.minutesToKeepData*1e3;this.deleteRewindDataOnTabReload(e),yield this.db.logs.where("timestamp").between(0,Date.now()-e,!0,!0).delete(),localStorage.setItem("lastCleanup",t.toString())}}))}deleteRewindDataOnTabReload(t){return ei(this,void 0,void 0,(function*(){try{return yield this.db.rewind.where("timestamp").between(0,Date.now()-t,!0,!0).delete(),!0}catch(t){return Tr.log("🚀 ~ deleteRewindDataOnTabReload ~ error:",t),!1}}))}startPeriodicBatchProcess(){this.interval=setInterval((()=>{var t;this.batchQueue.length>0&&this.processBatch(),(null===(t=this.rewindBatchQueue)||void 0===t?void 0:t.length)>0&&this.processRewindBatch(),this.cleanUpdata()}),this.BATCH_INTERVAL)}initDB(){var t,e;null===(t=null==this?void 0:this.db)||void 0===t||t.version(parseInt("1")).stores({logs:"++id,tabId,timestamp,type,recordingIds,[tabId+timestamp]",rewind:"++id,tabId,timestamp,[tabId+timestamp]"}),null===(e=null==this?void 0:this.db)||void 0===e||e.open(),Tr.log("this.db",this.db)}addToBatch(t){var e;return ei(this,void 0,void 0,(function*(){try{this.iframeRef||this.createIframe();const n="https://recording.betterbugs.io/message-listener";if(!n)return void Tr.error("MESSAGE_LISTENER_URL is not defined");let r;try{r=new URL(n).origin}catch(t){return void Tr.error("Invalid MESSAGE_LISTENER_URL:",t)}if(this.iframeRef&&document.getElementById(jr)&&"visible"===document.visibilityState&&(null===(e=this.iframeRef)||void 0===e?void 0:e.contentWindow))try{this.iframeRef.contentWindow.postMessage(t,r)}catch(t){Tr.log(t)}this.batchQueue.push(Object.assign({},t)),this.batchQueue.length>=this.BATCH_SIZE&&(yield this.processBatch())}catch(t){Tr.error("Error in addToBatch:",t)}}))}addRewindDataToBatch(t){return ei(this,void 0,void 0,(function*(){this.rewindBatchQueue.push(t),this.rewindBatchQueue.length>=this.BATCH_SIZE&&(yield this.processRewindBatch())}))}processRewindBatch(){var t,e,n,r,i,o;return ei(this,void 0,void 0,(function*(){if(this.processingRewindBatch||0===this.rewindBatchQueue.length)return;let a=[];try{this.processingRewindBatch=!0,a=this.rewindBatchQueue.splice(0,this.BATCH_SIZE);const n=a.filter((t=>!!t)).map((t=>Object.assign(Object.assign({},t),{event:this.sanitizeForIndexedDB(t.event),events:Array.isArray(t.events)?t.events.map((t=>this.sanitizeForIndexedDB(t))):t.events})));yield null===(e=null===(t=null==this?void 0:this.db)||void 0===t?void 0:t.rewind)||void 0===e?void 0:e.bulkAdd(n)}catch(t){Tr.error("Error processing rewind batch:",t);for(const t of a)try{const e=Object.assign(Object.assign({},t),{event:this.sanitizeForIndexedDB(t.event),events:Array.isArray(t.events)?t.events.map((t=>this.sanitizeForIndexedDB(t))):t.events});yield null===(r=null===(n=null==this?void 0:this.db)||void 0===n?void 0:n.rewind)||void 0===r?void 0:r.put(e)}catch(e){Tr.error("Failed to save individual rewind log:",e,t);const n=e;if("DataCloneError"===n.name||"ConstraintError"===n.name)try{const e={id:t.id||Date.now().toString(),type:"rewind",timestamp:t.timestamp||Date.now(),tabId:t.tabId||zr(),createdAt:t.createdAt||(new Date).toISOString(),event:{error:"Original rewind data could not be stored",errorType:n.name,originalEventType:typeof t.event}};yield null===(o=null===(i=null==this?void 0:this.db)||void 0===i?void 0:i.rewind)||void 0===o?void 0:o.put(e)}catch(t){Tr.error("Failed to save even minimal rewind log version:",t)}}}finally{this.processingRewindBatch=!1}}))}sanitizeForIndexedDB(t){try{return JSON.parse(JSON.stringify(t))}catch(e){return Tr.error("Failed to sanitize data for IndexedDB:",e),{error:"Data sanitization failed",originalType:typeof t,timestamp:Date.now()}}}processBatch(){var t,e,n,r,i,o;return ei(this,void 0,void 0,(function*(){if(this.processingBatch||0===this.batchQueue.length)return;let a=[];try{this.processingBatch=!0,a=this.batchQueue.splice(0,this.BATCH_SIZE);const n=a.filter((t=>!!t)).map((t=>Object.assign(Object.assign({},t),{data:this.sanitizeForIndexedDB(t.data)})));yield null===(e=null===(t=null==this?void 0:this.db)||void 0===t?void 0:t.logs)||void 0===e?void 0:e.bulkAdd(n)}catch(t){Tr.error("Error processing batch:",t);for(const t of a)try{const e=Object.assign(Object.assign({},t),{data:this.sanitizeForIndexedDB(t.data)});yield null===(r=null===(n=null==this?void 0:this.db)||void 0===n?void 0:n.logs)||void 0===r?void 0:r.put(e)}catch(e){Tr.error("Failed to save individual log:",e,t);const n=e;if("DataCloneError"===n.name||"ConstraintError"===n.name)try{const e={type:t.type||"unknown",timestamp:t.timestamp||Date.now(),tabId:t.tabId||zr(),data:{error:"Original data could not be stored",errorType:n.name,originalDataType:typeof t.data}};yield null===(o=null===(i=null==this?void 0:this.db)||void 0===i?void 0:i.logs)||void 0===o?void 0:o.put(e)}catch(t){Tr.error("Failed to save even minimal log version:",t)}}}finally{this.processingBatch=!1}}))}saveNetworkRequest(t){var e;return ei(this,void 0,void 0,(function*(){if(!t)return;const n=JSON.parse(localStorage.getItem("recordingStatuses")||"[]")||[],r=null===(e=null==n?void 0:n.filter((t=>t.currentlyRecording)))||void 0===e?void 0:e.map((t=>t.id));try{yield this.addToBatch({type:"network",timestamp:t.timestamp||Date.now(),data:t,recordingIds:r,tabId:zr()})}catch(t){Tr.error("Error handling network response:",t)}}))}saveConsoleLog(t){var e;return ei(this,void 0,void 0,(function*(){if(t)try{const n=JSON.parse(localStorage.getItem("recordingStatuses")||"[]")||[],r=null===(e=null==n?void 0:n.filter((t=>t.currentlyRecording)))||void 0===e?void 0:e.map((t=>t.id));yield this.addToBatch({type:"console",timestamp:t.timestamp||Date.now(),data:t,recordingIds:r,tabId:zr()})}catch(t){Tr.error("Error handling console logs",t)}}))}saveSteps(t){var e;return ei(this,void 0,void 0,(function*(){if(t)try{const n=JSON.parse(localStorage.getItem("recordingStatuses")||"[]")||[],r=null===(e=null==n?void 0:n.filter((t=>t.currentlyRecording)))||void 0===e?void 0:e.map((t=>t.id));yield this.addToBatch({type:"step",timestamp:t.timestamp?Number(t.timestamp):Date.now(),data:t,tabId:zr(),recordingIds:r})}catch(t){Tr.error("Error handling steps data",t)}}))}saveApplicationData(t){var e;return ei(this,void 0,void 0,(function*(){if(t)try{const n=JSON.parse(localStorage.getItem("recordingStatuses")||"[]")||[],r=null===(e=null==n?void 0:n.filter((t=>t.currentlyRecording)))||void 0===e?void 0:e.map((t=>t.id));yield this.addToBatch({type:"application",timestamp:t.timestamp||Date.now(),data:t.data,tabId:zr(),recordingIds:r})}catch(t){Tr.error("Error handling steps data",t)}}))}saveRewindData(t){return ei(this,void 0,void 0,(function*(){if(t)try{yield this.addRewindDataToBatch(Object.assign(Object.assign({},t),{type:"rewind",tabId:zr()}))}catch(t){Tr.error("Error handling rewind data",t)}}))}handleSuspend(){return ei(this,void 0,void 0,(function*(){Tr.log("Extension suspending, performing cleanup..."),yield this.destroy()}))}destroy(){var t;return ei(this,void 0,void 0,(function*(){this.isDestroyed||(this.isDestroyed=!0,clearInterval(this.interval),yield this.processBatch(),yield this.processRewindBatch(),yield null===(t=null==this?void 0:this.db)||void 0===t?void 0:t.close())}))}getLogsByStackTrace(t,e=!1,n=!1){return ei(this,void 0,void 0,(function*(){const r=this.batchQueue;return[...yield this.queryLogs(t,!1,e,n),...r]}))}queryLogs(t,e=!1,n=!1,r=!1){var i,o,a,s,l,u;return ei(this,void 0,void 0,(function*(){if(!t||0===t.length)return[];Tr.log("stackTrace",t,e,n);const c=t.reduce(((t,e)=>({startTime:Math.min(t.startTime,e.startTime||0),endTime:Math.max(t.endTime,e.endTime||Date.now())})),{startTime:1/0,endTime:-1/0});n&&(c.startTime-=12e4);try{if(e)return yield null===(i=null==this?void 0:this.db)||void 0===i?void 0:i.rewind.where(["tabId","timestamp"]).between([zr(),c.startTime],[zr(),c.endTime],!0,!0).toArray();if(r){let e=null===(o=null==this?void 0:this.db)||void 0===o?void 0:o.logs.where("timestamp").between(c.startTime,c.endTime,!0,!0);return(null===(a=t[0])||void 0===a?void 0:a.type)&&(e=e.filter((e=>e.type===t[0].type))),(null===(s=t[0])||void 0===s?void 0:s.recordingId)&&(e=e.filter((e=>{var n;return!!(null===(n=e.recordingIds)||void 0===n?void 0:n.length)&&e.recordingIds.includes(t[0].recordingId||"")}))),yield e.reverse().toArray()}{const e=(null===(l=t[0])||void 0===l?void 0:l.type)?e=>e.type===t[0].type:()=>!0;return yield null===(u=null==this?void 0:this.db)||void 0===u?void 0:u.logs.where(["tabId","timestamp"]).between([zr(),c.startTime],[zr(),c.endTime],!0,!0).filter(e).reverse().toArray()}}catch(t){return Tr.error("Error querying logs:",t),[]}}))}}ni._instance=null;var ri=ni;var ii=t=>(0,n.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},t,{children:(0,n.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.4 7.6a1.2 1.2 0 0 1 1.2-1.2h10.8a1.2 1.2 0 0 1 1.2 1.2v3.119l4.032-3.36c.781-.651 1.968-.095 1.968.922v7.438c0 1.017-1.187 1.573-1.968.922L15.6 13.28V16.4a1.2 1.2 0 0 1-1.2 1.2H3.6a1.2 1.2 0 0 1-1.2-1.2V7.6ZM15.937 12l4.463 3.719V8.281L15.937 12ZM14.4 7.6H3.6v8.8h10.8V7.6Z",clipRule:"evenodd"})}));var oi=t=>(0,n.jsxs)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},t,{children:[(0,n.jsx)("path",{fill:"#A4A7A6",fillRule:"evenodd",d:"M7 4.167a3 3 0 0 1 6 0v5a3 3 0 0 1-6 0v-5Zm3-2a2 2 0 0 0-2 2v5a2 2 0 1 0 4 0v-5a2 2 0 0 0-2-2Z",clipRule:"evenodd"}),(0,n.jsx)("path",{fill:"#A4A7A6",fillRule:"evenodd",d:"M4.167 7.833a.5.5 0 0 1 .5.5v.834a5.333 5.333 0 0 0 10.666 0v-.834a.5.5 0 0 1 1 0v.834a6.333 6.333 0 1 1-12.666 0v-.834a.5.5 0 0 1 .5-.5Z",clipRule:"evenodd"}),(0,n.jsx)("path",{fill:"#A4A7A6",fillRule:"evenodd",d:"M10 14.5a.5.5 0 0 1 .5.5v2.833h2a.5.5 0 1 1 0 1h-5a.5.5 0 0 1 0-1h2V15a.5.5 0 0 1 .5-.5Z",clipRule:"evenodd"})]}));var ai=t=>(0,n.jsxs)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},t,{children:[(0,n.jsx)("path",{fill:"#A4A7A6",fillRule:"evenodd",d:"M13 4.167a3 3 0 1 0-6 0V8.75a.5.5 0 0 0 1 0V4.167a2 2 0 1 1 4 0v.416a.5.5 0 0 0 1 0v-.416Z",clipRule:"evenodd"}),(0,n.jsx)("path",{fill:"#A4A7A6",d:"M15.333 8.333a.5.5 0 1 1 1 0v.834c0 3.33-2.569 6.059-5.833 6.314v2.352h2a.5.5 0 1 1 0 1h-5a.5.5 0 0 1 0-1h2v-2.352a6.334 6.334 0 0 1-5.833-6.314v-.834a.5.5 0 1 1 1 0v.834A5.333 5.333 0 0 0 9.994 14.5h.012a5.333 5.333 0 0 0 5.327-5.333v-.834Z"}),(0,n.jsx)("path",{fill:"#EF1F1F",fillRule:"evenodd",d:"M17.854 2.146a.5.5 0 0 0-.708 0l-15 15a.5.5 0 1 0 .708.708l15-15a.5.5 0 0 0 0-.708Z",clipRule:"evenodd"})]})),si=__webpack_require__(178),li=JSON.parse('{"v":"5.12.2","fr":30.0489807128906,"ip":0,"op":76.9999505771433,"w":1080,"h":1080,"nm":"Comp 1","ddd":0,"assets":[{"id":"image_0","w":169,"h":197,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKkAAADFCAYAAAAv49IOAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAhNSURBVHgB7d1LcltFFIDh0zJF2TCIM6HMKDc7yAjMzNlBdpDswPYKElZgewXIKyA7wCMqGWFWEGUUwsgMqDgDq+nWAyuyZN1HP47U/1dFhcQUKfCfo763+0oiAAB08u7kYFegWk8Kty3Xpx9O9l8J1Co+UmPkkTHmkImqV/GRjtndHfn8QqASkU4ZeyhQiUhvVR9PfngmUIdIZ1jTY5oqRKRfOnBX+gcCVYh0jrvafylQhUjvYpoqQ6QLME11IdLFmKaKEOkSTFM9iHQ5pqkSRHqPnpHnguyI9B5WzDMOnuRHpPeyu9tyfSTIikhX4BhffkS6EtM0NyKtwU9TQTZEWovd5RhfPkRaE8f48iHS+ri5nwmRNsBWaR5E2gzTNAMibYit0vSItCG2StMj0sa4uZ8akbbAVmlaRNoK0zQlIm2JrdJ0iLQ1u+tuR70QREekHRhuRyVBpN1wcz8BIu2IrdL4iLQ7pmlkRBoAW6VxEWkAVuQFN/fjIdJAuLkfD5EGwlZpPEQaDFul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kYNgDrZDYAcA6/nVGimpIkQ/yGMqDwC7GeiWS482coJq6tdqokPVZoschHJIIgR2AEis5R9VylRQQf6JqTyCPEBq9cI4B+6q+rp31Nf65+rrvqa+mXcQyCHNENgBIHV26jWCSgNT+bIK82WEeQALPQ7iPBmv+ZNxrquQpybkXaohjEOWIbADQKYMh3k+9Cp0mEdfHsCYxwHcD+HOYAjniXhBBXHXJQd7ygEOhsAOADCAA/3sDJVdFeipt5KSu/Ml9bL706S78yrcSzWpB8iK3iFNxu8dP3yrV64crqPo3+lPwfmHCOAA5iGwAwCMQU/qJ1WAL+jpPA2GezVBPLoztUcNB2yxT/BWn6/O8OQbFRQAeyCwAwCEbHBqzwdk1Vvp8bYbTOzhEHYJ3fpnkj73Q7f+uQrdeRW+EbwB0gGBHQDAArtN7NX0kwN+bzqvL5jSD9rl/l9SIv/3EPjt97jTzXS3W/ZCNw1PufVHeP2qCWomAEAI7AAAqaHXXLJ+6OeDtUL0Qj3XdXY+8HH4fxz6e4Z+LkupqfM8GZhrA7/zeEq9HzXBfvJvNxCu+bd5raDs/7z7+O+PoA0AJvx/gPVcgjuINaUAAAAASUVORK5CYII=","e":1},{"id":"comp_0","nm":"Vector.png Comp 1","fr":30.0489807128906,"layers":[{"ddd":0,"ind":1,"ty":2,"nm":"Vector.png","cl":"png","refId":"image_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.2],"y":[1]},"o":{"x":[0.4],"y":[0]},"t":9,"s":[0]},{"i":{"x":[0.2],"y":[1]},"o":{"x":[0.4],"y":[0]},"t":37,"s":[170]},{"t":50.9999672653806,"s":[360]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.2,"y":1},"o":{"x":0.4,"y":0},"t":4,"s":[540,536,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.2,"y":0.2},"o":{"x":0.4,"y":0.4},"t":28,"s":[540,263,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.2,"y":1},"o":{"x":0.4,"y":0},"t":37,"s":[540,263,0],"to":[0,0,0],"ti":[0,0,0]},{"t":50.9999672653806,"s":[540,536,0]}],"ix":2,"l":2},"a":{"a":0,"k":[84.5,98.5,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0.2,0.2,0.667],"y":[1,1,1]},"o":{"x":[0.4,0.4,0.333],"y":[0,0,0]},"t":4,"s":[0,0,100]},{"i":{"x":[0.2,0.2,0.667],"y":[1,1,1]},"o":{"x":[0.4,0.4,0.333],"y":[0,0,0]},"t":28,"s":[119.026,119.026,100]},{"i":{"x":[0.2,0.2,0.667],"y":[1,1,1]},"o":{"x":[0.4,0.4,0.167],"y":[0,0,0]},"t":37,"s":[91.026,91.026,100]},{"t":50.9999672653806,"s":[0,0,100]}],"ix":6,"l":2}},"ao":0,"ef":[{"ty":5,"nm":"Glow","np":16,"mn":"ADBE Glo2","ix":1,"en":1,"ef":[{"ty":7,"nm":"Glow Based On","mn":"ADBE Glo2-0001","ix":1,"v":{"a":0,"k":2,"ix":1}},{"ty":0,"nm":"Glow Threshold","mn":"ADBE Glo2-0002","ix":2,"v":{"a":0,"k":161,"ix":2}},{"ty":0,"nm":"Glow Radius","mn":"ADBE Glo2-0003","ix":3,"v":{"a":0,"k":52,"ix":3}},{"ty":0,"nm":"Glow Intensity","mn":"ADBE Glo2-0004","ix":4,"v":{"a":0,"k":0.98,"ix":4}},{"ty":7,"nm":"Composite Original","mn":"ADBE Glo2-0005","ix":5,"v":{"a":0,"k":2,"ix":5}},{"ty":7,"nm":"Glow Operation","mn":"ADBE Glo2-0006","ix":6,"v":{"a":0,"k":3,"ix":6}},{"ty":7,"nm":"Glow Colors","mn":"ADBE Glo2-0007","ix":7,"v":{"a":0,"k":2,"ix":7}},{"ty":7,"nm":"Color Looping","mn":"ADBE Glo2-0008","ix":8,"v":{"a":0,"k":3,"ix":8}},{"ty":0,"nm":"Color Loops","mn":"ADBE Glo2-0009","ix":9,"v":{"a":0,"k":1,"ix":9}},{"ty":0,"nm":"Color Phase","mn":"ADBE Glo2-0010","ix":10,"v":{"a":0,"k":23,"ix":10}},{"ty":0,"nm":"A & B Midpoint","mn":"ADBE Glo2-0011","ix":11,"v":{"a":0,"k":0.99,"ix":11}},{"ty":2,"nm":"Color A","mn":"ADBE Glo2-0012","ix":12,"v":{"a":0,"k":[1,1,1,0],"ix":12}},{"ty":2,"nm":"Color B","mn":"ADBE Glo2-0013","ix":13,"v":{"a":0,"k":[0,0,0,0],"ix":13}},{"ty":7,"nm":"Glow Dimensions","mn":"ADBE Glo2-0014","ix":14,"v":{"a":0,"k":1,"ix":14}}]}],"ip":0,"op":150.999903079852,"st":0,"bm":0}]}],"layers":[{"ddd":0,"ind":1,"ty":0,"nm":"Vector.png Comp 1","cl":"png","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[676,548,0],"ix":2,"l":2},"a":{"a":0,"k":[540,540,0],"ix":1,"l":2},"s":{"a":0,"k":[70,70,100],"ix":6,"l":2}},"ao":0,"w":1080,"h":1080,"ip":5.99999614886831,"op":155.999899870576,"st":5.99999614886831,"bm":0},{"ddd":0,"ind":2,"ty":0,"nm":"Vector.png Comp 1","cl":"png","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[280,308,0],"ix":2,"l":2},"a":{"a":0,"k":[540,540,0],"ix":1,"l":2},"s":{"a":0,"k":[62,62,100],"ix":6,"l":2}},"ao":0,"w":1080,"h":1080,"ip":13.999991014026,"op":163.999894735734,"st":13.999991014026,"bm":0},{"ddd":0,"ind":3,"ty":0,"nm":"Vector.png Comp 1","cl":"png","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[712,460,0],"ix":2,"l":2},"a":{"a":0,"k":[540,540,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"w":1080,"h":1080,"ip":0,"op":149.999903721708,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":2,"nm":"Group 427322961.png","cl":"png","refId":"image_1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0],"y":[1]},"o":{"x":[0.43],"y":[0]},"t":0,"s":[-66]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[1],"y":[0]},"t":22,"s":[13]},{"t":30.9999801024863,"s":[-11]}],"ix":10},"p":{"a":0,"k":[340,872,0],"ix":2,"l":2},"a":{"a":0,"k":[94,958,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0,0,0.667],"y":[1,1,1]},"o":{"x":[0.816,0.816,0.333],"y":[0,0,0]},"t":0,"s":[0,0,100]},{"i":{"x":[0.34,0.34,0.833],"y":[1,1,1]},"o":{"x":[1,1,0.333],"y":[0,0,0]},"t":22,"s":[80,80,100]},{"t":30.9999801024863,"s":[74,74,100]}],"ix":6,"l":2}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"n","pt":{"a":0,"k":{"i":[[0,0]],"o":[[0,0]],"v":[[933.622,172.344]],"c":false},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"ef":[{"ty":5,"nm":"Glow","np":16,"mn":"ADBE Glo2","ix":1,"en":1,"ef":[{"ty":7,"nm":"Glow Based On","mn":"ADBE Glo2-0001","ix":1,"v":{"a":0,"k":1,"ix":1}},{"ty":0,"nm":"Glow Threshold","mn":"ADBE Glo2-0002","ix":2,"v":{"a":0,"k":206,"ix":2}},{"ty":0,"nm":"Glow Radius","mn":"ADBE Glo2-0003","ix":3,"v":{"a":0,"k":16,"ix":3}},{"ty":0,"nm":"Glow Intensity","mn":"ADBE Glo2-0004","ix":4,"v":{"a":0,"k":0.6,"ix":4}},{"ty":7,"nm":"Composite Original","mn":"ADBE Glo2-0005","ix":5,"v":{"a":0,"k":2,"ix":5}},{"ty":7,"nm":"Glow Operation","mn":"ADBE Glo2-0006","ix":6,"v":{"a":0,"k":2,"ix":6}},{"ty":7,"nm":"Glow Colors","mn":"ADBE Glo2-0007","ix":7,"v":{"a":0,"k":2,"ix":7}},{"ty":7,"nm":"Color Looping","mn":"ADBE Glo2-0008","ix":8,"v":{"a":0,"k":3,"ix":8}},{"ty":0,"nm":"Color Loops","mn":"ADBE Glo2-0009","ix":9,"v":{"a":0,"k":1,"ix":9}},{"ty":0,"nm":"Color Phase","mn":"ADBE Glo2-0010","ix":10,"v":{"a":0,"k":36,"ix":10}},{"ty":0,"nm":"A & B Midpoint","mn":"ADBE Glo2-0011","ix":11,"v":{"a":0,"k":0.534,"ix":11}},{"ty":2,"nm":"Color A","mn":"ADBE Glo2-0012","ix":12,"v":{"a":0,"k":[1,1,1,0],"ix":12}},{"ty":2,"nm":"Color B","mn":"ADBE Glo2-0013","ix":13,"v":{"a":0,"k":[0,0,0,0],"ix":13}},{"ty":7,"nm":"Glow Dimensions","mn":"ADBE Glo2-0014","ix":14,"v":{"a":0,"k":1,"ix":14}}]}],"ip":0,"op":900.999421688391,"st":0,"bm":0}],"markers":[],"props":{}}'),ui=__webpack_require__.t(li,2);const ci="bb-DB",hi=parseInt("1")||0,di=()=>{try{const t=new Ur(ci);return t.version(hi).stores({sessions:"id",screenshots:"sessionId",rewind:"sessionId",videos:"sessionId",consoleLogs:"id, sessionId",applicationData:"id, sessionId",steps:"id, sessionId",networkLogs:"id, sessionId",tempChunks:"id, videoUniqueId, sessionId, index, isUploaded"}),t.open(),t}catch(t){Tr.log("🚀 ~ createDB ~ error:",t)}},fi=()=>di();var pi=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{l(r.next(t))}catch(t){o(t)}}function s(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))};const mi=(t,e)=>pi(void 0,void 0,void 0,(function*(){const n=yield fi();if(t)try{return yield n.tempChunks.update(t,e)}catch(t){Tr.log("🚀 ~ getDBTempChunksBySessionID ~ error:",t)}return!1}));var gi=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{l(r.next(t))}catch(t){o(t)}}function s(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))};class vi{constructor(t){this.mediaRecorder=null,this.recordedChunks=[],this.stream=null,this.desktopStream=null,this.micStream=null,this.audioContext=null,this.finalVideo=null,this.finalAudio=null,this.uniqueId=t.recordingId,this.isMicEnabled=t.isMicEnabled,this.chunkDate=t.chunkDate||"",di()}static getInstance(t){return vi.instance||(vi.instance=new vi(t)),vi.instance}uploadChunk(t,e,n,r){return gi(this,void 0,void 0,(function*(){const i=new FormData;return i.append("file",t),i.append("uniqueId",e),i.append("chunkDate",n),i.append("chunkNumber",r),yield window.fetch("https://butterfly-api.betterbugs.io/upload/upload-chunk",{method:"POST",body:i}),mi(e+"_"+r,{isUploaded:!0})}))}mergeStreams(){var t,e,n,r,i,o,a,s,l;return gi(this,void 0,void 0,(function*(){if(this.stream=new MediaStream,this.audioContext=new AudioContext,this.finalAudio=null,this.finalVideo=(null===(t=this.desktopStream)||void 0===t?void 0:t.getVideoTracks()[0])||null,this.micStream){const t=[],u=this.desktopStream&&(null===(e=this.desktopStream)||void 0===e?void 0:e.getAudioTracks()[0]),c=this.micStream&&(null===(n=this.micStream)||void 0===n?void 0:n.getAudioTracks()[0]);u&&t.push(null===(r=this.audioContext)||void 0===r?void 0:r.createMediaStreamSource(new MediaStream([u]))),c&&t.push(null===(i=this.audioContext)||void 0===i?void 0:i.createMediaStreamSource(new MediaStream([c])));const h=null===(o=this.audioContext)||void 0===o?void 0:o.createMediaStreamDestination();null==t||t.forEach((function(t){null==t||t.connect(h)})),this.finalAudio=null===(a=null==h?void 0:h.stream)||void 0===a?void 0:a.getAudioTracks()[0],this.finalVideo&&(null===(s=this.stream)||void 0===s||s.addTrack(this.finalVideo)),this.finalAudio&&(null===(l=this.stream)||void 0===l||l.addTrack(this.finalAudio))}else this.stream&&(this.stream=this.desktopStream)}))}startRecording(){return gi(this,void 0,void 0,(function*(){this.cleanup();try{if(this.desktopStream=yield navigator.mediaDevices.getDisplayMedia({video:{cursor:"never",displaySurface:"browser"},surfaceSwitching:"exclude"}),this.isMicEnabled)try{this.micStream=yield navigator.mediaDevices.getUserMedia({audio:!0}).catch((t=>(Tr.error("Error getting user media:",t),null)))}catch(t){Tr.error("Error getting user media:",t)}if(yield this.mergeStreams(),!this.stream)throw new Error("No stream found");this.stream.onremovetrack=()=>{const t=new CustomEvent("stopRecording",{detail:{isRecording:!1}});document.dispatchEvent(t)},this.stream.getTracks().forEach((t=>{t.onended=()=>{const t=new CustomEvent("stopRecording",{detail:{isRecording:!1}});document.dispatchEvent(t)}}));let t={mimeType:"video/webm"};if(navigator.userAgent.toLowerCase().includes("firefox")?MediaRecorder.isTypeSupported("video/webm")&&(t={mimeType:"video/webm",videoBitsPerSecond:25e5}):MediaRecorder.isTypeSupported("video/webm; codecs=vp8,opus")?t={mimeType:"video/webm; codecs=vp8,opus",videoBitsPerSecond:25e5}:MediaRecorder.isTypeSupported("video/webm; codecs=vp9,opus")?t={mimeType:"video/webm; codecs=vp9,opus",videoBitsPerSecond:25e5}:MediaRecorder.isTypeSupported("video/webm")?t={mimeType:"video/webm",videoBitsPerSecond:25e5}:MediaRecorder.isTypeSupported("video/mp4")&&(t={mimeType:"video/mp4",videoBitsPerSecond:25e5}),!t.mimeType)throw Tr.error("No suitable mimetype found for this device"),new Error("No suitable mimetype found for this device");if(Tr.log("Using recorder options:",t),(null==this?void 0:this.stream)instanceof MediaStream&&((null==t?void 0:t.mimeType)?this.mediaRecorder=new MediaRecorder(null==this?void 0:this.stream,t):this.mediaRecorder=new MediaRecorder(null==this?void 0:this.stream)),this.recordedChunks=[],!this.mediaRecorder)throw new Error("No media recorder found");this.chunkNumber=0,this.chunkDate=(new Date).toLocaleDateString("en-CA"),this.mediaRecorder.ondataavailable=t=>{if(t.data.size>0){this.recordedChunks.push(t.data),this.chunkNumber=(null==this?void 0:this.chunkNumber)+1,e={id:this.uniqueId+"_"+this.chunkNumber,index:this.chunkNumber,videoUniqueId:this.uniqueId,chunkDate:this.chunkDate,createdAt:(new Date).toISOString(),chunk:t.data,isUploaded:!1},pi(void 0,void 0,void 0,(function*(){const t=yield fi();if(e)try{return yield t.tempChunks.add(e)}catch(t){Tr.log("🚀 ~ getDBTempChunksBySessionID ~ error:",t)}return!1}));try{this.uploadChunk(t.data,this.uniqueId,this.chunkDate,this.chunkNumber.toString())}catch(t){Tr.log("error",t)}}var e},this.mediaRecorder.onerror=t=>{Tr.error("Error recording screen:",t),null==this||this.stopRecording()},this.mediaRecorder.start(5e3);const e=new CustomEvent("recordingStateChange",{detail:{isRecording:!0}});document.dispatchEvent(e),window.onbeforeunload=t=>(t.preventDefault(),t.returnValue="Your recording will be lost if you leave this page. Are you sure you want to exit?",t.returnValue)}catch(t){}}))}stopRecording(){return new Promise(((t,e)=>{if(!this.mediaRecorder)return void e(new Error("No active recording"));this.mediaRecorder.onstop=()=>{const e=new Blob(this.recordedChunks,{type:"video/webm"});this.cleanup(),t(e)},this.mediaRecorder.stop();const n=new CustomEvent("recordingStateChange",{detail:{isRecording:!1}});document.dispatchEvent(n)}))}pauseRecording(){return gi(this,void 0,void 0,(function*(){this.mediaRecorder&&this.mediaRecorder.pause()}))}resumeRecording(){return gi(this,void 0,void 0,(function*(){this.mediaRecorder&&this.mediaRecorder.resume()}))}cleanup(){this.stream&&(this.stream.getTracks().forEach((t=>t.stop())),this.stream=null),this.desktopStream&&(this.desktopStream.getTracks().forEach((t=>t.stop())),this.desktopStream=null),this.micStream&&(this.micStream.getTracks().forEach((t=>t.stop())),this.micStream=null),this.audioContext&&(this.audioContext.close(),this.audioContext=null),window.onbeforeunload=null,this.mediaRecorder=null,this.recordedChunks=[],this.stream=null,this.desktopStream=null,this.micStream=null,this.audioContext=null,this.finalVideo=null,this.finalAudio=null,this.mediaRecorder=null,this.chunkNumber=0}isRecording(){var t;return"recording"===(null===(t=this.mediaRecorder)||void 0===t?void 0:t.state)}}var yi=vi;var bi=t=>(0,n.jsxs)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 16 16"},t,{children:[(0,n.jsx)("path",{fill:"currentColor",d:"M7.884 0a7.995 7.995 0 0 0-6.653 3.534c-1.405 2.084.021 2.934 3.026 3.011C.484 6.448-.419 8.078.161 10.156c.842 3.013 3.616 5.562 7.069 5.84V4.427c0-1.172 0-2.353.656-3.008V0h-.002ZM5.772 14.07c-2.074-.619-3.93-2.723-3.93-4.815 0-1.481 1.935-2.038 3.93-2.038v6.853Zm0-9.743v1.597c-1.911 0-3.975-.515-3.45-1.52a6.08 6.08 0 0 1 4.06-2.984c-.62.62-.61 1.379-.61 2.907Z"}),(0,n.jsx)("path",{fill:"currentColor",d:"M7.885 0v1.42c.66.655.66 1.836.66 3.008V16c3.448-.277 6.223-2.826 7.063-5.844.582-2.083-.322-3.708-4.096-3.616 3.005-.077 4.433-.927 3.027-3.011A7.999 7.999 0 0 0 7.886 0Zm2.11 7.217c2.004 0 3.93.557 3.93 2.038 0 2.096-1.855 4.191-3.93 4.815V7.217Zm-.609-5.803a6.076 6.076 0 0 1 4.062 2.99c.526 1.005-1.538 1.52-3.451 1.52V4.327c-.002-1.528.01-2.288-.61-2.907l-.001-.006Z"})]}));var wi=function(){this.__data__=[],this.size=0};var xi=function(t,e){return t===e||t!=t&&e!=e};var Ai=function(t,e){for(var n=t.length;n--;)if(xi(t[n][0],e))return n;return-1},ki=Array.prototype.splice;var Si=function(t){var e=this.__data__,n=Ai(e,t);return!(n<0)&&(n==e.length-1?e.pop():ki.call(e,n,1),--this.size,!0)};var Ei=function(t){var e=this.__data__,n=Ai(e,t);return n<0?void 0:e[n][1]};var Ci=function(t){return Ai(this.__data__,t)>-1};var qi=function(t,e){var n=this.__data__,r=Ai(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function Ti(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Ti.prototype.clear=wi,Ti.prototype.delete=Si,Ti.prototype.get=Ei,Ti.prototype.has=Ci,Ti.prototype.set=qi;var Pi=Ti;var Di=function(){this.__data__=new Pi,this.size=0};var _i=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};var Oi=function(t){return this.__data__.get(t)};var Mi=function(t){return this.__data__.has(t)},Ni="object"==typeof global&&global&&global.Object===Object&&global,Ii="object"==typeof self&&self&&self.Object===Object&&self,Ri=Ni||Ii||Function("return this")(),Li=Ri.Symbol,Fi=Object.prototype,Bi=Fi.hasOwnProperty,ji=Fi.toString,zi=Li?Li.toStringTag:void 0;var Vi=function(t){var e=Bi.call(t,zi),n=t[zi];try{t[zi]=void 0;var r=!0}catch(t){}var i=ji.call(t);return r&&(e?t[zi]=n:delete t[zi]),i},Hi=Object.prototype.toString;var Ui=function(t){return Hi.call(t)},Gi=Li?Li.toStringTag:void 0;var Ki=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Gi&&Gi in Object(t)?Vi(t):Ui(t)};var Wi=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var Xi,Yi=function(t){if(!Wi(t))return!1;var e=Ki(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},Qi=Ri["__core-js_shared__"],Ji=(Xi=/[^.]+$/.exec(Qi&&Qi.keys&&Qi.keys.IE_PROTO||""))?"Symbol(src)_1."+Xi:"";var Zi=function(t){return!!Ji&&Ji in t},$i=Function.prototype.toString;var to=function(t){if(null!=t){try{return $i.call(t)}catch(t){}try{return t+""}catch(t){}}return""},eo=/^\[object .+?Constructor\]$/,no=Function.prototype,ro=Object.prototype,io=no.toString,oo=ro.hasOwnProperty,ao=RegExp("^"+io.call(oo).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var so=function(t){return!(!Wi(t)||Zi(t))&&(Yi(t)?ao:eo).test(to(t))};var lo=function(t,e){return null==t?void 0:t[e]};var uo=function(t,e){var n=lo(t,e);return so(n)?n:void 0},co=uo(Ri,"Map"),ho=uo(Object,"create");var fo=function(){this.__data__=ho?ho(null):{},this.size=0};var po=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},mo=Object.prototype.hasOwnProperty;var go=function(t){var e=this.__data__;if(ho){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return mo.call(e,t)?e[t]:void 0},vo=Object.prototype.hasOwnProperty;var yo=function(t){var e=this.__data__;return ho?void 0!==e[t]:vo.call(e,t)};var bo=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ho&&void 0===e?"__lodash_hash_undefined__":e,this};function wo(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}wo.prototype.clear=fo,wo.prototype.delete=po,wo.prototype.get=go,wo.prototype.has=yo,wo.prototype.set=bo;var xo=wo;var Ao=function(){this.size=0,this.__data__={hash:new xo,map:new(co||Pi),string:new xo}};var ko=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var So=function(t,e){var n=t.__data__;return ko(e)?n["string"==typeof e?"string":"hash"]:n.map};var Eo=function(t){var e=So(this,t).delete(t);return this.size-=e?1:0,e};var Co=function(t){return So(this,t).get(t)};var qo=function(t){return So(this,t).has(t)};var To=function(t,e){var n=So(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function Po(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Po.prototype.clear=Ao,Po.prototype.delete=Eo,Po.prototype.get=Co,Po.prototype.has=qo,Po.prototype.set=To;var Do=Po;var _o=function(t,e){var n=this.__data__;if(n instanceof Pi){var r=n.__data__;if(!co||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Do(r)}return n.set(t,e),this.size=n.size,this};function Oo(t){var e=this.__data__=new Pi(t);this.size=e.size}Oo.prototype.clear=Di,Oo.prototype.delete=_i,Oo.prototype.get=Oi,Oo.prototype.has=Mi,Oo.prototype.set=_o;var Mo=Oo;var No=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};var Io=function(t){return this.__data__.has(t)};function Ro(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Do;++e<n;)this.add(t[e])}Ro.prototype.add=Ro.prototype.push=No,Ro.prototype.has=Io;var Lo=Ro;var Fo=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1};var Bo=function(t,e){return t.has(e)};var jo=function(t,e,n,r,i,o){var a=1&n,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(t),c=o.get(e);if(u&&c)return u==e&&c==t;var h=-1,d=!0,f=2&n?new Lo:void 0;for(o.set(t,e),o.set(e,t);++h<s;){var p=t[h],m=e[h];if(r)var g=a?r(m,p,h,e,t,o):r(p,m,h,t,e,o);if(void 0!==g){if(g)continue;d=!1;break}if(f){if(!Fo(e,(function(t,e){if(!Bo(f,e)&&(p===t||i(p,t,n,r,o)))return f.push(e)}))){d=!1;break}}else if(p!==m&&!i(p,m,n,r,o)){d=!1;break}}return o.delete(t),o.delete(e),d},zo=Ri.Uint8Array;var Vo=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n};var Ho=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n},Uo=Li?Li.prototype:void 0,Go=Uo?Uo.valueOf:void 0;var Ko=function(t,e,n,r,i,o,a){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new zo(t),new zo(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return xi(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var s=Vo;case"[object Set]":var l=1&r;if(s||(s=Ho),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;r|=2,a.set(t,e);var c=jo(s(t),s(e),r,i,o,a);return a.delete(t),c;case"[object Symbol]":if(Go)return Go.call(t)==Go.call(e)}return!1};var Wo=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t},Xo=Array.isArray;var Yo=function(t,e,n){var r=e(t);return Xo(t)?r:Wo(r,n(t))};var Qo=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o};var Jo=function(){return[]},Zo=Object.prototype.propertyIsEnumerable,$o=Object.getOwnPropertySymbols,ta=$o?function(t){return null==t?[]:(t=Object(t),Qo($o(t),(function(e){return Zo.call(t,e)})))}:Jo;var ea=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r};var na=function(t){return null!=t&&"object"==typeof t};var ra=function(t){return na(t)&&"[object Arguments]"==Ki(t)},ia=Object.prototype,oa=ia.hasOwnProperty,aa=ia.propertyIsEnumerable,sa=ra(function(){return arguments}())?ra:function(t){return na(t)&&oa.call(t,"callee")&&!aa.call(t,"callee")},la=sa;var ua=function(){return!1},ca="object"==typeof exports&&exports&&!exports.nodeType&&exports,ha=ca&&"object"==typeof module&&module&&!module.nodeType&&module,da=ha&&ha.exports===ca?Ri.Buffer:void 0,fa=(da?da.isBuffer:void 0)||ua,pa=/^(?:0|[1-9]\d*)$/;var ma=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&pa.test(t))&&t>-1&&t%1==0&&t<e};var ga=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},va={};va["[object Float32Array]"]=va["[object Float64Array]"]=va["[object Int8Array]"]=va["[object Int16Array]"]=va["[object Int32Array]"]=va["[object Uint8Array]"]=va["[object Uint8ClampedArray]"]=va["[object Uint16Array]"]=va["[object Uint32Array]"]=!0,va["[object Arguments]"]=va["[object Array]"]=va["[object ArrayBuffer]"]=va["[object Boolean]"]=va["[object DataView]"]=va["[object Date]"]=va["[object Error]"]=va["[object Function]"]=va["[object Map]"]=va["[object Number]"]=va["[object Object]"]=va["[object RegExp]"]=va["[object Set]"]=va["[object String]"]=va["[object WeakMap]"]=!1;var ya=function(t){return na(t)&&ga(t.length)&&!!va[Ki(t)]};var ba=function(t){return function(e){return t(e)}},wa="object"==typeof exports&&exports&&!exports.nodeType&&exports,xa=wa&&"object"==typeof module&&module&&!module.nodeType&&module,Aa=xa&&xa.exports===wa&&Ni.process,ka=function(){try{var t=xa&&xa.require&&xa.require("util").types;return t||Aa&&Aa.binding&&Aa.binding("util")}catch(t){}}(),Sa=ka&&ka.isTypedArray,Ea=Sa?ba(Sa):ya,Ca=Object.prototype.hasOwnProperty;var qa=function(t,e){var n=Xo(t),r=!n&&la(t),i=!n&&!r&&fa(t),o=!n&&!r&&!i&&Ea(t),a=n||r||i||o,s=a?ea(t.length,String):[],l=s.length;for(var u in t)!e&&!Ca.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ma(u,l))||s.push(u);return s},Ta=Object.prototype;var Pa=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Ta)};var Da=function(t,e){return function(n){return t(e(n))}},_a=Da(Object.keys,Object),Oa=Object.prototype.hasOwnProperty;var Ma=function(t){if(!Pa(t))return _a(t);var e=[];for(var n in Object(t))Oa.call(t,n)&&"constructor"!=n&&e.push(n);return e};var Na=function(t){return null!=t&&ga(t.length)&&!Yi(t)};var Ia=function(t){return Na(t)?qa(t):Ma(t)};var Ra=function(t){return Yo(t,Ia,ta)},La=Object.prototype.hasOwnProperty;var Fa=function(t,e,n,r,i,o){var a=1&n,s=Ra(t),l=s.length;if(l!=Ra(e).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in e:La.call(e,c)))return!1}var h=o.get(t),d=o.get(e);if(h&&d)return h==e&&d==t;var f=!0;o.set(t,e),o.set(e,t);for(var p=a;++u<l;){var m=t[c=s[u]],g=e[c];if(r)var v=a?r(g,m,c,e,t,o):r(m,g,c,t,e,o);if(!(void 0===v?m===g||i(m,g,n,r,o):v)){f=!1;break}p||(p="constructor"==c)}if(f&&!p){var y=t.constructor,b=e.constructor;y==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(f=!1)}return o.delete(t),o.delete(e),f},Ba=uo(Ri,"DataView"),ja=uo(Ri,"Promise"),za=uo(Ri,"Set"),Va=uo(Ri,"WeakMap"),Ha="[object Map]",Ua="[object Promise]",Ga="[object Set]",Ka="[object WeakMap]",Wa="[object DataView]",Xa=to(Ba),Ya=to(co),Qa=to(ja),Ja=to(za),Za=to(Va),$a=Ki;(Ba&&$a(new Ba(new ArrayBuffer(1)))!=Wa||co&&$a(new co)!=Ha||ja&&$a(ja.resolve())!=Ua||za&&$a(new za)!=Ga||Va&&$a(new Va)!=Ka)&&($a=function(t){var e=Ki(t),n="[object Object]"==e?t.constructor:void 0,r=n?to(n):"";if(r)switch(r){case Xa:return Wa;case Ya:return Ha;case Qa:return Ua;case Ja:return Ga;case Za:return Ka}return e});var ts=$a,es="[object Arguments]",ns="[object Array]",rs="[object Object]",is=Object.prototype.hasOwnProperty;var os=function(t,e,n,r,i,o){var a=Xo(t),s=Xo(e),l=a?ns:ts(t),u=s?ns:ts(e),c=(l=l==es?rs:l)==rs,h=(u=u==es?rs:u)==rs,d=l==u;if(d&&fa(t)){if(!fa(e))return!1;a=!0,c=!1}if(d&&!c)return o||(o=new Mo),a||Ea(t)?jo(t,e,n,r,i,o):Ko(t,e,l,n,r,i,o);if(!(1&n)){var f=c&&is.call(t,"__wrapped__"),p=h&&is.call(e,"__wrapped__");if(f||p){var m=f?t.value():t,g=p?e.value():e;return o||(o=new Mo),i(m,g,n,r,o)}}return!!d&&(o||(o=new Mo),Fa(t,e,n,r,i,o))};var as=function t(e,n,r,i,o){return e===n||(null==e||null==n||!na(e)&&!na(n)?e!=e&&n!=n:os(e,n,r,i,t,o))};var ss=function(t,e){return as(t,e)},ls=function(){try{var t=uo(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();var us=function(t,e,n){"__proto__"==e&&ls?ls(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n};var cs=function(t,e,n){(void 0!==n&&!xi(t[e],n)||void 0===n&&!(e in t))&&us(t,e,n)};var hs=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var l=a[t?s:++i];if(!1===n(o[l],l,o))break}return e}},ds=hs(),fs="object"==typeof exports&&exports&&!exports.nodeType&&exports,ps=fs&&"object"==typeof module&&module&&!module.nodeType&&module,ms=ps&&ps.exports===fs?Ri.Buffer:void 0,gs=ms?ms.allocUnsafe:void 0;var vs=function(t,e){if(e)return t.slice();var n=t.length,r=gs?gs(n):new t.constructor(n);return t.copy(r),r};var ys=function(t){var e=new t.constructor(t.byteLength);return new zo(e).set(new zo(t)),e};var bs=function(t,e){var n=e?ys(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)};var ws=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e},xs=Object.create,As=function(){function t(){}return function(e){if(!Wi(e))return{};if(xs)return xs(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),ks=Da(Object.getPrototypeOf,Object);var Ss=function(t){return"function"!=typeof t.constructor||Pa(t)?{}:As(ks(t))};var Es=function(t){return na(t)&&Na(t)},Cs=Function.prototype,qs=Object.prototype,Ts=Cs.toString,Ps=qs.hasOwnProperty,Ds=Ts.call(Object);var _s=function(t){if(!na(t)||"[object Object]"!=Ki(t))return!1;var e=ks(t);if(null===e)return!0;var n=Ps.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Ts.call(n)==Ds};var Os=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]},Ms=Object.prototype.hasOwnProperty;var Ns=function(t,e,n){var r=t[e];Ms.call(t,e)&&xi(r,n)&&(void 0!==n||e in t)||us(t,e,n)};var Is=function(t,e,n,r){var i=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var s=e[o],l=r?r(n[s],t[s],s,n,t):void 0;void 0===l&&(l=t[s]),i?us(n,s,l):Ns(n,s,l)}return n};var Rs=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e},Ls=Object.prototype.hasOwnProperty;var Fs=function(t){if(!Wi(t))return Rs(t);var e=Pa(t),n=[];for(var r in t)("constructor"!=r||!e&&Ls.call(t,r))&&n.push(r);return n};var Bs=function(t){return Na(t)?qa(t,!0):Fs(t)};var js=function(t){return Is(t,Bs(t))};var zs=function(t,e,n,r,i,o,a){var s=Os(t,n),l=Os(e,n),u=a.get(l);if(u)cs(t,n,u);else{var c=o?o(s,l,n+"",t,e,a):void 0,h=void 0===c;if(h){var d=Xo(l),f=!d&&fa(l),p=!d&&!f&&Ea(l);c=l,d||f||p?Xo(s)?c=s:Es(s)?c=ws(s):f?(h=!1,c=vs(l,!0)):p?(h=!1,c=bs(l,!0)):c=[]:_s(l)||la(l)?(c=s,la(s)?c=js(s):Wi(s)&&!Yi(s)||(c=Ss(l))):h=!1}h&&(a.set(l,c),i(c,l,r,o,a),a.delete(l)),cs(t,n,c)}};var Vs=function t(e,n,r,i,o){e!==n&&ds(n,(function(a,s){if(o||(o=new Mo),Wi(a))zs(e,n,s,r,t,i,o);else{var l=i?i(Os(e,s),a,s+"",e,n,o):void 0;void 0===l&&(l=a),cs(e,s,l)}}),Bs)};var Hs=function(t){return t};var Us=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)},Gs=Math.max;var Ks=function(t,e,n){return e=Gs(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=Gs(r.length-e,0),a=Array(o);++i<o;)a[i]=r[e+i];i=-1;for(var s=Array(e+1);++i<e;)s[i]=r[i];return s[e]=n(a),Us(t,this,s)}};var Ws=function(t){return function(){return t}},Xs=ls?function(t,e){return ls(t,"toString",{configurable:!0,enumerable:!1,value:Ws(e),writable:!0})}:Hs,Ys=Date.now;var Qs=function(t){var e=0,n=0;return function(){var r=Ys(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}},Js=Qs(Xs);var Zs=function(t,e){return Js(Ks(t,e,Hs),t+"")};var $s=function(t,e,n){if(!Wi(n))return!1;var r=typeof e;return!!("number"==r?Na(n)&&ma(e,n.length):"string"==r&&e in n)&&xi(n[e],t)};var tl=function(t){return Zs((function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,a&&$s(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),e=Object(e);++r<i;){var s=n[r];s&&t(e,s,r,o)}return e}))}((function(t,e,n){Vs(t,e,n)})),el=(t=>(t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY",t))(el||{});class nl{constructor(t,e,n={}){this.attrName=t,this.keyName=e;const r=el.TYPE&el.ATTRIBUTE;this.scope=null!=n.scope?n.scope&el.LEVEL|r:el.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}static keys(t){return Array.from(t.attributes).map((t=>t.name))}add(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)}canAdd(t,e){return null==this.whitelist||("string"==typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1)}remove(t){t.removeAttribute(this.keyName)}value(t){const e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""}}class rl extends Error{constructor(t){super(t="[Parchment] "+t),this.message=t,this.name=this.constructor.name}}const il=class t{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(t,e=!1){if(null==t)return null;if(this.blots.has(t))return this.blots.get(t)||null;if(e){let n=null;try{n=t.parentNode}catch{return null}return this.find(n,e)}return null}create(e,n,r){const i=this.query(n);if(null==i)throw new rl(`Unable to create ${n} blot`);const o=i,a=n instanceof Node||n.nodeType===Node.TEXT_NODE?n:o.create(r),s=new o(e,a,r);return t.blots.set(s.domNode,s),s}find(e,n=!1){return t.find(e,n)}query(t,e=el.ANY){let n;return"string"==typeof t?n=this.types[t]||this.attributes[t]:t instanceof Text||t.nodeType===Node.TEXT_NODE?n=this.types.text:"number"==typeof t?t&el.LEVEL&el.BLOCK?n=this.types.block:t&el.LEVEL&el.INLINE&&(n=this.types.inline):t instanceof Element&&((t.getAttribute("class")||"").split(/\s+/).some((t=>(n=this.classes[t],!!n))),n=n||this.tags[t.tagName]),null==n?null:"scope"in n&&e&el.LEVEL&n.scope&&e&el.TYPE&n.scope?n:null}register(...t){return t.map((t=>{const e="blotName"in t,n="attrName"in t;if(!e&&!n)throw new rl("Invalid definition");if(e&&"abstract"===t.blotName)throw new rl("Cannot register abstract class");const r=e?t.blotName:n?t.attrName:void 0;return this.types[r]=t,n?"string"==typeof t.keyName&&(this.attributes[t.keyName]=t):e&&(t.className&&(this.classes[t.className]=t),t.tagName&&(Array.isArray(t.tagName)?t.tagName=t.tagName.map((t=>t.toUpperCase())):t.tagName=t.tagName.toUpperCase(),(Array.isArray(t.tagName)?t.tagName:[t.tagName]).forEach((e=>{(null==this.tags[e]||null==t.className)&&(this.tags[e]=t)})))),t}))}};il.blots=new WeakMap;let ol=il;function al(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter((t=>0===t.indexOf(`${e}-`)))}const sl=class extends nl{static keys(t){return(t.getAttribute("class")||"").split(/\s+/).map((t=>t.split("-").slice(0,-1).join("-")))}add(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(`${this.keyName}-${e}`),!0)}remove(t){al(t,this.keyName).forEach((e=>{t.classList.remove(e)})),0===t.classList.length&&t.removeAttribute("class")}value(t){const e=(al(t,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(t,e)?e:""}};function ll(t){const e=t.split("-"),n=e.slice(1).map((t=>t[0].toUpperCase()+t.slice(1))).join("");return e[0]+n}const ul=class extends nl{static keys(t){return(t.getAttribute("style")||"").split(";").map((t=>t.split(":")[0].trim()))}add(t,e){return!!this.canAdd(t,e)&&(t.style[ll(this.keyName)]=e,!0)}remove(t){t.style[ll(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")}value(t){const e=t.style[ll(this.keyName)];return this.canAdd(t,e)?e:""}};const cl=class{constructor(t){this.attributes={},this.domNode=t,this.build()}attribute(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])}build(){this.attributes={};const t=ol.find(this.domNode);if(null==t)return;const e=nl.keys(this.domNode),n=sl.keys(this.domNode),r=ul.keys(this.domNode);e.concat(n).concat(r).forEach((e=>{const n=t.scroll.query(e,el.ATTRIBUTE);n instanceof nl&&(this.attributes[n.attrName]=n)}))}copy(t){Object.keys(this.attributes).forEach((e=>{const n=this.attributes[e].value(this.domNode);t.format(e,n)}))}move(t){this.copy(t),Object.keys(this.attributes).forEach((t=>{this.attributes[t].remove(this.domNode)})),this.attributes={}}values(){return Object.keys(this.attributes).reduce(((t,e)=>(t[e]=this.attributes[e].value(this.domNode),t)),{})}},hl=class{constructor(t,e){this.scroll=t,this.domNode=e,ol.blots.set(e,this),this.prev=null,this.next=null}static create(t){if(null==this.tagName)throw new rl("Blot definition missing tagName");let e,n;return Array.isArray(this.tagName)?("string"==typeof t?(n=t.toUpperCase(),parseInt(n,10).toString()===n&&(n=parseInt(n,10))):"number"==typeof t&&(n=t),e="number"==typeof n?document.createElement(this.tagName[n-1]):n&&this.tagName.indexOf(n)>-1?document.createElement(n):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e}get statics(){return this.constructor}attach(){}clone(){const t=this.domNode.cloneNode(!1);return this.scroll.create(t)}detach(){null!=this.parent&&this.parent.removeChild(this),ol.blots.delete(this.domNode)}deleteAt(t,e){this.isolate(t,e).remove()}formatAt(t,e,n,r){const i=this.isolate(t,e);if(null!=this.scroll.query(n,el.BLOT)&&r)i.wrap(n,r);else if(null!=this.scroll.query(n,el.ATTRIBUTE)){const t=this.scroll.create(this.statics.scope);i.wrap(t),t.format(n,r)}}insertAt(t,e,n){const r=null==n?this.scroll.create("text",e):this.scroll.create(e,n),i=this.split(t);this.parent.insertBefore(r,i||void 0)}isolate(t,e){const n=this.split(t);if(null==n)throw new Error("Attempt to isolate at end");return n.split(e),n}length(){return 1}offset(t=this.parent){return null==this.parent||this===t?0:this.parent.children.offset(this)+this.parent.offset(t)}optimize(t){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(t,e){const n="string"==typeof t?this.scroll.create(t,e):t;return null!=this.parent&&(this.parent.insertBefore(n,this.next||void 0),this.remove()),n}split(t,e){return 0===t?this:this.next}update(t,e){}wrap(t,e){const n="string"==typeof t?this.scroll.create(t,e):t;if(null!=this.parent&&this.parent.insertBefore(n,this.next||void 0),"function"!=typeof n.appendChild)throw new rl(`Cannot wrap ${t}`);return n.appendChild(this),n}};hl.blotName="abstract";let dl=hl;const fl=class extends dl{static value(t){return!0}index(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1}position(t,e){let n=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};fl.scope=el.INLINE_BLOT;const pl=fl;class ml{constructor(){this.head=null,this.tail=null,this.length=0}append(...t){if(this.insertBefore(t[0],null),t.length>1){const e=t.slice(1);this.append(...e)}}at(t){const e=this.iterator();let n=e();for(;n&&t>0;)t-=1,n=e();return n}contains(t){const e=this.iterator();let n=e();for(;n;){if(n===t)return!0;n=e()}return!1}indexOf(t){const e=this.iterator();let n=e(),r=0;for(;n;){if(n===t)return r;r+=1,n=e()}return-1}insertBefore(t,e){null!=t&&(this.remove(t),t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)}offset(t){let e=0,n=this.head;for(;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1}remove(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)}iterator(t=this.head){return()=>{const e=t;return null!=t&&(t=t.next),e}}find(t,e=!1){const n=this.iterator();let r=n();for(;r;){const i=r.length();if(t<i||e&&t===i&&(null==r.next||0!==r.next.length()))return[r,t];t-=i,r=n()}return[null,0]}forEach(t){const e=this.iterator();let n=e();for(;n;)t(n),n=e()}forEachAt(t,e,n){if(e<=0)return;const[r,i]=this.find(t);let o=t-i;const a=this.iterator(r);let s=a();for(;s&&o<t+e;){const r=s.length();t>o?n(s,t-o,Math.min(e,o+r-t)):n(s,0,Math.min(r,t+e-o)),o+=r,s=a()}}map(t){return this.reduce(((e,n)=>(e.push(t(n)),e)),[])}reduce(t,e){const n=this.iterator();let r=n();for(;r;)e=t(e,r),r=n();return e}}function gl(t,e){const n=e.find(t);if(n)return n;try{return e.create(t)}catch{const n=e.create(el.INLINE);return Array.from(t.childNodes).forEach((t=>{n.domNode.appendChild(t)})),t.parentNode&&t.parentNode.replaceChild(n.domNode,t),n.attach(),n}}const vl=class t extends dl{constructor(t,e){super(t,e),this.uiNode=null,this.build()}appendChild(t){this.insertBefore(t)}attach(){super.attach(),this.children.forEach((t=>{t.attach()}))}attachUI(e){null!=this.uiNode&&this.uiNode.remove(),this.uiNode=e,t.uiClass&&this.uiNode.classList.add(t.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new ml,Array.from(this.domNode.childNodes).filter((t=>t!==this.uiNode)).reverse().forEach((t=>{try{const e=gl(t,this.scroll);this.insertBefore(e,this.children.head||void 0)}catch(t){if(t instanceof rl)return;throw t}}))}deleteAt(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,((t,e,n)=>{t.deleteAt(e,n)}))}descendant(e,n=0){const[r,i]=this.children.find(n);return null==e.blotName&&e(r)||null!=e.blotName&&r instanceof e?[r,i]:r instanceof t?r.descendant(e,i):[null,-1]}descendants(e,n=0,r=Number.MAX_VALUE){let i=[],o=r;return this.children.forEachAt(n,r,((n,r,a)=>{(null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e)&&i.push(n),n instanceof t&&(i=i.concat(n.descendants(e,r,o))),o-=a})),i}detach(){this.children.forEach((t=>{t.detach()})),super.detach()}enforceAllowedChildren(){let e=!1;this.children.forEach((n=>{e||this.statics.allowedChildren.some((t=>n instanceof t))||(n.statics.scope===el.BLOCK_BLOT?(null!=n.next&&this.splitAfter(n),null!=n.prev&&this.splitAfter(n.prev),n.parent.unwrap(),e=!0):n instanceof t?n.unwrap():n.remove())}))}formatAt(t,e,n,r){this.children.forEachAt(t,e,((t,e,i)=>{t.formatAt(e,i,n,r)}))}insertAt(t,e,n){const[r,i]=this.children.find(t);if(r)r.insertAt(i,e,n);else{const t=null==n?this.scroll.create("text",e):this.scroll.create(e,n);this.appendChild(t)}}insertBefore(t,e){null!=t.parent&&t.parent.children.remove(t);let n=null;this.children.insertBefore(t,e||null),t.parent=this,null!=e&&(n=e.domNode),(this.domNode.parentNode!==t.domNode||this.domNode.nextSibling!==n)&&this.domNode.insertBefore(t.domNode,n),t.attach()}length(){return this.children.reduce(((t,e)=>t+e.length()),0)}moveChildren(t,e){this.children.forEach((n=>{t.insertBefore(n,e)}))}optimize(t){if(super.optimize(t),this.enforceAllowedChildren(),null!=this.uiNode&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),0===this.children.length)if(null!=this.statics.defaultChild){const t=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(t)}else this.remove()}path(e,n=!1){const[r,i]=this.children.find(e,n),o=[[this,e]];return r instanceof t?o.concat(r.path(i,n)):(null!=r&&o.push([r,i]),o)}removeChild(t){this.children.remove(t)}replaceWith(e,n){const r="string"==typeof e?this.scroll.create(e,n):e;return r instanceof t&&this.moveChildren(r),super.replaceWith(r)}split(t,e=!1){if(!e){if(0===t)return this;if(t===this.length())return this.next}const n=this.clone();return this.parent&&this.parent.insertBefore(n,this.next||void 0),this.children.forEachAt(t,this.length(),((t,r,i)=>{const o=t.split(r,e);null!=o&&n.appendChild(o)})),n}splitAfter(t){const e=this.clone();for(;null!=t.next;)e.appendChild(t.next);return this.parent&&this.parent.insertBefore(e,this.next||void 0),e}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(t,e){const n=[],r=[];t.forEach((t=>{t.target===this.domNode&&"childList"===t.type&&(n.push(...t.addedNodes),r.push(...t.removedNodes))})),r.forEach((t=>{if(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const e=this.scroll.find(t);null!=e&&(null==e.domNode.parentNode||e.domNode.parentNode===this.domNode)&&e.detach()})),n.filter((t=>t.parentNode===this.domNode&&t!==this.uiNode)).sort(((t,e)=>t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1)).forEach((t=>{let e=null;null!=t.nextSibling&&(e=this.scroll.find(t.nextSibling));const n=gl(t,this.scroll);(n.next!==e||null==n.next)&&(null!=n.parent&&n.parent.removeChild(this),this.insertBefore(n,e||void 0))})),this.enforceAllowedChildren()}};vl.uiClass="";const yl=vl;const bl=class t extends yl{static create(t){return super.create(t)}static formats(e,n){const r=n.query(t.blotName);if(null==r||e.tagName!==r.tagName){if("string"==typeof this.tagName)return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(t,e){super(t,e),this.attributes=new cl(this.domNode)}format(e,n){if(e!==this.statics.blotName||n){const t=this.scroll.query(e,el.INLINE);if(null==t)return;t instanceof nl?this.attributes.attribute(t,n):n&&(e!==this.statics.blotName||this.formats()[e]!==n)&&this.replaceWith(e,n)}else this.children.forEach((e=>{e instanceof t||(e=e.wrap(t.blotName,!0)),this.attributes.copy(e)})),this.unwrap()}formats(){const t=this.attributes.values(),e=this.statics.formats(this.domNode,this.scroll);return null!=e&&(t[this.statics.blotName]=e),t}formatAt(t,e,n,r){null!=this.formats()[n]||this.scroll.query(n,el.ATTRIBUTE)?this.isolate(t,e).format(n,r):super.formatAt(t,e,n,r)}optimize(e){super.optimize(e);const n=this.formats();if(0===Object.keys(n).length)return this.unwrap();const r=this.next;r instanceof t&&r.prev===this&&function(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(t[n]!==e[n])return!1;return!0}(n,r.formats())&&(r.moveChildren(this),r.remove())}replaceWith(t,e){const n=super.replaceWith(t,e);return this.attributes.copy(n),n}update(t,e){super.update(t,e),t.some((t=>t.target===this.domNode&&"attributes"===t.type))&&this.attributes.build()}wrap(e,n){const r=super.wrap(e,n);return r instanceof t&&this.attributes.move(r),r}};bl.allowedChildren=[bl,pl],bl.blotName="inline",bl.scope=el.INLINE_BLOT,bl.tagName="SPAN";const wl=bl,xl=class t extends yl{static create(t){return super.create(t)}static formats(e,n){const r=n.query(t.blotName);if(null==r||e.tagName!==r.tagName){if("string"==typeof this.tagName)return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(t,e){super(t,e),this.attributes=new cl(this.domNode)}format(e,n){const r=this.scroll.query(e,el.BLOCK);null!=r&&(r instanceof nl?this.attributes.attribute(r,n):e!==this.statics.blotName||n?n&&(e!==this.statics.blotName||this.formats()[e]!==n)&&this.replaceWith(e,n):this.replaceWith(t.blotName))}formats(){const t=this.attributes.values(),e=this.statics.formats(this.domNode,this.scroll);return null!=e&&(t[this.statics.blotName]=e),t}formatAt(t,e,n,r){null!=this.scroll.query(n,el.BLOCK)?this.format(n,r):super.formatAt(t,e,n,r)}insertAt(t,e,n){if(null==n||null!=this.scroll.query(e,el.INLINE))super.insertAt(t,e,n);else{const r=this.split(t);if(null==r)throw new Error("Attempt to insertAt after block boundaries");{const t=this.scroll.create(e,n);r.parent.insertBefore(t,r)}}}replaceWith(t,e){const n=super.replaceWith(t,e);return this.attributes.copy(n),n}update(t,e){super.update(t,e),t.some((t=>t.target===this.domNode&&"attributes"===t.type))&&this.attributes.build()}};xl.blotName="block",xl.scope=el.BLOCK_BLOT,xl.tagName="P",xl.allowedChildren=[wl,xl,pl];const Al=xl,kl=class extends yl{checkMerge(){return null!==this.next&&this.next.statics.blotName===this.statics.blotName}deleteAt(t,e){super.deleteAt(t,e),this.enforceAllowedChildren()}formatAt(t,e,n,r){super.formatAt(t,e,n,r),this.enforceAllowedChildren()}insertAt(t,e,n){super.insertAt(t,e,n),this.enforceAllowedChildren()}optimize(t){super.optimize(t),this.children.length>0&&null!=this.next&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};kl.blotName="container",kl.scope=el.BLOCK_BLOT;const Sl=kl;const El=class extends pl{static formats(t,e){}format(t,e){super.formatAt(0,this.length(),t,e)}formatAt(t,e,n,r){0===t&&e===this.length()?this.format(n,r):super.formatAt(t,e,n,r)}formats(){return this.statics.formats(this.domNode,this.scroll)}},Cl={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},ql=class extends yl{constructor(t,e){super(null,e),this.registry=t,this.scroll=this,this.build(),this.observer=new MutationObserver((t=>{this.update(t)})),this.observer.observe(this.domNode,Cl),this.attach()}create(t,e){return this.registry.create(this,t,e)}find(t,e=!1){const n=this.registry.find(t,e);return n?n.scroll===this?n:e?this.find(n.scroll.domNode.parentNode,!0):null:null}query(t,e=el.ANY){return this.registry.query(t,e)}register(...t){return this.registry.register(...t)}build(){null!=this.scroll&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(t,e){this.update(),0===t&&e===this.length()?this.children.forEach((t=>{t.remove()})):super.deleteAt(t,e)}formatAt(t,e,n,r){this.update(),super.formatAt(t,e,n,r)}insertAt(t,e,n){this.update(),super.insertAt(t,e,n)}optimize(t=[],e={}){super.optimize(e);const n=e.mutationsMap||new WeakMap;let r=Array.from(this.observer.takeRecords());for(;r.length>0;)t.push(r.pop());const i=(t,e=!0)=>{null==t||t===this||null!=t.domNode.parentNode&&(n.has(t.domNode)||n.set(t.domNode,[]),e&&i(t.parent))},o=t=>{n.has(t.domNode)&&(t instanceof yl&&t.children.forEach(o),n.delete(t.domNode),t.optimize(e))};let a=t;for(let e=0;a.length>0;e+=1){if(e>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(a.forEach((t=>{const e=this.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(i(this.find(t.previousSibling,!1)),Array.from(t.addedNodes).forEach((t=>{const e=this.find(t,!1);i(e,!1),e instanceof yl&&e.children.forEach((t=>{i(t,!1)}))}))):"attributes"===t.type&&i(e.prev)),i(e))})),this.children.forEach(o),a=Array.from(this.observer.takeRecords()),r=a.slice();r.length>0;)t.push(r.pop())}}update(t,e={}){t=t||this.observer.takeRecords();const n=new WeakMap;t.map((t=>{const e=this.find(t.target,!0);return null==e?null:n.has(e.domNode)?(n.get(e.domNode).push(t),null):(n.set(e.domNode,[t]),e)})).forEach((t=>{null!=t&&t!==this&&n.has(t.domNode)&&t.update(n.get(t.domNode)||[],e)})),e.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),e),this.optimize(t,e)}};ql.blotName="scroll",ql.defaultChild=Al,ql.allowedChildren=[Al,Sl],ql.scope=el.BLOCK_BLOT,ql.tagName="DIV";const Tl=ql,Pl=class t extends pl{static create(t){return document.createTextNode(t)}static value(t){return t.data}constructor(t,e){super(t,e),this.text=this.statics.value(this.domNode)}deleteAt(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)}index(t,e){return this.domNode===t?e:-1}insertAt(t,e,n){null==n?(this.text=this.text.slice(0,t)+e+this.text.slice(t),this.domNode.data=this.text):super.insertAt(t,e,n)}length(){return this.text.length}optimize(e){super.optimize(e),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())}position(t,e=!1){return[this.domNode,t]}split(t,e=!1){if(!e){if(0===t)return this;if(t===this.length())return this.next}const n=this.scroll.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next||void 0),this.text=this.statics.value(this.domNode),n}update(t,e){t.some((t=>"characterData"===t.type&&t.target===this.domNode))&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};Pl.blotName="text",Pl.scope=el.INLINE_BLOT;const Dl=Pl;var _l=__webpack_require__(5689);var Ol=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t};var Ml=function(t,e){return t&&Is(e,Ia(e),t)};var Nl=function(t,e){return t&&Is(e,Bs(e),t)};var Il=function(t,e){return Is(t,ta(t),e)},Rl=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Wo(e,ta(t)),t=ks(t);return e}:Jo;var Ll=function(t,e){return Is(t,Rl(t),e)};var Fl=function(t){return Yo(t,Bs,Rl)},Bl=Object.prototype.hasOwnProperty;var jl=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Bl.call(t,"index")&&(n.index=t.index,n.input=t.input),n};var zl=function(t,e){var n=e?ys(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)},Vl=/\w*$/;var Hl=function(t){var e=new t.constructor(t.source,Vl.exec(t));return e.lastIndex=t.lastIndex,e},Ul=Li?Li.prototype:void 0,Gl=Ul?Ul.valueOf:void 0;var Kl=function(t){return Gl?Object(Gl.call(t)):{}};var Wl=function(t,e,n){var r=t.constructor;switch(e){case"[object ArrayBuffer]":return ys(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return zl(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return bs(t,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return Hl(t);case"[object Symbol]":return Kl(t)}};var Xl=function(t){return na(t)&&"[object Map]"==ts(t)},Yl=ka&&ka.isMap,Ql=Yl?ba(Yl):Xl;var Jl=function(t){return na(t)&&"[object Set]"==ts(t)},Zl=ka&&ka.isSet,$l=Zl?ba(Zl):Jl,tu="[object Arguments]",eu="[object Function]",nu="[object Object]",ru={};ru[tu]=ru["[object Array]"]=ru["[object ArrayBuffer]"]=ru["[object DataView]"]=ru["[object Boolean]"]=ru["[object Date]"]=ru["[object Float32Array]"]=ru["[object Float64Array]"]=ru["[object Int8Array]"]=ru["[object Int16Array]"]=ru["[object Int32Array]"]=ru["[object Map]"]=ru["[object Number]"]=ru[nu]=ru["[object RegExp]"]=ru["[object Set]"]=ru["[object String]"]=ru["[object Symbol]"]=ru["[object Uint8Array]"]=ru["[object Uint8ClampedArray]"]=ru["[object Uint16Array]"]=ru["[object Uint32Array]"]=!0,ru["[object Error]"]=ru[eu]=ru["[object WeakMap]"]=!1;var iu=function t(e,n,r,i,o,a){var s,l=1&n,u=2&n,c=4&n;if(r&&(s=o?r(e,i,o,a):r(e)),void 0!==s)return s;if(!Wi(e))return e;var h=Xo(e);if(h){if(s=jl(e),!l)return ws(e,s)}else{var d=ts(e),f=d==eu||"[object GeneratorFunction]"==d;if(fa(e))return vs(e,l);if(d==nu||d==tu||f&&!o){if(s=u||f?{}:Ss(e),!l)return u?Ll(e,Nl(s,e)):Il(e,Ml(s,e))}else{if(!ru[d])return o?e:{};s=Wl(e,d,l)}}a||(a=new Mo);var p=a.get(e);if(p)return p;a.set(e,s),$l(e)?e.forEach((function(i){s.add(t(i,n,r,i,e,a))})):Ql(e)&&e.forEach((function(i,o){s.set(o,t(i,n,r,o,e,a))}));var m=h?void 0:(c?u?Fl:Ra:u?Bs:Ia)(e);return Ol(m||e,(function(i,o){m&&(i=e[o=i]),Ns(s,o,t(i,n,r,o,e,a))})),s};var ou=function(t){return iu(t,5)};class au extends El{static value(){}optimize(){(this.prev||this.next)&&this.remove()}length(){return 0}value(){return""}}au.blotName="break",au.tagName="BR";var su=au;class lu extends Dl{}const uu={"&":"&","<":"<",">":">",'"':""","'":"'"};function cu(t){return t.replace(/[&<>"']/g,(t=>uu[t]))}class hu extends wl{static allowedChildren=[hu,su,El,lu];static order=["cursor","inline","link","underline","strike","italic","bold","script","code"];static compare(t,e){const n=hu.order.indexOf(t),r=hu.order.indexOf(e);return n>=0||r>=0?n-r:t===e?0:t<e?-1:1}formatAt(t,e,n,r){if(hu.compare(this.statics.blotName,n)<0&&this.scroll.query(n,el.BLOT)){const i=this.isolate(t,e);r&&i.wrap(n,r)}else super.formatAt(t,e,n,r)}optimize(t){if(super.optimize(t),this.parent instanceof hu&&hu.compare(this.statics.blotName,this.parent.statics.blotName)>0){const t=this.parent.isolate(this.offset(),this.length());this.moveChildren(t),t.wrap(this)}}}var du=hu;class fu extends Al{cache={};delta(){return null==this.cache.delta&&(this.cache.delta=mu(this)),this.cache.delta}deleteAt(t,e){super.deleteAt(t,e),this.cache={}}formatAt(t,e,n,r){e<=0||(this.scroll.query(n,el.BLOCK)?t+e===this.length()&&this.format(n,r):super.formatAt(t,Math.min(e,this.length()-t-1),n,r),this.cache={})}insertAt(t,e,n){if(null!=n)return super.insertAt(t,e,n),void(this.cache={});if(0===e.length)return;const r=e.split("\n"),i=r.shift();i.length>0&&(t<this.length()-1||null==this.children.tail?super.insertAt(Math.min(t,this.length()-1),i):this.children.tail.insertAt(this.children.tail.length(),i),this.cache={});let o=this;r.reduce(((t,e)=>(o=o.split(t,!0),o.insertAt(0,e),e.length)),t+i.length)}insertBefore(t,e){const{head:n}=this.children;super.insertBefore(t,e),n instanceof su&&n.remove(),this.cache={}}length(){return null==this.cache.length&&(this.cache.length=super.length()+1),this.cache.length}moveChildren(t,e){super.moveChildren(t,e),this.cache={}}optimize(t){super.optimize(t),this.cache={}}path(t){return super.path(t,!0)}removeChild(t){super.removeChild(t),this.cache={}}split(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e&&(0===t||t>=this.length()-1)){const e=this.clone();return 0===t?(this.parent.insertBefore(e,this),this):(this.parent.insertBefore(e,this.next),e)}const n=super.split(t,e);return this.cache={},n}}fu.blotName="block",fu.tagName="P",fu.defaultChild=su,fu.allowedChildren=[su,du,El,lu];class pu extends El{attach(){super.attach(),this.attributes=new cl(this.domNode)}delta(){return(new _l).insert(this.value(),{...this.formats(),...this.attributes.values()})}format(t,e){const n=this.scroll.query(t,el.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}formatAt(t,e,n,r){this.format(n,r)}insertAt(t,e,n){if(null!=n)return void super.insertAt(t,e,n);const r=e.split("\n"),i=r.pop(),o=r.map((t=>{const e=this.scroll.create(fu.blotName);return e.insertAt(0,t),e})),a=this.split(t);o.forEach((t=>{this.parent.insertBefore(t,a)})),i&&this.parent.insertBefore(this.scroll.create("text",i),a)}}function mu(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.descendants(pl).reduce(((t,n)=>0===n.length()?t:t.insert(n.value(),gu(n,{},e))),new _l).insert("\n",gu(t))}function gu(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return null==t?e:("formats"in t&&"function"==typeof t.formats&&(e={...e,...t.formats()},n&&delete e["code-token"]),null==t.parent||"scroll"===t.parent.statics.blotName||t.parent.statics.scope!==t.statics.scope?e:gu(t.parent,e,n))}pu.scope=el.BLOCK_BLOT;class vu extends El{static blotName="cursor";static className="ql-cursor";static tagName="span";static CONTENTS="\ufeff";static value(){}constructor(t,e,n){super(t,e),this.selection=n,this.textNode=document.createTextNode(vu.CONTENTS),this.domNode.appendChild(this.textNode),this.savedLength=0}detach(){null!=this.parent&&this.parent.removeChild(this)}format(t,e){if(0!==this.savedLength)return void super.format(t,e);let n=this,r=0;for(;null!=n&&n.statics.scope!==el.BLOCK_BLOT;)r+=n.offset(n.parent),n=n.parent;null!=n&&(this.savedLength=vu.CONTENTS.length,n.optimize(),n.formatAt(r,vu.CONTENTS.length,t,e),this.savedLength=0)}index(t,e){return t===this.textNode?0:super.index(t,e)}length(){return this.savedLength}position(){return[this.textNode,this.textNode.data.length]}remove(){super.remove(),this.parent=null}restore(){if(this.selection.composing||null==this.parent)return null;const t=this.selection.getNativeRange();for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);const e=this.prev instanceof lu?this.prev:null,n=e?e.length():0,r=this.next instanceof lu?this.next:null,i=r?r.text:"",{textNode:o}=this,a=o.data.split(vu.CONTENTS).join("");let s;if(o.data=vu.CONTENTS,e)s=e,(a||r)&&(e.insertAt(e.length(),a+i),r&&r.remove());else if(r)s=r,r.insertAt(0,a);else{const t=document.createTextNode(a);s=this.scroll.create(t),this.parent.insertBefore(s,this)}if(this.remove(),t){const i=(t,i)=>e&&t===e.domNode?i:t===o?n+i-1:r&&t===r.domNode?n+a.length+i:null,l=i(t.start.node,t.start.offset),u=i(t.end.node,t.end.offset);if(null!==l&&null!==u)return{startNode:s.domNode,startOffset:l,endNode:s.domNode,endOffset:u}}return null}update(t,e){if(t.some((t=>"characterData"===t.type&&t.target===this.textNode))){const t=this.restore();t&&(e.range=t)}}optimize(t){super.optimize(t);let{parent:e}=this;for(;e;){if("A"===e.domNode.tagName){this.savedLength=vu.CONTENTS.length,e.isolate(this.offset(e),this.length()).unwrap(),this.savedLength=0;break}e=e.parent}}value(){return""}}var yu=vu,bu=__webpack_require__(5291),wu=new WeakMap;const xu=["error","warn","log","info"];let Au="warn";function ku(t){if(Au&&xu.indexOf(t)<=xu.indexOf(Au))for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r]}function Su(t){return xu.reduce(((e,n)=>(e[n]=ku.bind(console,n,t),e)),{})}Su.level=t=>{Au=t},ku.level=Su.level;var Eu=Su;const Cu=Eu("quill:events");["selectionchange","mousedown","mouseup","click"].forEach((t=>{document.addEventListener(t,(function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];Array.from(document.querySelectorAll(".ql-container")).forEach((t=>{const n=wu.get(t);n&&n.emitter&&n.emitter.handleDOM(...e)}))}))}));var qu=class extends bu{static events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_BLOT_MOUNT:"scroll-blot-mount",SCROLL_BLOT_UNMOUNT:"scroll-blot-unmount",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SCROLL_EMBED_UPDATE:"scroll-embed-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change",COMPOSITION_BEFORE_START:"composition-before-start",COMPOSITION_START:"composition-start",COMPOSITION_BEFORE_END:"composition-before-end",COMPOSITION_END:"composition-end"};static sources={API:"api",SILENT:"silent",USER:"user"};constructor(){super(),this.domListeners={},this.on("error",Cu.error)}emit(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Cu.log.call(Cu,...e),super.emit(...e)}handleDOM(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];(this.domListeners[t.type]||[]).forEach((e=>{let{node:r,handler:i}=e;(t.target===r||r.contains(t.target))&&i(t,...n)}))}listenDOM(t,e,n){this.domListeners[t]||(this.domListeners[t]=[]),this.domListeners[t].push({node:e,handler:n})}};const Tu=Eu("quill:selection");class Pu{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.index=t,this.length=e}}function Du(t,e){try{e.parentNode}catch(t){return!1}return t.contains(e)}var _u=class{constructor(t,e){this.emitter=e,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=this.scroll.create("cursor",this),this.savedRange=new Pu(0,0),this.lastRange=this.savedRange,this.lastNative=null,this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(()=>{this.mouseDown||this.composing||setTimeout(this.update.bind(this,qu.sources.USER),1)})),this.emitter.on(qu.events.SCROLL_BEFORE_UPDATE,(()=>{if(!this.hasFocus())return;const t=this.getNativeRange();null!=t&&t.start.node!==this.cursor.textNode&&this.emitter.once(qu.events.SCROLL_UPDATE,((e,n)=>{try{this.root.contains(t.start.node)&&this.root.contains(t.end.node)&&this.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset);const r=n.some((t=>"characterData"===t.type||"childList"===t.type||"attributes"===t.type&&t.target===this.root));this.update(r?qu.sources.SILENT:e)}catch(t){}}))})),this.emitter.on(qu.events.SCROLL_OPTIMIZE,((t,e)=>{if(e.range){const{startNode:t,startOffset:n,endNode:r,endOffset:i}=e.range;this.setNativeRange(t,n,r,i),this.update(qu.sources.SILENT)}})),this.update(qu.sources.SILENT)}handleComposition(){this.emitter.on(qu.events.COMPOSITION_BEFORE_START,(()=>{this.composing=!0})),this.emitter.on(qu.events.COMPOSITION_END,(()=>{if(this.composing=!1,this.cursor.parent){const t=this.cursor.restore();if(!t)return;setTimeout((()=>{this.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}handleDragging(){this.emitter.listenDOM("mousedown",document.body,(()=>{this.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(()=>{this.mouseDown=!1,this.update(qu.sources.USER)}))}focus(){this.hasFocus()||(this.root.focus({preventScroll:!0}),this.setRange(this.savedRange))}format(t,e){this.scroll.update();const n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!this.scroll.query(t,el.BLOCK)){if(n.start.node!==this.cursor.textNode){const t=this.scroll.find(n.start.node,!1);if(null==t)return;if(t instanceof pl){const e=t.split(n.start.offset);t.parent.insertBefore(this.cursor,e)}else t.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}getBounds(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=this.scroll.length();let r;t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;let[i,o]=this.scroll.leaf(t);if(null==i)return null;if(e>0&&o===i.length()){const[e]=this.scroll.leaf(t+1);if(e){const[n]=this.scroll.line(t),[r]=this.scroll.line(t+1);n===r&&(i=e,o=0)}}[r,o]=i.position(o,!0);const a=document.createRange();if(e>0)return a.setStart(r,o),[i,o]=this.scroll.leaf(t+e),null==i?null:([r,o]=i.position(o,!0),a.setEnd(r,o),a.getBoundingClientRect());let s,l="left";if(r instanceof Text){if(!r.data.length)return null;o<r.data.length?(a.setStart(r,o),a.setEnd(r,o+1)):(a.setStart(r,o-1),a.setEnd(r,o),l="right"),s=a.getBoundingClientRect()}else{if(!(i.domNode instanceof Element))return null;s=i.domNode.getBoundingClientRect(),o>0&&(l="right")}return{bottom:s.top+s.height,height:s.height,left:s[l],right:s[l],top:s.top,width:0}}getNativeRange(){const t=document.getSelection();if(null==t||t.rangeCount<=0)return null;const e=t.getRangeAt(0);if(null==e)return null;const n=this.normalizeNative(e);return Tu.info("getNativeRange",n),n}getRange(){const t=this.scroll.domNode;if("isConnected"in t&&!t.isConnected)return[null,null];const e=this.getNativeRange();if(null==e)return[null,null];return[this.normalizedToRange(e),e]}hasFocus(){return document.activeElement===this.root||null!=document.activeElement&&Du(this.root,document.activeElement)}normalizedToRange(t){const e=[[t.start.node,t.start.offset]];t.native.collapsed||e.push([t.end.node,t.end.offset]);const n=e.map((t=>{const[e,n]=t,r=this.scroll.find(e,!0),i=r.offset(this.scroll);return 0===n?i:r instanceof pl?i+r.index(e,n):i+r.length()})),r=Math.min(Math.max(...n),this.scroll.length()-1),i=Math.min(r,...n);return new Pu(i,r-i)}normalizeNative(t){if(!Du(this.root,t.startContainer)||!t.collapsed&&!Du(this.root,t.endContainer))return null;const e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach((t=>{let{node:e,offset:n}=t;for(;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;e=e.lastChild,n=e instanceof Text?e.data.length:e.childNodes.length>0?e.childNodes.length:e.childNodes.length+1}t.node=e,t.offset=n})),e}rangeToNative(t){const e=this.scroll.length(),n=(t,n)=>{t=Math.min(e-1,t);const[r,i]=this.scroll.leaf(t);return r?r.position(i,n):[null,-1]};return[...n(t.index,!1),...n(t.index+t.length,!0)]}setNativeRange(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(Tu.info("setNativeRange",t,e,n,r),null!=t&&(null==this.root.parentNode||null==t.parentNode||null==n.parentNode))return;const o=document.getSelection();if(null!=o)if(null!=t){this.hasFocus()||this.root.focus({preventScroll:!0});const{native:a}=this.getNativeRange()||{};if(null==a||i||t!==a.startContainer||e!==a.startOffset||n!==a.endContainer||r!==a.endOffset){t instanceof Element&&"BR"===t.tagName&&(e=Array.from(t.parentNode.childNodes).indexOf(t),t=t.parentNode),n instanceof Element&&"BR"===n.tagName&&(r=Array.from(n.parentNode.childNodes).indexOf(n),n=n.parentNode);const i=document.createRange();i.setStart(t,e),i.setEnd(n,r),o.removeAllRanges(),o.addRange(i)}}else o.removeAllRanges(),this.root.blur()}setRange(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qu.sources.API;if("string"==typeof e&&(n=e,e=!1),Tu.info("setRange",t),null!=t){const n=this.rangeToNative(t);this.setNativeRange(...n,e)}else this.setNativeRange(null);this.update(n)}update(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:qu.sources.USER;const e=this.lastRange,[n,r]=this.getRange();if(this.lastRange=n,this.lastNative=r,null!=this.lastRange&&(this.savedRange=this.lastRange),!ss(e,this.lastRange)){if(!this.composing&&null!=r&&r.native.collapsed&&r.start.node!==this.cursor.textNode){const t=this.cursor.restore();t&&this.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}const n=[qu.events.SELECTION_CHANGE,ou(this.lastRange),ou(e),t];this.emitter.emit(qu.events.EDITOR_CHANGE,...n),t!==qu.sources.SILENT&&this.emitter.emit(...n)}}};const Ou=/^[ -~]*$/;function Mu(t,e,n){if(0===t.length){const[t]=Ru(n.pop());return e<=0?`</li></${t}>`:`</li></${t}>${Mu([],e-1,n)}`}const[{child:r,offset:i,length:o,indent:a,type:s},...l]=t,[u,c]=Ru(s);if(a>e)return n.push(s),a===e+1?`<${u}><li${c}>${Nu(r,i,o)}${Mu(l,a,n)}`:`<${u}><li>${Mu(t,e+1,n)}`;const h=n[n.length-1];if(a===e&&s===h)return`</li><li${c}>${Nu(r,i,o)}${Mu(l,a,n)}`;const[d]=Ru(n.pop());return`</li></${d}>${Mu(t,e-1,n)}`}function Nu(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if("html"in t&&"function"==typeof t.html)return t.html(e,n);if(t instanceof lu){return cu(t.value().slice(e,e+n)).replaceAll(" "," ")}if(t instanceof yl){if("list-container"===t.statics.blotName){const r=[];return t.children.forEachAt(e,n,((t,e,n)=>{const i="formats"in t&&"function"==typeof t.formats?t.formats():{};r.push({child:t,offset:e,length:n,indent:i.indent||0,type:i.list})})),Mu(r,-1,[])}const i=[];if(t.children.forEachAt(e,n,((t,e,n)=>{i.push(Nu(t,e,n))})),r||"list"===t.statics.blotName)return i.join("");const{outerHTML:o,innerHTML:a}=t.domNode,[s,l]=o.split(`>${a}<`);return"<table"===s?`<table style="border: 1px solid #000;">${i.join("")}<${l}`:`${s}>${i.join("")}<${l}`}return t.domNode instanceof Element?t.domNode.outerHTML:""}function Iu(t,e){return Object.keys(e).reduce(((n,r)=>{if(null==t[r])return n;const i=e[r];return i===t[r]?n[r]=i:Array.isArray(i)?i.indexOf(t[r])<0?n[r]=i.concat([t[r]]):n[r]=i:n[r]=[i,t[r]],n}),{})}function Ru(t){const e="ordered"===t?"ol":"ul";switch(t){case"checked":return[e,' data-list="checked"'];case"unchecked":return[e,' data-list="unchecked"'];default:return[e,""]}}function Lu(t){return t.reduce(((t,e)=>{if("string"==typeof e.insert){const n=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(n,e.attributes)}return t.push(e)}),new _l)}function Fu(t,e){let{index:n,length:r}=t;return new Pu(n+e,r)}var Bu=class{constructor(t){this.scroll=t,this.delta=this.getDelta()}applyDelta(t){this.scroll.update();let e=this.scroll.length();this.scroll.batchStart();const n=Lu(t),r=new _l;return function(t){const e=[];return t.forEach((t=>{if("string"==typeof t.insert){t.insert.split("\n").forEach(((n,r)=>{r&&e.push({insert:"\n",attributes:t.attributes}),n&&e.push({insert:n,attributes:t.attributes})}))}else e.push(t)})),e}(n.ops.slice()).reduce(((t,n)=>{const i=_l.Op.length(n);let o=n.attributes||{},a=!1,s=!1;if(null!=n.insert){if(r.retain(i),"string"==typeof n.insert){const r=n.insert;s=!r.endsWith("\n")&&(e<=t||!!this.scroll.descendant(pu,t)[0]),this.scroll.insertAt(t,r);const[i,a]=this.scroll.line(t);let l=tl({},gu(i));if(i instanceof fu){const[t]=i.descendant(pl,a);t&&(l=tl(l,gu(t)))}o=_l.AttributeMap.diff(l,o)||{}}else if("object"==typeof n.insert){const r=Object.keys(n.insert)[0];if(null==r)return t;const i=null!=this.scroll.query(r,el.INLINE);if(i)(e<=t||this.scroll.descendant(pu,t)[0])&&(s=!0);else if(t>0){const[e,n]=this.scroll.descendant(pl,t-1);if(e instanceof lu){"\n"!==e.value()[n]&&(a=!0)}else e instanceof El&&e.statics.scope===el.INLINE_BLOT&&(a=!0)}if(this.scroll.insertAt(t,r,n.insert[r]),i){const[e]=this.scroll.descendant(pl,t);if(e){const t=tl({},gu(e));o=_l.AttributeMap.diff(t,o)||{}}}}e+=i}else if(r.push(n),null!==n.retain&&"object"==typeof n.retain){const e=Object.keys(n.retain)[0];if(null==e)return t;this.scroll.updateEmbedAt(t,e,n.retain[e])}Object.keys(o).forEach((e=>{this.scroll.formatAt(t,i,e,o[e])}));const l=a?1:0,u=s?1:0;return e+=l+u,r.retain(l),r.delete(u),t+i+l+u}),0),r.reduce(((t,e)=>"number"==typeof e.delete?(this.scroll.deleteAt(t,e.delete),t):t+_l.Op.length(e)),0),this.scroll.batchEnd(),this.scroll.optimize(),this.update(n)}deleteText(t,e){return this.scroll.deleteAt(t,e),this.update((new _l).retain(t).delete(e))}formatLine(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.scroll.update(),Object.keys(n).forEach((r=>{this.scroll.lines(t,Math.max(e,1)).forEach((t=>{t.format(r,n[r])}))})),this.scroll.optimize();const r=(new _l).retain(t).retain(e,ou(n));return this.update(r)}formatText(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.keys(n).forEach((r=>{this.scroll.formatAt(t,e,r,n[r])}));const r=(new _l).retain(t).retain(e,ou(n));return this.update(r)}getContents(t,e){return this.delta.slice(t,t+e)}getDelta(){return this.scroll.lines().reduce(((t,e)=>t.concat(e.delta())),new _l)}getFormat(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===e?this.scroll.path(t).forEach((t=>{const[e]=t;e instanceof fu?n.push(e):e instanceof pl&&r.push(e)})):(n=this.scroll.lines(t,e),r=this.scroll.descendants(pl,t,e));const[i,o]=[n,r].map((t=>{const e=t.shift();if(null==e)return{};let n=gu(e);for(;Object.keys(n).length>0;){const e=t.shift();if(null==e)return n;n=Iu(gu(e),n)}return n}));return{...i,...o}}getHTML(t,e){const[n,r]=this.scroll.line(t);if(n){const i=n.length();return!(n.length()>=r+e)||0===r&&e===i?Nu(this.scroll,t,e,!0):Nu(n,r,e,!0)}return""}getText(t,e){return this.getContents(t,e).filter((t=>"string"==typeof t.insert)).map((t=>t.insert)).join("")}insertContents(t,e){const n=Lu(e),r=(new _l).retain(t).concat(n);return this.scroll.insertContents(t,n),this.update(r)}insertEmbed(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new _l).retain(t).insert({[e]:n}))}insertText(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(n).forEach((r=>{this.scroll.formatAt(t,e.length,r,n[r])})),this.update((new _l).retain(t).insert(e,ou(n)))}isBlank(){if(0===this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;const t=this.scroll.children.head;if(t?.statics.blotName!==fu.blotName)return!1;const e=t;return!(e.children.length>1)&&e.children.head instanceof su}removeFormat(t,e){const n=this.getText(t,e),[r,i]=this.scroll.line(t+e);let o=0,a=new _l;null!=r&&(o=r.length()-i,a=r.delta().slice(i,i+o-1).insert("\n"));const s=this.getContents(t,e+o).diff((new _l).insert(n).concat(a)),l=(new _l).retain(t).concat(s);return this.applyDelta(l)}update(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const r=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(Ou)&&this.scroll.find(e[0].target)){const i=this.scroll.find(e[0].target),o=gu(i),a=i.offset(this.scroll),s=e[0].oldValue.replace(yu.CONTENTS,""),l=(new _l).insert(s),u=(new _l).insert(i.value()),c=n&&{oldRange:Fu(n.oldRange,-a),newRange:Fu(n.newRange,-a)};t=(new _l).retain(a).concat(l.diff(u,c)).reduce(((t,e)=>e.insert?t.insert(e.insert,o):t.push(e)),new _l),this.delta=r.compose(t)}else this.delta=this.getDelta(),t&&ss(r.compose(t),this.delta)||(t=r.diff(this.delta,n));return t}};var ju=class{static DEFAULTS={};constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.quill=t,this.options=e}};const zu="\ufeff";var Vu=class extends El{constructor(t,e){super(t,e),this.contentNode=document.createElement("span"),this.contentNode.setAttribute("contenteditable","false"),Array.from(this.domNode.childNodes).forEach((t=>{this.contentNode.appendChild(t)})),this.leftGuard=document.createTextNode(zu),this.rightGuard=document.createTextNode(zu),this.domNode.appendChild(this.leftGuard),this.domNode.appendChild(this.contentNode),this.domNode.appendChild(this.rightGuard)}index(t,e){return t===this.leftGuard?0:t===this.rightGuard?1:super.index(t,e)}restore(t){let e,n=null;const r=t.data.split(zu).join("");if(t===this.leftGuard)if(this.prev instanceof lu){const t=this.prev.length();this.prev.insertAt(t,r),n={startNode:this.prev.domNode,startOffset:t+r.length}}else e=document.createTextNode(r),this.parent.insertBefore(this.scroll.create(e),this),n={startNode:e,startOffset:r.length};else t===this.rightGuard&&(this.next instanceof lu?(this.next.insertAt(0,r),n={startNode:this.next.domNode,startOffset:r.length}):(e=document.createTextNode(r),this.parent.insertBefore(this.scroll.create(e),this.next),n={startNode:e,startOffset:r.length}));return t.data=zu,n}update(t,e){t.forEach((t=>{if("characterData"===t.type&&(t.target===this.leftGuard||t.target===this.rightGuard)){const n=this.restore(t.target);n&&(e.range=n)}}))}};var Hu=class{isComposing=!1;constructor(t,e){this.scroll=t,this.emitter=e,this.setupListeners()}setupListeners(){this.scroll.domNode.addEventListener("compositionstart",(t=>{this.isComposing||this.handleCompositionStart(t)})),this.scroll.domNode.addEventListener("compositionend",(t=>{this.isComposing&&queueMicrotask((()=>{this.handleCompositionEnd(t)}))}))}handleCompositionStart(t){const e=t.target instanceof Node?this.scroll.find(t.target,!0):null;!e||e instanceof Vu||(this.emitter.emit(qu.events.COMPOSITION_BEFORE_START,t),this.scroll.batchStart(),this.emitter.emit(qu.events.COMPOSITION_START,t),this.isComposing=!0)}handleCompositionEnd(t){this.emitter.emit(qu.events.COMPOSITION_BEFORE_END,t),this.scroll.batchEnd(),this.emitter.emit(qu.events.COMPOSITION_END,t),this.isComposing=!1}};class Uu{static DEFAULTS={modules:{}};static themes={default:Uu};modules={};constructor(t,e){this.quill=t,this.options=e}init(){Object.keys(this.options.modules).forEach((t=>{null==this.modules[t]&&this.addModule(t)}))}addModule(t){const e=this.quill.constructor.import(`modules/${t}`);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}var Gu=Uu;const Ku=t=>{const e=t.getBoundingClientRect(),n="offsetWidth"in t&&Math.abs(e.width)/t.offsetWidth||1,r="offsetHeight"in t&&Math.abs(e.height)/t.offsetHeight||1;return{top:e.top,right:e.left+t.clientWidth*n,bottom:e.top+t.clientHeight*r,left:e.left}},Wu=t=>{const e=parseInt(t,10);return Number.isNaN(e)?0:e},Xu=(t,e,n,r,i,o)=>t<n&&e>r?0:t<n?-(n-t+i):e>r?e-t>r-n?t+i-n:e-r+o:0;var Yu=(t,e)=>{const n=t.ownerDocument;let r=e,i=t;for(;i;){const t=i===n.body,e=t?{top:0,right:window.visualViewport?.width??n.documentElement.clientWidth,bottom:window.visualViewport?.height??n.documentElement.clientHeight,left:0}:Ku(i),a=getComputedStyle(i),s=Xu(r.left,r.right,e.left,e.right,Wu(a.scrollPaddingLeft),Wu(a.scrollPaddingRight)),l=Xu(r.top,r.bottom,e.top,e.bottom,Wu(a.scrollPaddingTop),Wu(a.scrollPaddingBottom));if(s||l)if(t)n.defaultView?.scrollBy(s,l);else{const{scrollLeft:t,scrollTop:e}=i;l&&(i.scrollTop+=l),s&&(i.scrollLeft+=s);const n=i.scrollLeft-t,o=i.scrollTop-e;r={left:r.left-n,top:r.top-o,right:r.right-n,bottom:r.bottom-o}}i=t||"fixed"===a.position?null:(o=i).parentElement||o.getRootNode().host||null}var o};const Qu=["block","break","cursor","inline","scroll","text"];var Ju=(t,e,n)=>{const r=new ol;return Qu.forEach((t=>{const n=e.query(t);n&&r.register(n)})),t.forEach((t=>{let i=e.query(t);i||n.error(`Cannot register "${t}" specified in "formats" config. Are you sure it was registered?`);let o=0;for(;i;)if(r.register(i),i="blotName"in i?i.requiredContainer??null:null,o+=1,o>100){n.error(`Cycle detected in registering blot requiredContainer: "${t}"`);break}})),r};const Zu=Eu("quill"),$u=new ol;yl.uiClass="ql-ui";class tc{static DEFAULTS={bounds:null,modules:{clipboard:!0,keyboard:!0,history:!0,uploader:!0},placeholder:"",readOnly:!1,registry:$u,theme:"default"};static events=qu.events;static sources=qu.sources;static version="2.0.3";static imports={delta:_l,parchment:e,"core/module":ju,"core/theme":Gu};static debug(t){!0===t&&(t="log"),Eu.level(t)}static find(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return wu.get(t)||$u.find(t,e)}static import(t){return null==this.imports[t]&&Zu.error(`Cannot import ${t}. Are you sure it was registered?`),this.imports[t]}static register(){if("string"!=typeof(arguments.length<=0?void 0:arguments[0])){const t=arguments.length<=0?void 0:arguments[0],e=!!(arguments.length<=1?void 0:arguments[1]),n="attrName"in t?t.attrName:t.blotName;"string"==typeof n?this.register(`formats/${n}`,t,e):Object.keys(t).forEach((n=>{this.register(n,t[n],e)}))}else{const t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1],n=!!(arguments.length<=2?void 0:arguments[2]);null==this.imports[t]||n||Zu.warn(`Overwriting ${t} with`,e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&e&&"boolean"!=typeof e&&"abstract"!==e.blotName&&$u.register(e),"function"==typeof e.register&&e.register($u)}}constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.options=function(t,e){const n=ec(t);if(!n)throw new Error("Invalid Quill container");const r=!e.theme||e.theme===tc.DEFAULTS.theme,i=r?Gu:tc.import(`themes/${e.theme}`);if(!i)throw new Error(`Invalid theme ${e.theme}. Did you register it?`);const{modules:o,...a}=tc.DEFAULTS,{modules:s,...l}=i.DEFAULTS;let u=nc(e.modules);null!=u&&u.toolbar&&u.toolbar.constructor!==Object&&(u={...u,toolbar:{container:u.toolbar}});const c=tl({},nc(o),nc(s),u),h={...a,...rc(l),...rc(e)};let d=e.registry;d?e.formats&&Zu.warn('Ignoring "formats" option because "registry" is specified'):d=e.formats?Ju(e.formats,h.registry,Zu):h.registry;return{...h,registry:d,container:n,theme:i,modules:Object.entries(c).reduce(((t,e)=>{let[n,r]=e;if(!r)return t;const i=tc.import(`modules/${n}`);return null==i?(Zu.error(`Cannot load ${n} module. Are you sure you registered it?`),t):{...t,[n]:tl({},i.DEFAULTS||{},r)}}),{}),bounds:ec(h.bounds)}}(t,e),this.container=this.options.container,null==this.container)return void Zu.error("Invalid Quill container",t);this.options.debug&&tc.debug(this.options.debug);const n=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",wu.set(this.container,this),this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.emitter=new qu;const r=Tl.blotName,i=this.options.registry.query(r);if(!i||!("blotName"in i))throw new Error(`Cannot initialize Quill without "${r}" blot`);if(this.scroll=new i(this.options.registry,this.root,{emitter:this.emitter}),this.editor=new Bu(this.scroll),this.selection=new _u(this.scroll,this.emitter),this.composition=new Hu(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.uploader=this.theme.addModule("uploader"),this.theme.addModule("input"),this.theme.addModule("uiNode"),this.theme.init(),this.emitter.on(qu.events.EDITOR_CHANGE,(t=>{t===qu.events.TEXT_CHANGE&&this.root.classList.toggle("ql-blank",this.editor.isBlank())})),this.emitter.on(qu.events.SCROLL_UPDATE,((t,e)=>{const n=this.selection.lastRange,[r]=this.selection.getRange(),i=n&&r?{oldRange:n,newRange:r}:void 0;ic.call(this,(()=>this.editor.update(null,e,i)),t)})),this.emitter.on(qu.events.SCROLL_EMBED_UPDATE,((t,e)=>{const n=this.selection.lastRange,[r]=this.selection.getRange(),i=n&&r?{oldRange:n,newRange:r}:void 0;ic.call(this,(()=>{const n=(new _l).retain(t.offset(this)).retain({[t.statics.blotName]:e});return this.editor.update(n,[],i)}),tc.sources.USER)})),n){const t=this.clipboard.convert({html:`${n}<p><br></p>`,text:"\n"});this.setContents(t)}this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable(),this.allowReadOnlyEdits=!1}addContainer(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t){const e=t;(t=document.createElement("div")).classList.add(e)}return this.container.insertBefore(t,e),t}blur(){this.selection.setRange(null)}deleteText(t,e,n){return[t,e,,n]=oc(t,e,n),ic.call(this,(()=>this.editor.deleteText(t,e)),n,t,-1*e)}disable(){this.enable(!1)}editReadOnly(t){this.allowReadOnlyEdits=!0;const e=t();return this.allowReadOnlyEdits=!1,e}enable(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}focus(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.selection.focus(),t.preventScroll||this.scrollSelectionIntoView()}format(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qu.sources.API;return ic.call(this,(()=>{const n=this.getSelection(!0);let r=new _l;if(null==n)return r;if(this.scroll.query(t,el.BLOCK))r=this.editor.formatLine(n.index,n.length,{[t]:e});else{if(0===n.length)return this.selection.format(t,e),r;r=this.editor.formatText(n.index,n.length,{[t]:e})}return this.setSelection(n,qu.sources.SILENT),r}),n)}formatLine(t,e,n,r,i){let o;return[t,e,o,i]=oc(t,e,n,r,i),ic.call(this,(()=>this.editor.formatLine(t,e,o)),i,t,0)}formatText(t,e,n,r,i){let o;return[t,e,o,i]=oc(t,e,n,r,i),ic.call(this,(()=>this.editor.formatText(t,e,o)),i,t,0)}getBounds(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=null;if(n="number"==typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length),!n)return null;const 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}}getContents(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t;return[t,e]=oc(t,e),this.editor.getContents(t,e)}getFormat(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}getIndex(t){return t.offset(this.scroll)}getLength(){return this.scroll.length()}getLeaf(t){return this.scroll.leaf(t)}getLine(t){return this.scroll.line(t)}getLines(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}getModule(t){return this.theme.modules[t]}getSelection(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}getSemanticHTML(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0;return"number"==typeof t&&(e=e??this.getLength()-t),[t,e]=oc(t,e),this.editor.getHTML(t,e)}getText(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0;return"number"==typeof t&&(e=e??this.getLength()-t),[t,e]=oc(t,e),this.editor.getText(t,e)}hasFocus(){return this.selection.hasFocus()}insertEmbed(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:tc.sources.API;return ic.call(this,(()=>this.editor.insertEmbed(t,e,n)),r,t)}insertText(t,e,n,r,i){let o;return[t,,o,i]=oc(t,0,n,r,i),ic.call(this,(()=>this.editor.insertText(t,e,o)),i,t,e.length)}isEnabled(){return this.scroll.isEnabled()}off(){return this.emitter.off(...arguments)}on(){return this.emitter.on(...arguments)}once(){return this.emitter.once(...arguments)}removeFormat(t,e,n){return[t,e,,n]=oc(t,e,n),ic.call(this,(()=>this.editor.removeFormat(t,e)),n,t)}scrollRectIntoView(t){Yu(this.root,t)}scrollIntoView(){this.scrollSelectionIntoView()}scrollSelectionIntoView(){const t=this.selection.lastRange,e=t&&this.selection.getBounds(t.index,t.length);e&&this.scrollRectIntoView(e)}setContents(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qu.sources.API;return ic.call(this,(()=>{t=new _l(t);const e=this.getLength(),n=this.editor.deleteText(0,e),r=this.editor.insertContents(0,t),i=this.editor.deleteText(this.getLength()-1,1);return n.compose(r).compose(i)}),e)}setSelection(t,e,n){null==t?this.selection.setRange(null,e||tc.sources.API):([t,e,,n]=oc(t,e,n),this.selection.setRange(new Pu(Math.max(0,t),e),n),n!==qu.sources.SILENT&&this.scrollSelectionIntoView())}setText(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qu.sources.API;const n=(new _l).insert(t);return this.setContents(n,e)}update(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:qu.sources.USER;const e=this.scroll.update(t);return this.selection.update(t),e}updateContents(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qu.sources.API;return ic.call(this,(()=>(t=new _l(t),this.editor.applyDelta(t))),e,!0)}}function ec(t){return"string"==typeof t?document.querySelector(t):t}function nc(t){return Object.entries(t??{}).reduce(((t,e)=>{let[n,r]=e;return{...t,[n]:!0===r?{}:r}}),{})}function rc(t){return Object.fromEntries(Object.entries(t).filter((t=>void 0!==t[1])))}function ic(t,e,n,r){if(!this.isEnabled()&&e===qu.sources.USER&&!this.allowReadOnlyEdits)return new _l;let i=null==n?null:this.getSelection();const o=this.editor.delta,a=t();if(null!=i&&(!0===n&&(n=i.index),null==r?i=ac(i,a,e):0!==r&&(i=ac(i,n,r,e)),this.setSelection(i,qu.sources.SILENT)),a.length()>0){const t=[qu.events.TEXT_CHANGE,a,o,e];this.emitter.emit(qu.events.EDITOR_CHANGE,...t),e!==qu.sources.SILENT&&this.emitter.emit(...t)}return a}function oc(t,e,n,r,i){let o={};return"number"==typeof t.index&&"number"==typeof t.length?"number"!=typeof e?(i=r,r=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!=typeof e&&(i=r,r=n,n=e,e=0),"object"==typeof n?(o=n,i=r):"string"==typeof n&&(null!=r?o[n]=r:i=n),[t,e,o,i=i||qu.sources.API]}function ac(t,e,n,r){const i="number"==typeof n?n:0;if(null==t)return null;let o,a;return e&&"function"==typeof e.transformPosition?[o,a]=[t.index,t.index+t.length].map((t=>e.transformPosition(t,r!==qu.sources.USER))):[o,a]=[t.index,t.index+t.length].map((t=>t<e||t===e&&r===qu.sources.USER?t:i>=0?t+i:Math.max(e,t+i))),new Pu(o,a-o)}var sc=class extends Sl{};function lc(t){return t instanceof fu||t instanceof pu}function uc(t){return"function"==typeof t.updateContent}function cc(t,e,n){n.reduce(((e,n)=>{const r=_l.Op.length(n);let i=n.attributes||{};if(null!=n.insert)if("string"==typeof n.insert){const r=n.insert;t.insertAt(e,r);const[o]=t.descendant(pl,e),a=gu(o);i=_l.AttributeMap.diff(a,i)||{}}else if("object"==typeof n.insert){const r=Object.keys(n.insert)[0];if(null==r)return e;t.insertAt(e,r,n.insert[r]);if(null!=t.scroll.query(r,el.INLINE)){const[n]=t.descendant(pl,e),r=gu(n);i=_l.AttributeMap.diff(r,i)||{}}}return Object.keys(i).forEach((n=>{t.formatAt(e,r,n,i[n])})),e+r}),e)}var hc=class extends Tl{static blotName="scroll";static className="ql-editor";static tagName="DIV";static defaultChild=fu;static allowedChildren=[fu,pu,sc];constructor(t,e,n){let{emitter:r}=n;super(t,e),this.emitter=r,this.batch=!1,this.optimize(),this.enable(),this.domNode.addEventListener("dragstart",(t=>this.handleDragStart(t)))}batchStart(){Array.isArray(this.batch)||(this.batch=[])}batchEnd(){if(!this.batch)return;const t=this.batch;this.batch=!1,this.update(t)}emitMount(t){this.emitter.emit(qu.events.SCROLL_BLOT_MOUNT,t)}emitUnmount(t){this.emitter.emit(qu.events.SCROLL_BLOT_UNMOUNT,t)}emitEmbedUpdate(t,e){this.emitter.emit(qu.events.SCROLL_EMBED_UPDATE,t,e)}deleteAt(t,e){const[n,r]=this.line(t),[i]=this.line(t+e);if(super.deleteAt(t,e),null!=i&&n!==i&&r>0){if(n instanceof pu||i instanceof pu)return void this.optimize();const t=i.children.head instanceof su?null:i.children.head;n.moveChildren(i,t),n.remove()}this.optimize()}enable(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t?"true":"false")}formatAt(t,e,n,r){super.formatAt(t,e,n,r),this.optimize()}insertAt(t,e,n){if(t>=this.length())if(null==n||null==this.scroll.query(e,el.BLOCK)){const t=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(t),null==n&&e.endsWith("\n")?t.insertAt(0,e.slice(0,-1),n):t.insertAt(0,e,n)}else{const t=this.scroll.create(e,n);this.appendChild(t)}else super.insertAt(t,e,n);this.optimize()}insertBefore(t,e){if(t.statics.scope===el.INLINE_BLOT){const n=this.scroll.create(this.statics.defaultChild.blotName);n.appendChild(t),super.insertBefore(n,e)}else super.insertBefore(t,e)}insertContents(t,e){const n=this.deltaToRenderBlocks(e.concat((new _l).insert("\n"))),r=n.pop();if(null==r)return;this.batchStart();const i=n.shift();if(i){const e="block"===i.type&&(0===i.delta.length()||!this.descendant(pu,t)[0]&&t<this.length()),n="block"===i.type?i.delta:(new _l).insert({[i.key]:i.value});cc(this,t,n);const r="block"===i.type?1:0,o=t+n.length()+r;e&&this.insertAt(o-1,"\n");const a=gu(this.line(t)[0]),s=_l.AttributeMap.diff(a,i.attributes)||{};Object.keys(s).forEach((t=>{this.formatAt(o-1,1,t,s[t])})),t=o}let[o,a]=this.children.find(t);if(n.length&&(o&&(o=o.split(a),a=0),n.forEach((t=>{if("block"===t.type){cc(this.createBlock(t.attributes,o||void 0),0,t.delta)}else{const e=this.create(t.key,t.value);this.insertBefore(e,o||void 0),Object.keys(t.attributes).forEach((n=>{e.format(n,t.attributes[n])}))}}))),"block"===r.type&&r.delta.length()){cc(this,o?o.offset(o.scroll)+a:this.length(),r.delta)}this.batchEnd(),this.optimize()}isEnabled(){return"true"===this.domNode.getAttribute("contenteditable")}leaf(t){const e=this.path(t).pop();if(!e)return[null,-1];const[n,r]=e;return n instanceof pl?[n,r]:[null,-1]}line(t){return t===this.length()?this.line(t-1):this.descendant(lc,t)}lines(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;const n=(t,e,r)=>{let i=[],o=r;return t.children.forEachAt(e,r,((t,e,r)=>{lc(t)?i.push(t):t instanceof Sl&&(i=i.concat(n(t,e,o))),o-=r})),i};return n(this,t,e)}optimize(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.batch||(super.optimize(t,e),t.length>0&&this.emitter.emit(qu.events.SCROLL_OPTIMIZE,t,e))}path(t){return super.path(t).slice(1)}remove(){}update(t){if(this.batch)return void(Array.isArray(t)&&(this.batch=this.batch.concat(t)));let e=qu.sources.USER;"string"==typeof t&&(e=t),Array.isArray(t)||(t=this.observer.takeRecords()),(t=t.filter((t=>{let{target:e}=t;const n=this.find(e,!0);return n&&!uc(n)}))).length>0&&this.emitter.emit(qu.events.SCROLL_BEFORE_UPDATE,e,t),super.update(t.concat([])),t.length>0&&this.emitter.emit(qu.events.SCROLL_UPDATE,e,t)}updateEmbedAt(t,e,n){const[r]=this.descendant((t=>t instanceof pu),t);r&&r.statics.blotName===e&&uc(r)&&r.updateContent(n)}handleDragStart(t){t.preventDefault()}deltaToRenderBlocks(t){const e=[];let n=new _l;return t.forEach((t=>{const r=t?.insert;if(r)if("string"==typeof r){const i=r.split("\n");i.slice(0,-1).forEach((r=>{n.insert(r,t.attributes),e.push({type:"block",delta:n,attributes:t.attributes??{}}),n=new _l}));const o=i[i.length-1];o&&n.insert(o,t.attributes)}else{const i=Object.keys(r)[0];if(!i)return;this.query(i,el.INLINE)?n.push(t):(n.length()&&e.push({type:"block",delta:n,attributes:{}}),n=new _l,e.push({type:"blockEmbed",key:i,value:r[i],attributes:t.attributes??{}}))}})),n.length()&&e.push({type:"block",delta:n,attributes:{}}),e}createBlock(t,e){let n;const r={};Object.entries(t).forEach((t=>{let[e,i]=t;null!=this.query(e,el.BLOCK&el.BLOT)?n=e:r[e]=i}));const i=this.create(n||this.statics.defaultChild.blotName,n?t[n]:void 0);this.insertBefore(i,e||void 0);const o=i.length();return Object.entries(r).forEach((t=>{let[e,n]=t;i.formatAt(0,o,e,n)})),i}};const dc={scope:el.BLOCK,whitelist:["right","center","justify"]},fc=new nl("align","align",dc),pc=new sl("align","ql-align",dc),mc=new ul("align","text-align",dc);class gc extends ul{value(t){let e=super.value(t);if(!e.startsWith("rgb("))return e;e=e.replace(/^[^\d]+/,"").replace(/[^\d]+$/,"");return`#${e.split(",").map((t=>`00${parseInt(t,10).toString(16)}`.slice(-2))).join("")}`}}const vc=new sl("color","ql-color",{scope:el.INLINE}),yc=new gc("color","color",{scope:el.INLINE}),bc=new sl("background","ql-bg",{scope:el.INLINE}),wc=new gc("background","background-color",{scope:el.INLINE});class xc extends sc{static create(t){const e=super.create(t);return e.setAttribute("spellcheck","false"),e}code(t,e){return this.children.map((t=>t.length()<=1?"":t.domNode.innerText)).join("\n").slice(t,t+e)}html(t,e){return`<pre>\n${cu(this.code(t,e))}\n</pre>`}}class Ac extends fu{static TAB=" ";static register(){tc.register(xc)}}class kc extends du{}kc.blotName="code",kc.tagName="CODE",Ac.blotName="code-block",Ac.className="ql-code-block",Ac.tagName="DIV",xc.blotName="code-block-container",xc.className="ql-code-block-container",xc.tagName="DIV",xc.allowedChildren=[Ac],Ac.allowedChildren=[lu,su,yu],Ac.requiredContainer=xc;const Sc={scope:el.BLOCK,whitelist:["rtl"]},Ec=new nl("direction","dir",Sc),Cc=new sl("direction","ql-direction",Sc),qc=new ul("direction","direction",Sc),Tc={scope:el.INLINE,whitelist:["serif","monospace"]},Pc=new sl("font","ql-font",Tc);const Dc=new class extends ul{value(t){return super.value(t).replace(/["']/g,"")}}("font","font-family",Tc),_c=new sl("size","ql-size",{scope:el.INLINE,whitelist:["small","large","huge"]}),Oc=new ul("size","font-size",{scope:el.INLINE,whitelist:["10px","18px","32px"]}),Mc=Eu("quill:keyboard"),Nc=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey";class Ic extends ju{static match(t,e){return!["altKey","ctrlKey","metaKey","shiftKey"].some((n=>!!e[n]!==t[n]&&null!==e[n]))&&(e.key===t.key||e.key===t.which)}constructor(t,e){super(t,e),this.bindings={},Object.keys(this.options.bindings).forEach((t=>{this.options.bindings[t]&&this.addBinding(this.options.bindings[t])})),this.addBinding({key:"Enter",shiftKey:null},this.handleEnter),this.addBinding({key:"Enter",metaKey:null,ctrlKey:null,altKey:null},(()=>{})),/Firefox/i.test(navigator.userAgent)?(this.addBinding({key:"Backspace"},{collapsed:!0},this.handleBackspace),this.addBinding({key:"Delete"},{collapsed:!0},this.handleDelete)):(this.addBinding({key:"Backspace"},{collapsed:!0,prefix:/^.?$/},this.handleBackspace),this.addBinding({key:"Delete"},{collapsed:!0,suffix:/^.?$/},this.handleDelete)),this.addBinding({key:"Backspace"},{collapsed:!1},this.handleDeleteRange),this.addBinding({key:"Delete"},{collapsed:!1},this.handleDeleteRange),this.addBinding({key:"Backspace",altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},this.handleBackspace),this.listen()}addBinding(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=function(t){if("string"==typeof t||"number"==typeof t)t={key:t};else{if("object"!=typeof t)return null;t=ou(t)}t.shortKey&&(t[Nc]=t.shortKey,delete t.shortKey);return t}(t);if(null==r)return void Mc.warn("Attempted to add invalid keyboard binding",r);"function"==typeof e&&(e={handler:e}),"function"==typeof n&&(n={handler:n});(Array.isArray(r.key)?r.key:[r.key]).forEach((t=>{const i={...r,key:t,...e,...n};this.bindings[i.key]=this.bindings[i.key]||[],this.bindings[i.key].push(i)}))}listen(){this.quill.root.addEventListener("keydown",(t=>{if(t.defaultPrevented||t.isComposing)return;if(229===t.keyCode&&("Enter"===t.key||"Backspace"===t.key))return;const e=(this.bindings[t.key]||[]).concat(this.bindings[t.which]||[]).filter((e=>Ic.match(t,e)));if(0===e.length)return;const n=tc.find(t.target,!0);if(n&&n.scroll!==this.quill.scroll)return;const r=this.quill.getSelection();if(null==r||!this.quill.hasFocus())return;const[i,o]=this.quill.getLine(r.index),[a,s]=this.quill.getLeaf(r.index),[l,u]=0===r.length?[a,s]:this.quill.getLeaf(r.index+r.length),c=a instanceof Dl?a.value().slice(0,s):"",h=l instanceof Dl?l.value().slice(u):"",d={collapsed:0===r.length,empty:0===r.length&&i.length()<=1,format:this.quill.getFormat(r),line:i,offset:o,prefix:c,suffix:h,event:t};e.some((t=>{if(null!=t.collapsed&&t.collapsed!==d.collapsed)return!1;if(null!=t.empty&&t.empty!==d.empty)return!1;if(null!=t.offset&&t.offset!==d.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((t=>null==d.format[t])))return!1}else if("object"==typeof t.format&&!Object.keys(t.format).every((e=>!0===t.format[e]?null!=d.format[e]:!1===t.format[e]?null==d.format[e]:ss(t.format[e],d.format[e]))))return!1;return!(null!=t.prefix&&!t.prefix.test(d.prefix))&&(!(null!=t.suffix&&!t.suffix.test(d.suffix))&&!0!==t.handler.call(this,r,d,t))}))&&t.preventDefault()}))}handleBackspace(t,e){const n=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;if(0===t.index||this.quill.getLength()<=1)return;let r={};const[i]=this.quill.getLine(t.index);let o=(new _l).retain(t.index-n).delete(n);if(0===e.offset){const[e]=this.quill.getLine(t.index-1);if(e){if(!("block"===e.statics.blotName&&e.length()<=1)){const e=i.formats(),n=this.quill.getFormat(t.index-1,1);if(r=_l.AttributeMap.diff(e,n)||{},Object.keys(r).length>0){const e=(new _l).retain(t.index+i.length()-2).retain(1,r);o=o.compose(e)}}}}this.quill.updateContents(o,tc.sources.USER),this.quill.focus()}handleDelete(t,e){const n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(t.index>=this.quill.getLength()-n)return;let r={};const[i]=this.quill.getLine(t.index);let o=(new _l).retain(t.index).delete(n);if(e.offset>=i.length()-1){const[e]=this.quill.getLine(t.index+1);if(e){const n=i.formats(),a=this.quill.getFormat(t.index,1);r=_l.AttributeMap.diff(n,a)||{},Object.keys(r).length>0&&(o=o.retain(e.length()-1).retain(1,r))}}this.quill.updateContents(o,tc.sources.USER),this.quill.focus()}handleDeleteRange(t){zc({range:t,quill:this.quill}),this.quill.focus()}handleEnter(t,e){const n=Object.keys(e.format).reduce(((t,n)=>(this.quill.scroll.query(n,el.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t)),{}),r=(new _l).retain(t.index).delete(t.length).insert("\n",n);this.quill.updateContents(r,tc.sources.USER),this.quill.setSelection(t.index+1,tc.sources.SILENT),this.quill.focus()}}const Rc={bindings:{bold:Bc("bold"),italic:Bc("italic"),underline:Bc("underline"),indent:{key:"Tab",format:["blockquote","indent","list"],handler(t,e){return!(!e.collapsed||0===e.offset)||(this.quill.format("indent","+1",tc.sources.USER),!1)}},outdent:{key:"Tab",shiftKey:!0,format:["blockquote","indent","list"],handler(t,e){return!(!e.collapsed||0===e.offset)||(this.quill.format("indent","-1",tc.sources.USER),!1)}},"outdent backspace":{key:"Backspace",collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler(t,e){null!=e.format.indent?this.quill.format("indent","-1",tc.sources.USER):null!=e.format.list&&this.quill.format("list",!1,tc.sources.USER)}},"indent code-block":Lc(!0),"outdent code-block":Lc(!1),"remove tab":{key:"Tab",shiftKey:!0,collapsed:!0,prefix:/\t$/,handler(t){this.quill.deleteText(t.index-1,1,tc.sources.USER)}},tab:{key:"Tab",handler(t,e){if(e.format.table)return!0;this.quill.history.cutoff();const n=(new _l).retain(t.index).delete(t.length).insert("\t");return this.quill.updateContents(n,tc.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,tc.sources.SILENT),!1}},"blockquote empty enter":{key:"Enter",collapsed:!0,format:["blockquote"],empty:!0,handler(){this.quill.format("blockquote",!1,tc.sources.USER)}},"list empty enter":{key:"Enter",collapsed:!0,format:["list"],empty:!0,handler(t,e){const n={list:!1};e.format.indent&&(n.indent=!1),this.quill.formatLine(t.index,t.length,n,tc.sources.USER)}},"checklist enter":{key:"Enter",collapsed:!0,format:{list:"checked"},handler(t){const[e,n]=this.quill.getLine(t.index),r={...e.formats(),list:"checked"},i=(new _l).retain(t.index).insert("\n",r).retain(e.length()-n-1).retain(1,{list:"unchecked"});this.quill.updateContents(i,tc.sources.USER),this.quill.setSelection(t.index+1,tc.sources.SILENT),this.quill.scrollSelectionIntoView()}},"header enter":{key:"Enter",collapsed:!0,format:["header"],suffix:/^$/,handler(t,e){const[n,r]=this.quill.getLine(t.index),i=(new _l).retain(t.index).insert("\n",e.format).retain(n.length()-r-1).retain(1,{header:null});this.quill.updateContents(i,tc.sources.USER),this.quill.setSelection(t.index+1,tc.sources.SILENT),this.quill.scrollSelectionIntoView()}},"table backspace":{key:"Backspace",format:["table"],collapsed:!0,offset:0,handler(){}},"table delete":{key:"Delete",format:["table"],collapsed:!0,suffix:/^$/,handler(){}},"table enter":{key:"Enter",shiftKey:null,format:["table"],handler(t){const e=this.quill.getModule("table");if(e){const[n,r,i,o]=e.getTable(t),a=function(t,e,n,r){if(null==e.prev&&null==e.next)return null==n.prev&&null==n.next?0===r?-1:1:null==n.prev?-1:1;if(null==e.prev)return-1;if(null==e.next)return 1;return null}(0,r,i,o);if(null==a)return;let s=n.offset();if(a<0){const e=(new _l).retain(s).insert("\n");this.quill.updateContents(e,tc.sources.USER),this.quill.setSelection(t.index+1,t.length,tc.sources.SILENT)}else if(a>0){s+=n.length();const t=(new _l).retain(s).insert("\n");this.quill.updateContents(t,tc.sources.USER),this.quill.setSelection(s,tc.sources.USER)}}}},"table tab":{key:"Tab",shiftKey:null,format:["table"],handler(t,e){const{event:n,line:r}=e,i=r.offset(this.quill.scroll);n.shiftKey?this.quill.setSelection(i-1,tc.sources.USER):this.quill.setSelection(i+r.length(),tc.sources.USER)}},"list autofill":{key:" ",shiftKey:null,collapsed:!0,format:{"code-block":!1,blockquote:!1,table:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler(t,e){if(null==this.quill.scroll.query("list"))return!0;const{length:n}=e.prefix,[r,i]=this.quill.getLine(t.index);if(i>n)return!0;let o;switch(e.prefix.trim()){case"[]":case"[ ]":o="unchecked";break;case"[x]":o="checked";break;case"-":case"*":o="bullet";break;default:o="ordered"}this.quill.insertText(t.index," ",tc.sources.USER),this.quill.history.cutoff();const a=(new _l).retain(t.index-i).delete(n+1).retain(r.length()-2-i).retain(1,{list:o});return this.quill.updateContents(a,tc.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,tc.sources.SILENT),!1}},"code exit":{key:"Enter",collapsed:!0,format:["code-block"],prefix:/^$/,suffix:/^\s*$/,handler(t){const[e,n]=this.quill.getLine(t.index);let r=2,i=e;for(;null!=i&&i.length()<=1&&i.formats()["code-block"];)if(i=i.prev,r-=1,r<=0){const r=(new _l).retain(t.index+e.length()-n-2).retain(1,{"code-block":null}).delete(1);return this.quill.updateContents(r,tc.sources.USER),this.quill.setSelection(t.index-1,tc.sources.SILENT),!1}return!0}},"embed left":Fc("ArrowLeft",!1),"embed left shift":Fc("ArrowLeft",!0),"embed right":Fc("ArrowRight",!1),"embed right shift":Fc("ArrowRight",!0),"table down":jc(!1),"table up":jc(!0)}};function Lc(t){return{key:"Tab",shiftKey:!t,format:{"code-block":!0},handler(e,n){let{event:r}=n;const i=this.quill.scroll.query("code-block"),{TAB:o}=i;if(0===e.length&&!r.shiftKey)return this.quill.insertText(e.index,o,tc.sources.USER),void this.quill.setSelection(e.index+o.length,tc.sources.SILENT);const a=0===e.length?this.quill.getLines(e.index,1):this.quill.getLines(e);let{index:s,length:l}=e;a.forEach(((e,n)=>{t?(e.insertAt(0,o),0===n?s+=o.length:l+=o.length):e.domNode.textContent.startsWith(o)&&(e.deleteAt(0,o.length),0===n?s-=o.length:l-=o.length)})),this.quill.update(tc.sources.USER),this.quill.setSelection(s,l,tc.sources.SILENT)}}}function Fc(t,e){const n="ArrowLeft"===t?"prefix":"suffix";return{key:t,shiftKey:e,altKey:null,[n]:/^$/,handler(n){let{index:r}=n;"ArrowRight"===t&&(r+=n.length+1);const[i]=this.quill.getLeaf(r);return!(i instanceof El)||("ArrowLeft"===t?e?this.quill.setSelection(n.index-1,n.length+1,tc.sources.USER):this.quill.setSelection(n.index-1,tc.sources.USER):e?this.quill.setSelection(n.index,n.length+1,tc.sources.USER):this.quill.setSelection(n.index+n.length+1,tc.sources.USER),!1)}}}function Bc(t){return{key:t[0],shortKey:!0,handler(e,n){this.quill.format(t,!n.format[t],tc.sources.USER)}}}function jc(t){return{key:t?"ArrowUp":"ArrowDown",collapsed:!0,format:["table"],handler(e,n){const r=t?"prev":"next",i=n.line,o=i.parent[r];if(null!=o){if("table-row"===o.statics.blotName){let t=o.children.head,e=i;for(;null!=e.prev;)e=e.prev,t=t.next;const r=t.offset(this.quill.scroll)+Math.min(n.offset,t.length()-1);this.quill.setSelection(r,0,tc.sources.USER)}}else{const e=i.table()[r];null!=e&&(t?this.quill.setSelection(e.offset(this.quill.scroll)+e.length()-1,0,tc.sources.USER):this.quill.setSelection(e.offset(this.quill.scroll),0,tc.sources.USER))}return!1}}}function zc(t){let{quill:e,range:n}=t;const r=e.getLines(n);let i={};if(r.length>1){const t=r[0].formats(),e=r[r.length-1].formats();i=_l.AttributeMap.diff(e,t)||{}}e.deleteText(n,tc.sources.USER),Object.keys(i).length>0&&e.formatLine(n.index,1,i,tc.sources.USER),e.setSelection(n.index,tc.sources.SILENT)}Ic.DEFAULTS=Rc;const Vc=/font-weight:\s*normal/,Hc=["P","OL","UL"],Uc=t=>t&&Hc.includes(t.tagName);const Gc=/\bmso-list:[^;]*ignore/i,Kc=/\bmso-list:[^;]*\bl(\d+)/i,Wc=/\bmso-list:[^;]*\blevel(\d+)/i,Xc=t=>{const e=Array.from(t.querySelectorAll("[style*=mso-list]")),n=[],r=[];e.forEach((t=>{(t.getAttribute("style")||"").match(Gc)?n.push(t):r.push(t)})),n.forEach((t=>t.parentNode?.removeChild(t)));const i=t.documentElement.innerHTML,o=r.map((t=>((t,e)=>{const n=t.getAttribute("style"),r=n?.match(Kc);if(!r)return null;const i=Number(r[1]),o=n?.match(Wc),a=o?Number(o[1]):1,s=new RegExp(`@list l${i}:level${a}\\s*\\{[^\\}]*mso-level-number-format:\\s*([\\w-]+)`,"i"),l=e.match(s);return{id:i,indent:a,type:l&&"bullet"===l[1]?"bullet":"ordered",element:t}})(t,i))).filter((t=>t));for(;o.length;){const t=[];let e=o.shift();for(;e;)t.push(e),e=o.length&&o[0]?.element===e.element.nextElementSibling&&o[0].id===e.id?o.shift():null;const n=document.createElement("ul");t.forEach((t=>{const e=document.createElement("li");e.setAttribute("data-list",t.type),t.indent>1&&e.setAttribute("class","ql-indent-"+(t.indent-1)),e.innerHTML=t.element.innerHTML,n.appendChild(e)}));const r=t[0]?.element,{parentNode:i}=r??{};r&&i?.replaceChild(n,r),t.slice(1).forEach((t=>{let{element:e}=t;i?.removeChild(e)}))}};const Yc=[function(t){"urn:schemas-microsoft-com:office:word"===t.documentElement.getAttribute("xmlns:w")&&Xc(t)},function(t){t.querySelector('[id^="docs-internal-guid-"]')&&((t=>{Array.from(t.querySelectorAll('b[style*="font-weight"]')).filter((t=>t.getAttribute("style")?.match(Vc))).forEach((e=>{const n=t.createDocumentFragment();n.append(...e.childNodes),e.parentNode?.replaceChild(n,e)}))})(t),(t=>{Array.from(t.querySelectorAll("br")).filter((t=>Uc(t.previousElementSibling)&&Uc(t.nextElementSibling))).forEach((t=>{t.parentNode?.removeChild(t)}))})(t))}];var Qc=t=>{t.documentElement&&Yc.forEach((e=>{e(t)}))};const Jc=Eu("quill:clipboard"),Zc=[[Node.TEXT_NODE,function(t,e,n){let r=t.data;if("O:P"===t.parentElement?.tagName)return e.insert(r.trim());if(!oh(t)){if(0===r.trim().length&&r.includes("\n")&&!function(t,e){return t.previousElementSibling&&t.nextElementSibling&&!rh(t.previousElementSibling,e)&&!rh(t.nextElementSibling,e)}(t,n))return e;r=r.replace(/[^\S\u00a0]/g," "),r=r.replace(/ {2,}/g," "),(null==t.previousSibling&&null!=t.parentElement&&rh(t.parentElement,n)||t.previousSibling instanceof Element&&rh(t.previousSibling,n))&&(r=r.replace(/^ /,"")),(null==t.nextSibling&&null!=t.parentElement&&rh(t.parentElement,n)||t.nextSibling instanceof Element&&rh(t.nextSibling,n))&&(r=r.replace(/ $/,"")),r=r.replaceAll(" "," ")}return e.insert(r)}],[Node.TEXT_NODE,lh],["br",function(t,e){nh(e,"\n")||e.insert("\n");return e}],[Node.ELEMENT_NODE,lh],[Node.ELEMENT_NODE,function(t,e,n){const r=n.query(t);if(null==r)return e;if(r.prototype instanceof El){const e={},i=r.value(t);if(null!=i)return e[r.blotName]=i,(new _l).insert(e,r.formats(t,n))}else if(r.prototype instanceof Al&&!nh(e,"\n")&&e.insert("\n"),"blotName"in r&&"formats"in r&&"function"==typeof r.formats)return eh(e,r.blotName,r.formats(t,n),n);return e}],[Node.ELEMENT_NODE,function(t,e,n){const r=nl.keys(t),i=sl.keys(t),o=ul.keys(t),a={};return r.concat(i).concat(o).forEach((e=>{let r=n.query(e,el.ATTRIBUTE);null!=r&&(a[r.attrName]=r.value(t),a[r.attrName])||(r=$c[e],null==r||r.attrName!==e&&r.keyName!==e||(a[r.attrName]=r.value(t)||void 0),r=th[e],null==r||r.attrName!==e&&r.keyName!==e||(r=th[e],a[r.attrName]=r.value(t)||void 0))})),Object.entries(a).reduce(((t,e)=>{let[r,i]=e;return eh(t,r,i,n)}),e)}],[Node.ELEMENT_NODE,function(t,e,n){const r={},i=t.style||{};"italic"===i.fontStyle&&(r.italic=!0);"underline"===i.textDecoration&&(r.underline=!0);"line-through"===i.textDecoration&&(r.strike=!0);(i.fontWeight?.startsWith("bold")||parseInt(i.fontWeight,10)>=700)&&(r.bold=!0);if(e=Object.entries(r).reduce(((t,e)=>{let[r,i]=e;return eh(t,r,i,n)}),e),parseFloat(i.textIndent||0)>0)return(new _l).insert("\t").concat(e);return e}],["li",function(t,e,n){const r=n.query(t);if(null==r||"list"!==r.blotName||!nh(e,"\n"))return e;let i=-1,o=t.parentNode;for(;null!=o;)["OL","UL"].includes(o.tagName)&&(i+=1),o=o.parentNode;return i<=0?e:e.reduce(((t,e)=>e.insert?e.attributes&&"number"==typeof e.attributes.indent?t.push(e):t.insert(e.insert,{indent:i,...e.attributes||{}}):t),new _l)}],["ol, ul",function(t,e,n){const r=t;let i="OL"===r.tagName?"ordered":"bullet";const o=r.getAttribute("data-checked");o&&(i="true"===o?"checked":"unchecked");return eh(e,"list",i,n)}],["pre",function(t,e,n){const r=n.query("code-block"),i=!r||!("formats"in r)||"function"!=typeof r.formats||r.formats(t,n);return eh(e,"code-block",i,n)}],["tr",function(t,e,n){const r="TABLE"===t.parentElement?.tagName?t.parentElement:t.parentElement?.parentElement;if(null!=r){return eh(e,"table",Array.from(r.querySelectorAll("tr")).indexOf(t)+1,n)}return e}],["b",sh("bold")],["i",sh("italic")],["strike",sh("strike")],["style",function(){return new _l}]],$c=[fc,Ec].reduce(((t,e)=>(t[e.keyName]=e,t)),{}),th=[mc,wc,yc,qc,Dc,Oc].reduce(((t,e)=>(t[e.keyName]=e,t)),{});function eh(t,e,n,r){return r.query(e)?t.reduce(((t,r)=>{if(!r.insert)return t;if(r.attributes&&r.attributes[e])return t.push(r);const i=n?{[e]:n}:{};return t.insert(r.insert,{...i,...r.attributes})}),new _l):t}function nh(t,e){let n="";for(let r=t.ops.length-1;r>=0&&n.length<e.length;--r){const e=t.ops[r];if("string"!=typeof e.insert)break;n=e.insert+n}return n.slice(-1*e.length)===e}function rh(t,e){if(!(t instanceof Element))return!1;const n=e.query(t);return!(n&&n.prototype instanceof El)&&["address","article","blockquote","canvas","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","iframe","li","main","nav","ol","output","p","pre","section","table","td","tr","ul","video"].includes(t.tagName.toLowerCase())}const ih=new WeakMap;function oh(t){return null!=t&&(ih.has(t)||("PRE"===t.tagName?ih.set(t,!0):ih.set(t,oh(t.parentNode))),ih.get(t))}function ah(t,e,n,r,i){return e.nodeType===e.TEXT_NODE?r.reduce(((n,r)=>r(e,n,t)),new _l):e.nodeType===e.ELEMENT_NODE?Array.from(e.childNodes||[]).reduce(((o,a)=>{let s=ah(t,a,n,r,i);return a.nodeType===e.ELEMENT_NODE&&(s=n.reduce(((e,n)=>n(a,e,t)),s),s=(i.get(a)||[]).reduce(((e,n)=>n(a,e,t)),s)),o.concat(s)}),new _l):new _l}function sh(t){return(e,n,r)=>eh(n,t,!0,r)}function lh(t,e,n){if(!nh(e,"\n")){if(rh(t,n)&&(t.childNodes.length>0||t instanceof HTMLParagraphElement))return e.insert("\n");if(e.length()>0&&t.nextSibling){let r=t.nextSibling;for(;null!=r;){if(rh(r,n))return e.insert("\n");const t=n.query(r);if(t&&t.prototype instanceof pu)return e.insert("\n");r=r.firstChild}}}return e}function uh(t,e){let n=e;for(let e=t.length-1;e>=0;e-=1){const r=t[e];t[e]={delta:n.transform(r.delta,!0),range:r.range&&ch(r.range,n)},n=r.delta.transform(n),0===t[e].delta.length()&&t.splice(e,1)}}function ch(t,e){if(!t)return t;const n=e.transformPosition(t.index);return{index:n,length:e.transformPosition(t.index+t.length)-n}}class hh extends ju{constructor(t,e){super(t,e),t.root.addEventListener("drop",(e=>{e.preventDefault();let n=null;if(document.caretRangeFromPoint)n=document.caretRangeFromPoint(e.clientX,e.clientY);else if(document.caretPositionFromPoint){const t=document.caretPositionFromPoint(e.clientX,e.clientY);n=document.createRange(),n.setStart(t.offsetNode,t.offset),n.setEnd(t.offsetNode,t.offset)}const r=n&&t.selection.normalizeNative(n);if(r){const n=t.selection.normalizedToRange(r);e.dataTransfer?.files&&this.upload(n,e.dataTransfer.files)}}))}upload(t,e){const n=[];Array.from(e).forEach((t=>{t&&this.options.mimetypes?.includes(t.type)&&n.push(t)})),n.length>0&&this.options.handler.call(this,t,n)}}hh.DEFAULTS={mimetypes:["image/png","image/jpeg"],handler(t,e){if(!this.quill.scroll.query("image"))return;const n=e.map((t=>new Promise((e=>{const n=new FileReader;n.onload=()=>{e(n.result)},n.readAsDataURL(t)}))));Promise.all(n).then((e=>{const n=e.reduce(((t,e)=>t.insert({image:e})),(new _l).retain(t.index).delete(t.length));this.quill.updateContents(n,qu.sources.USER),this.quill.setSelection(t.index+e.length,qu.sources.SILENT)}))}};var dh=hh;const fh=["insertText","insertReplacementText"];var ph=class extends ju{constructor(t,e){super(t,e),t.root.addEventListener("beforeinput",(t=>{this.handleBeforeInput(t)})),/Android/i.test(navigator.userAgent)||t.on(tc.events.COMPOSITION_BEFORE_START,(()=>{this.handleCompositionStart()}))}deleteRange(t){zc({range:t,quill:this.quill})}replaceText(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(0===t.length)return!1;if(e){const n=this.quill.getFormat(t.index,1);this.deleteRange(t),this.quill.updateContents((new _l).retain(t.index).insert(e,n),tc.sources.USER)}else this.deleteRange(t);return this.quill.setSelection(t.index+e.length,0,tc.sources.SILENT),!0}handleBeforeInput(t){if(this.quill.composition.isComposing||t.defaultPrevented||!fh.includes(t.inputType))return;const e=t.getTargetRanges?t.getTargetRanges()[0]:null;if(!e||!0===e.collapsed)return;const n=function(t){if("string"==typeof t.data)return t.data;if(t.dataTransfer?.types.includes("text/plain"))return t.dataTransfer.getData("text/plain");return null}(t);if(null==n)return;const r=this.quill.selection.normalizeNative(e),i=r?this.quill.selection.normalizedToRange(r):null;i&&this.replaceText(i,n)&&t.preventDefault()}handleCompositionStart(){const t=this.quill.getSelection();t&&this.replaceText(t)}};const mh=/Mac/i.test(navigator.platform);var gh=class extends ju{isListening=!1;selectionChangeDeadline=0;constructor(t,e){super(t,e),this.handleArrowKeys(),this.handleNavigationShortcuts()}handleArrowKeys(){this.quill.keyboard.addBinding({key:["ArrowLeft","ArrowRight"],offset:0,shiftKey:null,handler(t,e){let{line:n,event:r}=e;if(!(n instanceof yl&&n.uiNode))return!0;const i="rtl"===getComputedStyle(n.domNode).direction;return!!(i&&"ArrowRight"!==r.key||!i&&"ArrowLeft"!==r.key)||(this.quill.setSelection(t.index-1,t.length+(r.shiftKey?1:0),tc.sources.USER),!1)}})}handleNavigationShortcuts(){this.quill.root.addEventListener("keydown",(t=>{!t.defaultPrevented&&(t=>"ArrowLeft"===t.key||"ArrowRight"===t.key||"ArrowUp"===t.key||"ArrowDown"===t.key||"Home"===t.key||!(!mh||"a"!==t.key||!0!==t.ctrlKey))(t)&&this.ensureListeningToSelectionChange()}))}ensureListeningToSelectionChange(){if(this.selectionChangeDeadline=Date.now()+100,this.isListening)return;this.isListening=!0;document.addEventListener("selectionchange",(()=>{this.isListening=!1,Date.now()<=this.selectionChangeDeadline&&this.handleSelectionChange()}),{once:!0})}handleSelectionChange(){const t=document.getSelection();if(!t)return;const e=t.getRangeAt(0);if(!0!==e.collapsed||0!==e.startOffset)return;const n=this.quill.scroll.find(e.startContainer);if(!(n instanceof yl&&n.uiNode))return;const r=document.createRange();r.setStartAfter(n.uiNode),r.setEndAfter(n.uiNode),t.removeAllRanges(),t.addRange(r)}};tc.register({"blots/block":fu,"blots/block/embed":pu,"blots/break":su,"blots/container":sc,"blots/cursor":yu,"blots/embed":Vu,"blots/inline":du,"blots/scroll":hc,"blots/text":lu,"modules/clipboard":class extends ju{static DEFAULTS={matchers:[]};constructor(t,e){super(t,e),this.quill.root.addEventListener("copy",(t=>this.onCaptureCopy(t,!1))),this.quill.root.addEventListener("cut",(t=>this.onCaptureCopy(t,!0))),this.quill.root.addEventListener("paste",this.onCapturePaste.bind(this)),this.matchers=[],Zc.concat(this.options.matchers??[]).forEach((t=>{let[e,n]=t;this.addMatcher(e,n)}))}addMatcher(t,e){this.matchers.push([t,e])}convert(t){let{html:e,text:n}=t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r[Ac.blotName])return(new _l).insert(n||"",{[Ac.blotName]:r[Ac.blotName]});if(!e)return(new _l).insert(n||"",r);const i=this.convertHTML(e);return nh(i,"\n")&&(null==i.ops[i.ops.length-1].attributes||r.table)?i.compose((new _l).retain(i.length()-1).delete(1)):i}normalizeHTML(t){Qc(t)}convertHTML(t){const e=(new DOMParser).parseFromString(t,"text/html");this.normalizeHTML(e);const n=e.body,r=new WeakMap,[i,o]=this.prepareMatching(n,r);return ah(this.quill.scroll,n,i,o,r)}dangerouslyPasteHTML(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:tc.sources.API;if("string"==typeof t){const n=this.convert({html:t,text:""});this.quill.setContents(n,e),this.quill.setSelection(0,tc.sources.SILENT)}else{const r=this.convert({html:e,text:""});this.quill.updateContents((new _l).retain(t).concat(r),n),this.quill.setSelection(t+r.length(),tc.sources.SILENT)}}onCaptureCopy(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t.defaultPrevented)return;t.preventDefault();const[n]=this.quill.selection.getRange();if(null==n)return;const{html:r,text:i}=this.onCopy(n,e);t.clipboardData?.setData("text/plain",i),t.clipboardData?.setData("text/html",r),e&&zc({range:n,quill:this.quill})}normalizeURIList(t){return t.split(/\r?\n/).filter((t=>"#"!==t[0])).join("\n")}onCapturePaste(t){if(t.defaultPrevented||!this.quill.isEnabled())return;t.preventDefault();const e=this.quill.getSelection(!0);if(null==e)return;const n=t.clipboardData?.getData("text/html");let r=t.clipboardData?.getData("text/plain");if(!n&&!r){const e=t.clipboardData?.getData("text/uri-list");e&&(r=this.normalizeURIList(e))}const i=Array.from(t.clipboardData?.files||[]);if(!n&&i.length>0)this.quill.uploader.upload(e,i);else{if(n&&i.length>0){const t=(new DOMParser).parseFromString(n,"text/html");if(1===t.body.childElementCount&&"IMG"===t.body.firstElementChild?.tagName)return void this.quill.uploader.upload(e,i)}this.onPaste(e,{html:n,text:r})}}onCopy(t){const e=this.quill.getText(t);return{html:this.quill.getSemanticHTML(t),text:e}}onPaste(t,e){let{text:n,html:r}=e;const i=this.quill.getFormat(t.index),o=this.convert({text:n,html:r},i);Jc.log("onPaste",o,{text:n,html:r});const a=(new _l).retain(t.index).delete(t.length).concat(o);this.quill.updateContents(a,tc.sources.USER),this.quill.setSelection(a.length()-t.length,tc.sources.SILENT),this.quill.scrollSelectionIntoView()}prepareMatching(t,e){const n=[],r=[];return this.matchers.forEach((i=>{const[o,a]=i;switch(o){case Node.TEXT_NODE:r.push(a);break;case Node.ELEMENT_NODE:n.push(a);break;default:Array.from(t.querySelectorAll(o)).forEach((t=>{if(e.has(t)){const n=e.get(t);n?.push(a)}else e.set(t,[a])}))}})),[n,r]}},"modules/history":class extends ju{static DEFAULTS={delay:1e3,maxStack:100,userOnly:!1};lastRecorded=0;ignoreChange=!1;stack={undo:[],redo:[]};currentRange=null;constructor(t,e){super(t,e),this.quill.on(tc.events.EDITOR_CHANGE,((t,e,n,r)=>{t===tc.events.SELECTION_CHANGE?e&&r!==tc.sources.SILENT&&(this.currentRange=e):t===tc.events.TEXT_CHANGE&&(this.ignoreChange||(this.options.userOnly&&r!==tc.sources.USER?this.transform(e):this.record(e,n)),this.currentRange=ch(this.currentRange,e))})),this.quill.keyboard.addBinding({key:"z",shortKey:!0},this.undo.bind(this)),this.quill.keyboard.addBinding({key:["z","Z"],shortKey:!0,shiftKey:!0},this.redo.bind(this)),/Win/i.test(navigator.platform)&&this.quill.keyboard.addBinding({key:"y",shortKey:!0},this.redo.bind(this)),this.quill.root.addEventListener("beforeinput",(t=>{"historyUndo"===t.inputType?(this.undo(),t.preventDefault()):"historyRedo"===t.inputType&&(this.redo(),t.preventDefault())}))}change(t,e){if(0===this.stack[t].length)return;const n=this.stack[t].pop();if(!n)return;const r=this.quill.getContents(),i=n.delta.invert(r);this.stack[e].push({delta:i,range:ch(n.range,i)}),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n.delta,tc.sources.USER),this.ignoreChange=!1,this.restoreSelection(n)}clear(){this.stack={undo:[],redo:[]}}cutoff(){this.lastRecorded=0}record(t,e){if(0===t.ops.length)return;this.stack.redo=[];let n=t.invert(e),r=this.currentRange;const i=Date.now();if(this.lastRecorded+this.options.delay>i&&this.stack.undo.length>0){const t=this.stack.undo.pop();t&&(n=n.compose(t.delta),r=t.range)}else this.lastRecorded=i;0!==n.length()&&(this.stack.undo.push({delta:n,range:r}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift())}redo(){this.change("redo","undo")}transform(t){uh(this.stack.undo,t),uh(this.stack.redo,t)}undo(){this.change("undo","redo")}restoreSelection(t){if(t.range)this.quill.setSelection(t.range,tc.sources.USER);else{const e=function(t,e){const n=e.reduce(((t,e)=>t+(e.delete||0)),0);let r=e.length()-n;(function(t,e){const n=e.ops[e.ops.length-1];if(null==n)return!1;if(null!=n.insert)return"string"==typeof n.insert&&n.insert.endsWith("\n");if(null!=n.attributes)return Object.keys(n.attributes).some((e=>null!=t.query(e,el.BLOCK)));return!1})(t,e)&&(r-=1);return r}(this.quill.scroll,t.delta);this.quill.setSelection(e,tc.sources.USER)}}},"modules/keyboard":Ic,"modules/uploader":dh,"modules/input":ph,"modules/uiNode":gh});var vh=tc;const yh=new class extends sl{add(t,e){let n=0;if("+1"===e||"-1"===e){const r=this.value(t)||0;n="+1"===e?r+1:r-1}else"number"==typeof e&&(n=e);return 0===n?(this.remove(t),!0):super.add(t,n.toString())}canAdd(t,e){return super.canAdd(t,e)||super.canAdd(t,parseInt(e,10))}value(t){return parseInt(super.value(t),10)||void 0}}("indent","ql-indent",{scope:el.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});var bh=yh;var wh=class extends fu{static blotName="blockquote";static tagName="blockquote"};var xh=class extends fu{static blotName="header";static tagName=["H1","H2","H3","H4","H5","H6"];static formats(t){return this.tagName.indexOf(t.tagName)+1}};class Ah extends sc{}Ah.blotName="list-container",Ah.tagName="OL";class kh extends fu{static create(t){const e=super.create();return e.setAttribute("data-list",t),e}static formats(t){return t.getAttribute("data-list")||void 0}static register(){tc.register(Ah)}constructor(t,e){super(t,e);const n=e.ownerDocument.createElement("span"),r=n=>{if(!t.isEnabled())return;const r=this.statics.formats(e,t);"checked"===r?(this.format("list","unchecked"),n.preventDefault()):"unchecked"===r&&(this.format("list","checked"),n.preventDefault())};n.addEventListener("mousedown",r),n.addEventListener("touchstart",r),this.attachUI(n)}format(t,e){t===this.statics.blotName&&e?this.domNode.setAttribute("data-list",e):super.format(t,e)}}kh.blotName="list",kh.tagName="LI",Ah.allowedChildren=[kh],kh.requiredContainer=Ah;var Sh=class extends du{static blotName="bold";static tagName=["STRONG","B"];static create(){return super.create()}static formats(){return!0}optimize(t){super.optimize(t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}};var Eh=class extends Sh{static blotName="italic";static tagName=["EM","I"]};class Ch extends du{static blotName="link";static tagName="A";static SANITIZED_URL="about:blank";static PROTOCOL_WHITELIST=["http","https","mailto","tel","sms"];static create(t){const e=super.create(t);return e.setAttribute("href",this.sanitize(t)),e.setAttribute("rel","noopener noreferrer"),e.setAttribute("target","_blank"),e}static formats(t){return t.getAttribute("href")}static sanitize(t){return qh(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}format(t,e){t===this.statics.blotName&&e?this.domNode.setAttribute("href",this.constructor.sanitize(e)):super.format(t,e)}}function qh(t,e){const n=document.createElement("a");n.href=t;const r=n.href.slice(0,n.href.indexOf(":"));return e.indexOf(r)>-1}var Th=class extends du{static blotName="script";static tagName=["SUB","SUP"];static create(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):super.create(t)}static formats(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}};var Ph=class extends Sh{static blotName="strike";static tagName=["S","STRIKE"]};var Dh=class extends du{static blotName="underline";static tagName="U"};var _h=class extends Vu{static blotName="formula";static className="ql-formula";static tagName="SPAN";static create(t){if(null==window.katex)throw new Error("Formula module requires KaTeX.");const e=super.create(t);return"string"==typeof t&&(window.katex.render(t,e,{throwOnError:!1,errorColor:"#f00"}),e.setAttribute("data-value",t)),e}static value(t){return t.getAttribute("data-value")}html(){const{formula:t}=this.value();return`<span>${t}</span>`}};const Oh=["alt","height","width"];var Mh=class extends El{static blotName="image";static tagName="IMG";static create(t){const e=super.create(t);return"string"==typeof t&&e.setAttribute("src",this.sanitize(t)),e}static formats(t){return Oh.reduce(((e,n)=>(t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e)),{})}static match(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}static sanitize(t){return qh(t,["http","https","data"])?t:"//:0"}static value(t){return t.getAttribute("src")}format(t,e){Oh.indexOf(t)>-1?e?this.domNode.setAttribute(t,e):this.domNode.removeAttribute(t):super.format(t,e)}};const Nh=["height","width"];var Ih=class extends pu{static blotName="video";static className="ql-video";static tagName="IFRAME";static create(t){const e=super.create(t);return e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen","true"),e.setAttribute("src",this.sanitize(t)),e}static formats(t){return Nh.reduce(((e,n)=>(t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e)),{})}static sanitize(t){return Ch.sanitize(t)}static value(t){return t.getAttribute("src")}format(t,e){Nh.indexOf(t)>-1?e?this.domNode.setAttribute(t,e):this.domNode.removeAttribute(t):super.format(t,e)}html(){const{video:t}=this.value();return`<a href="${t}">${t}</a>`}};const Rh=new sl("code-token","hljs",{scope:el.INLINE});class Lh extends du{static formats(t,e){for(;null!=t&&t!==e.domNode;){if(t.classList&&t.classList.contains(Ac.className))return super.formats(t,e);t=t.parentNode}}constructor(t,e,n){super(t,e,n),Rh.add(this.domNode,n)}format(t,e){t!==Lh.blotName?super.format(t,e):e?Rh.add(this.domNode,e):(Rh.remove(this.domNode),this.domNode.classList.remove(this.statics.className))}optimize(){super.optimize(...arguments),Rh.value(this.domNode)||this.unwrap()}}Lh.blotName="code-token",Lh.className="ql-token";class Fh extends Ac{static create(t){const e=super.create(t);return"string"==typeof t&&e.setAttribute("data-language",t),e}static formats(t){return t.getAttribute("data-language")||"plain"}static register(){}format(t,e){t===this.statics.blotName&&e?this.domNode.setAttribute("data-language",e):super.format(t,e)}replaceWith(t,e){return this.formatAt(0,this.length(),Lh.blotName,!1),super.replaceWith(t,e)}}class Bh extends xc{attach(){super.attach(),this.forceNext=!1,this.scroll.emitMount(this)}format(t,e){t===Fh.blotName&&(this.forceNext=!0,this.children.forEach((n=>{n.format(t,e)})))}formatAt(t,e,n,r){n===Fh.blotName&&(this.forceNext=!0),super.formatAt(t,e,n,r)}highlight(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==this.children.head)return;const n=`${Array.from(this.domNode.childNodes).filter((t=>t!==this.uiNode)).map((t=>t.textContent)).join("\n")}\n`,r=Fh.formats(this.children.head.domNode);if(e||this.forceNext||this.cachedText!==n){if(n.trim().length>0||null==this.cachedText){const e=this.children.reduce(((t,e)=>t.concat(mu(e,!1))),new _l),i=t(n,r);e.diff(i).reduce(((t,e)=>{let{retain:n,attributes:r}=e;return n?(r&&Object.keys(r).forEach((e=>{[Fh.blotName,Lh.blotName].includes(e)&&this.formatAt(t,n,e,r[e])})),t+n):t}),0)}this.cachedText=n,this.forceNext=!1}}html(t,e){const[n]=this.children.find(t);return`<pre data-language="${n?Fh.formats(n.domNode):"plain"}">\n${cu(this.code(t,e))}\n</pre>`}optimize(t){if(super.optimize(t),null!=this.parent&&null!=this.children.head&&null!=this.uiNode){const t=Fh.formats(this.children.head.domNode);t!==this.uiNode.value&&(this.uiNode.value=t)}}}Bh.allowedChildren=[Fh],Fh.requiredContainer=Bh,Fh.allowedChildren=[Lh,yu,lu,su];class jh extends ju{static register(){tc.register(Lh,!0),tc.register(Fh,!0),tc.register(Bh,!0)}constructor(t,e){if(super(t,e),null==this.options.hljs)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");this.languages=this.options.languages.reduce(((t,e)=>{let{key:n}=e;return t[n]=!0,t}),{}),this.highlightBlot=this.highlightBlot.bind(this),this.initListener(),this.initTimer()}initListener(){this.quill.on(tc.events.SCROLL_BLOT_MOUNT,(t=>{if(!(t instanceof Bh))return;const e=this.quill.root.ownerDocument.createElement("select");this.options.languages.forEach((t=>{let{key:n,label:r}=t;const i=e.ownerDocument.createElement("option");i.textContent=r,i.setAttribute("value",n),e.appendChild(i)})),e.addEventListener("change",(()=>{t.format(Fh.blotName,e.value),this.quill.root.focus(),this.highlight(t,!0)})),null==t.uiNode&&(t.attachUI(e),t.children.head&&(e.value=Fh.formats(t.children.head.domNode)))}))}initTimer(){let t=null;this.quill.on(tc.events.SCROLL_OPTIMIZE,(()=>{t&&clearTimeout(t),t=setTimeout((()=>{this.highlight(),t=null}),this.options.interval)}))}highlight(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.quill.selection.composing)return;this.quill.update(tc.sources.USER);const n=this.quill.getSelection();(null==t?this.quill.scroll.descendants(Bh):[t]).forEach((t=>{t.highlight(this.highlightBlot,e)})),this.quill.update(tc.sources.SILENT),null!=n&&this.quill.setSelection(n,tc.sources.SILENT)}highlightBlot(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"plain";if(e=this.languages[e]?e:"plain","plain"===e)return cu(t).split("\n").reduce(((t,n,r)=>(0!==r&&t.insert("\n",{[Ac.blotName]:e}),t.insert(n))),new _l);const n=this.quill.root.ownerDocument.createElement("div");return n.classList.add(Ac.className),n.innerHTML=((t,e,n)=>{if("string"==typeof t.versionString){const r=t.versionString.split(".")[0];if(parseInt(r,10)>=11)return t.highlight(n,{language:e}).value}return t.highlight(e,n).value})(this.options.hljs,e,t),ah(this.quill.scroll,n,[(t,e)=>{const n=Rh.value(t);return n?e.compose((new _l).retain(e.length(),{[Lh.blotName]:n})):e}],[(t,n)=>t.data.split("\n").reduce(((t,n,r)=>(0!==r&&t.insert("\n",{[Ac.blotName]:e}),t.insert(n))),n)],new WeakMap)}}jh.DEFAULTS={hljs:window.hljs,interval:1e3,languages:[{key:"plain",label:"Plain"},{key:"bash",label:"Bash"},{key:"cpp",label:"C++"},{key:"cs",label:"C#"},{key:"css",label:"CSS"},{key:"diff",label:"Diff"},{key:"xml",label:"HTML/XML"},{key:"java",label:"Java"},{key:"javascript",label:"JavaScript"},{key:"markdown",label:"Markdown"},{key:"php",label:"PHP"},{key:"python",label:"Python"},{key:"ruby",label:"Ruby"},{key:"sql",label:"SQL"}]};class zh extends fu{static blotName="table";static tagName="TD";static create(t){const e=super.create();return t?e.setAttribute("data-row",t):e.setAttribute("data-row",Gh()),e}static formats(t){if(t.hasAttribute("data-row"))return t.getAttribute("data-row")}cellOffset(){return this.parent?this.parent.children.indexOf(this):-1}format(t,e){t===zh.blotName&&e?this.domNode.setAttribute("data-row",e):super.format(t,e)}row(){return this.parent}rowOffset(){return this.row()?this.row().rowOffset():-1}table(){return this.row()&&this.row().table()}}class Vh extends sc{static blotName="table-row";static tagName="TR";checkMerge(){if(super.checkMerge()&&null!=this.next.children.head){const t=this.children.head.formats(),e=this.children.tail.formats(),n=this.next.children.head.formats(),r=this.next.children.tail.formats();return t.table===e.table&&t.table===n.table&&t.table===r.table}return!1}optimize(t){super.optimize(t),this.children.forEach((t=>{if(null==t.next)return;const e=t.formats(),n=t.next.formats();if(e.table!==n.table){const e=this.splitAfter(t);e&&e.optimize(),this.prev&&this.prev.optimize()}}))}rowOffset(){return this.parent?this.parent.children.indexOf(this):-1}table(){return this.parent&&this.parent.parent}}class Hh extends sc{static blotName="table-body";static tagName="TBODY"}class Uh extends sc{static blotName="table-container";static tagName="TABLE";balanceCells(){const t=this.descendants(Vh),e=t.reduce(((t,e)=>Math.max(e.children.length,t)),0);t.forEach((t=>{new Array(e-t.children.length).fill(0).forEach((()=>{let e;null!=t.children.head&&(e=zh.formats(t.children.head.domNode));const n=this.scroll.create(zh.blotName,e);t.appendChild(n),n.optimize()}))}))}cells(t){return this.rows().map((e=>e.children.at(t)))}deleteColumn(t){const[e]=this.descendant(Hh);null!=e&&null!=e.children.head&&e.children.forEach((e=>{const n=e.children.at(t);null!=n&&n.remove()}))}insertColumn(t){const[e]=this.descendant(Hh);null!=e&&null!=e.children.head&&e.children.forEach((e=>{const n=e.children.at(t),r=zh.formats(e.children.head.domNode),i=this.scroll.create(zh.blotName,r);e.insertBefore(i,n)}))}insertRow(t){const[e]=this.descendant(Hh);if(null==e||null==e.children.head)return;const n=Gh(),r=this.scroll.create(Vh.blotName);e.children.head.children.forEach((()=>{const t=this.scroll.create(zh.blotName,n);r.appendChild(t)}));const i=e.children.at(t);e.insertBefore(r,i)}rows(){const t=this.children.head;return null==t?[]:t.children.map((t=>t))}}function Gh(){return`row-${Math.random().toString(36).slice(2,6)}`}Uh.allowedChildren=[Hh],Hh.requiredContainer=Uh,Hh.allowedChildren=[Vh],Vh.requiredContainer=Hh,Vh.allowedChildren=[zh],zh.requiredContainer=Vh;var Kh=class extends ju{static register(){tc.register(zh),tc.register(Vh),tc.register(Hh),tc.register(Uh)}constructor(){super(...arguments),this.listenBalanceCells()}balanceTables(){this.quill.scroll.descendants(Uh).forEach((t=>{t.balanceCells()}))}deleteColumn(){const[t,,e]=this.getTable();null!=e&&(t.deleteColumn(e.cellOffset()),this.quill.update(tc.sources.USER))}deleteRow(){const[,t]=this.getTable();null!=t&&(t.remove(),this.quill.update(tc.sources.USER))}deleteTable(){const[t]=this.getTable();if(null==t)return;const e=t.offset();t.remove(),this.quill.update(tc.sources.USER),this.quill.setSelection(e,tc.sources.SILENT)}getTable(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.quill.getSelection();if(null==t)return[null,null,null,-1];const[e,n]=this.quill.getLine(t.index);if(null==e||e.statics.blotName!==zh.blotName)return[null,null,null,-1];const r=e.parent;return[r.parent.parent,r,e,n]}insertColumn(t){const e=this.quill.getSelection();if(!e)return;const[n,r,i]=this.getTable(e);if(null==i)return;const o=i.cellOffset();n.insertColumn(o+t),this.quill.update(tc.sources.USER);let a=r.rowOffset();0===t&&(a+=1),this.quill.setSelection(e.index+a,e.length,tc.sources.SILENT)}insertColumnLeft(){this.insertColumn(0)}insertColumnRight(){this.insertColumn(1)}insertRow(t){const e=this.quill.getSelection();if(!e)return;const[n,r,i]=this.getTable(e);if(null==i)return;const o=r.rowOffset();n.insertRow(o+t),this.quill.update(tc.sources.USER),t>0?this.quill.setSelection(e,tc.sources.SILENT):this.quill.setSelection(e.index+r.children.length,e.length,tc.sources.SILENT)}insertRowAbove(){this.insertRow(0)}insertRowBelow(){this.insertRow(1)}insertTable(t,e){const n=this.quill.getSelection();if(null==n)return;const r=new Array(t).fill(0).reduce((t=>{const n=new Array(e).fill("\n").join("");return t.insert(n,{table:Gh()})}),(new _l).retain(n.index));this.quill.updateContents(r,tc.sources.USER),this.quill.setSelection(n.index,tc.sources.SILENT),this.balanceTables()}listenBalanceCells(){this.quill.on(tc.events.SCROLL_OPTIMIZE,(t=>{t.some((t=>!!["TD","TR","TBODY","TABLE"].includes(t.target.tagName)&&(this.quill.once(tc.events.TEXT_CHANGE,((t,e,n)=>{n===tc.sources.USER&&this.balanceTables()})),!0)))}))}};const Wh=Eu("quill:toolbar");class Xh extends ju{constructor(t,e){if(super(t,e),Array.isArray(this.options.container)){const e=document.createElement("div");e.setAttribute("role","toolbar"),function(t,e){Array.isArray(e[0])||(e=[e]);e.forEach((e=>{const n=document.createElement("span");n.classList.add("ql-formats"),e.forEach((t=>{if("string"==typeof t)Yh(n,t);else{const e=Object.keys(t)[0],r=t[e];Array.isArray(r)?function(t,e,n){const r=document.createElement("select");r.classList.add(`ql-${e}`),n.forEach((t=>{const e=document.createElement("option");!1!==t?e.setAttribute("value",String(t)):e.setAttribute("selected","selected"),r.appendChild(e)})),t.appendChild(r)}(n,e,r):Yh(n,e,r)}})),t.appendChild(n)}))}(e,this.options.container),t.container?.parentNode?.insertBefore(e,t.container),this.container=e}else"string"==typeof this.options.container?this.container=document.querySelector(this.options.container):this.container=this.options.container;this.container instanceof HTMLElement?(this.container.classList.add("ql-toolbar"),this.controls=[],this.handlers={},this.options.handlers&&Object.keys(this.options.handlers).forEach((t=>{const e=this.options.handlers?.[t];e&&this.addHandler(t,e)})),Array.from(this.container.querySelectorAll("button, select")).forEach((t=>{this.attach(t)})),this.quill.on(tc.events.EDITOR_CHANGE,(()=>{const[t]=this.quill.selection.getRange();this.update(t)}))):Wh.error("Container required for toolbar",this.options)}addHandler(t,e){this.handlers[t]=e}attach(t){let e=Array.from(t.classList).find((t=>0===t.indexOf("ql-")));if(!e)return;if(e=e.slice(3),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[e]&&null==this.quill.scroll.query(e))return void Wh.warn("ignoring attaching to nonexistent format",e,t);const n="SELECT"===t.tagName?"change":"click";t.addEventListener(n,(n=>{let r;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;const e=t.options[t.selectedIndex];r=!e.hasAttribute("selected")&&(e.value||!1)}else r=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),n.preventDefault();this.quill.focus();const[i]=this.quill.selection.getRange();if(null!=this.handlers[e])this.handlers[e].call(this,r);else if(this.quill.scroll.query(e).prototype instanceof El){if(r=prompt(`Enter ${e}`),!r)return;this.quill.updateContents((new _l).retain(i.index).delete(i.length).insert({[e]:r}),tc.sources.USER)}else this.quill.format(e,r,tc.sources.USER);this.update(i)})),this.controls.push([e,t])}update(t){const e=null==t?{}:this.quill.getFormat(t);this.controls.forEach((n=>{const[r,i]=n;if("SELECT"===i.tagName){let n=null;if(null==t)n=null;else if(null==e[r])n=i.querySelector("option[selected]");else if(!Array.isArray(e[r])){let t=e[r];"string"==typeof t&&(t=t.replace(/"/g,'\\"')),n=i.querySelector(`option[value="${t}"]`)}null==n?(i.value="",i.selectedIndex=-1):n.selected=!0}else if(null==t)i.classList.remove("ql-active"),i.setAttribute("aria-pressed","false");else if(i.hasAttribute("value")){const t=e[r],n=t===i.getAttribute("value")||null!=t&&t.toString()===i.getAttribute("value")||null==t&&!i.getAttribute("value");i.classList.toggle("ql-active",n),i.setAttribute("aria-pressed",n.toString())}else{const t=null!=e[r];i.classList.toggle("ql-active",t),i.setAttribute("aria-pressed",t.toString())}}))}}function Yh(t,e,n){const r=document.createElement("button");r.setAttribute("type","button"),r.classList.add(`ql-${e}`),r.setAttribute("aria-pressed","false"),null!=n?(r.value=n,r.setAttribute("aria-label",`${e}: ${n}`)):r.setAttribute("aria-label",e),t.appendChild(r)}Xh.DEFAULTS={},Xh.DEFAULTS={container:null,handlers:{clean(){const t=this.quill.getSelection();if(null!=t)if(0===t.length){const t=this.quill.getFormat();Object.keys(t).forEach((t=>{null!=this.quill.scroll.query(t,el.INLINE)&&this.quill.format(t,!1,tc.sources.USER)}))}else this.quill.removeFormat(t.index,t.length,tc.sources.USER)},direction(t){const{align:e}=this.quill.getFormat();"rtl"===t&&null==e?this.quill.format("align","right",tc.sources.USER):t||"right"!==e||this.quill.format("align",!1,tc.sources.USER),this.quill.format("direction",t,tc.sources.USER)},indent(t){const e=this.quill.getSelection(),n=this.quill.getFormat(e),r=parseInt(n.indent||0,10);if("+1"===t||"-1"===t){let e="+1"===t?1:-1;"rtl"===n.direction&&(e*=-1),this.quill.format("indent",r+e,tc.sources.USER)}},link(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,tc.sources.USER)},list(t){const e=this.quill.getSelection(),n=this.quill.getFormat(e);"check"===t?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,tc.sources.USER):this.quill.format("list","unchecked",tc.sources.USER):this.quill.format("list",t,tc.sources.USER)}}};const Qh='<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>';var Jh={align:{"":'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>',center:'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>',right:'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>',justify:'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>'},background:'<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>',blockquote:'<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>',bold:'<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>',clean:'<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>',code:Qh,"code-block":Qh,color:'<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>',direction:{"":'<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>',rtl:'<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>'},formula:'<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>',header:{1:'<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>',2:'<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',3:'<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',4:'<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>',5:'<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',6:'<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>'},italic:'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>',image:'<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>',indent:{"+1":'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>',"-1":'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>'},link:'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>',list:{bullet:'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>',check:'<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>',ordered:'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>'},script:{sub:'<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>',super:'<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>'},strike:'<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>',table:'<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>',underline:'<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>',video:'<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>'};let Zh=0;function $h(t,e){t.setAttribute(e,`${!("true"===t.getAttribute(e))}`)}var td=class{constructor(t){this.select=t,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(()=>{this.togglePicker()})),this.label.addEventListener("keydown",(t=>{switch(t.key){case"Enter":this.togglePicker();break;case"Escape":this.escape(),t.preventDefault()}})),this.select.addEventListener("change",this.update.bind(this))}togglePicker(){this.container.classList.toggle("ql-expanded"),$h(this.label,"aria-expanded"),$h(this.options,"aria-hidden")}buildItem(t){const e=document.createElement("span");e.tabIndex="0",e.setAttribute("role","button"),e.classList.add("ql-picker-item");const n=t.getAttribute("value");return n&&e.setAttribute("data-value",n),t.textContent&&e.setAttribute("data-label",t.textContent),e.addEventListener("click",(()=>{this.selectItem(e,!0)})),e.addEventListener("keydown",(t=>{switch(t.key){case"Enter":this.selectItem(e,!0),t.preventDefault();break;case"Escape":this.escape(),t.preventDefault()}})),e}buildLabel(){const t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML='<svg viewbox="0 0 18 18"><polygon class="ql-stroke" points="7 11 9 13 11 11 7 11"/><polygon class="ql-stroke" points="7 7 9 5 11 7 7 7"/></svg>',t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}buildOptions(){const t=document.createElement("span");t.classList.add("ql-picker-options"),t.setAttribute("aria-hidden","true"),t.tabIndex="-1",t.id=`ql-picker-options-${Zh}`,Zh+=1,this.label.setAttribute("aria-controls",t.id),this.options=t,Array.from(this.select.options).forEach((e=>{const n=this.buildItem(e);t.appendChild(n),!0===e.selected&&this.selectItem(n)})),this.container.appendChild(t)}buildPicker(){Array.from(this.select.attributes).forEach((t=>{this.container.setAttribute(t.name,t.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}escape(){this.close(),setTimeout((()=>this.label.focus()),1)}close(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}selectItem(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=this.container.querySelector(".ql-selected");t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=Array.from(t.parentNode.children).indexOf(t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e&&(this.select.dispatchEvent(new Event("change")),this.close())))}update(){let t;if(this.select.selectedIndex>-1){const e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);const e=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",e)}};var ed=class extends td{constructor(t,e){super(t),this.label.innerHTML=e,this.container.classList.add("ql-color-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).slice(0,7).forEach((t=>{t.classList.add("ql-primary")}))}buildItem(t){const e=super.buildItem(t);return e.style.backgroundColor=t.getAttribute("value")||"",e}selectItem(t,e){super.selectItem(t,e);const n=this.label.querySelector(".ql-color-label"),r=t&&t.getAttribute("data-value")||"";n&&("line"===n.tagName?n.style.stroke=r:n.style.fill=r)}};var nd=class extends td{constructor(t,e){super(t),this.container.classList.add("ql-icon-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).forEach((t=>{t.innerHTML=e[t.getAttribute("data-value")||""]})),this.defaultItem=this.container.querySelector(".ql-selected"),this.selectItem(this.defaultItem)}selectItem(t,e){super.selectItem(t,e);const n=t||this.defaultItem;if(null!=n){if(this.label.innerHTML===n.innerHTML)return;this.label.innerHTML=n.innerHTML}}};var rd=class{constructor(t,e){this.quill=t,this.boundsContainer=e||document.body,this.root=t.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,(t=>{const{overflowY:e}=getComputedStyle(t,null);return"visible"!==e&&"clip"!==e})(this.quill.root)&&this.quill.root.addEventListener("scroll",(()=>{this.root.style.marginTop=-1*this.quill.root.scrollTop+"px"})),this.hide()}hide(){this.root.classList.add("ql-hidden")}position(t){const e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=`${e}px`,this.root.style.top=`${n}px`,this.root.classList.remove("ql-flip");const r=this.boundsContainer.getBoundingClientRect(),i=this.root.getBoundingClientRect();let o=0;if(i.right>r.right&&(o=r.right-i.right,this.root.style.left=`${e+o}px`),i.left<r.left&&(o=r.left-i.left,this.root.style.left=`${e+o}px`),i.bottom>r.bottom){const e=i.bottom-i.top,r=t.bottom-t.top+e;this.root.style.top=n-r+"px",this.root.classList.add("ql-flip")}return o}show(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}};const id=[!1,"center","right","justify"],od=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],ad=[!1,"serif","monospace"],sd=["1","2","3",!1],ld=["small",!1,"large","huge"];class ud extends Gu{constructor(t,e){super(t,e);const n=e=>{document.body.contains(t.root)?(null==this.tooltip||this.tooltip.root.contains(e.target)||document.activeElement===this.tooltip.textbox||this.quill.hasFocus()||this.tooltip.hide(),null!=this.pickers&&this.pickers.forEach((t=>{t.container.contains(e.target)||t.close()}))):document.body.removeEventListener("click",n)};t.emitter.listenDOM("click",document.body,n)}addModule(t){const e=super.addModule(t);return"toolbar"===t&&this.extendToolbar(e),e}buildButtons(t,e){Array.from(t).forEach((t=>{(t.getAttribute("class")||"").split(/\s+/).forEach((n=>{if(n.startsWith("ql-")&&(n=n.slice(3),null!=e[n]))if("direction"===n)t.innerHTML=e[n][""]+e[n].rtl;else if("string"==typeof e[n])t.innerHTML=e[n];else{const r=t.value||"";null!=r&&e[n][r]&&(t.innerHTML=e[n][r])}}))}))}buildPickers(t,e){this.pickers=Array.from(t).map((t=>{if(t.classList.contains("ql-align")&&(null==t.querySelector("option")&&hd(t,id),"object"==typeof e.align))return new nd(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){const n=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&hd(t,od,"background"===n?"#ffffff":"#000000"),new ed(t,e[n])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?hd(t,ad):t.classList.contains("ql-header")?hd(t,sd):t.classList.contains("ql-size")&&hd(t,ld)),new td(t)}));this.quill.on(qu.events.EDITOR_CHANGE,(()=>{this.pickers.forEach((t=>{t.update()}))}))}}ud.DEFAULTS=tl({},Gu.DEFAULTS,{modules:{toolbar:{handlers:{formula(){this.quill.theme.tooltip.edit("formula")},image(){let t=this.container.querySelector("input.ql-image[type=file]");null==t&&(t=document.createElement("input"),t.setAttribute("type","file"),t.setAttribute("accept",this.quill.uploader.options.mimetypes.join(", ")),t.classList.add("ql-image"),t.addEventListener("change",(()=>{const e=this.quill.getSelection(!0);this.quill.uploader.upload(e,t.files),t.value=""})),this.container.appendChild(t)),t.click()},video(){this.quill.theme.tooltip.edit("video")}}}}});class cd extends rd{constructor(t,e){super(t,e),this.textbox=this.root.querySelector('input[type="text"]'),this.listen()}listen(){this.textbox.addEventListener("keydown",(t=>{"Enter"===t.key?(this.save(),t.preventDefault()):"Escape"===t.key&&(this.cancel(),t.preventDefault())}))}cancel(){this.hide(),this.restoreFocus()}edit(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null==this.textbox)return;null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value="");const n=this.quill.getBounds(this.quill.selection.savedRange);null!=n&&this.position(n),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute(`data-${t}`)||""),this.root.setAttribute("data-mode",t)}restoreFocus(){this.quill.focus({preventScroll:!0})}save(){let{value:t}=this.textbox;switch(this.root.getAttribute("data-mode")){case"link":{const{scrollTop:e}=this.quill.root;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,qu.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,qu.sources.USER)),this.quill.root.scrollTop=e;break}case"video":t=function(t){let e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);if(e)return`${e[1]||"https"}://www.youtube.com/embed/${e[2]}?showinfo=0`;if(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))return`${e[1]||"https"}://player.vimeo.com/video/${e[2]}/`;return t}(t);case"formula":{if(!t)break;const e=this.quill.getSelection(!0);if(null!=e){const n=e.index+e.length;this.quill.insertEmbed(n,this.root.getAttribute("data-mode"),t,qu.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(n+1," ",qu.sources.USER),this.quill.setSelection(n+2,qu.sources.USER)}break}}this.textbox.value="",this.hide()}}function hd(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach((e=>{const r=document.createElement("option");e===n?r.setAttribute("selected","selected"):r.setAttribute("value",String(e)),t.appendChild(r)}))}const dd=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]];class fd extends cd{static TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join("");constructor(t,e){super(t,e),this.quill.on(qu.events.EDITOR_CHANGE,((t,e,n,r)=>{if(t===qu.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&r===qu.sources.USER){this.show(),this.root.style.left="0px",this.root.style.width="",this.root.style.width=`${this.root.offsetWidth}px`;const t=this.quill.getLines(e.index,e.length);if(1===t.length){const t=this.quill.getBounds(e);null!=t&&this.position(t)}else{const n=t[t.length-1],r=this.quill.getIndex(n),i=Math.min(n.length()-1,e.index+e.length-r),o=this.quill.getBounds(new Pu(r,i));null!=o&&this.position(o)}}else document.activeElement!==this.textbox&&this.quill.hasFocus()&&this.hide()}))}listen(){super.listen(),this.root.querySelector(".ql-close").addEventListener("click",(()=>{this.root.classList.remove("ql-editing")})),this.quill.on(qu.events.SCROLL_OPTIMIZE,(()=>{setTimeout((()=>{if(this.root.classList.contains("ql-hidden"))return;const t=this.quill.getSelection();if(null!=t){const e=this.quill.getBounds(t);null!=e&&this.position(e)}}),1)}))}cancel(){this.show()}position(t){const e=super.position(t),n=this.root.querySelector(".ql-tooltip-arrow");return n.style.marginLeft="",0!==e&&(n.style.marginLeft=-1*e-n.offsetWidth/2+"px"),e}}class pd extends ud{constructor(t,e){null!=e.modules.toolbar&&null==e.modules.toolbar.container&&(e.modules.toolbar.container=dd),super(t,e),this.quill.container.classList.add("ql-bubble")}extendToolbar(t){this.tooltip=new fd(this.quill,this.options.bounds),null!=t.container&&(this.tooltip.root.appendChild(t.container),this.buildButtons(t.container.querySelectorAll("button"),Jh),this.buildPickers(t.container.querySelectorAll("select"),Jh))}}pd.DEFAULTS=tl({},ud.DEFAULTS,{modules:{toolbar:{handlers:{link(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1,tc.sources.USER)}}}}});const md=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]];class gd extends cd{static TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join("");preview=this.root.querySelector("a.ql-preview");listen(){super.listen(),this.root.querySelector("a.ql-action").addEventListener("click",(t=>{this.root.classList.contains("ql-editing")?this.save():this.edit("link",this.preview.textContent),t.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(t=>{if(null!=this.linkRange){const t=this.linkRange;this.restoreFocus(),this.quill.formatText(t,"link",!1,qu.sources.USER),delete this.linkRange}t.preventDefault(),this.hide()})),this.quill.on(qu.events.SELECTION_CHANGE,((t,e,n)=>{if(null!=t){if(0===t.length&&n===qu.sources.USER){const[e,n]=this.quill.scroll.descendant(Ch,t.index);if(null!=e){this.linkRange=new Pu(t.index-n,e.length());const r=Ch.formats(e.domNode);this.preview.textContent=r,this.preview.setAttribute("href",r),this.show();const i=this.quill.getBounds(this.linkRange);return void(null!=i&&this.position(i))}}else delete this.linkRange;this.hide()}}))}show(){super.show(),this.root.removeAttribute("data-mode")}}class vd extends ud{constructor(t,e){null!=e.modules.toolbar&&null==e.modules.toolbar.container&&(e.modules.toolbar.container=md),super(t,e),this.quill.container.classList.add("ql-snow")}extendToolbar(t){null!=t.container&&(t.container.classList.add("ql-snow"),this.buildButtons(t.container.querySelectorAll("button"),Jh),this.buildPickers(t.container.querySelectorAll("select"),Jh),this.tooltip=new gd(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"k",shortKey:!0},((e,n)=>{t.handlers.link.call(t,!n.format.link)})))}}vd.DEFAULTS=tl({},ud.DEFAULTS,{modules:{toolbar:{handlers:{link(t){if(t){const t=this.quill.getSelection();if(null==t||0===t.length)return;let e=this.quill.getText(t);/^\S+@\S+\.\S+$/.test(e)&&0!==e.indexOf("mailto:")&&(e=`mailto:${e}`);const{tooltip:n}=this.quill.theme;n.edit("link",e)}else this.quill.format("link",!1,tc.sources.USER)}}}}});var yd=vd;vh.register({"attributors/attribute/direction":Ec,"attributors/class/align":pc,"attributors/class/background":bc,"attributors/class/color":vc,"attributors/class/direction":Cc,"attributors/class/font":Pc,"attributors/class/size":_c,"attributors/style/align":mc,"attributors/style/background":wc,"attributors/style/color":yc,"attributors/style/direction":qc,"attributors/style/font":Dc,"attributors/style/size":Oc},!0),vh.register({"formats/align":pc,"formats/direction":Cc,"formats/indent":bh,"formats/background":wc,"formats/color":yc,"formats/font":Pc,"formats/size":_c,"formats/blockquote":wh,"formats/code-block":Ac,"formats/header":xh,"formats/list":kh,"formats/bold":Sh,"formats/code":kc,"formats/italic":Eh,"formats/link":Ch,"formats/script":Th,"formats/strike":Ph,"formats/underline":Dh,"formats/formula":_h,"formats/image":Mh,"formats/video":Ih,"modules/syntax":jh,"modules/table":Kh,"modules/toolbar":Xh,"themes/bubble":pd,"themes/snow":yd,"ui/icons":Jh,"ui/picker":td,"ui/icon-picker":nd,"ui/color-picker":ed,"ui/tooltip":rd},!0);var bd=vh;class wd extends r.Component{constructor(t){super(t),this.editingAreaRef=(0,r.createRef)(),this.dirtyProps=["modules","formats","bounds","theme","children"],this.cleanProps=["id","className","style","placeholder","tabIndex","onChange","onChangeSelection","onFocus","onBlur","onKeyPress","onKeyDown","onKeyUp"],this.state={generation:0},this.selection=null,this.onEditorChange=(t,e,n,r)=>{"text-change"===t?this.onEditorChangeText?.(this.editor.root.innerHTML,e,r,this.unprivilegedEditor):"selection-change"===t&&this.onEditorChangeSelection?.(e,r,this.unprivilegedEditor)};const e=this.isControlled()?t.value:t.defaultValue;this.value=e??""}validateProps(t){if(r.Children.count(t.children)>1)throw new Error("The Quill editing area can only be composed of a single React element.");if(r.Children.count(t.children)){const e=r.Children.only(t.children);if("textarea"===e?.type)throw new Error("Quill does not support editing on a <textarea>. Use a <div> instead.")}if(this.lastDeltaChangeSet&&t.value===this.lastDeltaChangeSet)throw new Error("You are passing the `delta` object from the `onChange` event back as `value`. You most probably want `editor.getContents()` instead. See: https://github.com/zenoamaro/react-quill#using-deltas")}shouldComponentUpdate(t,e){if(this.validateProps(t),!this.editor||this.state.generation!==e.generation)return!0;if("value"in t){const e=this.getEditorContents(),n=t.value??"";this.isEqualValue(n,e)||this.setEditorContents(this.editor,n)}return t.readOnly!==this.props.readOnly&&this.setEditorReadOnly(this.editor,t.readOnly),[...this.cleanProps,...this.dirtyProps].some((e=>!ss(t[e],this.props[e])))}shouldComponentRegenerate(t){return this.dirtyProps.some((e=>!ss(t[e],this.props[e])))}componentDidMount(){this.instantiateEditor(),this.setEditorContents(this.editor,this.getEditorContents())}componentWillUnmount(){this.destroyEditor()}componentDidUpdate(t,e){if(this.editor&&this.shouldComponentRegenerate(t)){const t=this.editor.getContents(),e=this.editor.getSelection();this.regenerationSnapshot={delta:t,selection:e},this.setState({generation:this.state.generation+1}),this.destroyEditor()}if(this.state.generation!==e.generation){const{delta:t,selection:e}=this.regenerationSnapshot;delete this.regenerationSnapshot,this.instantiateEditor();const n=this.editor;n.setContents(t),xd((()=>this.setEditorSelection(n,e)))}}instantiateEditor(){this.editor?this.hookEditor(this.editor):this.editor=this.createEditor(this.getEditingArea(),this.getEditorConfig())}destroyEditor(){if(!this.editor)return;this.unhookEditor(this.editor);const t=this.props.modules?.toolbar;if(!("object"==typeof t&&t&&"container"in t&&"string"==typeof t.container||"string"==typeof t)){const t=document.querySelector(".ql-toolbar");t&&t.remove()}delete this.editor}isControlled(){return"value"in this.props}getEditorConfig(){return{bounds:this.props.bounds,formats:this.props.formats,modules:this.props.modules,placeholder:this.props.placeholder,readOnly:this.props.readOnly,tabIndex:this.props.tabIndex,theme:this.props.theme}}getEditor(){if(!this.editor)throw new Error("Accessing non-instantiated editor");return this.editor}createEditor(t,e){const n=new bd(t,e);return null!=e.tabIndex&&this.setEditorTabIndex(n,e.tabIndex),this.hookEditor(n),n}hookEditor(t){this.unprivilegedEditor=this.makeUnprivilegedEditor(t),t.on("editor-change",this.onEditorChange)}unhookEditor(t){t.off("editor-change",this.onEditorChange)}getEditorContents(){return this.value}getEditorSelection(){return this.selection}isDelta(t){return t&&t.ops}isEqualValue(t,e){return this.isDelta(t)&&this.isDelta(e)?ss(t.ops,e.ops):ss(t,e)}setEditorContents(t,e){this.value=e;const n=this.getEditorSelection();"string"==typeof e?t.setContents(t.clipboard.convert({html:e})):t.setContents(e),xd((()=>this.setEditorSelection(t,n)))}setEditorSelection(t,e){if(this.selection=e,e){const n=t.getLength();e.index=Math.max(0,Math.min(e.index,n-1)),e.length=Math.max(0,Math.min(e.length,n-1-e.index)),t.setSelection(e)}}setEditorTabIndex(t,e){t?.scroll?.domNode&&(t.scroll.domNode.tabIndex=e)}setEditorReadOnly(t,e){e?t.disable():t.enable()}makeUnprivilegedEditor(t){const e=t;return{getHTML:()=>e.root.innerHTML,getSemanticHTML:e.getSemanticHTML.bind(e),getLength:e.getLength.bind(e),getText:e.getText.bind(e),getContents:e.getContents.bind(e),getSelection:e.getSelection.bind(e),getBounds:e.getBounds.bind(e)}}getEditingArea(){const t=this.editingAreaRef.current;if(!t)throw new Error("Cannot find element for editing area");if(3===t.nodeType)throw new Error("Editing area cannot be a text node");return t}renderEditingArea(){const{children:t,preserveWhitespace:e}=this.props,{generation:n}=this.state,i={key:n,ref:this.editingAreaRef};return r.Children.count(t)?r.cloneElement(r.Children.only(t),i):e?r.createElement("pre",{...i}):r.createElement("div",{...i})}render(){return r.createElement("div",{id:this.props.id,style:this.props.style,key:this.state.generation,className:`quill ${this.props.className??""}`,onKeyPress:this.props.onKeyPress,onKeyDown:this.props.onKeyDown,onKeyUp:this.props.onKeyUp},this.renderEditingArea())}onEditorChangeText(t,e,n,r){if(!this.editor)return;const i=this.isDelta(this.value)?r.getContents():r.getHTML();i!==this.getEditorContents()&&(this.lastDeltaChangeSet=e,this.value=i,this.props.onChange?.(t,e,n,r))}onEditorChangeSelection(t,e,n){if(!this.editor)return;const r=this.getEditorSelection(),i=!r&&t,o=r&&!t;ss(t,r)||(this.selection=t,this.props.onChangeSelection?.(t,e,n),i?this.props.onFocus?.(t,e,n):o&&this.props.onBlur?.(r,e,n))}focus(){this.editor&&this.editor.focus()}blur(){this.editor&&(this.selection=null,this.editor.blur())}}function xd(t){Promise.resolve().then(t)}wd.displayName="React Quill",wd.Quill=bd,wd.defaultProps={theme:"snow",modules:{},readOnly:!1};var Ad=wd,kd=__webpack_require__(5072),Sd=__webpack_require__.n(kd),Ed=__webpack_require__(7825),Cd=__webpack_require__.n(Ed),qd=__webpack_require__(7659),Td=__webpack_require__.n(qd),Pd=__webpack_require__(5056),Dd=__webpack_require__.n(Pd),_d=__webpack_require__(540),Od=__webpack_require__.n(_d),Md=__webpack_require__(1113),Nd=__webpack_require__.n(Md),Id=__webpack_require__(537),Rd={};Rd.styleTagTransform=Nd(),Rd.setAttributes=Dd(),Rd.insert=Td().bind(null,"head"),Rd.domAPI=Cd(),Rd.insertStyleElement=Od();Sd()(Id.A,Rd),Id.A&&Id.A.locals&&Id.A.locals;var Ld=({value:t,setValue:e})=>{const[i,o]=(0,r.useState)(!1),a=(0,r.useRef)(null);return(0,r.useEffect)((()=>{var t;const e=null===(t=document.getElementById(Br))||void 0===t?void 0:t.shadowRoot;if(e){document.querySelectorAll("style").forEach((t=>{var n,r;if((null===(n=t.textContent)||void 0===n?void 0:n.includes("ql-container"))||(null===(r=t.textContent)||void 0===r?void 0:r.includes("ql-snow"))){const n=document.createElement("style");n.textContent=t.textContent,e.prepend(n),t.remove()}}))}o(!0)}),[]),i?(0,n.jsx)("div",{className:"new-custom-quill-editor relative modern-scrollbar mb-[16px] flex flex-col",children:(0,n.jsx)("div",{className:"flex flex-col bg-[#1c2221] rounded-b-[6px] flex-grow overflow-hidden opacity-[1]",children:(0,n.jsx)(Ad,{ref:a,theme:"snow",placeholder:"Please describe the issue in detail...",modules:{toolbar:!1},value:t,onChange:t=>{if(e(t),a.current){const t=a.current.getEditor(),e=t.getLength();t.setSelection(e,e)}},className:"bg-[#2a2a2a] text-[#A4A7A6] modern-scrollbar rounded-b-[6px] flex-grow overflow-y-auto opacity-[1] px-2.5 py-1.5"})})}):null},Fd=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{l(r.next(t))}catch(t){o(t)}}function s(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))};const Bd=si.A,jd=t=>{const e=t%60;return`${Math.floor(t/60).toString().padStart(2,"0")}:${e.toString().padStart(2,"0")}`};var zd=({recordingUUID:t})=>{const[e,i]=(0,r.useState)(null),[o,a]=(0,r.useState)(null),[s,l]=(0,r.useState)(null),[u,c]=(0,r.useState)(null),[h,d]=(0,r.useState)(null),[f,p]=(0,r.useState)(!1),[m,g]=(0,r.useState)(!1),[v,y]=(0,r.useState)(0),[b,w]=(0,r.useState)(null),[x,A]=(0,r.useState)(null),[k,S]=(0,r.useState)(null),E=(0,r.useRef)(null),[C,q]=(0,r.useState)(!1),[T,P]=(0,r.useState)(null),[D,_]=(0,r.useState)(null),[O,M]=(0,r.useState)(!1),[N,I]=(0,r.useState)(null),[R,L]=(0,r.useState)(null),[F,B]=(0,r.useState)(!1),[j,z]=(0,r.useState)(null),[V,H]=(0,r.useState)(null),[U,G]=(0,r.useState)(!1),[K,W]=(0,r.useState)(!1),[X,Y]=(0,r.useState)([]),[Q,J]=(0,r.useState)(null);(0,r.useEffect)((()=>{o&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(o)?l("Please enter a valid email"):l(null)}),[o]),(0,r.useEffect)((()=>{let t;if(f&&N){const e=JSON.parse(localStorage.getItem("recordingStatuses")||"[]")||[],n=e.find((t=>(null==t?void 0:t.id)===u));n?(n.currentlyRecording=!0,n.recordingStartedAt=N):e.push({id:u,currentlyRecording:!0,recordingStartedAt:N}),localStorage.setItem("recordingStatuses",JSON.stringify(e)),t=setInterval((()=>{y(Math.floor((Date.now()-N)/1e3))}),1e3),y(Math.floor((Date.now()-N)/1e3))}else{const e=JSON.parse(localStorage.getItem("recordingStatuses")||"[]")||[],n=e.find((t=>(null==t?void 0:t.id)===u));n?(n.currentlyRecording=!1,n.recordingStartedAt=null):e.push({id:u,currentlyRecording:!1,recordingStartedAt:null}),localStorage.setItem("recordingStatuses",JSON.stringify(e)),t&&clearInterval(t)}return()=>{t&&clearInterval(t)}}),[f,u,N]),(0,r.useEffect)((()=>{Fd(void 0,void 0,void 0,(function*(){if(t)try{const e=yield(({uuid:t})=>Oe(void 0,void 0,void 0,(function*(){return _e({url:`/recording-link/${t}`,method:"GET"})})))({uuid:t});c((null==e?void 0:e.id)||null),!e||"NOT_USED"!==e.status&&"IN_PROGRESS"!==e.status&&"RECORDED"!==e.status?G(!0):(J(e),d(yi.getInstance({recordingId:(null==e?void 0:e.id)||"",isMicEnabled:C,chunkDate:(null==e?void 0:e.chunkDate)||""})),Y((null==e?void 0:e.recordingStackTrace)?null==e?void 0:e.recordingStackTrace.map((t=>({startTime:Number(t.startTime),endTime:Number(t.endTime),recordingId:(null==e?void 0:e.id)||"",index:0}))):[]),P((null==e?void 0:e.videoChunkDate)||null),y(Number((null==e?void 0:e.recordingSeconds)||0)),w((null==e?void 0:e.url)||null),A((null==e?void 0:e.pageTitle)||null),S((null==e?void 0:e.domain)||null),i(Number((null==e?void 0:e.recordingSize)||"0")),L((null==e?void 0:e.thumbnail)||null),z(sessionStorage.getItem("title")||(null==e?void 0:e.name)||null),H(sessionStorage.getItem("description")||null))}catch(t){G(!0)}}))}),[t,C]);const Z=(0,r.useCallback)((()=>{Fd(void 0,void 0,void 0,(function*(){if(C)q(!1);else{const t=yield navigator.permissions.query({name:"microphone"});if("granted"==t.state)q(!0);else if("denied"==t.state);else{const t=yield navigator.mediaDevices.getUserMedia({audio:!0});t&&(t.getTracks().forEach((t=>t.stop())),q(!0))}}}))}),[C]),$=(0,r.useCallback)((t=>{p(t.detail.isRecording)}),[]);(0,r.useEffect)((()=>{f&&!N&&I(Date.now())}),[f,N]),(0,r.useEffect)((()=>{E.current&&(null==h?void 0:h.stream)&&(E.current.srcObject=h.stream)}),[null==h?void 0:h.stream]);const tt=(0,r.useCallback)((t=>Fd(void 0,void 0,void 0,(function*(){try{const e=yield(({videoUniqueId:t,sessionId:e,isUploaded:n})=>pi(void 0,void 0,void 0,(function*(){let r=(yield fi()).tempChunks.toCollection();return t&&(r=r.filter((e=>e.videoUniqueId===t))),e&&(r=r.filter((t=>t.sessionId===e))),(!0===n||!1===n)&&(r=r.filter((t=>t.isUploaded))),yield r.toArray()})))({videoUniqueId:t});let n=null==e?void 0:e.filter((t=>!t.isUploaded));return(null==n?void 0:n.length)&&(yield Promise.all(n.map((t=>((t,e,n,r)=>Fd(void 0,void 0,void 0,(function*(){const i=new FormData;i.append("file",t),i.append("uniqueId",e),i.append("chunkDate",n),i.append("chunkNumber",r),yield window.fetch("https://butterfly-api.betterbugs.io/upload/upload-chunk",{method:"POST",body:i}),mi(e+"_"+r,{isUploaded:!0})})))(t.chunk,t.videoUniqueId,t.chunkDate,String(t.index)))))),n=null,!0}catch(t){return!1}}))),[]),et=(0,r.useCallback)(((t,e)=>Fd(void 0,void 0,void 0,(function*(){try{if(!(yield tt(t||"")))throw new Error("Failed to upload chunks");const n=yield(({payload:t})=>Oe(void 0,void 0,void 0,(function*(){return _e({url:"/upload/merge-chunk",method:"POST",data:t})})))({payload:{uniqueId:t||"",chunkDate:e||""}});try{yield(t=>pi(void 0,void 0,void 0,(function*(){const e=yield fi();if(Tr.log("videoUniqueId",t),t)try{return yield e.tempChunks.where("videoUniqueId").equals(t).delete(),!0}catch(t){Tr.log("🚀 ~ deleteDBTempChunksByVideoUniqueId ~ error:",t)}return!1})))(t||"")}catch(t){}return n}catch(t){return!1}}))),[tt]),nt=(0,r.useCallback)((t=>Fd(void 0,void 0,void 0,(function*(){let e=null;try{const n=yield fetch(t);e=yield n.blob()}catch(t){Tr.error("error: ",t)}if(e){return yield rt(e)}return null}))),[]),rt=t=>new Promise((e=>{const n=new FileReader;n.onloadend=()=>{const t=null==n?void 0:n.result;e(t)},n.readAsDataURL(t)})),it=(0,r.useCallback)((()=>Fd(void 0,void 0,void 0,(function*(){B(!0);const t=yield null==h?void 0:h.stopRecording();i((null==t?void 0:t.size)||null);const n=Or(X);let r;if(n[n.length-1].endTime=Date.now(),Y(n),g(!0),t){const e=URL.createObjectURL(t),n=yield nt(e).catch((()=>t?rt(t):null));_(n),B(!1),r=yield((t,e=2)=>Dr(void 0,void 0,void 0,(function*(){try{const n=document.createElement("video");n.src=t,n.style.objectFit="cover",n.hidden=!0,document.body.appendChild(n),yield new Promise(((t,e)=>{n.onloadeddata=t,n.onerror=e,n.load()})),n.currentTime=e,yield new Promise((t=>{n.onseeked=t}));const r=document.createElement("canvas"),i=r.getContext("2d");if(!i)throw new Error("Failed to get canvas context");const o=n.videoWidth/n.videoHeight,a=720;let s=1280,l=s/o;l>a&&(l=a,s=l*o),r.width=s,r.height=l,i.drawImage(n,0,0,s,l);const u=r.toDataURL("image/png",.8);return document.body.removeChild(n),u}catch(t){return void Tr.log("Error generating thumbnail:",t)}})))(n||"",v>5?5:2),URL.revokeObjectURL(e)}B(!1);let o=null;if(r&&r.includes("base64")){const t=new FormData;if(t.append("file",(t=>{const e=t.split(";base64,"),n=e[0].split(":")[1],r=window.atob(e[1]),i=r.length,o=new Uint8Array(i);for(let t=0;t<i;++t)o[t]=r.charCodeAt(t);return new Blob([o],{type:n})})(r||""),`video-thumbnail-${null==h?void 0:h.uniqueId}.png`),t){const e=yield window.fetch("https://butterfly-api.betterbugs.io/upload/uploadFile",{method:"POST",body:t});o=(yield e.json()).key,L(o)}}const a=yield et((null==h?void 0:h.uniqueId)||"",(null==h?void 0:h.chunkDate)||""),s=(JSON.parse(localStorage.getItem("recordingStatuses")||"[]")||[]).find((t=>(null==t?void 0:t.id)===u));yield Me({recordingId:u||"",payload:{status:"RECORDED",videoKey:(null==a?void 0:a.Key)||(null==a?void 0:a.key)||"",recordingSeconds:v.toString(),chunkDate:(null==h?void 0:h.chunkDate)||"",recordingSize:null==e?void 0:e.toString(),url:(null==s?void 0:s.url)||b||"",pageTitle:(null==s?void 0:s.pageTitle)||x||"",domain:(null==s?void 0:s.domain)||k||"",videoChunkDate:(null==h?void 0:h.chunkDate)||"",recordingStackTrace:null==n?void 0:n.map((t=>({startTime:t.startTime.toString(),endTime:t.endTime.toString()}))),thumbnail:o||void 0}})}))),[b,x,k,h,nt,et,u,X,v,e]);(0,r.useEffect)((()=>(document.addEventListener("recordingStateChange",$),document.addEventListener("stopRecording",it),()=>{document.removeEventListener("recordingStateChange",$),document.removeEventListener("stopRecording",it)})),[$,it]);const ot=()=>Fd(void 0,void 0,void 0,(function*(){if(!o)return void l("Email is required");localStorage.removeItem("title"),localStorage.removeItem("description"),M(!0);const t=yield Dr(void 0,void 0,void 0,(function*(){var t,e,n,r,i,o,a,s,l,u,c,h,d,f,p,m,g,v,y,b,w,x,A,k,S;const E={url:"",userAgent:"",browser:{name:"",version:""},engine:{name:"",version:""},os:{name:"",version:""},device:{type:"",model:"",vendor:""},windowOuterSize:{width:"",height:""},windowInnerSize:{width:"",height:""},scrollSize:{width:"",height:""},networkSpeed:"",batteryPercentage:"",isCharging:!1,sdkVersion:"",devicePixelRatio:0};let C=null,q="",T=!1;try{"getBattery"in navigator&&(C=yield navigator.getBattery(),q=`${Math.round(100*C.level)}%`,T=C.charging)}catch(t){Tr.log("Battery API not supported",t)}E.userAgent=window.navigator.userAgent,"userAgentData"in navigator&&(E.userAgentData=window.navigator.userAgentData),E.windowOuterSize={width:window.outerWidth.toString(),height:window.outerHeight.toString()},E.windowInnerSize={width:window.innerWidth.toString(),height:window.innerHeight.toString()},E.scrollSize={width:document.body.scrollWidth.toString(),height:document.body.scrollHeight.toString()},E.url=window.location.href,E.devicePixelRatio=window.devicePixelRatio,E.batteryPercentage=q,E.isCharging=T;const P=Ar(E.userAgent);return{url:(null==E?void 0:E.url)||"",devicePixelRatio:null==E?void 0:E.devicePixelRatio,batteryPercentage:(null==E?void 0:E.batteryPercentage)||"",isCharging:null==E?void 0:E.isCharging,networkSpeed:(null==E?void 0:E.networkSpeed)||"",userAgent:(null==E?void 0:E.userAgent)||"",browser:{name:Nr((null==E?void 0:E.userAgent)||"",(null===(t=null==P?void 0:P.browser)||void 0===t?void 0:t.name)||""),version:Mr((null==E?void 0:E.userAgent)||"",Nr((null==E?void 0:E.userAgent)||"",(null===(e=null==P?void 0:P.browser)||void 0===e?void 0:e.name)||""),(null===(n=null==P?void 0:P.browser)||void 0===n?void 0:n.version)||"")},engine:{name:(null===(r=null==P?void 0:P.engine)||void 0===r?void 0:r.name)||"",version:(null===(i=null==P?void 0:P.engine)||void 0===i?void 0:i.version)||""},os:{name:(null===(o=null==P?void 0:P.os)||void 0===o?void 0:o.name)||"",version:(null===(a=null==P?void 0:P.os)||void 0===a?void 0:a.version)||""},device:{type:(null===(s=null==P?void 0:P.device)||void 0===s?void 0:s.type)?null===(l=null==P?void 0:P.device)||void 0===l?void 0:l.type.toString():"",model:(null===(u=null==P?void 0:P.device)||void 0===u?void 0:u.model)?null===(c=null==P?void 0:P.device)||void 0===c?void 0:c.model.toString():"",vendor:(null===(h=null==P?void 0:P.device)||void 0===h?void 0:h.vendor)?null===(d=null==P?void 0:P.device)||void 0===d?void 0:d.vendor.toString():""},windowOuterSize:{width:(null===(f=null==E?void 0:E.windowOuterSize)||void 0===f?void 0:f.width)?null===(p=null==E?void 0:E.windowOuterSize)||void 0===p?void 0:p.width.toString():"0",height:(null===(m=null==E?void 0:E.windowOuterSize)||void 0===m?void 0:m.height)?null===(g=null==E?void 0:E.windowOuterSize)||void 0===g?void 0:g.height.toString():"0"},windowInnerSize:{width:(null===(v=null==E?void 0:E.windowInnerSize)||void 0===v?void 0:v.width)?null===(y=null==E?void 0:E.windowInnerSize)||void 0===y?void 0:y.width.toString():"0",height:(null===(b=null==E?void 0:E.windowInnerSize)||void 0===b?void 0:b.height)?null===(w=null==E?void 0:E.windowInnerSize)||void 0===w?void 0:w.height.toString():"0"},scrollSize:{width:(null===(x=null==E?void 0:E.scrollSize)||void 0===x?void 0:x.width)?null===(A=null==E?void 0:E.scrollSize)||void 0===A?void 0:A.width.toString():"0",height:(null===(k=null==E?void 0:E.scrollSize)||void 0===k?void 0:k.height)?null===(S=null==E?void 0:E.scrollSize)||void 0===S?void 0:S.height.toString():"0"}}}));try{const n=new ri({maxRecordingMinutes:10}),r=yield n.getLogsByStackTrace(X,!1,!0),{networkLogs:i,consoleLogs:a,steps:s,applicationData:l}=yield(t=>Fd(void 0,void 0,void 0,(function*(){var e,n,r,i,o,a,s,l;let[u,c,h,d]=[[],[],[],[]];const f=[...t,{type:"application",timestamp:Date.now()}].reduce(((t,e)=>{if(!(null==e?void 0:e.type)||!(null==e?void 0:e.data))return t;const n=Object.assign(Object.assign({},e.data),{id:_r(),createdAt:(new Date).toISOString()});switch(e.type){case"network":t.networkLogs.push(n);break;case"console":t.consoleLogs.push(n);break;case"step":t.steps.push(n);break;case"application":t.applicationData.push(...(Array.isArray(e.data)?e.data:[e.data]).map((t=>Object.assign(Object.assign({},t),{id:_r(),createdAt:(new Date).toISOString()}))))}return t}),{networkLogs:[],consoleLogs:[],steps:[],applicationData:[]});return d=null===(n=null===(e=f.networkLogs)||void 0===e?void 0:e.sort(((t,e)=>(t.timestamp||0)-(e.timestamp||0))))||void 0===n?void 0:n.slice(-1e4),u=null===(i=null===(r=f.consoleLogs)||void 0===r?void 0:r.sort(((t,e)=>(t.timestamp||0)-(e.timestamp||0))))||void 0===i?void 0:i.slice(-3e3),h=null===(a=null===(o=f.steps)||void 0===o?void 0:o.sort(((t,e)=>(t.timestamp||0)-(e.timestamp||0))))||void 0===a?void 0:a.slice(-3e3),c=null===(l=null===(s=f.applicationData.reduce(((t,e)=>{const n=t.some((t=>{var n,r,i,o,a,s;return"cookie"===(null==e?void 0:e.type)&&(null==t?void 0:t.url)===(null==e?void 0:e.url)&&"cookie"===(null==t?void 0:t.type)&&(null===(n=null==t?void 0:t.args)||void 0===n?void 0:n.name)===(null===(r=null==e?void 0:e.args)||void 0===r?void 0:r.name)&&(null===(i=null==t?void 0:t.args)||void 0===i?void 0:i.domain)===(null===(o=null==e?void 0:e.args)||void 0===o?void 0:o.domain)||"cookie"!==(null==e?void 0:e.type)&&"cookie"!==(null==t?void 0:t.type)&&(null===(a=null==t?void 0:t.args)||void 0===a?void 0:a.key)===(null===(s=null==e?void 0:e.args)||void 0===s?void 0:s.key)}));return n?t:[...t,e]}),[]))||void 0===s?void 0:s.sort(((t,e)=>(t.timestamp||0)-(e.timestamp||0))))||void 0===l?void 0:l.slice(-3e3),{networkLogs:d,consoleLogs:u,steps:h,applicationData:c}})))(r),c=yield(({sessionHasConsoleLogs:t,sessionHasApplicationData:e,sessionHasNetworkLogs:n,sessionHasSteps:r})=>Fd(void 0,void 0,void 0,(function*(){const i=null==t?void 0:t.map((t=>({type:(null==t?void 0:t.type)||"",args:(null==t?void 0:t.args)||{},timestamp:(null==t?void 0:t.timestamp)?null==t?void 0:t.timestamp.toString():"",dateTime:(null==t?void 0:t.createdAt)||"",url:(null==t?void 0:t.url)||"",file:(null==t?void 0:t.file)||[],id:(null==t?void 0:t.id)||""}))),o=null==e?void 0:e.map((t=>{var e;return{type:(null==t?void 0:t.type)||"",args:(null==t?void 0:t.args)||{},url:(null==t?void 0:t.url)||"",timestamp:(null===(e=null==t?void 0:t.timestamp)||void 0===e?void 0:e.toString())||"",dateTime:(null==t?void 0:t.createdAt)||"",id:(null==t?void 0:t.id)||""}})),a=null==n?void 0:n.map((t=>{var e,n,r,i,o,a;let s=[],l=[];(null==t?void 0:t.requestHeaders)&&(null===(e=null==t?void 0:t.requestHeaders)||void 0===e?void 0:e.length)>0&&(s=null==t?void 0:t.requestHeaders.map((t=>{var e,n;return{name:(null==t?void 0:t.name)?null===(e=null==t?void 0:t.name)||void 0===e?void 0:e.toString():"",value:(null==t?void 0:t.value)?null===(n=null==t?void 0:t.value)||void 0===n?void 0:n.toString():""}}))),(null==t?void 0:t.responseHeaders)&&(null===(n=null==t?void 0:t.responseHeaders)||void 0===n?void 0:n.length)>0&&(l=null==t?void 0:t.responseHeaders.map((t=>{var e,n;return{name:(null==t?void 0:t.name)?null===(e=null==t?void 0:t.name)||void 0===e?void 0:e.toString():"",value:(null==t?void 0:t.value)?null===(n=null==t?void 0:t.value)||void 0===n?void 0:n.toString():""}})));const u={};null===(r=null==t?void 0:t.requestHeaders)||void 0===r||r.forEach((t=>{u[(null==t?void 0:t.name)||""]=(null==t?void 0:t.value)||""}));const c=(0,Fr.Ay)({url:null==t?void 0:t.url,method:null==t?void 0:t.method,headers:u,body:null==t?void 0:t.requestBody})||"";let h="",d="";try{h=Rr(c)||"",d=Lr(c)?JSON.stringify(Lr(c)):""}catch(t){Tr.error("error: ",t)}return{id:(null==t?void 0:t.id)||"",initiator:(null==t?void 0:t.initiator)||"",method:(null==t?void 0:t.method)||"",requestTime:(null==t?void 0:t.requestTime)?null==t?void 0:t.requestTime.toString():"",requestBody:null!==(i=null==t?void 0:t.requestBody)&&void 0!==i?i:null,requestHeaders:s,responseHeaders:l,cURL:c,fetchString:h,HARString:d,isError:!!(null==t?void 0:t.isError),responseTime:(null==t?void 0:t.responseTime)?null==t?void 0:t.responseTime.toString():"",statusCode:(null==t?void 0:t.statusCode)?null==t?void 0:t.statusCode.toString():"",statusLine:(null==t?void 0:t.statusLine)?null==t?void 0:t.statusLine.toString():"",type:(null===(o=null==t?void 0:t.type)||void 0===o?void 0:o.toString())||"",url:(null===(a=null==t?void 0:t.url)||void 0===a?void 0:a.toString())||"",timestamp:(null==t?void 0:t.timestamp)?null==t?void 0:t.timestamp.toString():"",startTime:(null==t?void 0:t.startTime)?null==t?void 0:t.startTime.toString():"",endTime:(null==t?void 0:t.endTime)?null==t?void 0:t.endTime.toString():"",response:(null==t?void 0:t.response)||null}})),s={version:"2",console:i,network:a,applicationData:o,steps:Ir(r).map((t=>{var e,n,r,i;return t.timestamp=null===(e=null==t?void 0:t.timestamp)||void 0===e?void 0:e.toString(),t.responseTime=null===(n=null==t?void 0:t.responseTime)||void 0===n?void 0:n.toString(),t.requestTime=null===(r=null==t?void 0:t.requestTime)||void 0===r?void 0:r.toString(),t.count=null===(i=null==t?void 0:t.count)||void 0===i?void 0:i.toString(),delete t.sessionId,t}))},l=JSON.stringify(s),u=new FormData;let c;try{const t=new Blob([l],{type:"application/text"});u.append("file",t,"logs.json");const e=yield window.fetch("https://butterfly-api.betterbugs.io/upload/uploadFile",{method:"POST",body:u});c=yield e.json()}catch(t){Tr.error("error: ",t)}return c})))({sessionHasConsoleLogs:a,sessionHasApplicationData:l,sessionHasNetworkLogs:i,sessionHasSteps:s});let d=JSON.parse(localStorage.getItem("recordingStatuses")||"[]")||[];const f=d.find((t=>(null==t?void 0:t.id)===u)),p={reporterEmail:o,title:j||"Untitled",description:V,metaData:[],tags:[],type:"screenRecording",priority:"MEDIUM",sessionType:"visible",systemInfo:Object.assign(Object.assign({},t),{url:(null==f?void 0:f.url)||b||""}),pageInfo:{domain:(null==f?void 0:f.domain)||k||"",pageTitle:(null==f?void 0:f.pageTitle)||x||"",url:(null==f?void 0:f.url)||b||""},status:"triggered",videoUniqueId:null==h?void 0:h.uniqueId,videoChunkDate:T||(null==h?void 0:h.chunkDate),screenRecording:{duration:v.toString(),size:null==e?void 0:e.toString(),clickTimestamp:Date.now().toString(),clickDateTime:(new Date).toISOString(),startTimestamp:X[0].startTime.toString(),startDateTime:new Date(X[0].startTime).toISOString(),endTimestamp:X[X.length-1].endTime.toString(),endDateTime:new Date(X[X.length-1].endTime).toISOString(),file:R||void 0},evidence:(null==c?void 0:c.key)||void 0};yield(({recordingId:t,payload:e})=>Oe(void 0,void 0,void 0,(function*(){return _e({url:`/recording-link/${t}/create-bug`,method:"POST",data:e})})))({recordingId:u||"",payload:p}),d=JSON.parse(localStorage.getItem("recordingStatuses")||"[]")||[],d=d.filter((t=>(null==t?void 0:t.id)!==u)),localStorage.setItem("recordingStatuses",JSON.stringify(d)),W(!0)}catch(t){Tr.error("error: ",t)}M(!1)}));return U?(0,n.jsxs)("div",{className:"min-h-screen flex flex-col items-center justify-center bg-black",children:[(0,n.jsxs)("div",{className:"bg-[#1A1A1A] rounded-2xl shadow-lg p-10 w-full max-w-md flex flex-col items-center",children:[(0,n.jsx)("div",{className:"flex items-center justify-center w-16 h-16 rounded-full bg-gray-800 mb-6",children:(0,n.jsx)("span",{className:"text-3xl text-gray-400",children:"?"})}),(0,n.jsx)("h1",{className:"text-2xl font-semibold text-white/60 mb-2 text-center",children:"Invalid recording link"}),(0,n.jsxs)("p",{className:"text-gray-400 text-center mb-2",children:["Double check to make sure you entered/pasted the link correctly and ask",(0,n.jsx)("br",{}),"for a new link if the problem persists"]})]}),(0,n.jsx)("footer",{className:"mt-16 flex flex-col items-center text-gray-400 text-sm",children:(0,n.jsx)("div",{className:"pb-2 text-center",children:(0,n.jsxs)("span",{className:"text-[14px] text-[var(--text-tertiary)] flex items-center justify-center gap-1",children:["Powered by"," ",(0,n.jsxs)("a",{href:"https://betterbugs.io",target:"_blank",rel:"noopener noreferrer",className:"!hover:text-success/80 flex items-center gap-1",children:[(0,n.jsx)(bi,{width:20,height:20,className:"text-success"}),"Betterbugs"]})]})})})]}):K?(0,n.jsxs)("div",{className:"h-screen flex flex-col items-center justify-center bg-black",children:[(0,n.jsxs)("div",{className:"bg-[#1A1A1A] rounded-2xl shadow-lg p-8 w-full max-w-md flex flex-col items-center",children:[(0,n.jsx)(Bd,{options:{loop:!0,autoplay:!0,animationData:JSON.parse(JSON.stringify(ui)),rendererSettings:{preserveAspectRatio:"xMidYMid slice"}},height:80,width:80}),(0,n.jsx)("h1",{className:"text-xl font-semibold text-white/60 mb-2 text-center",children:"Bug created successfully!"}),(0,n.jsxs)("p",{className:"text-gray-400 text-center text-sm",children:["We saved your recording.",(0,n.jsx)("br",{}),"You can close this tab now."]})]}),(0,n.jsx)("footer",{className:"mt-8 flex flex-col items-center text-gray-400 text-xs",children:(0,n.jsx)("div",{className:"pb-2 text-center",children:(0,n.jsxs)("span",{className:"text-[14px] text-[var(--text-tertiary)] flex items-center justify-center gap-1",children:["Powered by"," ",(0,n.jsxs)("a",{href:"https://betterbugs.io",target:"_blank",rel:"noopener noreferrer",className:"!hover:text-success/80 flex items-center gap-1",children:[(0,n.jsx)(bi,{width:20,height:20,className:"text-success"}),"Betterbugs"]})]})})})]}):Q?(0,n.jsxs)("div",{className:"h-screen flex flex-col justify-center items-center bg-black",children:[(0,n.jsxs)("div",{className:"bg-[#1A1A1A] rounded-2xl shadow-lg p-6 w-full max-w-md flex flex-col items-center",children:[f||!m&&"RECORDED"!==(null==Q?void 0:Q.status)?(0,n.jsxs)("div",{className:"mb-4 w-full text-center",children:[(0,n.jsx)("h2",{className:"text-lg font-semibold text-white/60",children:f?(0,n.jsxs)("span",{className:"flex items-center justify-center gap-2",children:[(0,n.jsx)("span",{className:"inline-block h-2.5 w-2.5 bg-[#F65354] rounded-full animate-pulse"}),"Recording your screen: ",jd(v)]}):"Ready to record?"}),!f&&(0,n.jsx)("p",{className:"text-gray-400 mt-1 text-xs",children:"Record your screen to help us understand the issue"})]}):null,"COMPLETED"!==(null==Q?void 0:Q.status)&&"DISABLED"!==(null==Q?void 0:Q.status)&&(0,n.jsxs)(n.Fragment,{children:[" ",(f&&(null==h?void 0:h.stream)||m||"RECORDED"===(null==Q?void 0:Q.status)&&(null==Q?void 0:Q.videoKey))&&(0,n.jsx)("div",{className:"mb-4 w-full",children:(0,n.jsx)("div",{className:"rounded-xl overflow-hidden flex items-center justify-center border border-[#3A3A3A]",children:F?(0,n.jsx)("div",{className:"w-full h-[180px] bg-[#2A2A2A] flex items-center justify-center",children:(0,n.jsx)("p",{className:"text-gray-400 text-sm",children:"Processing video..."})}):(null==Q?void 0:Q.videoKey)||D||f&&(null==h?void 0:h.stream)?(0,n.jsx)("video",{ref:E,src:(null==Q?void 0:Q.videoKey)?`https://betterbug-storage.s3.amazonaws.com/${null==Q?void 0:Q.videoKey}`:D||void 0,className:"w-full h-[180px] object-cover",autoPlay:!0,muted:!0}):null})}),!f&&(m||"RECORDED"===(null==Q?void 0:Q.status))&&(0,n.jsxs)("div",{className:"w-full space-y-3",children:[(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsxs)("label",{htmlFor:"reporterEmail",className:"text-xs text-gray-400 mb-1 block",children:["Email",(0,n.jsx)("span",{className:"text-[#F65354] ml-0.5",children:"*"})]}),(0,n.jsx)("input",{value:o||"",onChange:t=>{a(t.target.value),sessionStorage.setItem("email",t.target.value)},id:"email",type:"email",placeholder:"Enter your email",className:`text-[12px] w-full bg-[#2A2A2A] text-white p-2 rounded-lg border ${s?"border-[#F65354]":"border-[#3A3A3A]"} focus:outline-none focus:border-[#00DA92] transition-colors placeholder:text-gray-500`}),s&&(0,n.jsx)("p",{className:"text-[#F65354] text-xs mt-0.5",children:s})]}),(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)("label",{htmlFor:"bugTitle",className:"text-xs text-gray-400 mb-1 block",children:"Title"}),(0,n.jsx)("input",{value:j||"",onChange:t=>{z(t.target.value),sessionStorage.setItem("title",t.target.value)},id:"title",type:"text",placeholder:"Enter a descriptive title",className:"text-[12px] w-full bg-[#2A2A2A] text-white p-2 rounded-lg border border-[#3A3A3A] focus:outline-none focus:border-[#00DA92] transition-colors placeholder:text-gray-500"})]}),(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)("label",{htmlFor:"description",className:"text-xs text-gray-400 mb-1 block",children:"Description"}),(0,n.jsx)("div",{className:"h-[100px]",children:(0,n.jsx)(Ld,{value:V||"",setValue:t=>{sessionStorage.setItem("description",t),H(t)}})})]})]}),(0,n.jsxs)("div",{className:"w-full mt-6 space-y-3",children:[!f&&!m&&("NOT_USED"===(null==Q?void 0:Q.status)||"IN_PROGRESS"===(null==Q?void 0:Q.status))&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("button",{onClick:()=>Fd(void 0,void 0,void 0,(function*(){g(!1),_(null),y(0),localStorage.removeItem("domain"),localStorage.removeItem("pageTitle"),localStorage.removeItem("url"),P(null),null==h||h.startRecording(),Y([{startTime:Date.now(),endTime:0,recordingId:u||"",index:0}]),yield Me({recordingId:u||"",payload:{status:"IN_PROGRESS"}})})),className:"w-full flex items-center cursor-pointer justify-center gap-2 py-2 px-4 bg-[#00DA92] text-black rounded-lg hover:opacity-80 transition-colors font-medium focus:outline-none focus:ring-2 focus:ring-[#00DA92]/50",children:[(0,n.jsx)(ii,{className:"w-6 h-6"}),"Start recording"]}),(0,n.jsx)("button",{onClick:()=>Z(),className:`w-full flex items-center cursor-pointer justify-center gap-2 py-2 px-4 ${C?"bg-[#2A2A2A] ":"bg-[#2A2A2A]"} text-white rounded-lg transition-colors hover:opacity-80 font-medium focus:outline-none focus:ring-2 focus:ring-[#3A3A3A]/50`,children:C?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(oi,{className:"w-4 h-4"}),"Microphone enabled"]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ai,{className:"w-4 h-4"}),"Microphone disabled"]})})]}),f&&!m&&(0,n.jsxs)("button",{className:"w-full flex items-center justify-center gap-2 py-2 px-4 bg-[#F65354] text-black rounded-lg hover:bg-[#F65354]/90 transition-colors font-medium focus:outline-none focus:ring-2 focus:ring-[#F65354]/50",onClick:it,children:[(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-4 h-4",viewBox:"0 0 24 24",fill:"currentColor",children:(0,n.jsx)("rect",{x:"6",y:"6",width:"12",height:"12",rx:"1"})}),"Stop recording"]}),!f&&(m||"RECORDED"===(null==Q?void 0:Q.status))&&(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)("button",{disabled:O,onClick:()=>{O||(g(!1),_(null),y(0),localStorage.removeItem("domain"),localStorage.removeItem("pageTitle"),localStorage.removeItem("url"),P(null),null==h||h.startRecording(),Y([{startTime:Date.now(),endTime:0,recordingId:u||"",index:0}]))},className:"w-full cursor-pointer flex h-[36px] items-center justify-center gap-2 py-1 px-4 bg-[#2A2A2A] text-white rounded-lg hover:opacity-80 transition-colors font-medium focus:outline-none focus:ring-2 focus:ring-[#3A3A3A]/50",children:"Record again"}),(0,n.jsx)("button",{onClick:()=>{O||ot()},disabled:Boolean(O||F||s),className:`w-full flex cursor-pointer h-[36px] ${O?"shimmer-btn":""} items-center justify-center gap-2 py-1 px-4 bg-[#00DA92] text-black rounded-lg hover:opacity-80 transition-colors font-medium focus:outline-none focus:ring-2 focus:ring-[#00DA92]/50 ${O||F||s?"opacity-50 cursor-not-allowed":""}`,children:O?"Creating bug...":"Submit recording"})]})]})]})]}),(0,n.jsx)("footer",{className:"mt-6 flex flex-col items-center text-gray-400 text-xs",children:(0,n.jsx)("div",{className:"pb-2 text-center",children:(0,n.jsxs)("span",{className:"text-[14px] text-[var(--text-tertiary)] flex items-center justify-center gap-1",children:["Powered by"," ",(0,n.jsxs)("a",{href:"https://betterbugs.io",target:"_blank",rel:"noopener noreferrer",className:"!hover:text-success/80 flex items-center gap-1",children:[(0,n.jsx)(bi,{width:20,height:20,className:"text-success"}),"Betterbugs"]})]})})})]}):(0,n.jsx)("div",{className:"h-screen flex flex-col justify-center items-center",children:(0,n.jsxs)("div",{className:"flex flex-col items-center",children:[(0,n.jsx)(bi,{width:56,height:56,className:"text-success"}),(0,n.jsx)("p",{className:"text-gray-400 mt-3 text-sm",children:"Loading recording session..."})]})})},Vd=__webpack_require__(9442),Hd=__webpack_require__.n(Vd),Ud=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{l(r.next(t))}catch(t){o(t)}}function s(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))};const Gd=si.A;var Kd,Wd,Xd,Yd=({installationId:t})=>{const[e,i]=(0,r.useState)({isSdkInitialized:!1,isRecorderInitialized:!1,url:""}),[o,a]=(0,r.useState)(!1),[s,l]=(0,r.useState)(!1),u=()=>Ud(void 0,void 0,void 0,(function*(){l(!0);try{const e=yield(t=>Oe(void 0,void 0,void 0,(function*(){return _e({url:`/recording-link/verified-domain/${t}`,method:"GET"})})))(t||"");i(e),l(!1)}catch(t){i(null),l(!1)}}));(0,r.useEffect)((()=>{window.isBetterbugsInitialized&&a(!0)}),[window.isBetterbugsInitialized]);const c=()=>Ud(void 0,void 0,void 0,(function*(){if(t&&o&&(null==e?void 0:e.url)&&(!(null==e?void 0:e.isSdkInitialized)||!e.isRecorderInitialized))try{l(!0),((t,e)=>{Oe(void 0,void 0,void 0,(function*(){return _e({url:`/recording-link/verified-domain/${t}`,method:"PUT",data:e})}))})(t,{isSdkInitialized:!0,isRecorderInitialized:!0,excludedProjectIds:[]}),l(!1)}catch(t){l(!1)}}));(0,r.useEffect)((()=>{t&&u()}),[]),(0,r.useEffect)((()=>{c()}),[o,null==e?void 0:e.url]);return s?(0,n.jsx)("div",{className:"h-screen flex flex-col justify-center items-center",children:(0,n.jsxs)("div",{className:"flex flex-col items-center",children:[(0,n.jsx)(bi,{width:56,height:56,className:"text-success"}),(0,n.jsx)("p",{className:"text-gray-400 mt-3 text-sm",children:"Loading recording session..."})]})}):t&&e?e.url&&!(()=>{if(null==e?void 0:e.url){const t=new URL(null==e?void 0:e.url);if(window.location.hostname===t.hostname)return!0}return!1})()?(0,n.jsxs)("div",{className:"min-h-screen flex flex-col items-center justify-center bg-black",children:[(0,n.jsxs)("div",{className:"bg-[#1A1A1A] rounded-2xl shadow-lg p-10 w-full max-w-md flex flex-col items-center",children:[(0,n.jsx)("div",{className:"flex items-center justify-center w-16 h-16 rounded-full bg-gray-800 mb-6",children:(0,n.jsx)("span",{className:"text-3xl text-gray-400",children:"?"})}),(0,n.jsx)("h1",{className:"text-2xl font-semibold text-white/60 mb-2 text-center",children:"Domain mismatched"}),(0,n.jsx)("p",{className:"text-gray-400 text-center mb-2",children:"Double check domain you configured in the Betterbugs dashboard."})]}),(0,n.jsx)("footer",{className:"mt-16 flex flex-col items-center text-gray-400 text-sm",children:(0,n.jsx)("div",{className:"pb-2 text-center",children:(0,n.jsxs)("span",{className:"text-[14px] text-[var(--text-tertiary)] flex items-center justify-center gap-1",children:["Powered by"," ",(0,n.jsxs)("a",{href:"https://betterbugs.io",target:"_blank",rel:"noopener noreferrer",className:"!hover:text-success/80 flex items-center gap-1",children:[(0,n.jsx)(bi,{width:20,height:20,className:"text-success"}),"Betterbugs"]})]})})})]}):(0,n.jsxs)("div",{className:"min-h-screen flex flex-col items-center justify-center bg-black",children:[(0,n.jsxs)("div",{className:"bg-[#1A1A1A] rounded-2xl shadow-lg p-10 w-full max-w-md flex flex-col items-center",children:[o?(0,n.jsx)(Gd,{options:{loop:!0,autoplay:!0,animationData:JSON.parse(JSON.stringify(ui)),rendererSettings:{preserveAspectRatio:"xMidYMid slice"}},height:80,width:80}):(0,n.jsx)("div",{className:"flex items-center justify-center w-16 h-16 rounded-full bg-gray-800 mb-6",children:(0,n.jsx)("span",{className:"text-3xl text-gray-400",children:"?"})}),(0,n.jsx)("h1",{className:"text-2xl font-semibold text-white/60 mb-2 text-center",children:o?"Setup successful!":"Something missing!!"}),(0,n.jsx)("p",{className:"text-gray-400 text-center mb-2",children:o?"You can close this tab.":"There was an issue verifying the setup. Please review your initialization and try again."}),(0,n.jsxs)("div",{className:"w-full mt-4 flex flex-col items-center justify-center gap-2",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2 p-4 bg-white/10 rounded-lg border border-gray-700 w-full mx-px my-1",children:[(0,n.jsx)("span",{className:"text-2xl text-success w-[24px]",children:"✓"}),(0,n.jsx)("span",{children:"Recorder script"})]}),(0,n.jsx)("div",{className:`flex items-center gap-2 p-4 ${o?"bg-white/10":"bg-danger/10"} rounded-lg w-full m-2`,children:o?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"text-2xl text-success w-[24px]",children:"✓"}),(0,n.jsx)("span",{children:"Web SDK initialized"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"text-xl text-danger w-[24px]",children:"?"}),(0,n.jsx)("span",{children:"Web SDK not initialized"})]})})]})]}),(0,n.jsx)("footer",{className:"mt-16 flex flex-col items-center text-gray-400 text-sm",children:(0,n.jsx)("div",{className:"pb-2 text-center",children:(0,n.jsxs)("span",{className:"text-[14px] text-[var(--text-tertiary)] flex items-center justify-center gap-1",children:["Powered by"," ",(0,n.jsxs)("a",{href:"https://betterbugs.io",target:"_blank",rel:"noopener noreferrer",className:"!hover:text-success/80 flex items-center gap-1",children:[(0,n.jsx)(bi,{width:20,height:20,className:"text-success"}),"Betterbugs"]})]})})})]}):(0,n.jsxs)("div",{className:"min-h-screen flex flex-col items-center justify-center bg-black",children:[(0,n.jsxs)("div",{className:"bg-[#1A1A1A] rounded-2xl shadow-lg p-10 w-full max-w-md flex flex-col items-center",children:[(0,n.jsx)("div",{className:"flex items-center justify-center w-16 h-16 rounded-full bg-gray-800 mb-6",children:(0,n.jsx)("span",{className:"text-3xl text-gray-400",children:"?"})}),(0,n.jsx)("h1",{className:"text-2xl font-semibold text-white/60 mb-2 text-center",children:"Invalid verification link"}),(0,n.jsx)("p",{className:"text-gray-400 text-center mb-2",children:"Please check your verification link and try again."})]}),(0,n.jsx)("footer",{className:"mt-16 flex flex-col items-center text-gray-400 text-sm",children:(0,n.jsx)("div",{className:"pb-2 text-center",children:(0,n.jsxs)("span",{className:"text-[14px] text-[var(--text-tertiary)] flex items-center justify-center gap-1",children:["Powered by"," ",(0,n.jsxs)("a",{href:"https://betterbugs.io",target:"_blank",rel:"noopener noreferrer",className:"!hover:text-success/80 flex items-center gap-1",children:[(0,n.jsx)(bi,{width:20,height:20,className:"text-success"}),"Betterbugs"]})]})})})]})};const Qd=new URLSearchParams(window.location.search),Jd=Qd.get("betterbugs-recording"),Zd=Qd.get("installationId");if(Jd){null===(Kd=document.getElementById("betterbugs-sdk-main"))||void 0===Kd||Kd.remove();const t=null===document||void 0===document?void 0:document.getElementById(Br);t&&(null==t||t.remove());const e=null===document||void 0===document?void 0:document.createElement("bb-sdk");if(e){null===(Wd=null==e?void 0:e.classList)||void 0===Wd||Wd.add("betterbugs-sdk-verify"),e.id=Br,e.style.position="fixed",e.style.top="0",e.style.left="0",e.style.width="100vw",e.style.height="100vh",e.style.zIndex="2147483647",e.style.backgroundColor="#000",e.style.overflow="hidden";const t=null==e?void 0:e.attachShadow({mode:"open"}),o=null===document||void 0===document?void 0:document.createElement("div");null==t||t.appendChild(o);(0,i.createRoot)(o).render((0,n.jsxs)(r.StrictMode,{children:[(0,n.jsx)("style",{type:"text/css",children:Hd()}),"verify"===Jd?(0,n.jsx)(Yd,{installationId:Zd}):(0,n.jsx)(zd,{recordingUUID:Jd})]})),null===(Xd=null===document||void 0===document?void 0:document.documentElement)||void 0===Xd||Xd.append(e)}}}(),__webpack_exports__=__webpack_exports__.default,__webpack_exports__}()}));
|